:root {
    --bg-color: #0B0B0B;
    --text-primary: #EAEAEA;
    --text-secondary: #A0A0A0;
    --accent-teal: #00C2B2;
    --bg-surface: #121212;
    --bg-card: rgba(28, 28, 30, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(0, 194, 178, 0.4);

    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    --calm-accent: #6ee7b7;
    --calm-glow: rgba(110, 231, 183, 0.12);
    --sleep-accent: #a78bfa;
    --focus-glow: rgba(0, 194, 178, 0.18);
}

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

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

img, video, svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

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

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-line {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s;
}

.footer-logo {
    height: 120px;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.logo:hover .logo-img {
    opacity: 0.75;
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.lang-switch {
    font-size: 0.85rem !important;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.lang-switch:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 194, 178, 0.05);
}

.lang-flag {
    font-size: 1.1rem;
}

/* ─── Hamburger Button ─── */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.25s ease,
        width 0.3s ease;
    transform-origin: center;
}

/* Open state, animates into an X */
.hamburger.is-open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.is-open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay ─── */
.mobile-menu {
    display: block;
    /* controlled by max-height, not display */
    max-height: 0;
    overflow: hidden;
    background: rgba(11, 11, 11, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.is-open {
    max-height: 500px;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem var(--space-sm);
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s ease, background 0.2s ease;
    opacity: 0;
    transform: translateY(-8px);
    transition: color 0.2s ease, background 0.2s ease,
        opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.is-open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger each link's fade-in */
.mobile-menu.is-open .mobile-nav-link:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu.is-open .mobile-nav-link:nth-child(2) {
    transition-delay: 0.10s;
}

.mobile-menu.is-open .mobile-nav-link:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu.is-open .mobile-nav-link:nth-child(4) {
    transition-delay: 0.20s;
}

.mobile-menu.is-open .mobile-nav-link:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-menu.is-open .mobile-nav-link:nth-child(6) {
    transition-delay: 0.30s;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.lang-switch-mobile {
    margin-top: 0.5rem;
    color: var(--text-primary) !important;
}

.mobile-socials {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1.5rem var(--space-sm) 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease 0.35s, transform 0.3s ease 0.35s;
}

.mobile-menu.is-open .mobile-socials {
    opacity: 1;
    transform: translateY(0);
}

.mobile-socials a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.mobile-socials a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    background-color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-teal {
    background-color: var(--accent-teal);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 194, 178, 0.25);
}

.btn-teal:hover {
    background-color: #00d4c2;
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(0, 194, 178, 0.45);
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.05rem;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-play:hover {
    color: var(--accent-teal);
}

.play-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.play-icon-circle svg {
    margin-left: 3px; /* visual center for play icon */
}

.btn-play:hover .play-icon-circle {
    background: rgba(0, 194, 178, 0.15);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: 0 0 20px rgba(0, 194, 178, 0.3);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
    background-image: url('/assets/img/hero-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.5) 0%, rgba(11, 11, 11, 0.95) 100%);
    z-index: 0;
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-stat-pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-teal);
}

.hero-stat-pill strong {
    color: var(--text-primary);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: -0.04em;
    max-width: 900px;
    margin-inline: auto;
    line-height: 1.05;
}

.hero-eyebrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero-eyebrows {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

.hero-eyebrow-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-eyebrow-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-eyebrow-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .hero-eyebrow-item svg {
        width: 16px;
        height: 16px;
    }
    .hero-eyebrow-text {
        font-size: 0.85rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Kickstarter Floating Badge */
.ks-badge {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem 0.65rem 0.85rem;
    background: #222222;
    border: 1px solid rgba(5, 206, 120, 0.5);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    text-transform: uppercase;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(5, 206, 120, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: ks-pulse 3.5s ease-in-out infinite;
    cursor: default;
    white-space: nowrap;
}

.ks-badge:hover {
    transform: translateY(-3px);
    border-color: #05CE78;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(5, 206, 120, 0.25);
}

.ks-logo {
    height: 18px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

@keyframes ks-pulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0px rgba(5, 206, 120, 0); }
    50%       { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(5, 206, 120, 0.3); }
}

@media (max-width: 640px) {
    .ks-badge {
        bottom: 1.5rem;
        right: 50%;
        transform: translateX(50%);
    }
    .ks-badge:hover {
        transform: translateX(50%) translateY(-3px);
    }
}

@media (min-width: 641px) {
    .ks-badge {
        gap: 0.825rem;
        padding: 0.715rem 1.375rem 0.715rem 0.935rem;
        font-size: 0.858rem;
    }
    .ks-logo {
        height: 19.8px;
    }
}

/* Modes Grid / Binaural Beats Plan Section */
.modes {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.modes-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 600px;
    margin: 0 auto;
}

.modes-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    /* Align items to stretch so image and cards match height */
}

@media (min-width: 992px) {
    .modes-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.modes-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* For mobile since they stack, give it a specific height */
    min-height: 300px;
}

@media (min-width: 992px) {
    .modes-visual {
        min-height: 0;
        height: 100%;
        /* Will stretch exactly to match the cards */
    }
}

.modes-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps zoom on the headphones without affecting the box height */
    object-position: 15% 50%;
    transform: scale(1.2);
    transform-origin: 25% 50%;
    transition: transform 0.5s ease;
}

.mode-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mode-card:hover {
    border-color: rgba(0, 194, 178, 0.5);
    background: rgba(0, 194, 178, 0.05);
}

.mode-card.active {
    background: rgba(0, 194, 178, 0.1);
    border-color: var(--accent-teal);
}

.mode-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mode-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.mode-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

.play-icon {
    color: var(--accent-teal);
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.mode-card:hover .play-icon {
    opacity: 1;
}

/* Science Stats Area */
.science-stats {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-lg) var(--space-md);
    backdrop-filter: blur(10px);
}

.stat-card h3 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Technology Section */
.technology {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(0, 194, 178, 0.08) 0%, var(--bg-color) 70%);
}

.technology::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../assets/img/tecnologia-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

.technology > .container {
    position: relative;
    z-index: 1;
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    padding: 0 1rem;
}

.tech-layer {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tech-layer:hover {
    transform: translateY(-5px);
    background: rgba(0, 194, 178, 0.08);
    border-color: rgba(0, 194, 178, 0.4);
    box-shadow: 0 15px 40px rgba(0, 194, 178, 0.15);
}

.tech-layer-num-v {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 194, 178, 0.2);
    line-height: 1;
    min-width: 45px;
    text-align: center;
    transition: color 0.3s ease;
}

.tech-layer:hover .tech-layer-num-v {
    color: rgba(0, 194, 178, 0.8);
}

.tech-layer-content {
    flex: 1;
}

.tech-layer-content h3 {
    font-size: 1.25rem;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.tech-layer-content p {
    font-size: 1rem;
    color: var(--accent-teal);
    margin: 0;
    font-weight: 500;
}

.tech-advantage {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(28, 28, 30, 0.8) 0%, rgba(28, 28, 30, 0.4) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--space-lg) var(--space-md);
    position: relative;
    overflow: hidden;
}

.tech-advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.tech-advantage h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-advantage p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tech-advantage-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.tech-advantage-list li {
    background: rgba(0, 194, 178, 0.05);
    border: 1px solid rgba(0, 194, 178, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-advantage-list li::before {
    content: "✓";
    color: var(--accent-teal);
    font-weight: bold;
}

.quote-highlight {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    text-align: center;
    max-width: 800px;
    margin: var(--space-lg) auto 0;
    line-height: 1.3;
    color: #fff;
    font-style: italic;
}

.quote-highlight strong {
    font-weight: 600;
    color: var(--accent-teal);
    font-style: normal;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    background: var(--bg-color);
    border-radius: 16px;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-teal);
    color: var(--bg-color);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto var(--space-sm);
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Testimonials / Quotes */
.testimonials {
    background-color: var(--bg-surface);
    background-image: url('/assets/img/testimonials-bg.webp');
    /* Add your image here */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    text-align: center;
    /* border-top: 1px solid var(--border-color); */
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    /* Keep content above overlay */
}

/* Add a dark gradient overlay so the text remains easy to read */
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Fades from dark surface to slightly transparent center, back to dark */
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(18, 18, 18, 0.4) 50%, var(--bg-surface) 100%);
    z-index: -1;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-summary {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .quotes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .quotes-grid {
        grid-template-columns: 1fr;
    }
}

.quote-card {
    padding: var(--space-lg) var(--space-md);
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.quote-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quote-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    margin-top: 0;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Final CTA */
.final-cta {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

/* Footer */
.footer {
    padding: var(--space-md) 0;
    background: var(--bg-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 0.8rem;
    max-width: 800px;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-socials a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.footer-socials a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   WAITLIST OVERLAY
   ═══════════════════════════════════════════════════════ */

/* Full-screen overlay shell */
.wl-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.wl-overlay--visible { opacity: 1; }

.wl-overlay--closing {
    opacity: 0;
    pointer-events: none;
}

/* Animated particle canvas */
.wl-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Dark backdrop */
.wl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 8, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

/* Glassmorphism panel */
.wl-panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(24, 24, 28, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 194, 178, 0.06) inset;
    padding: 2.75rem 2.25rem 2.25rem;
    scrollbar-width: none;
}

.wl-panel::-webkit-scrollbar { display: none; }

/* Close button */
.wl-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
}

.wl-close svg {
    width: 16px;
    height: 16px;
}

.wl-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ─── Screen transitions ─────────────────────────────── */
.wl-screen {
    display: none;
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.wl-screen--active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.wl-screen--exit {
    display: none;
}

/* ─── Common text elements ───────────────────────────── */
.wl-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.wl-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.wl-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 2rem;
}

/* ─── Category cards ─────────────────────────────────── */
.wl-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wl-card {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.wl-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 194, 178, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.wl-card:hover {
    border-color: rgba(0, 194, 178, 0.35);
    background: rgba(0, 194, 178, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.wl-card:hover::before { opacity: 1; }

.wl-card--selected {
    border-color: var(--accent-teal) !important;
    background: rgba(0, 194, 178, 0.1) !important;
    box-shadow: 0 0 0 1px rgba(0, 194, 178, 0.3) inset, 0 8px 28px rgba(0, 194, 178, 0.1) !important;
    transform: translateY(-2px);
}

.wl-card--selected::before { opacity: 1; }

.wl-card__icon {
    font-size: 1.8rem;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    flex-shrink: 0;
}

.wl-card__label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    display: block;
    grid-column: 2;
    grid-row: 1;
}

.wl-card__sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: block;
    grid-column: 2;
    grid-row: 2;
    margin-top: 0.2rem;
}

.wl-card__check {
    grid-row: 1 / 3;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, border-color 0.25s;
    color: transparent;
}

.wl-card__check svg {
    width: 12px;
    height: 12px;
}

.wl-card--selected .wl-card__check {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #000;
}

/* ─── Screen 2 ──────────────────────────────────────── */
.wl-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
    font-family: inherit;
}

.wl-back:hover { color: var(--text-primary); }

.wl-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-teal);
    background: rgba(0, 194, 178, 0.1);
    border: 1px solid rgba(0, 194, 178, 0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

/* ─── Form ───────────────────────────────────────────── */
.wl-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wl-input-wrap {
    position: relative;
    margin-bottom: 0.75rem;
}

.wl-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.wl-input::placeholder { color: rgba(160, 160, 160, 0.6); }

.wl-input:focus {
    border-color: var(--accent-teal);
    background: rgba(0, 194, 178, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 194, 178, 0.12);
}

/* ─── Error ──────────────────────────────────────────── */
.wl-error {
    font-size: 0.85rem;
    color: #ff7b7b;
    margin-bottom: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 80, 80, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 80, 80, 0.2);
}

/* ─── Submit button ──────────────────────────────────── */
.wl-submit {
    width: 100%;
    padding: 1rem;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    margin-top: 0.15rem;
}

.wl-submit:hover:not(:disabled) {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.18);
}

.wl-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wl-submit--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    margin-top: 1rem;
}

.wl-submit--outline:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    transform: none;
}

.wl-privacy {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.85rem;
    opacity: 0.7;
}

/* ─── Success screen ─────────────────────────────────── */
.wl-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 194, 178, 0.2), rgba(0, 194, 178, 0.05));
    border: 2px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-teal);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 40px rgba(0, 194, 178, 0.2);
    animation: wl-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes wl-pop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

#wl-screen-3 .wl-title,
#wl-screen-3 .wl-sub {
    text-align: center;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
    .wl-panel {
        padding: 2.25rem 1.5rem 1.75rem;
        border-radius: 20px;
    }

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

/* ─── Comparison table: hide monthly column on small screens ── */
@media (max-width: 460px) {
    .comp-col-month { display: none !important; }
    .comp-row { grid-template-columns: 1fr auto !important; }
}

/* ─── Video Modal ────────────────────────────────────── */
.video-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Use a solid dark opacity instead of backdrop-filter to prevent hardware decoding frame drops */
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    /* Remove heavy box shadow to improve GPU performance on mobile */
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-modal-overlay.is-active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none; border-radius: 50%;
    color: #fff; font-size: 1.5rem;
    cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    padding-bottom: 2px;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.video-modal-aspect-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
}

.video-modal-aspect-ratio iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ==========================================================================
   PROGRAM PAGES SHARED STYLES (CALM, FOCUS, SLEEP) 
   ========================================================================== */

/* ─── SHARED BASE ─── */
.ca-section, .fa-section, .sa-section { padding: 6rem 0; }
.ca-section-alt, .fa-section-alt, .sa-section-alt {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ca-h2, .fa-h2, .sa-h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: -.03em;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    text-align: center;
}
.ca-h2, .sa-h2 { line-height: 1.2; }
.fa-h2 { line-height: 1.15; }

.ca-problem, .fa-problem, .sa-problem { margin: 0 auto; text-align: center; }
.ca-problem, .sa-problem { max-width: 680px; }
.fa-problem { max-width: 720px; }

.ca-problem-lines, .fa-problem-lines, .sa-problem-lines {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ca-problem-lines li, .fa-problem-lines li, .sa-problem-lines li {
    color: var(--text-secondary);
    padding: 1.1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.ca-problem-lines li { font-size: 1.2rem; font-style: italic; border-left: 3px solid rgba(110, 231, 183, 0.2); }
.fa-problem-lines li { font-size: 1.25rem; transition: border-color 0.3s; }
.fa-problem-lines li:hover { border-color: rgba(255, 255, 255, 0.15); }
.sa-problem-lines li { font-size: 1.2rem; font-style: italic; border-left: 3px solid rgba(167, 139, 250, 0.2); }

.ca-resolution, .fa-problem-resolution, .sa-resolution {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1.5rem auto 0;
    text-align: center;
}
.ca-resolution strong, .fa-problem-resolution strong, .sa-resolution strong { color: var(--text-primary); }

.ca-reframe, .fa-reframe, .sa-reframe { margin: 0 auto; text-align: center; }
.ca-reframe, .sa-reframe { max-width: 640px; }
.fa-reframe { max-width: 700px; }

.ca-reframe-quote, .fa-reframe-quote, .sa-reframe-quote {
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 2rem;
}
.ca-reframe-quote, .sa-reframe-quote { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; }
.fa-reframe-quote { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
.ca-reframe-quote em { color: var(--calm-accent); font-style: normal; }
.fa-reframe-quote em { color: var(--accent-teal); font-style: normal; }
.sa-reframe-quote em { color: var(--sleep-accent); font-style: normal; }

.fa-lead, .sa-lead { font-size: 1.1rem; color: var(--text-secondary); max-width: 580px; margin: 0 auto; text-align: center; }
.fa-lead { line-height: 1.75; }
.sa-lead { line-height: 1.8; }

.ca-positioning, .fa-positioning, .sa-positioning {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 860px;
    margin: 3rem auto 0;
}
@media(max-width:640px) { .ca-positioning, .fa-positioning, .sa-positioning { grid-template-columns: 1fr; } }

.ca-pos-card, .fa-pos-card, .sa-pos-card { padding: 2rem; border-radius: 16px; border: 1px solid var(--border-color); }
.ca-pos-card.not, .fa-pos-card.not, .sa-pos-card.not { background: rgba(255, 80, 80, .04); border-color: rgba(255, 80, 80, .15); }
.ca-pos-card.is { background: linear-gradient(135deg, rgba(110, 231, 183, .08) 0%, rgba(110, 231, 183, .02) 100%); border-color: rgba(110, 231, 183, .2); }
.fa-pos-card.is { background: linear-gradient(135deg, rgba(0, 194, 178, 0.10) 0%, rgba(0, 194, 178, 0.03) 100%); border-color: rgba(0, 194, 178, 0.25); }
.sa-pos-card.is { background: linear-gradient(135deg, rgba(80, 60, 180, .12) 0%, rgba(80, 60, 180, .03) 100%); border-color: rgba(100, 80, 220, .25); }

.ca-pos-tag, .fa-pos-tag, .sa-pos-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.ca-pos-card.not .ca-pos-tag, .fa-pos-card.not .fa-pos-tag, .sa-pos-card.not .sa-pos-tag { color: rgba(255, 100, 100, .8); }
.ca-pos-card.is .ca-pos-tag { color: var(--calm-accent); }
.fa-pos-card.is .fa-pos-tag { color: var(--accent-teal); }
.sa-pos-card.is .sa-pos-tag { color: var(--sleep-accent); }

.ca-pos-card p, .fa-pos-card p, .sa-pos-card p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }
.ca-pos-card p strong, .fa-pos-card p strong, .sa-pos-card p strong { color: var(--text-primary); display: block; margin-bottom: .5rem; }

.ca-steps, .fa-steps, .sa-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 900px; margin: 3.5rem auto 0; }
@media(max-width:700px) { .ca-steps, .fa-steps, .sa-steps { grid-template-columns: 1fr; } }

.ca-step, .fa-step, .sa-step { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem 1.75rem; }
.ca-step, .sa-step { transition: border-color .4s, transform .4s; }
.ca-step:hover { border-color: rgba(110, 231, 183, .25); transform: translateY(-3px); }
.sa-step:hover { border-color: rgba(100, 80, 220, .3); transform: translateY(-3px); }
.fa-step { position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.fa-step:hover { border-color: rgba(0, 194, 178, 0.3); transform: translateY(-4px); }

.ca-step-num, .fa-step-num, .sa-step-num { font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; }
.ca-step-num { color: rgba(110, 231, 183, .10); }
.fa-step-num { color: rgba(0, 194, 178, 0.12); }
.sa-step-num { color: rgba(80, 60, 180, .15); }

.ca-step h3, .fa-step h3, .sa-step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.ca-step p, .fa-step p, .sa-step p { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; }

.ca-benefits-list, .fa-benefits-list, .sa-benefits-list { list-style: none; padding: 0; max-width: 600px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.ca-benefits-list li, .fa-benefits-list li, .sa-benefits-list li { display: flex; align-items: center; gap: 1rem; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.5; }
.ca-benefits-list li::before, .fa-benefits-list li::before, .sa-benefits-list li::before { content: ''; border-radius: 50%; flex-shrink: 0; }
.ca-benefits-list li::before { width: 8px; height: 8px; background: var(--calm-accent); box-shadow: 0 0 10px rgba(110, 231, 183, .4); margin-top: 0.3rem }
.fa-benefits-list li::before { width: 10px; height: 10px; background: var(--accent-teal); box-shadow: 0 0 10px rgba(0, 194, 178, 0.6); margin-top: 0.3rem }
.sa-benefits-list li::before { width: 8px; height: 8px; background: var(--sleep-accent); box-shadow: 0 0 12px rgba(167, 139, 250, .5); margin-top: 0.3rem }

.ca-validation, .fa-validation, .sa-validation { max-width: 760px; margin: 0 auto; text-align: center; }
.ca-stat-row, .fa-stat-row, .sa-stat-row { display: flex; justify-content: center; gap: 3rem; margin: 2.5rem 0; flex-wrap: wrap; }
.fa-stat { text-align: center; }
.ca-stat h3, .fa-stat h3, .sa-stat h3 { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: .5rem; }
.ca-stat h3 { background-image: linear-gradient(135deg, #fff, var(--calm-accent)); }
.fa-stat h3 { background-image: linear-gradient(135deg, #fff, var(--accent-teal)); }
.sa-stat h3 { background-image: linear-gradient(135deg, #fff, var(--sleep-accent)); }
.ca-stat p, .fa-stat p, .sa-stat p { font-size: .85rem; color: var(--text-secondary); }

.ca-report-list, .fa-report-list, .sa-report-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.ca-report-list li, .fa-report-list li, .sa-report-list li { font-size: 1rem; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; gap: .75rem; }
.ca-report-list li::before { content: '◆'; color: var(--calm-accent); font-size: .6rem; }
.fa-report-list li::before { content: '★'; color: var(--accent-teal); font-size: 0.75rem; }
.sa-report-list li::before { content: '✦'; color: var(--sleep-accent); font-size: .75rem; }

.ca-science-box, .fa-science-box, .sa-science-box { max-width: 700px; margin: 0 auto; border-radius: 20px; padding: 3rem; text-align: center; }
.ca-science-box { background: linear-gradient(135deg, rgba(110, 231, 183, .07), transparent); border: 1px solid rgba(110, 231, 183, .18); }
.fa-science-box { background: linear-gradient(135deg, rgba(0, 194, 178, 0.08), transparent); border: 1px solid rgba(0, 194, 178, 0.2); }
.sa-science-box { background: linear-gradient(135deg, rgba(80, 60, 180, .09), transparent); border: 1px solid rgba(100, 80, 220, .2); }
.ca-science-box p, .fa-science-box p, .sa-science-box p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; }
.ca-science-box strong, .fa-science-box strong, .sa-science-box strong { color: var(--text-primary); }

.ca-disclaimer-pill, .fa-disclaimer-pill, .sa-disclaimer-pill { display: inline-block; font-size: .75rem; color: var(--text-secondary); background: rgba(255, 255, 255, .04); border: 1px solid var(--border-color); border-radius: 999px; padding: .4rem 1rem; margin-top: 1.5rem; }

.ca-final-cta, .fa-final-cta, .sa-final-cta { text-align: center; padding: 8rem 1rem; position: relative; overflow: hidden; }
.ca-final-cta::before, .fa-final-cta::before, .sa-final-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.ca-final-cta::before { background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(110, 231, 183, .06) 0%, transparent 70%); }
.fa-final-cta::before { background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 194, 178, 0.08) 0%, transparent 70%); }
.sa-final-cta::before { background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(80, 60, 180, .09) 0%, transparent 70%); }
.ca-final-cta h2, .fa-final-cta h2, .sa-final-cta h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.03em; max-width: 640px; margin: 0 auto 2rem; }
.ca-final-cta .cta-buttons, .fa-final-cta .cta-buttons, .sa-final-cta .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.ca-internal-links, .fa-internal-links, .sa-internal-links { padding: 4rem 0; border-top: 1px solid var(--border-color); text-align: center; }
.ca-links-label, .fa-links-label, .sa-links-label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 2rem; }
.ca-links-grid, .fa-links-grid, .sa-links-grid { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.ca-link-card, .fa-link-card, .sa-link-card { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.75rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; text-decoration: none; color: var(--text-secondary); font-size: .95rem; font-weight: 500; transition: border-color .3s, color .3s; }
.ca-link-card:hover { border-color: rgba(110, 231, 183, .25); color: var(--text-primary); }
.fa-link-card:hover { border-color: rgba(0, 194, 178, 0.3); color: var(--text-primary); }
.sa-link-card:hover { border-color: rgba(100, 80, 220, .3); color: var(--text-primary); }
.ca-link-card span, .fa-link-card span, .sa-link-card span { font-size: 1.25rem; }

/* ─── SPECIFIC ELEMENTS ─── */
.ca-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--calm-accent); margin-bottom: 1.25rem; display: block; text-align: center; }
.fa-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-teal); margin-bottom: 1.25rem; display: block; text-align: center; }
.sa-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sleep-accent); margin-bottom: 1.25rem; display: block; text-align: center; }

.ca-hero, .fa-hero, .sa-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 1rem 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}
.ca-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(110, 231, 183, 0.08) 0%, transparent 70%); pointer-events: none; }
.ca-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 30% at 20% 60%, rgba(110, 231, 183, 0.04) 0%, transparent 60%), radial-gradient(ellipse 30% 25% at 80% 40%, rgba(110, 231, 183, 0.04) 0%, transparent 60%); pointer-events: none; }
.fa-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 194, 178, 0.10) 0%, transparent 70%); pointer-events: none; }
.sa-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(80, 60, 180, .14) 0%, transparent 70%); pointer-events: none; }
.sa-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 15% 20%, rgba(255, 255, 255, .5) 0%, transparent 100%), radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, .4) 0%, transparent 100%), radial-gradient(1px 1px at 88% 35%, rgba(255, 255, 255, .3) 0%, transparent 100%), radial-gradient(1px 1px at 40% 8%, rgba(255, 255, 255, .45) 0%, transparent 100%), radial-gradient(1px 1px at 60% 25%, rgba(167, 139, 250, .4) 0%, transparent 100%); pointer-events: none; }

.ca-hero-inner, .sa-hero-inner, .fa-hero-inner { position: relative; z-index: 1; text-align: center; width: 100%; }

.ca-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(110, 231, 183, 0.10); border: 1px solid rgba(110, 231, 183, 0.25); color: var(--calm-accent); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; margin-bottom: 2rem; }
.fa-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 194, 178, 0.10); border: 1px solid rgba(0, 194, 178, 0.3); color: var(--accent-teal); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 2rem; }
.sa-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(80, 60, 180, .15); border: 1px solid rgba(100, 80, 220, .3); color: var(--sleep-accent); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; margin-bottom: 2rem; }

.ca-hero h1, .sa-hero h1, .fa-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: -.04em; line-height: 1.05; max-width: 800px; }
.ca-hero h1 { margin: 0 auto 0.5rem; }
.sa-hero h1 { margin: 0 auto 0.5rem; }
.fa-hero h1 { margin: 0 auto 0.5rem; }

.ca-hero-sub { font-size: 1.2rem; color: var(--text-secondary); max-width: 560px; line-height: 1.8; margin: 0 auto .75rem; }
.fa-hero-sub { font-size: 1.25rem; color: var(--text-secondary); max-width: 560px; line-height: 1.7; margin: 0 auto 0.75rem; }
.sa-hero-sub { font-size: 1.2rem; color: var(--text-secondary); max-width: 520px; line-height: 1.8; margin: 0 auto .75rem; }

.ca-hero-support { font-size: .9rem; color: rgba(255, 255, 255, .25); letter-spacing: .03em; margin-bottom: 2.5rem; }
.fa-hero-support { font-size: 0.9rem; color: rgba(255, 255, 255, 0.3); letter-spacing: 0.03em; margin-bottom: 2.5rem; }
.sa-hero-support { font-size: .9rem; color: rgba(255, 255, 255, .25); letter-spacing: .03em; margin-bottom: 2.5rem; }

.ca-hero-cta, .fa-hero-cta, .sa-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* WAVE STYLES (now standardized) */
.wave-divider { width: 100%; margin-bottom: 1.5rem; position: relative; }
.wave-svg { width: 100%; height: 60px; display: block; overflow: visible; }
.fa-hero .wave-svg { height: 80px; }
.sa-hero .wave-svg { height: 80px; }

.wave-path-calm { stroke: var(--calm-accent); stroke-width: 1.5; fill: none; opacity: .23; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: wave-draw-calm 6s ease-out forwards, calm-pulse 8s ease-in-out 6s infinite; }
@keyframes wave-draw-calm { to { stroke-dashoffset: 0; } }
@keyframes calm-pulse { 0%, 100% { opacity: .14; } 50% { opacity: .32; } }

.wave-path { stroke: var(--accent-teal); stroke-width: 1.5; fill: none; opacity: 0.4; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: wave-draw 6s ease-out forwards, wave-pulse 4s ease-in-out 3s infinite; }
@keyframes wave-draw { to { stroke-dashoffset: 0; } }
@keyframes wave-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.7; } }

.wave-path-sleep { stroke: var(--sleep-accent); stroke-width: 1; fill: none; opacity: .25; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: wave-draw-slow 8s ease-out forwards, sleep-pulse 7s ease-in-out 5s infinite; }
@keyframes wave-draw-slow { to { stroke-dashoffset: 0; } }
@keyframes sleep-pulse { 0%, 100% { opacity: .15; } 50% { opacity: .35; } }

/* Use cases/sessions */
.ca-usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 760px; margin: 3rem auto 0; }
@media(max-width:580px) { .ca-usecases { grid-template-columns: 1fr; } }
.ca-usecase { display: flex; align-items: flex-start; gap: .875rem; padding: 1.25rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; transition: border-color .3s; }
.ca-usecase:hover { border-color: rgba(110, 231, 183, .2); }
.ca-usecase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--calm-accent); flex-shrink: 0; margin-top: .45rem; box-shadow: 0 0 8px rgba(110, 231, 183, .5); }
.ca-usecase p { font-size: .95rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

.fa-sessions, .sa-sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 800px; margin: 3rem auto 0; }
@media(max-width:640px) { .fa-sessions, .sa-sessions { grid-template-columns: 1fr; } }
.fa-session-pill, .sa-session-pill { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.5rem; text-align: center; }
.fa-session-pill .session-icon, .sa-session-pill .session-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.fa-session-pill p, .sa-session-pill p { font-size: .9rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── Guide / Article Pages ──────────────────────────────────────────────── */
/* Color theming: set --guide-accent, --guide-tint-rgb, --guide-cta-rgba per page */

.guide-hero { padding: 160px 1rem 80px; text-align: center; position: relative; overflow: hidden; background-color: var(--bg-color); }
.guide-hero::before { content: ''; position: absolute; inset: 0; background: var(--guide-hero-tint, radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,194,178,.07) 0%, transparent 70%)); pointer-events: none; }

.guide-breadcrumb { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-secondary); margin-bottom: 2rem; }
.guide-breadcrumb a { color: var(--guide-accent, var(--accent-teal)); text-decoration: none; }
.guide-breadcrumb a:hover { text-decoration: underline; }
.guide-breadcrumb span { color: rgba(255,255,255,.2); }

.guide-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.04em; line-height: 1.1; max-width: 760px; margin: 0 auto 1.5rem; }

.guide-meta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.guide-meta-item { font-size: .8rem; color: var(--text-secondary); display: flex; align-items: center; gap: .4rem; }
.guide-meta-item strong { color: var(--text-primary); }

.guide-intro { max-width: 680px; margin: 0 auto; font-size: 1.15rem; color: var(--text-secondary); line-height: 1.85; text-align: left; }
.guide-intro p + p { margin-top: 1.25rem; }
.guide-intro strong { color: var(--text-primary); }

.guide-body { max-width: 760px; margin: 0 auto; padding: 4rem 1rem 2rem; }

.guide-section { margin-bottom: 4rem; }
.guide-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -.03em; line-height: 1.2; margin-bottom: 1.5rem; color: var(--text-primary); position: relative; padding-left: 1rem; }
.guide-section h2::before { content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 3px; border-radius: 999px; background: var(--guide-accent, var(--accent-teal)); }
.guide-section h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; color: var(--text-primary); margin: 2rem 0 .75rem; }
.guide-section p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.1rem; }
.guide-section p strong { color: var(--text-primary); }
.guide-section p a, .guide-section a { color: var(--guide-accent, var(--accent-teal)); text-decoration: none; font-weight: 500; }
.guide-section p a:hover, .guide-section a:hover { text-decoration: underline; }
.guide-section ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.guide-section ul li { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6; display: flex; align-items: flex-start; gap: .875rem; }
.guide-section ul li::before { content: '→'; color: var(--guide-accent, var(--accent-teal)); font-size: .9rem; font-weight: 700; flex-shrink: 0; margin-top: .2rem; }

.guide-pullquote { background: var(--guide-pullquote-bg, linear-gradient(135deg, rgba(0,194,178,.08), rgba(0,194,178,.02))); border: 1px solid var(--guide-pullquote-border, rgba(0,194,178,.2)); border-left: 3px solid var(--guide-accent, var(--accent-teal)); border-radius: 12px; padding: 1.75rem 2rem; margin: 2.5rem 0; }
.guide-pullquote p { font-size: 1.15rem; font-style: italic; color: var(--text-primary) !important; line-height: 1.7; margin: 0 !important; }

.guide-bridge { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 20px; padding: 3rem; margin: 3rem 0; }
.guide-bridge-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--guide-accent, var(--accent-teal)); display: block; margin-bottom: 1.25rem; }
.guide-bridge h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; margin-bottom: 1.25rem; padding-left: 0 !important; }
.guide-bridge h2::before { display: none !important; }
.guide-bridge p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.guide-bridge p strong { color: var(--text-primary); }
.guide-bridge-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.guide-science { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; margin: 2rem 0; }
.guide-science p { color: var(--text-secondary); line-height: 1.8; margin-bottom: .75rem; font-size: 1rem; }
.guide-science p:last-child { margin: 0; }
.guide-science a { color: var(--guide-accent, var(--accent-teal)); text-decoration: none; font-weight: 500; }
.guide-science a:hover { text-decoration: underline; }

.guide-toc { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.75rem 2rem; margin: 0 0 3rem; }
.guide-toc-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 1rem; display: block; }
.guide-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: flex; flex-direction: column; gap: .5rem; }
.guide-toc ol li { counter-increment: toc; display: flex; align-items: center; gap: .625rem; }
.guide-toc ol li::before { content: counter(toc); font-size: .75rem; font-weight: 700; color: var(--guide-accent, var(--accent-teal)); min-width: 1.25rem; }
.guide-toc ol li a { font-size: .9rem; color: var(--text-secondary); text-decoration: none; transition: color .2s; }
.guide-toc ol li a:hover { color: var(--guide-accent, var(--accent-teal)); }

.guide-related { border-top: 1px solid var(--border-color); padding-top: 3rem; margin-top: 4rem; }
.guide-related-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 1.5rem; display: block; }
.guide-links-grid { display: flex; flex-direction: column; gap: .75rem; }
.guide-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text-secondary); font-size: .95rem; padding: .875rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; transition: border-color .25s, color .25s; }
.guide-link:hover { border-color: var(--guide-link-hover-border, rgba(0,194,178,.3)); color: var(--text-primary); }
.guide-link-icon { font-size: 1.1rem; flex-shrink: 0; }
.guide-link-text { flex: 1; }
.guide-link-text strong { display: block; font-size: .95rem; color: var(--text-primary); margin-bottom: .2rem; }
.guide-link-text span { font-size: .8rem; }
.guide-link-arrow { color: var(--guide-accent, var(--accent-teal)); font-size: .9rem; }

.guide-bofu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media(max-width:600px) { .guide-bofu { grid-template-columns: 1fr; } }
.guide-bofu-card { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; text-decoration: none; color: var(--text-secondary); font-size: .9rem; transition: border-color .3s, transform .3s; }
.guide-bofu-card:hover { border-color: var(--guide-link-hover-border, rgba(0,194,178,.3)); transform: translateY(-2px); color: var(--text-primary); }
.guide-bofu-card .bofu-icon { font-size: 1.5rem; }
.guide-bofu-card strong { font-size: .95rem; color: var(--text-primary); display: block; }

.guide-final-cta { background: linear-gradient(135deg, var(--guide-cta-bg, rgba(0,194,178,.08)), var(--bg-surface)); border: 1px solid var(--guide-cta-border, rgba(0,194,178,.2)); border-radius: 20px; padding: 3.5rem 2.5rem; text-align: center; margin: 4rem 0; }
.guide-final-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.03em; margin-bottom: 1rem; padding-left: 0 !important; }
.guide-final-cta h2::before { display: none !important; }
.guide-final-cta p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; max-width: 480px; margin: 0 auto 2rem; }
.guide-final-cta .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.faq-item { border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; background: var(--bg-card); }
.faq-item h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin: 0 0 .75rem; }
.faq-item p { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.faq-item a { color: var(--guide-accent, var(--accent-teal)); text-decoration: none; font-weight: 500; }
.faq-item a:hover { text-decoration: underline; }
