/* ===========================================
   Exhale Waitlist - Premium Design System
   Retains original hero animation with WaitlistTwo styling
   =========================================== */

:root {
    /* Primary Colors - Cyan Palette */
    --cyan-deep: #0D7377;
    --cyan-medium: #14919B;
    --cyan-light: #32E0C4;
    --cyan-pale: #E8F8F5;
    --cyan-glow: #ADFBF6;

    /* Gold Accents */
    --gold-rich: #D4A857;
    --gold-light: #E8C87D;
    --gold-pale: #F5E6C8;
    --gold-glow: rgba(212, 168, 87, 0.3);

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --black: #0A0A0A;

    /* Semantic */
    --bg-primary: var(--black);
    --bg-secondary: #0a0a0f;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #606060;
    --accent: var(--cyan-glow);
    --accent-deep: var(--cyan-deep);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-cyan: 0 8px 32px rgba(173, 251, 246, 0.2);
    --shadow-gold: 0 8px 32px rgba(212, 168, 87, 0.25);

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
}

/* ===========================================
   Light Mode
   =========================================== */
body.light-mode {
    --bg-primary: var(--gray-50);
    --bg-secondary: var(--white);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --accent: var(--cyan-deep);

    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
}

/* ===========================================
   Reset & Base
   =========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================================
   Ambient Background Orbs
   =========================================== */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.ambient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.ambient-orb-2 {
    display: none;
}

.ambient-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-medium) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: float3 18s ease-in-out infinite;
    opacity: 0.2;
}

body.light-mode .ambient-orb {
    opacity: 0.5;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 50px) scale(1.05); }
    66% { transform: translate(20px, -30px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, 30px) scale(1.05); }
    75% { transform: translate(30px, -20px) scale(0.95); }
}

/* ===========================================
   Dark Mode Toggle
   =========================================== */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.theme-toggle-track {
    width: 48px;
    height: 26px;
    background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--cyan-medium) 100%);
    border-radius: 13px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 16px rgba(173, 251, 246, 0.4);
}

body.light-mode .theme-toggle-track {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.15) 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 25px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1a1a1f 0%, #0a0a0f 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.light-mode .theme-toggle-thumb {
    left: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-icon svg {
    width: 18px;
    height: 18px;
}

.theme-toggle-icon.moon {
    color: var(--cyan-glow);
    filter: drop-shadow(0 0 4px rgba(173, 251, 246, 0.4));
}

.theme-toggle-icon.sun {
    display: none;
    color: var(--gold-rich);
    filter: drop-shadow(0 0 4px rgba(212, 168, 87, 0.4));
}

body.light-mode .theme-toggle-icon.moon {
    display: none;
}

body.light-mode .theme-toggle-icon.sun {
    display: flex;
}

/* ===========================================
   Hero Section - Original Design
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    padding: 40px 20px;
    animation: focusIn 2s ease-out forwards;
}

/* Original Focus-In Animation */
@keyframes focusIn {
    0% {
        filter: blur(25px);
        opacity: 0.2;
        transform: scale(1.03);
    }
    20% {
        filter: blur(18px);
        opacity: 0.4;
    }
    40% {
        filter: blur(12px);
        opacity: 0.6;
    }
    60% {
        filter: blur(6px);
        opacity: 0.8;
    }
    80% {
        filter: blur(2px);
        opacity: 0.95;
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }
}

h1 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(4rem, 10vw, 7rem);
    letter-spacing: 0.35em;
    color: var(--cyan-glow);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.logo-e {
    position: relative;
    text-shadow:
        0 0 10px rgba(173, 251, 246, 1),
        0 0 20px rgba(173, 251, 246, 0.9),
        0 0 40px rgba(173, 251, 246, 0.7),
        0 0 60px rgba(173, 251, 246, 0.5),
        0 0 80px rgba(173, 251, 246, 0.3);
}

.logo-e::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.05em;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ADFBF6, #5CECD3);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(173, 251, 246, 0.8);
}

body.light-mode .logo-e {
    text-shadow:
        0 0 10px rgba(13, 115, 119, 0.8),
        0 0 20px rgba(13, 115, 119, 0.6),
        0 0 40px rgba(13, 115, 119, 0.4),
        0 0 60px rgba(13, 115, 119, 0.2);
}

body.light-mode .logo-e::after {
    background: linear-gradient(90deg, #0D7377, #14919B);
    box-shadow: 0 0 10px rgba(13, 115, 119, 0.5);
}

h1.logo-text {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
}

h1.logo-text-extended {
    position: relative;
    display: inline-block;
}

.logo-e-extended {
    display: block;
    height: 1em;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(173, 251, 246, 0.6));
}

.logo-text-overlay {
    position: absolute;
    left: 0.62em;
    top: 0;
    line-height: 1;
}

.logo-monogram {
    height: 1em;
    width: auto;
    margin-right: 0.05em;
    filter: drop-shadow(0 0 10px rgba(173, 251, 246, 0.6));
    flex-shrink: 0;
}

.logo-monogram-footer {
    height: 1em;
    width: auto;
    margin-right: 0.05em;
    filter: drop-shadow(0 0 6px rgba(173, 251, 246, 0.4));
    flex-shrink: 0;
}

body.light-mode h1 {
    color: var(--cyan-deep);
}

body.light-mode .logo-monogram rect,
body.light-mode .logo-monogram-footer rect,
body.light-mode .logo-e-extended rect {
    fill: var(--cyan-deep);
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}

/* ===========================================
   Form Styles - Original Glassmorphism
   =========================================== */
form {
    max-width: 520px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 16px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

body.light-mode .input-group {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.input-group:hover {
    border-color: rgba(173, 251, 246, 0.3);
}

body.light-mode .input-group:hover {
    border-color: rgba(13, 115, 119, 0.3);
}

.input-group:focus-within {
    border-color: rgba(173, 251, 246, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 60px rgba(173, 251, 246, 0.12);
}

body.light-mode .input-group:focus-within {
    border-color: var(--cyan-deep);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(13, 115, 119, 0.1);
}

.input-wrapper {
    flex: 1;
}

input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
}

input::placeholder {
    color: var(--text-muted);
}

button[type="submit"] {
    padding: 18px 36px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(173, 251, 246, 0.2), rgba(173, 251, 246, 0.1));
    backdrop-filter: blur(10px);
    color: var(--cyan-glow);
    border: 1px solid rgba(173, 251, 246, 0.35);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

body.light-mode button[type="submit"] {
    background: linear-gradient(135deg, var(--cyan-deep) 0%, var(--cyan-medium) 100%);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-cyan);
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, rgba(173, 251, 246, 0.3), rgba(173, 251, 246, 0.15));
    border-color: rgba(173, 251, 246, 0.5);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(173, 251, 246, 0.2);
}

body.light-mode button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(13, 115, 119, 0.35);
}

button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.success {
    display: none;
    margin-top: 24px;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(173, 251, 246, 0.12), rgba(173, 251, 246, 0.06));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(173, 251, 246, 0.25);
    border-radius: 12px;
    color: var(--cyan-glow);
}

body.light-mode .success {
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.08) 0%, rgba(50, 224, 196, 0.08) 100%);
    border: 1px solid rgba(13, 115, 119, 0.2);
    color: var(--cyan-deep);
}

.success.show {
    display: block;
    animation: fadeUp 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
   Join Waitlist Button (Hero)
   =========================================== */
.join-waitlist-btn {
    padding: 20px 48px;
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(173, 251, 246, 0.2), rgba(173, 251, 246, 0.1));
    backdrop-filter: blur(10px);
    color: var(--cyan-glow);
    border: 1px solid rgba(173, 251, 246, 0.35);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.light-mode .join-waitlist-btn {
    background: linear-gradient(135deg, var(--cyan-deep) 0%, var(--cyan-medium) 100%);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-cyan);
}

.join-waitlist-btn:hover {
    background: linear-gradient(135deg, rgba(173, 251, 246, 0.3), rgba(173, 251, 246, 0.15));
    border-color: rgba(173, 251, 246, 0.5);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(173, 251, 246, 0.25);
}

body.light-mode .join-waitlist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(13, 115, 119, 0.35);
}

/* ===========================================
   Typeform Container
   =========================================== */
.typeform-container {
    position: relative;
    z-index: 1;
    min-height: 550px;
    width: 100%;
}

/* ===========================================
   Scroll Indicator
   =========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--cyan-glow);
}

body.light-mode .scroll-indicator:hover {
    color: var(--cyan-deep);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===========================================
   Sections Base
   =========================================== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-rich);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 168, 87, 0.15);
    border-radius: 100px;
}

body.light-mode .section-label {
    background: var(--gold-pale);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title span {
    font-style: italic;
    color: var(--cyan-glow);
}

.section-title span.no-italic {
    font-style: normal;
}

body.light-mode .section-title span {
    color: var(--cyan-deep);
}

/* ===========================================
   Pain Points Section
   =========================================== */
.pain-points {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

body.light-mode .pain-points {
    background: var(--white);
}

.pain-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

body.light-mode .pain-points::before {
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pain-card {
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

body.light-mode .pain-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

body.light-mode .pain-card::before {
    background: #999;
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

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

.pain-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--cyan-glow);
}

body.light-mode .pain-icon {
    color: var(--cyan-deep);
}

.pain-icon svg {
    width: 100%;
    height: 100%;
}

.pain-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pain-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===========================================
   Features Section
   =========================================== */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
    overflow: visible;
}

body.light-mode .features {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    overflow: visible;
    padding: 1rem;
    margin: -1rem;
}

.features-grid .feature-card:nth-child(1),
.features-grid .feature-card:nth-child(2),
.features-grid .feature-card:nth-child(3) {
    grid-column: span 2;
}

.features-grid .feature-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.features-grid .feature-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.feature-card {
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

body.light-mode .feature-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
}

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

body.light-mode .feature-card::before {
    background: #999;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.1);
}

body.light-mode .feature-card:hover {
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(173, 251, 246, 0.2) 0%, rgba(50, 224, 196, 0.1) 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--cyan-glow);
}

body.light-mode .feature-icon {
    background: linear-gradient(135deg, var(--cyan-pale) 0%, rgba(50, 224, 196, 0.2) 100%);
    color: var(--cyan-deep);
}

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

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.feature-list {
    margin-top: 1.25rem;
    list-style: none;
}

.feature-list li {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-style: italic;
}

.feature-list li::before {
    content: '"';
    position: absolute;
    left: 0;
    color: var(--cyan-glow);
    font-size: 1rem;
}

body.light-mode .feature-list li::before {
    color: var(--cyan-deep);
}

/* ===========================================
   How It Works Section
   =========================================== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

body.light-mode .how-it-works {
    background: var(--white);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
}

body.light-mode .step {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
}

.step:hover {
    transform: translateX(8px);
    border-color: rgba(173, 251, 246, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--cyan-glow), var(--cyan-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    box-shadow: 0 8px 32px rgba(173, 251, 246, 0.3);
}

body.light-mode .step-number {
    background: linear-gradient(135deg, var(--cyan-deep), var(--cyan-medium));
    color: var(--white);
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================================
   CTA Section
   =========================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

body.light-mode .cta-section {
    background: var(--gray-50);
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-header p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 1rem auto 0;
}

.typeform-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

body.light-mode .typeform-wrapper {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
}

.typeform-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(173, 251, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

body.light-mode .typeform-wrapper::before {
    background: radial-gradient(circle, var(--cyan-pale) 0%, transparent 70%);
    opacity: 0.5;
}

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

.form-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===========================================
   Footer
   =========================================== */
.footer {
    padding: 4rem 2rem;
    background: #050508;
    position: relative;
    z-index: 1;
}

body.light-mode .footer {
    background: var(--gray-900);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
}


.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

/* ===========================================
   Utility Classes
   =========================================== */
.hidden {
    display: none !important;
}

/* ===========================================
   Reveal Animations - GPU Accelerated
   =========================================== */
.reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.6s ease-out,
                transform 0.6s ease-out;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.feature-card.reveal,
.pain-card.reveal {
    transform: translate3d(0, 30px, 0);
}

.feature-card.revealed,
.pain-card.revealed {
    transform: translate3d(0, 0, 0);
}

.step.reveal {
    transform: translate3d(-20px, 0, 0);
}

.step.revealed {
    transform: translate3d(0, 0, 0);
}

/* ===========================================
   Cursor Glow
   =========================================== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(173, 251, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: normal;
}

body.light-mode .cursor-glow {
    background: radial-gradient(circle, rgba(13, 115, 119, 0.15) 0%, transparent 70%);
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid .feature-card:nth-child(1),
    .features-grid .feature-card:nth-child(2),
    .features-grid .feature-card:nth-child(3),
    .features-grid .feature-card:nth-child(4),
    .features-grid .feature-card:nth-child(5) {
        grid-column: span 1;
    }

    .features-grid .feature-card:nth-child(5) {
        grid-column: 1 / span 2;
        max-width: 50%;
        justify-self: center;
    }

    .typeform-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .theme-toggle-track {
        width: 40px;
        height: 22px;
    }

    .theme-toggle-thumb {
        width: 16px;
        height: 16px;
    }

    body:not(.light-mode) .theme-toggle-thumb {
        left: 21px;
    }

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

    .features-grid .feature-card:nth-child(5) {
        max-width: 100%;
        grid-column: span 1;
    }

    .input-group {
        flex-direction: column;
        padding: 8px;
    }

    input {
        text-align: center;
    }

    button[type="submit"] {
        width: 100%;
        margin-top: 8px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .typeform-wrapper {
        border-radius: 16px;
        padding: 1rem;
    }

    .typeform-container {
        min-height: 450px;
    }

    .ambient-orb-2,
    .ambient-orb-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .pain-card,
    .feature-card {
        padding: 2rem;
    }

    .step {
        padding: 1.5rem;
    }
}

/* ===========================================
   Accessibility & Reduced Motion
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ambient-orb,
    .cursor-glow {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--cyan-glow);
    outline-offset: 2px;
}

body.light-mode a:focus-visible,
body.light-mode button:focus-visible,
body.light-mode input:focus-visible {
    outline-color: var(--cyan-deep);
}
