/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #B28D7E;
    --primary-dark: #9A7A6B;
    --primary-light: #C4A896;
    --secondary-color: #D6D2CC;
    --bg-primary: #D6D2CC;
    --bg-secondary: #E8E5E0;
    --bg-accent: #F0EDE8;
    --text-primary: #2C2418;
    --text-secondary: #5A5248;
    --text-light: #8A8278;
    --white: #FFFFFF;
    --border-color: rgba(178, 141, 126, 0.2);
    --shadow-sm: 0 2px 8px rgba(44, 36, 24, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 36, 24, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 36, 24, 0.16);
    --shadow-xl: 0 16px 48px rgba(44, 36, 24, 0.2);
    --gradient-primary: linear-gradient(135deg, #B28D7E 0%, #9A7A6B 100%);
    --gradient-soft: linear-gradient(135deg, #D6D2CC 0%, #E8E5E0 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: rgba(214, 210, 204, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(214, 210, 204, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 4px rgba(178, 141, 126, 0.3));
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(178, 141, 126, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-link-button {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.nav-link-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-link-button::after {
    display: none;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(178, 141, 126, 0.4) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(214, 210, 204, 0.5) 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(178, 141, 126, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(178, 141, 126, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(178, 141, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    animation: slideInDown 1s ease-out 0.3s both;
}

.badge-icon {
    font-size: 1.125rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-glow {
    position: relative;
    overflow: visible;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    filter: blur(20px);
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-glow:hover::after {
    opacity: 0.8;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(178, 141, 126, 0.3);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--gradient-primary);
    border-radius: 2.5rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.app-preview {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(180deg, #F5F3F0 0%, #FFFFFF 100%);
}

.app-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.app-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.stat-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-animated {
    animation: slideInUp 0.8s ease-out both;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-trend {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

.stat-trend.positive {
    color: #2ECC71;
    background: rgba(46, 204, 113, 0.1);
}

.stat-trend.neutral {
    color: var(--text-secondary);
    background: rgba(90, 82, 72, 0.1);
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-accent);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--white);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(178, 141, 126, 0.2));
    animation: floatIcon 3s ease-in-out infinite;
}

.feature-card:nth-child(even) .feature-icon {
    animation-delay: 0.5s;
}

.feature-title {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--gradient-soft);
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-card {
    padding: 3rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(178, 141, 126, 0.3));
    animation: float 6s ease-in-out infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
}

.about-text {
    text-align: left;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.about-feature-icon {
    font-size: 1.75rem;
}

.about-feature-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: float 15s ease-in-out infinite;
}

.cta-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    animation: float 20s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.cta .btn-primary:hover {
    background: var(--bg-accent);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section .logo-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #D6D2CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.75rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-made-with {
    font-size: 0.9375rem;
}

.heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-logo {
    width: 36px;
    height: 36px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40% {
        transform: scale(1);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
        transform: none;
    }

    .phone-mockup:hover {
        transform: scale(1.02);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .features {
        padding: 5rem 0;
    }

    .about {
        padding: 5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-logo {
        width: 150px;
        height: 150px;
    }

    .cta {
        padding: 5rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Phone Mockup */

/* Made by Robin Savemark */

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #FFF;
}

/* Variables converted:
   @c1 = #FFF
   @c2 = #000
   @c3 = #2d3133
   @c4 = #5b7e8b
*/

/* lighten(#000, x%) approximated manually */

.iphone {
    width: 360px;
    height: 810px;
    border-radius: 50px;
    transform: rotateX(55deg) rotateZ(-45deg);
    transform-origin: 50% 50%;
    position: relative;
    background: none;
    box-shadow: -35px 35px 50px 5px #1a1a1a;
    z-index: 1;
    transition: all 500ms ease;
}

.iphone:hover {
    transform: rotateX(45deg) rotateZ(-35deg) translate(100px, -100px);
    box-shadow: -100px 150px 15px 15px #1a1a1a;
}

.iphone:hover:before {
    width: 380px;
    height: 830px;
    left: -16px;
    box-shadow: inset #3D3E42 0 0 31px 6px;
}

.iphone:hover+.iphone_text {
    transform: translateX(-120%);
    color: #000;
}

.iphone:hover .iphone_overlay:before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(40deg);
}

.iphone:hover .iphone_screen {
    opacity: 1;
}

.iphone:hover .iphone_ear-speaker-side:after {
    left: -8px;
    transform: rotate(2deg);
    border-radius: 5px 0 0 0;
}

.iphone:hover .iphone_silent-mode-side:before {
    left: -5px;
}

.iphone:hover .iphone_silent-mode-side:after {
    left: -10px;
    transform: rotate(-5deg);
    border-radius: 5px 0 0 2px;
}

.iphone:before {
    transition: all 500ms ease;
    content: "";
    display: block;
    background: #0a0a0a;
    width: 390px;
    height: 840px;
    border-radius: 77px 49px 86px 70px;
    position: absolute;
    top: 5px;
    left: -26px;
    box-shadow: inset #3D3E42 0 0 15px 9px;
    z-index: -1;
    border: 1px solid #444;
}

.iphone:after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 5px;
    height: 800px;
    width: 100%;
    background-color: #0d0d0d;
    border-radius: 50px;
    box-shadow: inset 2px 2px 2px 0px #444;
    border: 1px solid #444;
}

.iphone_camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #000;
    background: radial-gradient(ellipse at center, #2d3133 0%, #5b7e8b 33%);
    box-shadow: inset -1px 1px 2px 1px #1a1a1a;
    position: absolute;
    top: 45px;
    left: -60px;
    right: 0;
    margin: auto;
    z-index: 2;
}

.iphone_ear-speaker {
    width: 55px;
    height: 10px;
    border-radius: 55px;
    background: radial-gradient(ellipse at center, #000 50%, #000 100%);
    box-shadow: inset 1px -4px 2px 0px #0a0a0a;
    border: 2px solid #0a0a0a;
    position: absolute;
    top: 45px;
    left: 0;
    right: -45px;
    margin: auto;
    z-index: 2;
}

.iphone_ear-speaker-side {
    position: absolute;
    left: -182px;
    background: #0d0d0d;
    width: 8px;
    height: 12px;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transform: rotateY(-50deg);
    top: 10px;
    transition: all 500ms ease;
}

.iphone_ear-speaker-side:before {
    content: "";
    display: block;
    position: absolute;
    left: -7px;
    background: inherit;
    width: inherit;
    height: inherit;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    top: 0;
    transition: all 500ms ease;
}

.iphone_ear-speaker-side:after {
    content: "";
    display: block;
    position: absolute;
    left: -13px;
    background: inherit;
    width: inherit;
    height: inherit;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    top: 0;
    border-radius: 5px 0 0 0;
    transition: all 500ms ease;
}

.iphone_overlay {
    position: absolute;
    width: 390px;
    height: 100%;
    z-index: 4;
    left: 6px;
    overflow: hidden;
    pointer-events: none;
    display: block;
    border-radius: 50px;
}

.iphone_overlay:before {
    transition: all 500ms ease;
    content: "";
    display: block;
    width: 350px;
    height: calc(100% + 50px);
    position: absolute;
    top: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(0deg);
    z-index: 10;
}

.iphone_screen {
    position: absolute;
    width: 350px;
    height: 650px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 3;
    top: 80px;
    left: 10px;
    right: 0;
    margin: auto;
    overflow: hidden;
    transition: all 500ms ease;
    opacity: 0;
    background-image: url('http://www.droidviews.com/wp-content/uploads/2016/09/iOS10_wall_droidviews_005.jpg');
}

.iphone_screen-signal {
    margin: 3px 5px;
    padding: 0;
    display: block;
    position: absolute;
    list-style: none;
}

.iphone_screen-signal li {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FFF;
    border-radius: 50%;
    border: 1px solid #FFF;
}

.iphone_screen-signal li:last-child {
    background: transparent;
}

.iphone_screen-text {
    padding: 0;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3px auto;
    list-style: none;
    text-align: center;
}

.iphone_screen-text:before {
    content: "Press Home to unlock";
    display: block;
    position: absolute;
    text-align: center;
    top: -20px;
    left: 0;
    right: 0;
    margin: auto;
    color: #FFF;
    font-weight: 400;
}

.iphone_screen-text.unlock:before {
    animation: text 300ms linear;
    content: "try again";
}

.iphone_screen-text li {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #FFF;
    margin: 0 2px;
    border-radius: 50%;
    border: 1px solid #FFF;
    color: rgba(255, 255, 255, 0.5);
}

.iphone_screen-text li i {
    display: none;
    font-size: 10px;
}

.iphone_screen-text li:first-child {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.5);
}

.iphone_screen-text li:last-child {
    background: transparent;
    border: transparent;
}

.iphone_screen-text li:last-child i {
    display: block;
}

.iphone_screen-operator {
    position: absolute;
    top: 0;
    left: 50px;
    margin: 5px;
    color: #FFF;
    font-weight: 300;
}

.iphone_screen-lock {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 5px auto;
    color: #FFF;
    text-align: center;
}

.iphone_screen-battery {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px;
    color: #FFF;
    font-weight: 300;
}

.iphone_screen-time,
.iphone_screen-date {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    display: block;
    margin: auto;
    text-align: center;
    font-size: 80px;
    color: #FFF;
    z-index: 7;
}

.iphone_screen-date {
    font-size: 25px;
    top: 140px;
    font-weight: 300;
}

.iphone_home {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 745px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #0d0d0d 50%, #000 100%);
    box-shadow: inset 2px 3px 5px 0px #0d0d0d, -1px 1px 6px -3px #FFF;
    border: 3px solid #0a0a0a;
    z-index: 10;
    cursor: pointer;
}

.iphone_silent-mode {
    position: absolute;
    left: -15px;
    top: 95px;
    display: block;
    width: 7px;
    height: 25px;
    border-radius: 27px;
    background: #0d0d0d;
    box-shadow: inset -2px -2px 3px 0 #000;
}

.iphone_silent-mode-side {
    position: absolute;
    left: 10px;
    background: #0d0d0d;
    width: 8px;
    height: 12px;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transform: rotateY(-50deg);
    top: 655px;
    transition: all 500ms ease;
}

.iphone_silent-mode-side:before {
    content: "";
    display: block;
    position: absolute;
    left: -7px;
    background: inherit;
    width: inherit;
    height: inherit;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    top: 0;
    transition: all 500ms ease;
}

.iphone_silent-mode-side:after {
    content: "";
    display: block;
    position: absolute;
    left: -13px;
    background: inherit;
    width: inherit;
    height: inherit;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    top: 0;
    border-radius: 5px 0 0 0;
    transition: all 500ms ease;
}

.iphone_sound {
    position: absolute;
    display: block;
    left: -15px;
    top: 115px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.iphone_sound li {
    position: absolute;
    left: 0;
    display: block;
    width: 7px;
    height: 50px;
    border-radius: 27px;
    background: #0d0d0d;
    box-shadow: inset -2px -2px 3px 0 #000;
}

.iphone_sound li:first-child {
    top: 30px;
}

.iphone_sound li:last-child {
    top: 85px;
}

.iphone_bottom-right-speaker,
.iphone_bottom-left-speaker {
    position: absolute;
    top: 815px;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: rotateX(-86deg);
}

.iphone_bottom-right-speaker li,
.iphone_bottom-left-speaker li {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #000;
    box-shadow: inset #000 1px -1px 4px 1px, #1a1a1a 1px 0px;
}

.iphone_bottom-right-speaker {
    right: 50px;
}

.iphone_bottom-left-speaker {
    left: 50px;
}

.iphone_bottom-middle-charge {
    position: absolute;
    top: 818px;
    left: 0;
    right: 0;
    margin: auto;
    height: 15px;
    width: 35px;
    display: block;
    border-radius: 27px;
    background: #000;
    box-shadow: inset #0a0a0a -1px 1px 0px 2px, #1a1a1a 0px 0px 0 1px, inset #000 0 -3px 10px, #1a1a1a 1px 0 0 1px;
    transform: rotateX(-70deg);
}

.iphone_bottom-middle-charge span {
    position: absolute;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1a1a1a;
    top: 6px;
}

.iphone_bottom-middle-charge span:before {
    content: "";
    display: block;
    position: absolute;
    top: 1.5px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
    width: 50%;
    height: 50%;
    background: #000;
}

.iphone_bottom-middle-charge span:first-child {
    left: -10px;
}

.iphone_bottom-middle-charge span:last-child {
    right: -10px;
}

.iphone_text {
    transition: all 500ms ease;
    color: #FFF;
    position: absolute;
    z-index: 10;
    font-size: 60px;
    pointer-events: none;
    left: 0;
    right: 0;
    margin: auto;
    width: 500px;
    text-align: center;
    transform: translateX(0);
}

@keyframes text {

    0%,
    50% {
        transform: translateX(-7px);
    }

    25%,
    100% {
        transform: translateX(7px);
    }
}