:root {
    /* Color System - Warm, sophisticated palette */
    --color-primary: #D97757;
    --color-primary-dark: #C65D3A;
    --color-secondary: #E8B298;
    --color-accent: #8B6F47;

    --color-bg: #FFFBF7;
    --color-bg-alt: #FFF5ED;
    --color-surface: #FFFFFF;

    --color-text: #2B2520;
    --color-text-muted: #6B5D54;
    --color-text-light: #9B8A7E;

    --color-border: #E8DED5;

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(43, 37, 32, 0.04);
    --shadow-md: 0 4px 12px rgba(43, 37, 32, 0.08);
    --shadow-lg: 0 12px 32px rgba(43, 37, 32, 0.12);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(217, 119, 87, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 111, 71, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg);
    backdrop-filter: blur(8px);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    background: var(--color-primary); /* Original terracotta orange */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-cta:active {
    background: var(--color-primary-dark);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(217, 119, 87, 0.2);
}

/* Hero Section */
.hero {
    padding: calc(var(--space-3xl) + 60px) var(--space-lg) var(--space-3xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-label {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease-out;
}

.label-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.9;
}

.label-accent {
    color: var(--color-primary);
    opacity: 0.7;
    animation: drawLine 1.2s ease-out 0.3s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--color-text);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-title .italic {
    font-style: italic;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    letter-spacing: -0.01em;
}

.hero-description br {
    content: "";
    display: block;
    margin-bottom: 0.5rem;
}

/* Optional: Style for "Duet AI" if we want to emphasize it */
.hero-description strong,
.hero-description b {
    color: var(--color-text);
    font-weight: 600;
}

/* Brand name styling - matches logo */
.brand-name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--color-primary);
}

/* Keep "Duet AI" together on the same line */
.brand-wrapper {
    white-space: nowrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.stat {
    padding: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: var(--transition);
}

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

.stat:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.visual-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: breathe 4s ease-in-out infinite;
}

.orb-1 {
    background: radial-gradient(circle at 30% 30%,
        rgba(232, 178, 152, 0.9) 0%,
        rgba(217, 119, 87, 0.8) 50%,
        rgba(217, 119, 87, 0.6) 100%);
    left: 20%;
    top: 25%;
    box-shadow:
        0 0 60px rgba(217, 119, 87, 0.3),
        0 0 120px rgba(217, 119, 87, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
    animation: unifiedHeartbeat 3s ease-in-out infinite,
               heartGlow1 3s ease-in-out infinite;
}

.orb-2 {
    background: radial-gradient(circle at 30% 30%,
        rgba(155, 138, 126, 0.9) 0%,
        rgba(139, 111, 71, 0.8) 50%,
        rgba(139, 111, 71, 0.6) 100%);
    right: 20%;
    bottom: 25%;
    box-shadow:
        0 0 60px rgba(139, 111, 71, 0.3),
        0 0 120px rgba(139, 111, 71, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
    animation: unifiedHeartbeat 3s ease-in-out infinite,
               heartGlow2 3s ease-in-out infinite;
}

@keyframes heartGlow1 {
    0%, 100% {
        box-shadow:
            0 0 60px rgba(217, 119, 87, 0.3),
            0 0 120px rgba(217, 119, 87, 0.1),
            inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
    15%, 45% {
        box-shadow:
            0 0 90px rgba(217, 119, 87, 0.6),
            0 0 180px rgba(217, 119, 87, 0.2),
            inset 0 0 60px rgba(255, 255, 255, 0.3);
    }
}

@keyframes heartGlow2 {
    0%, 100% {
        box-shadow:
            0 0 60px rgba(139, 111, 71, 0.3),
            0 0 120px rgba(139, 111, 71, 0.1),
            inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
    15%, 45% {
        box-shadow:
            0 0 90px rgba(139, 111, 71, 0.6),
            0 0 180px rgba(139, 111, 71, 0.2),
            inset 0 0 60px rgba(255, 255, 255, 0.3);
    }
}

/* Connection Line Between Orbs */
.visual-connection {
    position: absolute;
    width: 350px;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(217, 119, 87, 0.15) 20%,
        rgba(217, 119, 87, 0.4) 50%,
        rgba(217, 119, 87, 0.15) 80%,
        transparent 100%);
    transform: rotate(-45deg);
    top: 50%;
    left: 50%;
    margin-left: -175px;
    margin-top: -1.5px;
    animation: connectionPulse 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(217, 119, 87, 0.2);
}

.visual-connection::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle,
        rgba(217, 119, 87, 1) 0%,
        rgba(217, 119, 87, 0.8) 50%,
        rgba(217, 119, 87, 0.4) 100%);
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: flowAlong 3s ease-in-out infinite;
    box-shadow:
        0 0 20px rgba(217, 119, 87, 0.8),
        0 0 40px rgba(217, 119, 87, 0.4);
    filter: blur(0.5px);
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes flowAlong {
    0% {
        left: 0;
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    10% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        left: 50%;
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
    90% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
}

/* Ripple Effects - Subtle Heartbeat Aura */
.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    opacity: 0;
    animation: subtleRipple 4s ease-out infinite;
}

.orb-1 .ripple {
    border-color: rgba(217, 119, 87, 0.4);
}

.orb-2 .ripple {
    border-color: rgba(139, 111, 71, 0.4);
}

.ripple-1 {
    animation-delay: 0s;
}

.ripple-2 {
    animation-delay: 1.5s;
}

.ripple-3 {
    animation-delay: 3s;
}

.orb-2 .ripple-1 {
    animation-delay: 2s;
}

.orb-2 .ripple-2 {
    animation-delay: 3.5s;
}

.orb-2 .ripple-3 {
    animation-delay: 5s;
}

/* Unified Heartbeat Animation - Two Hearts Beating as One */
@keyframes unifiedHeartbeat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
    }
    15% {
        transform: scale(1.15);
        opacity: 1;
    }
    30% {
        transform: scale(1);
        opacity: 0.9;
    }
    45% {
        transform: scale(1.12);
        opacity: 1;
    }
    60% {
        transform: scale(1);
        opacity: 0.85;
    }
}

@keyframes subtleRipple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        opacity: 0.2;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Combined Floating + Heartbeat Animations */
@keyframes floatAndBeat1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
    6% {
        transform: translate(2px, -3px) scale(1.15);
        opacity: 1;
    }
    12% {
        transform: translate(4px, -6px) scale(1);
        opacity: 0.9;
    }
    18% {
        transform: translate(6px, -9px) scale(1.12);
        opacity: 1;
    }
    25% {
        transform: translate(8px, -12px) scale(1);
        opacity: 0.85;
    }
    31% {
        transform: translate(4px, -10px) scale(1.15);
        opacity: 1;
    }
    37% {
        transform: translate(0, -8px) scale(1);
        opacity: 0.9;
    }
    43% {
        transform: translate(-3px, -8px) scale(1.12);
        opacity: 1;
    }
    50% {
        transform: translate(-6px, -8px) scale(1);
        opacity: 0.85;
    }
    56% {
        transform: translate(-8px, -4px) scale(1.15);
        opacity: 1;
    }
    62% {
        transform: translate(-9px, 0) scale(1);
        opacity: 0.9;
    }
    68% {
        transform: translate(-10px, 3px) scale(1.12);
        opacity: 1;
    }
    75% {
        transform: translate(-10px, 6px) scale(1);
        opacity: 0.85;
    }
    81% {
        transform: translate(-6px, 4px) scale(1.15);
        opacity: 1;
    }
    87% {
        transform: translate(-3px, 2px) scale(1);
        opacity: 0.9;
    }
    93% {
        transform: translate(-1px, 1px) scale(1.12);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
}

@keyframes floatAndBeat2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
    7.5% {
        transform: translate(-3px, 2px) scale(1.15);
        opacity: 1;
    }
    15% {
        transform: translate(-6px, 4px) scale(1);
        opacity: 0.9;
    }
    22.5% {
        transform: translate(-8px, 6px) scale(1.12);
        opacity: 1;
    }
    30% {
        transform: translate(-10px, 8px) scale(1);
        opacity: 0.85;
    }
    37.5% {
        transform: translate(-4px, 4px) scale(1.15);
        opacity: 1;
    }
    45% {
        transform: translate(2px, 0) scale(1);
        opacity: 0.9;
    }
    52.5% {
        transform: translate(7px, -3px) scale(1.12);
        opacity: 1;
    }
    60% {
        transform: translate(12px, -6px) scale(1);
        opacity: 0.85;
    }
    67.5% {
        transform: translate(10px, -2px) scale(1.15);
        opacity: 1;
    }
    75% {
        transform: translate(8px, 2px) scale(1);
        opacity: 0.9;
    }
    82.5% {
        transform: translate(7px, 6px) scale(1.12);
        opacity: 1;
    }
    90% {
        transform: translate(6px, 10px) scale(1);
        opacity: 0.85;
    }
    95% {
        transform: translate(3px, 5px) scale(1.15);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
}

/* Features Section */
.features {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-surface);
    position: relative;
    z-index: 2;
}

.features-header {
    max-width: 1400px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.card-1 { animation-delay: 0.1s; }
.card-2 { animation-delay: 0.2s; }
.card-3 { animation-delay: 0.3s; }
.card-4 { animation-delay: 0.4s; }

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

.feature-card:active {
    transform: translateY(-4px) scale(0.98);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.feature-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-bg-alt);
}

.how-content {
    max-width: 1400px;
    margin: 0 auto;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.how-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    padding: var(--space-lg);
    border-radius: 12px;
    transition: var(--transition);
}

.how-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

.how-item:active {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px) scale(0.98);
}

.how-item:nth-child(1) { animation-delay: 0.1s; }
.how-item:nth-child(2) { animation-delay: 0.2s; }
.how-item:nth-child(3) { animation-delay: 0.3s; }

.how-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}

.how-item:hover .how-number {
    opacity: 0.5;
    transform: scale(1.05);
}

.how-item h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.how-item p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Social Proof */
.social-proof {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-surface);
}

.proof-content {
    max-width: 900px;
    margin: 0 auto;
}

.proof-quote {
    text-align: center;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.5;
    color: var(--color-text);
    margin: var(--space-lg) 0;
}

.quote-author {
    margin-top: var(--space-lg);
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-bg);
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    transition: var(--transition);
}

.benefit:active {
    transform: translateX(4px);
}

.benefit svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Signup Form */
.signup-form {
    background: var(--color-surface);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.1);
}

.form-group input:active,
.form-group select:active {
    transform: scale(0.995);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 87, 0.3);
}

.submit-btn svg {
    transition: var(--transition);
}

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

.submit-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 16px rgba(217, 119, 87, 0.2);
}

.form-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    text-align: center;
}

.success-message {
    display: none;
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    animation: fadeInScale 0.4s ease-out;
}

.success-message.active {
    display: block;
}

.success-message svg {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.success-message h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.success-message p {
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background: var(--color-text);
    color: var(--color-bg);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 251, 247, 0.1);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.footer-column a {
    display: block;
    color: var(--color-text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.footer-column a:active {
    color: var(--color-primary);
    transform: translateX(2px) scale(0.98);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-primary);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes drawLine {
    from {
        stroke-dasharray: 140;
        stroke-dashoffset: 140;
        opacity: 0;
    }
    to {
        stroke-dasharray: 140;
        stroke-dashoffset: 0;
        opacity: 0.7;
    }
}

/* Responsive Design */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .hero-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Hero - Stack text on top, animation below */
    .hero {
        min-height: auto;
        padding: calc(var(--space-2xl) + 80px) var(--space-lg) var(--space-2xl);
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
    }

    .hero-label {
        align-items: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-description br {
        display: none;
    }

    /* Adjust hero visual for tablet */
    .hero-visual {
        height: 350px;
        margin: 0 auto;
    }

    .visual-orb {
        width: 140px;
        height: 140px;
    }

    .visual-connection {
        width: 280px;
        margin-left: -140px;
    }

    /* Features grid - 2 columns on tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* How it works - 2 columns on tablet */
    .how-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    :root {
        --space-sm: 0.875rem;
        --space-md: 1.25rem;
        --space-lg: 2rem;
        --space-xl: 2.5rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    /* Navigation */
    .nav-content {
        padding: 1rem var(--space-md);
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Hero Section - Mobile Optimized */
    .hero {
        padding: calc(var(--space-2xl) + 60px) var(--space-md) var(--space-2xl);
        min-height: auto;
    }

    .hero-content {
        gap: 0;
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .hero-label {
        align-items: center;
        margin-bottom: var(--space-md);
        order: 1;
    }

    .label-text {
        font-size: 0.6875rem;
    }

    .label-accent {
        width: 100px;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: var(--space-md);
        line-height: 1.2;
        padding: 0 0.5rem;
        order: 2;
    }

    .hero-description {
        font-size: 1.0625rem;
        margin-bottom: var(--space-xl);
        line-height: 1.7;
        padding: 0 0.5rem;
        max-width: 100%;
        order: 3;
    }

    /* Order circles to appear after description but before stats */
    .hero-right {
        order: 4;
        margin-bottom: var(--space-lg);
    }

    /* Critical Fix: Mobile Hero Animation - MUCH LARGER Circles with Connection Line */
    .hero-visual {
        height: 220px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    /* Make orbs MUCH BIGGER - increased from 85px to 120px */
    .visual-orb {
        width: 120px;
        height: 120px;
        position: static;
        flex-shrink: 0;
        margin: 0;
    }

    .orb-1 {
        left: auto;
        top: auto;
        margin-right: -15px;
        z-index: 2;
    }

    .orb-2 {
        right: auto;
        bottom: auto;
        margin-left: -15px;
        z-index: 1;
    }

    /* Connection line - scaled proportionally for larger circles */
    .visual-connection {
        display: block;
        position: absolute;
        width: 170px;
        height: 4px;
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(217, 119, 87, 0.15) 20%,
            rgba(217, 119, 87, 0.4) 50%,
            rgba(217, 119, 87, 0.15) 80%,
            transparent 100%);
        transform: rotate(0deg);
        top: 50%;
        left: 50%;
        margin-left: -85px;
        margin-top: -2px;
        animation: connectionPulse 3s ease-in-out infinite;
        box-shadow: 0 0 20px rgba(217, 119, 87, 0.2);
    }

    /* Hero Stats - HIDE on mobile */
    .hero-stats {
        display: none;
    }

    /* Features Section - Clean spacing */
    .features {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
        margin-top: 0;
    }

    .features-header {
        margin-bottom: var(--space-xl);
    }

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

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.65;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.9375rem;
    }

    /* How It Works */
    .how-it-works {
        padding: var(--space-xl) var(--space-md);
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        margin-top: var(--space-lg);
    }

    .how-item {
        padding: var(--space-md);
    }

    .how-number {
        font-size: 2.5rem;
    }

    .how-item h4 {
        font-size: 1.25rem;
    }

    .how-item p {
        font-size: 0.9375rem;
    }

    /* Social Proof */
    .social-proof {
        padding: var(--space-xl) var(--space-md);
    }

    .quote-mark {
        font-size: 4rem;
    }

    .quote-text {
        font-size: 1.375rem;
        line-height: 1.55;
    }

    .author-name {
        font-size: 0.9375rem;
    }

    .author-title {
        font-size: 0.875rem;
    }

    /* CTA Section */
    .cta-section {
        padding: var(--space-xl) var(--space-md);
    }

    .cta-content {
        gap: var(--space-lg);
    }

    .cta-left {
        text-align: center;
    }

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

    .cta-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .cta-benefits {
        align-items: center;
    }

    .benefit {
        font-size: 0.9375rem;
    }

    /* Form */
    .signup-form {
        padding: var(--space-lg);
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .success-message {
        padding: var(--space-lg);
    }

    .success-message svg {
        width: 40px;
        height: 40px;
    }

    .success-message h3 {
        font-size: 1.25rem;
    }

    .success-message p {
        font-size: 0.9375rem;
    }

    /* Footer */
    .footer {
        padding: var(--space-xl) var(--space-md) var(--space-md);
    }

    .footer-main {
        padding-bottom: var(--space-lg);
        margin-bottom: var(--space-md);
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-tagline {
        font-size: 0.875rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-column h4 {
        font-size: 0.8125rem;
    }

    .footer-column a {
        font-size: 0.875rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.8125rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --space-xs: 0.375rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }

    /* Navigation */
    .nav-content {
        padding: 0.875rem 1rem;
    }

    .logo {
        font-size: 1.125rem;
    }

    .nav-cta {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    /* Hero - Small Mobile Optimized */
    .hero {
        padding: calc(var(--space-2xl) + 50px) 1rem var(--space-2xl);
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.25;
        padding: 0;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.65;
        padding: 0;
        margin-bottom: var(--space-lg);
    }

    /* Critical: Small mobile - MUCH BIGGER circles with connection line */
    .hero-visual {
        height: 190px;
        gap: 0;
        margin: 0 auto;
    }

    .visual-orb {
        width: 100px;
        height: 100px;
    }

    .orb-1 {
        margin-right: -12px;
    }

    .orb-2 {
        margin-left: -12px;
    }

    /* Connection line - scaled proportionally for larger circles */
    .visual-connection {
        display: block;
        width: 140px;
        height: 3.5px;
        margin-left: -70px;
        margin-top: -1.75px;
        box-shadow: 0 0 18px rgba(217, 119, 87, 0.2);
    }

    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .features {
        padding: var(--space-3xl) 1rem var(--space-2xl);
        margin-top: 0;
    }

    .how-it-works,
    .social-proof,
    .cta-section {
        padding: var(--space-2xl) 1rem;
    }

    .feature-card {
        padding: var(--space-md);
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .feature-description {
        font-size: 0.875rem;
    }

    /* Quote */
    .quote-mark {
        font-size: 3.5rem;
    }

    .quote-text {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 0.9375rem;
    }

    .benefit {
        font-size: 0.875rem;
    }

    .benefit svg {
        width: 18px;
        height: 18px;
    }

    /* Form */
    .signup-form {
        padding: 1.25rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Footer */
    .footer {
        padding: var(--space-2xl) 1rem var(--space-md);
    }
}

/* Extra Small Mobile (320px - min standard) */
@media (max-width: 360px) {
    .hero {
        padding: calc(var(--space-xl) + 50px) 1rem var(--space-xl);
    }

    .hero-title {
        font-size: 1.625rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .hero-visual {
        height: 165px;
        gap: 0;
        margin: 0 auto;
    }

    .visual-orb {
        width: 85px;
        height: 85px;
    }

    .orb-1 {
        margin-right: -10px;
    }

    .orb-2 {
        margin-left: -10px;
    }

    /* Connection line - scaled proportionally for larger circles */
    .visual-connection {
        display: block;
        width: 120px;
        height: 3px;
        margin-left: -60px;
        margin-top: -1.5px;
        box-shadow: 0 0 16px rgba(217, 119, 87, 0.2);
    }

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

    .quote-text {
        font-size: 1rem;
    }
}

/* Landscape orientation optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--space-lg) + 60px) var(--space-md) var(--space-lg);
    }

    .hero-visual {
        height: 150px;
        gap: 0;
        margin: 0 auto;
    }

    .visual-orb {
        width: 90px;
        height: 90px;
    }

    .orb-1 {
        margin-right: -11px;
    }

    .orb-2 {
        margin-left: -11px;
    }

    .visual-connection {
        display: block;
        width: 130px;
        height: 3px;
        margin-left: -65px;
        margin-top: -1.5px;
        box-shadow: 0 0 17px rgba(217, 119, 87, 0.2);
    }
}

/* Touch device optimizations - prevent sticky hover states */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices, only use :active */
    .nav-cta:hover,
    .stat:hover,
    .feature-card:hover,
    .how-item:hover,
    .submit-btn:hover,
    .footer-column a:hover {
        transform: none;
        box-shadow: none;
        border-color: inherit;
        background: inherit;
        color: inherit;
    }

    /* Ensure active states work on touch */
    .nav-cta,
    .stat,
    .feature-card,
    .how-item,
    .benefit,
    .submit-btn,
    .footer-column a,
    .form-group input,
    .form-group select {
        -webkit-tap-highlight-color: rgba(217, 119, 87, 0.1);
    }

    /* Make touch targets larger for better accessibility */
    .nav-cta {
        min-height: 44px;
    }

    .submit-btn {
        min-height: 48px;
    }

    .footer-column a {
        min-height: 40px;
        display: flex;
        align-items: center;
    }
}
