/* ==========================================
   DESIGN SYSTEM & BRAND CONSTANTS (Theme.swift Aligned)
   ========================================== */
:root {
    --bg-main: #F8F5EF;       /* Theme.background - Creamy Nursery Ivory */
    --card-bg: #FFFFFF;       /* Theme.cardBackground */
    --surface-sunk: #F2EDE4;  /* Theme.surfaceSunk */
    --border-hairline: #EDE8DF; /* Theme.hairline / border */

    --brand-gold: #F5A623;    /* Theme.brand - Warm Orange-Yellow */
    --brand-deep: #E8961A;    /* Theme.brandDeep - Pressed/Link Accent */
    --brand-soft: #FFF5E0;    /* Theme.brandSoft - Warm Badge backdrop */
    --brand-ink: #8A5A12;     /* Theme.brandInk - Dark text on yellow */

    --ink-dark: #1C1A17;      /* Theme.ink - Primary Charcoal Text */
    --ink-secondary: #5B554D; /* Theme.inkSecondary */
    --ink-tertiary: #8A847A;  /* Theme.inkTertiary / muted */

    --accent-mint: #10B981;
    --accent-mint-light: #E6F5EC;
    --accent-lavender: #8B5CF6;
    --accent-lavender-light: #E0D4F5;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --radius-lg: 22px;        /* Theme.Radius.card */
    --radius-md: 14px;        /* Theme.Radius.pill */
    --radius-widget: 24px;    /* Theme.Radius.widget */

    --shadow-soft: 0 8px 16px rgba(28, 26, 23, 0.04);  /* ShadowStyle.soft */
    --shadow-card: 0 12px 24px rgba(28, 26, 23, 0.06); /* ShadowStyle.card */
    --shadow-glow: 0 12px 24px rgba(245, 166, 35, 0.2); /* ShadowStyle.coloredGlow */
}

/* ==========================================================================
   EBEVEYN THEME POLISH - existing warm health-tech theme, tightened
   ========================================================================== */
:root {
    --brand-gold-deep: var(--brand-deep);
    --brand-gold-ink: var(--brand-ink);
    --ink: var(--ink-dark);
    --premium-line: rgba(138, 90, 18, 0.12);
    --premium-glass: rgba(255, 255, 255, 0.72);
    --premium-shadow: 0 24px 60px rgba(28, 26, 23, 0.08);
    --premium-shadow-soft: 0 14px 34px rgba(28, 26, 23, 0.055);
}

body {
    background:
        linear-gradient(180deg, #fbf8f2 0%, var(--bg-main) 34%, #fffaf2 100%) !important;
}

.landing-main {
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.landing-main > * {
    order: 10;
}

.intro-content {
    max-width: min(420px, calc(100vw - 48px)) !important;
}

/* Top video-merge overrides removed. Premium styling is defined in the main section. */

.hero-section {
    max-width: 1220px !important;
    min-height: auto !important;
    margin: 90px auto 34px auto !important;
    padding: 58px 32px 68px !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr) !important;
    gap: clamp(38px, 6vw, 84px) !important;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 224, 0.5)),
        radial-gradient(circle at 78% 22%, rgba(245, 166, 35, 0.16), transparent 28%),
        radial-gradient(circle at 12% 72%, rgba(16, 185, 129, 0.11), transparent 32%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--premium-shadow);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-image:
        linear-gradient(rgba(138, 90, 18, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 90, 18, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), transparent 78%);
}

.hero-content {
    z-index: 2;
}

.badge-hero {
    border-radius: 14px !important;
    animation: none !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
}

.hero-content h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6.4vw, 5.7rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.066em !important;
    margin-bottom: 28px !important;
}

.hero-lead {
    max-width: 690px;
    font-size: clamp(1.02rem, 1.25vw, 1.22rem) !important;
    line-height: 1.76 !important;
    color: #4b453d !important;
}

.hero-lead b {
    color: var(--ink-dark);
}

.hero-ctas {
    margin-bottom: 30px !important;
}

.btn-store,
.btn-header-cta,
.ai-analyze-btn,
.btn-dash-call {
    letter-spacing: 0 !important;
}

.hero-stats {
    width: auto !important;
    gap: 0 !important;
    align-items: stretch !important;
    border: 1px solid var(--premium-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 12px 24px rgba(28, 26, 23, 0.035);
    overflow: hidden;
}

.hero-stats .stat-item {
    min-width: 146px;
    padding: 15px 18px;
    justify-content: center;
}

.hero-stats .stat-number {
    color: var(--ink-dark) !important;
    font-size: 1.42rem !important;
}

.hero-stats .stat-label {
    max-width: 130px;
    line-height: 1.25;
}

.stat-divider {
    height: auto !important;
    align-self: stretch;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid var(--premium-line);
    color: var(--ink-secondary);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-proof-row svg {
    width: 15px;
    height: 15px;
    color: var(--brand-deep);
}

.hero-preview-container {
    position: relative;
    z-index: 2;
}

.hero-preview-container::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.2), transparent 64%);
    filter: blur(8px);
    transform: translate(24px, 14px);
}

.hero-phone-mockup {
    width: min(330px, 100%) !important;
    height: 590px !important;
    border-width: 10px !important;
    background: #fffaf2 !important;
    border-color: #2a2621 !important;
    box-shadow:
        0 34px 84px rgba(28, 26, 23, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset !important;
}

.phone-status-bar {
    color: rgba(42, 38, 33, 0.78) !important;
}

.phone-island {
    background: rgba(245, 166, 35, 0.13) !important;
    color: var(--brand-gold-ink) !important;
    border-color: rgba(245, 166, 35, 0.2) !important;
}

.phone-app-header {
    border-bottom-color: rgba(138, 90, 18, 0.1) !important;
}

.baby-name-title,
.live-doctor-profile strong,
.card-title-row strong,
.growth-stats-mini strong {
    color: var(--ink-dark) !important;
}

.card-tag,
.live-doctor-profile span,
.ai-dash-status,
.growth-stats-mini span {
    color: var(--ink-secondary) !important;
}

.dash-card {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(138, 90, 18, 0.11) !important;
    box-shadow: 0 12px 24px rgba(28, 26, 23, 0.045) !important;
}

.card-telehealth-live {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 245, 224, 0.78)) !important;
}

.card-ai-cry {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 229, 255, 0.68)) !important;
}

.phone-avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
    margin-right: 8px;
}

.phone-eyebrow {
    font-size: 8px !important;
    margin-bottom: 0 !important;
}

.phone-eyebrow svg {
    width: 8px !important;
    height: 8px !important;
}

.phone-sos-pill {
    width: auto !important;
    height: auto !important;
    padding: 4px 9px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    animation: none !important;
}

.phone-sos-pill svg {
    width: 10px !important;
    height: 10px !important;
}

.phone-sos-pill .sim-sos-title {
    font-size: 9px !important;
}

.dr-avatar-mini svg {
    width: 14px;
    height: 14px;
    color: var(--brand-gold);
}

.card-icon-gold {
    width: 12px;
    height: 12px;
    color: var(--brand-gold);
}

.card-care-plan-mini {
    background: rgba(245, 166, 35, 0.09) !important;
    border-color: rgba(245, 166, 35, 0.18) !important;
}

.trust-rail {
    max-width: 1120px;
    margin: 0 auto 92px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.trust-item {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--premium-line);
    box-shadow: 0 12px 28px rgba(28, 26, 23, 0.035);
    color: var(--ink-secondary);
    font-weight: 800;
}

.trust-item svg {
    width: 22px;
    height: 22px;
    color: var(--brand-deep);
    flex: 0 0 auto;
}

.scroll-split-section {
    height: 165vh !important;
}

.split-panel {
    background:
        radial-gradient(circle at 50% 35%, rgba(245, 166, 35, 0.14), transparent 34%),
        linear-gradient(135deg, #221d19 0%, #0f0d0b 100%) !important;
}

.panel-content p {
    color: rgba(255, 250, 242, 0.7) !important;
}

.section-container {
    max-width: 1180px !important;
}

.section-title {
    max-width: 760px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(2.15rem, 4vw, 3.55rem) !important;
    letter-spacing: -0.05em !important;
}

.section-subtitle {
    max-width: 720px !important;
    line-height: 1.72 !important;
}

.feature-card {
    border-radius: 22px !important;
}

.feature-card h3 {
    font-size: 1.28rem !important;
}

.feature-card p {
    line-height: 1.72 !important;
}

.ai-sound-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.ai-sound-btn svg {
    width: 14px;
    height: 14px;
}

.telehealth-details-box,
.calculator-layout {
    border-radius: 28px !important;
}

.telehealth-info h2 {
    max-width: 620px;
}

.bg-cozy-gradient {
    border-radius: 32px !important;
}

.game-info-item {
    padding: 0 0 0 18px;
    border-left: 2px solid rgba(245, 166, 35, 0.25);
}

.download-cta-section {
    margin-top: 80px !important;
}

.cta-inner {
    border-radius: 32px !important;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-deep) 100%) !important;
}

.lullaby-player-widget {
    border-radius: 18px !important;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr !important;
        margin-top: 56px !important;
        text-align: left !important;
    }

    .hero-content {
        align-items: flex-start !important;
    }

    .trust-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .nav-links {
        top: 82px !important;
        height: calc(100vh - 82px) !important;
        background: rgba(248, 245, 239, 0.96) !important;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .hero-section {
        margin: 44px 12px 24px !important;
        padding: 36px 20px 44px !important;
        border-radius: 26px;
    }

    .hero-content h1 {
        font-size: clamp(2.6rem, 13vw, 4rem) !important;
    }

    .hero-stats {
        flex-direction: column;
        width: 100% !important;
    }

    .stat-divider {
        width: 100% !important;
        height: 1px !important;
    }

    .hero-stats .stat-item {
        width: 100%;
    }

    .hero-proof-row span {
        width: 100%;
    }

    .hero-phone-mockup {
        width: min(320px, 92vw) !important;
        height: 570px !important;
    }

    .trust-rail {
        grid-template-columns: 1fr;
        margin-bottom: 54px;
    }

    .scroll-split-section {
        height: auto !important;
        min-height: 760px;
    }

    .sticky-viewport {
        position: relative !important;
        height: 760px !important;
    }

    .split-panel {
        display: none !important;
    }

    .center-simulator-wrapper {
        transform: scale(0.86) !important;
        opacity: 1 !important;
    }

    .section-container {
        padding: 72px 18px !important;
    }

    .calculator-layout {
        padding: 18px !important;
    }

    .telehealth-details-box {
        padding: 22px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-phone-mockup,
    .intro-logo-glow,
    .glow-blob,
    .bg-particle,
    .wf-bar,
    .eq-bar {
        animation: none !important;
    }
}

/* ==========================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--ink-dark);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .logo-text, .widget-val, .stat-number, .curve-lbl, .faq-question {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Floating Background Particles (Parallax drift) */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.75;
}

.bg-particle {
    position: absolute;
    user-select: none;
    will-change: transform;
    opacity: 0.12;
    animation: drift 20s linear infinite;
}

.bg-particle svg {
    width: 100%;
    height: 100%;
    stroke: var(--brand-gold-deep);
    stroke-width: 1.5px;
    fill: none;
}

@keyframes drift {
    0% {
        transform: translateY(110vh) rotate(0deg) translateX(0);
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(40px);
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) translateX(-40px);
    }
}

/* Scroll Fade In */
.fade-in-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   NAVIGATION HEADER
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(248, 245, 239, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-hairline);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: var(--shadow-soft);
    background-color: rgba(248, 245, 239, 0.95);
    height: 70px;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-emoji {
    font-size: 1.8rem;
    animation: wiggle 3s ease-in-out infinite;
}

.logo-text {
    font-size: 1.55rem;
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-gold);
    transition: width 0.2s ease;
}

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

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

.btn-header-cta {
    text-decoration: none;
    background-color: var(--brand-gold);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
    transition: all 0.3s ease;
}

.btn-header-cta:hover {
    background-color: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    justify-content: center;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--ink-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger active transformation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ==========================================
   MAIN HERO SECTION
   ========================================== */
.landing-main {
    padding-top: 80px;
    width: 100%;
}

.hero-section {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(85vh - 80px);
    position: relative; /* Absolute positioning anchor */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.hero-baby-graphic {
    position: absolute;
    width: 160px;
    height: 160px;
    left: -80px;
    bottom: -110px;
    object-fit: contain;
    z-index: 5;
    animation: floatLargeBaby 6s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 15px 25px rgba(28, 26, 23, 0.08));
}

@keyframes floatLargeBaby {
    0% { transform: translateY(0) rotate(-3deg) scale(1); }
    100% { transform: translateY(-15px) rotate(5deg) scale(1.05); }
}

.badge-hero {
    background-color: var(--brand-soft);
    color: var(--brand-gold-ink);
    border: 1px solid rgba(245, 166, 35, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.04);
    animation: pulseSlow 3s infinite alternate;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--ink-dark);
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--ink-secondary);
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-store {
    text-decoration: none;
    background-color: var(--ink-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-store svg {
    width: 24px;
    height: 24px;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-store-text span {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-store-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.btn-store:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.btn-appstore {
    background-color: var(--ink-dark);
}

.btn-playstore {
    background-color: #433D3A;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    color: var(--brand-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--ink-tertiary);
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-hairline);
}

.hero-baby-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    animation: floatBabyIcon 4s ease-in-out infinite alternate;
}

@keyframes floatBabyIcon {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-8px) rotate(4deg); }
}

/* ==========================================
   IPHONE 17 PRO MAX SIMULATOR
   ========================================== */
.hero-simulator-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.iphone-bezel-shadow {
    position: absolute;
    width: 395px;
    height: 805px;
    border-radius: 54px;
    box-shadow: 0 40px 90px -20px rgba(28, 26, 23, 0.16),
                0 25px 50px -25px rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
    transform: rotate(-1deg) translateY(5px);
}

.iphone-frame {
    width: 390px;
    height: 800px;
    background-color: #2D2724; /* Titanium natural shade */
    border-radius: 54px;
    padding: 10px;
    position: relative;
    border: 3.5px solid #433B37;
    box-shadow: inset 0 0 4px 2px rgba(255, 255, 255, 0.08),
                0 0 0 1.5px #1E1A18;
    z-index: 2;
    transform: rotate(-1deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.iphone-frame:hover {
    transform: rotate(0deg) scale(1.01);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    border-radius: 44px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    user-select: none;
}

/* Status Bar & Dynamic Island */
.status-bar {
    height: 48px;
    padding: 14px 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink-dark);
    z-index: 200;
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.dynamic-island {
    width: 90px;
    height: 26px;
    background-color: #000;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 210;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dynamic-island.expanded {
    width: 220px;
    height: 38px;
    border-radius: 25px;
}

.island-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.72rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dynamic-island.expanded .island-content {
    opacity: 1;
    transform: scale(1);
}

.island-icon {
    font-size: 0.85rem;
}

.island-text {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icons svg {
    width: 14px;
    height: 14px;
}

.battery {
    width: 20px;
    height: 10px;
    border: 1.5px solid var(--ink-dark);
    border-radius: 3px;
    position: relative;
    padding: 1px;
}

.battery::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--ink-dark);
    border-radius: 1px;
}

.battery::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 2px;
    width: 2px;
    height: 4px;
    background-color: var(--ink-dark);
    border-radius: 0 1px 1px 0;
}

/* App Viewport inside Simulator */
.app-viewport {
    flex: 1;
    margin-top: 48px;
    margin-bottom: 76px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Pages layout */
.sim-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    animation: simPageFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-page.active {
    display: flex;
}

@keyframes simPageFade {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(5px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sim-page::-webkit-scrollbar {
    display: none;
}

/* ==========================================
   SIMULATOR PAGES CONTENT
   ========================================== */

.sim-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.avatar-sim {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-soft) 0%, #FFDFB0 100%);
    color: var(--brand-deep);
    font-size: 1.15rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-soft);
}

.sim-app-header h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.sim-app-header p {
    font-size: 0.72rem;
    color: var(--ink-secondary);
    font-weight: 500;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bell-icon-sim {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.bell-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    background-color: var(--brand-deep);
    border-radius: 50%;
}

/* Quick Stats Bar in Simulator Dashboard */
.sim-quick-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.sim-stat-pill {
    flex: 1;
    padding: 8px 10px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 4px 8px rgba(28, 26, 23, 0.01);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sim-stat-pill:hover {
    transform: translateY(-1px);
}

.sim-stat-pill.pill-sleep {
    background-color: rgba(245, 166, 35, 0.095) !important;
    border-color: rgba(245, 166, 35, 0.18) !important;
}

.sim-stat-pill.pill-feeding {
    background-color: rgba(217, 119, 6, 0.095) !important;
    border-color: rgba(217, 119, 6, 0.18) !important;
}

.sim-stat-pill.pill-diaper {
    background-color: rgba(16, 185, 129, 0.095) !important;
    border-color: rgba(16, 185, 129, 0.18) !important;
}

.sim-stat-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5px;
}

.sim-stat-icon.text-sleep { color: #F5A623 !important; }
.sim-stat-icon.text-feeding { color: #D97706 !important; }
.sim-stat-icon.text-diaper { color: #10B981 !important; }

.pill-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pill-txt span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.55rem;
    color: var(--ink-secondary);
    font-weight: 700;
}

.pill-txt strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ink-dark);
}

/* Greeting Eyebrow (from DesignKit.swift EBEyebrow) */
.sim-greeting-eyebrow {
    font-family: 'Nunito', sans-serif;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #E8961A;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.sim-greeting-icon {
    width: 9px;
    height: 9px;
    stroke-width: 2.5px;
}

/* Emergency Button styling inside Simulator (reproducing Swift view layout) */
.btn-sim-emergency {
    background: linear-gradient(135deg, #E53935 0%, #D64545 50%, #A81919 100%) !important;
    border: none !important;
    outline: none !important;
    border-radius: 20px !important;
    padding: 5px 12px !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
    height: auto !important;
    border-width: 0 !important;
}

.btn-sim-emergency::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: simSosShimmer 4s infinite linear;
}

@keyframes simSosShimmer {
    0% { left: -100%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

.sim-sos-pill-content {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FFF;
}

.sim-sos-pill-content i {
    width: 10px;
    height: 10px;
    stroke-width: 3.5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-sos-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.0;
}

.sim-sos-title {
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.sim-sos-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 8px;
    font-weight: 700;
    opacity: 0.86;
}

/* Grid layout for Dashboard Widgets inside Simulator */
.sim-widgets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.sim-widget-card {
    height: 132px;
    border-radius: 18px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-hairline);
    position: relative;
    overflow: hidden;
}

.sim-widget-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 24px rgba(28, 26, 23, 0.05);
}

.sim-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sim-widget-title-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sim-widget-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
}

.sim-widget-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.82;
}

.sim-widget-icon-container {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.sim-widget-card:hover .sim-widget-icon-container {
    transform: scale(1.08) rotate(5deg);
}

.sim-widget-icon-container i {
    width: 11px;
    height: 11px;
    stroke-width: 2.5px;
}

.sim-widget-body {
    margin-top: 4px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.widget-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    opacity: 0.72;
    margin-top: 1px;
}

.sim-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    width: 100%;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.55rem;
    font-weight: 700;
    opacity: 0.55;
}

.footer-info i {
    width: 10px;
    height: 10px;
    stroke-width: 2px;
}

.quick-action-pill {
    font-family: 'Nunito', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    color: #FFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.quick-action-pill:active {
    transform: scale(0.92);
}

/* Widget Card Themes (from Theme.swift) */
.card-sleep {
    background: linear-gradient(135deg, #FFEBE0 0%, #FFD6C4 100%);
    color: #4A2E2B;
    border-color: rgba(255, 186, 150, 0.35);
}
.card-sleep .sim-widget-icon-container {
    color: #F5A623;
}
.card-sleep .quick-action-pill {
    background-color: #4A2E2B;
}

.card-diaper {
    background: linear-gradient(135deg, #E6F5EC 0%, #CCEBE0 100%);
    color: #204533;
    border-color: rgba(160, 220, 190, 0.35);
}
.card-diaper .sim-widget-icon-container {
    color: #10B981;
}
.card-diaper .quick-action-pill {
    background-color: #204533;
}

.card-vaccine {
    background: linear-gradient(135deg, #DF7857 0%, #C85C3A 100%);
    color: #FFFFFF;
    border-color: rgba(223, 120, 87, 0.35);
}
.card-vaccine .quick-action-pill {
    background-color: #FFFFFF;
    color: #8C3A20;
}
.card-vaccine .sim-widget-dot {
    background-color: white !important;
}

.card-feeding {
    background: linear-gradient(135deg, #F5EBE0 0%, #E6D5C3 100%);
    color: #4F3E2E;
    border-color: rgba(220, 200, 180, 0.35);
}
.card-feeding .sim-widget-icon-container {
    color: #D97706;
}
.card-feeding .quick-action-pill {
    background-color: #4F3E2E;
}

/* AI Cry assistant dashboard card */
.sim-cry-card {
    background: linear-gradient(135deg, var(--brand-soft) 0%, #FFFDF8 100%);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;
    box-shadow: 0 6px 12px rgba(245, 166, 35, 0.03);
    transition: transform 0.2s ease;
}

.sim-cry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 166, 35, 0.08);
}

.cry-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cry-mic-icon {
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(245, 166, 35, 0.12);
}

.cry-card-txt strong {
    font-size: 0.78rem;
    color: var(--ink-dark);
    display: block;
}

.cry-card-txt p {
    font-size: 0.62rem;
    color: var(--ink-secondary);
}

.cry-arrow {
    font-size: 0.65rem;
    color: var(--brand-gold-deep);
}

/* Daily tip card */
.sim-tip-card {
    background-color: var(--card-bg);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-soft);
}

.tip-bulb {
    font-size: 1.3rem;
}

.tip-txt strong {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.tip-txt p {
    font-size: 0.65rem;
    color: var(--ink-secondary);
    line-height: 1.45;
    margin-top: 2px;
}

/* Games Hub Tab Screen */
.games-header {
    margin-bottom: 12px;
}

.games-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.games-header p {
    font-size: 0.72rem;
    color: var(--ink-secondary);
}

.sim-games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.sim-game-card {
    border-radius: 18px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    height: 124px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(28, 26, 23, 0.01);
    position: relative;
    overflow: hidden;
}

.sim-game-card:hover {
    transform: translateY(-3px) scale(1.02);
}

.game-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.game-icon-container {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.sim-game-card:hover .game-icon-container {
    transform: scale(1.08) rotate(5deg);
}

.game-icon-container i {
    width: 13px;
    height: 13px;
    stroke-width: 2.5px;
}

.game-age {
    font-family: 'Outfit', sans-serif;
    font-size: 0.52rem;
    font-weight: 800;
    padding: 2.5px 7px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    line-height: 1;
}

.game-card-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sim-game-card strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-dark);
    line-height: 1.2;
}

.game-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.56rem;
    font-weight: 600;
    color: var(--ink-secondary);
    opacity: 0.8;
    line-height: 1.2;
    margin: 0;
}

/* Game Card Themes (Gradients & Accents matching BabyGamesView.swift) */
.game-card-xylo {
    background: linear-gradient(135deg, #F3EDFC 0%, #E3D4F7 100%);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.1);
}
.game-card-xylo .game-icon-container i, .game-card-xylo .game-age {
    color: #8B5CF6;
}

.game-card-fire {
    background: linear-gradient(135deg, #FFF3E2 0%, #FCE0C2 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.1);
}
.game-card-fire .game-icon-container i, .game-card-fire .game-age {
    color: #F59E0B;
}

.game-card-peek {
    background: linear-gradient(135deg, #E6F7EE 0%, #C9EFD9 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.1);
}
.game-card-peek .game-icon-container i, .game-card-peek .game-age {
    color: #10B981;
}

.game-card-pop {
    background: linear-gradient(135deg, #E5F2FD 0%, #C5E2F8 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}
.game-card-pop .game-icon-container i, .game-card-pop .game-age {
    color: #3B82F6;
}

.game-card-light {
    background: linear-gradient(135deg, #FDEAF1 0%, #F8C9DC 100%);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.1);
}
.game-card-light .game-icon-container i, .game-card-light .game-age {
    color: #EC4899;
}

.game-card-paint {
    background: linear-gradient(135deg, #FFFAE0 0%, #FBEFB8 100%);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.1);
}
.game-card-paint .game-icon-container i, .game-card-paint .game-age {
    color: #EAB308;
}

/* Vaccines screen */
.vaccines-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vaccine-group-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ink-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    margin-bottom: 2px;
    padding-left: 2px;
}

.vaccine-row-premium {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 4px 12px rgba(28, 26, 23, 0.02);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.vaccine-row-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(28, 26, 23, 0.05);
    border-color: rgba(245, 166, 35, 0.25);
}

.vaccine-row-premium.done {
    border-color: var(--border-hairline);
    background-color: rgba(255, 255, 255, 0.7);
}

.vaccine-short-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Pastels for short codes */
.bg-orange-soft { background-color: #FFF5E0; }
.text-orange { color: #E8961A; }
.bg-teal-soft { background-color: #E8F4EE; }
.text-teal { color: #4A9E7F; }
.bg-rose-soft { background-color: #FFF0EE; }
.text-rose { color: #DF7857; }
.bg-blue-soft { background-color: #E4ECF2; }
.text-blue { color: #4F6B80; }

.vac-details {
    flex: 1;
    min-width: 0;
}

.vac-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vac-name-row strong {
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--ink-dark);
    line-height: 1.2;
}

.vaccine-row-premium.done .vac-name-row strong {
    text-decoration: line-through;
    color: var(--ink-tertiary);
    opacity: 0.7;
}

.vac-dose-badge {
    font-family: 'Nunito', sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--ink-secondary);
    background-color: var(--background-alt);
    padding: 2px 6px;
    border-radius: 6px;
    border: 0.5px solid var(--border-hairline);
    flex-shrink: 0;
}

.vac-schedule {
    font-size: 0.62rem;
    color: var(--ink-tertiary);
    margin: 2px 0;
}

.vac-status-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    margin-top: 2px;
}

.vac-status-icon {
    width: 10px;
    height: 10px;
    stroke-width: 2.5px;
}

.text-mint { color: var(--accent-mint); }
.text-gold { color: var(--brand-gold); }
.text-muted { color: var(--ink-tertiary); }

.vac-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-tertiary);
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vaccine-row-premium.done .vac-toggle-btn {
    color: var(--accent-mint);
    opacity: 1;
}

.vac-toggle-btn i {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

/* Accordion explainers */
.vaccine-why-container {
    margin-top: -8px;
    margin-bottom: 4px;
    border-left: 2px solid var(--border-hairline);
    margin-left: 20px;
    padding-left: 14px;
    display: flex;
    flex-direction: column;
}

.vaccine-why-btn {
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-gold-deep);
    font-family: 'Nunito', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: left;
    width: fit-content;
    outline: none;
}

.vaccine-why-btn i {
    width: 11px;
    height: 11px;
    stroke-width: 2.5px;
}

.vaccine-why-btn .chevron {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vaccine-why-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.vaccine-why-container.expanded .vaccine-why-content {
    max-height: 200px;
    opacity: 1;
    padding-top: 6px;
    padding-bottom: 8px;
}

.vaccine-why-content p {
    font-size: 0.64rem;
    color: var(--ink-secondary);
    line-height: 1.4;
    margin: 0;
}

.vac-source {
    font-family: 'Nunito', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--ink-tertiary);
    display: block;
    margin-top: 4px;
}

/* Growth Screen Redesign */
.growth-segment-bar {
    display: flex;
    background-color: var(--background-alt);
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--border-hairline);
    margin-bottom: 12px;
}

.segment-item {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ink-secondary);
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.segment-item.active {
    background-color: #fff;
    color: var(--ink-dark);
    box-shadow: 0 2px 6px rgba(28, 26, 23, 0.06);
}

.growth-stats-box {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.growth-row {
    flex: 1;
    background-color: var(--card-bg);
    padding: 10px 12px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 2px 8px rgba(28, 26, 23, 0.01);
}

.growth-row span {
    font-size: 0.6rem;
    color: var(--ink-tertiary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.growth-row strong {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--ink-dark);
    font-weight: 800;
    margin-top: 2px;
}

/* Growth Input Card */
.growth-input-card {
    background-color: var(--card-bg);
    border-radius: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 4px 14px rgba(28, 26, 23, 0.02);
    margin-bottom: 14px;
}

.growth-input-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-dark);
    margin: 0 0 10px 0;
}

.input-date-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.input-date-row label {
    font-size: 0.58rem;
    color: var(--ink-tertiary);
    font-weight: 700;
    text-transform: uppercase;
}

.growth-date-picker {
    border: 1px solid var(--border-hairline);
    background-color: var(--background-alt);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--ink-dark);
    outline: none;
    width: 100%;
}

.input-fields-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-box span {
    font-size: 0.58rem;
    color: var(--ink-tertiary);
    font-weight: 700;
}

.input-box input {
    border: 1px solid var(--border-hairline);
    background-color: var(--background-alt);
    border-radius: 10px;
    padding: 8px;
    font-size: 0.78rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--ink-dark);
    text-align: center;
    outline: none;
    width: 100%;
}

.growth-save-btn {
    background-color: var(--brand-gold);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.2);
}

.growth-save-btn:hover {
    background-color: var(--brand-gold-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.3);
}

.growth-save-btn:active {
    transform: translateY(1px);
}

/* History Card */
.growth-history-card {
    background-color: var(--card-bg);
    border-radius: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 4px 14px rgba(28, 26, 23, 0.02);
    margin-bottom: 14px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.history-header h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-dark);
    margin: 0;
}

.history-count {
    font-size: 0.62rem;
    color: var(--ink-tertiary);
    font-weight: 600;
}

.growth-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 2px;
}

.growth-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-hairline);
}

.growth-history-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.growth-history-meta {
    display: flex;
    flex-direction: column;
    min-width: 75px;
}

.growth-history-meta strong {
    font-family: 'Nunito', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.growth-history-meta .age-lbl {
    font-size: 0.58rem;
    color: var(--ink-tertiary);
}

.growth-chips-group {
    display: flex;
    gap: 4px;
}

.growth-chip {
    font-family: 'Nunito', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 6px;
}

.growth-chip.weight {
    background-color: #FFF5E0;
    color: var(--brand-gold-deep);
}

.growth-chip.height {
    background-color: #E8F4EE;
    color: var(--accent-mint);
}

.growth-chip.head {
    background-color: #E4ECF2;
    color: #4F6B80;
}

.growth-delete-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #D64545;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.growth-delete-btn:hover {
    opacity: 1;
}

.growth-delete-btn i {
    width: 12px;
    height: 12px;
}

/* Info Card */
.growth-info-card {
    background-color: var(--background-alt);
    border-radius: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border-hairline);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--brand-gold);
}

.info-card-header h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-dark);
    margin: 0;
}

.info-rows-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-bullet-row {
    display: flex;
    gap: 8px;
}

.info-bullet-row .bullet-dot {
    width: 5px;
    height: 5px;
    background-color: var(--brand-gold);
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.bullet-txt strong {
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--ink-dark);
    display: block;
}

.bullet-txt p {
    font-size: 0.62rem;
    color: var(--ink-secondary);
    margin: 2px 0 0 0;
    line-height: 1.35;
}

.info-source-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 6px 8px;
    background-color: var(--brand-soft);
    border-radius: 10px;
    color: var(--brand-gold-ink);
    font-size: 0.58rem;
    font-weight: 700;
}

.info-source-footer i {
    flex-shrink: 0;
}

/* Settings Form */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-row {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-hairline);
}

.settings-row label {
    font-size: 0.55rem;
    color: var(--ink-tertiary);
    font-weight: 700;
    text-transform: uppercase;
}

.settings-row input {
    border: none;
    background: none;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-dark);
    margin-top: 2px;
    outline: none;
}

.settings-clear-btn {
    margin-top: 10px;
    background-color: var(--brand-soft);
    color: var(--brand-gold-ink);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-clear-btn:hover {
    background-color: var(--brand-gold);
    color: #fff;
}

/* Tab Bar Navigation Bottom of simulator */
.bottom-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-hairline);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 22px;
    z-index: 100;
}

.tab-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--ink-tertiary);
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 700;
    width: 20%;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-icon-svg {
    font-size: 1.15rem;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-item:active .tab-icon-svg {
    transform: scale(0.85);
}

.tab-item.active {
    color: var(--brand-gold);
}

.tab-item.active .tab-icon-svg {
    transform: scale(1.1);
}

/* Home Bar Pill indicator */
.iphone-screen::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 5px;
    background-color: var(--ink-dark);
    border-radius: 10px;
    z-index: 120;
    pointer-events: none;
}

/* ==========================================
   GAME PLAY VIEWS (MODALS INSIDE SIMULATOR)
   ========================================== */
.game-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 150;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-view.active {
    transform: translateY(0);
}

.game-view-header {
    height: 48px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-hairline);
    background-color: var(--card-bg);
}

.game-view-header span {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.btn-game-close {
    background: var(--surface-sunk);
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--ink-secondary);
}

.game-canvas {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-instructions {
    text-align: center;
    font-size: 0.62rem;
    color: var(--ink-tertiary);
    padding: 8px 12px 14px 12px;
    font-weight: 700;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-hairline);
}

/* 1. BUBBLE POP GAME */
.canvas-bubble-pop {
    background: radial-gradient(circle at center, #E6F5EC 0%, var(--bg-main) 100%);
}

.sim-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85) 0%, rgba(245, 166, 35, 0.1) 40%, rgba(139, 92, 246, 0.2) 80%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4),
                inset -2px -2px 6px rgba(0,0,0,0.02),
                0 4px 10px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    will-change: transform, opacity;
    animation: floatBubble 5s linear forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes floatBubble {
    0% {
        transform: translateY(350px) scale(0.9) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(1.1) rotate(20deg);
        opacity: 0;
    }
}

.pop-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-gold);
    pointer-events: none;
    will-change: transform, opacity;
    animation: explode 0.5s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* 2. BEBEK KSILOFONU (XYLOPHONE) */
.xylophone-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    gap: 8px;
    background-color: var(--bg-main);
    justify-content: center;
}

.xylo-bar {
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04),
                inset 0 2px 2px rgba(255,255,255,0.3);
    transition: all 0.1s ease;
    user-select: none;
    font-size: 0.8rem;
    justify-content: space-between;
}

.xylo-bar span {
    opacity: 0.85;
}

.xylo-bar::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--ink-dark);
    border-radius: 50%;
    opacity: 0.25;
}

.xylo-bar:active, .xylo-bar.active {
    transform: scale(0.96) translateX(4px);
    filter: brightness(1.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.key-c { background-color: #FF5E5E; width: 100%; }
.key-d { background-color: #FFA55E; width: 95%; }
.key-e { background-color: #FFE15D; color: #5C4110; width: 90%; }
.key-f { background-color: #6BE67B; width: 85%; }
.key-g { background-color: #5ECFFF; width: 80%; }
.key-a { background-color: #8B9DFF; width: 75%; }
.key-b { background-color: #C392FF; width: 70%; }
.key-c2 { background-color: #FF92D0; width: 65%; }

/* 3. FIREFLY TRACKER */
.canvas-dark {
    background-color: #15131A;
}

.firefly {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #FFF67E;
    box-shadow: 0 0 15px #FFF67E, 0 0 30px #FFF67E, 0 0 50px rgba(255, 246, 126, 0.4);
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: left 0.6s cubic-bezier(0.1, 0.8, 0.3, 1), top 0.6s cubic-bezier(0.1, 0.8, 0.3, 1);
    animation: fireflyPulse 1s alternate infinite;
}

@keyframes fireflyPulse {
    from { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* 4. ANIMAL PEEKABOO */
.peekaboo-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    background-color: #FFFDF9;
}

.peekaboo-card {
    background-color: var(--card-bg);
    border-radius: 18px;
    border: 2px dashed #FFD4C0;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.peek-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFEBE0 0%, #FFCCB0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--brand-deep);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.peek-content {
    font-size: 2.2rem;
    text-align: center;
    z-index: 1;
}

.peek-content span {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--brand-gold-deep);
    display: block;
    margin-top: 4px;
}

.peekaboo-card.open .peek-cover {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
}

.peekaboo-card.shake {
    animation: cardShake 0.4s ease;
}

@keyframes cardShake {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(-5deg); }
    40%, 80% { transform: rotate(5deg); }
}

/* 5. LIGHT SHOW (Işık Gösterisi) */
.light-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    animation: lightFloat 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes lightFloat {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 1;
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    }
    100% {
        transform: translate(-50%, calc(-50% - 80px)) scale(2);
        opacity: 0;
    }
}

/* 6. FINGER PAINT (Parmak Boyama) */
.paint-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.paint-canvas {
    flex: 1;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.paint-controls {
    height: 52px;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
    background-color: var(--bg-main);
}

.color-picker-item {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.color-picker-item.selected {
    transform: scale(1.18);
    border-color: var(--ink-dark);
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.btn-paint-clear {
    background-color: var(--surface-sunk);
    border: 1px solid var(--border-hairline);
    color: var(--ink-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-paint-clear:hover {
    background-color: #EDE8DF;
}

/* ==========================================
   AI CRY ASSISTANT REC PANEL
   ========================================== */
.cry-recorder-canvas {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at center, #FFFDF8 0%, var(--bg-main) 100%);
    gap: 24px;
    position: relative;
}

.cry-mic-pulse {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--brand-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 10;
}

.cry-mic-pulse::before, .cry-mic-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--brand-gold);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.cry-mic-pulse::before {
    animation: pulseRing 2s linear infinite;
}

.cry-mic-pulse::after {
    animation: pulseRing 2s linear infinite 1s;
}

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

.cry-mic-pulse.listening::before, .cry-mic-pulse.listening::after {
    border-color: #D64545;
}
.cry-mic-pulse.listening {
    border-color: #D64545;
    box-shadow: 0 0 20px rgba(214, 69, 69, 0.4);
    animation: micActivePulse 0.8s alternate infinite;
}

@keyframes micActivePulse {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.cry-status-msg {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-dark);
    text-align: center;
    max-width: 180px;
}

.cry-wave-visualizer {
    width: 200px;
    height: 60px;
    transition: opacity 0.3s ease;
}

.svg-wave {
    width: 100%;
    height: 100%;
}

/* Result overlay styled as CoreML card */
.cry-result-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    z-index: 12;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: resultSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cry-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cry-result-header strong {
    font-size: 0.75rem;
    color: var(--ink-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confidence-badge {
    background-color: #E8F4EE;
    color: #4A9E7F;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
}

.cry-detected-reason {
    font-size: 1.25rem;
    color: var(--ink-dark);
    margin-bottom: 12px;
}

.distress-bar-container {
    margin-bottom: 16px;
}

.distress-bar-container span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ink-secondary);
    display: block;
    margin-bottom: 4px;
}

.distress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--surface-sunk);
    border-radius: 4px;
    overflow: hidden;
}

.distress-fill {
    height: 100%;
    background-color: #D64545;
    border-radius: 4px;
}

.cry-recs {
    flex: 1;
    margin-bottom: 16px;
}

.cry-recs strong {
    font-size: 0.75rem;
    color: var(--ink-dark);
    display: block;
    margin-bottom: 6px;
}

.cry-recs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cry-recs li {
    font-size: 0.68rem;
    color: var(--ink-secondary);
    line-height: 1.4;
    position: relative;
    padding-left: 8px;
}
.cry-recs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-gold);
}

.btn-cry-retry {
    background-color: var(--brand-gold);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.15);
    transition: background-color 0.2s;
}

.btn-cry-retry:hover {
    background-color: var(--brand-deep);
}

/* ==========================================
   PRODUCT FEATURES SECTION
   ========================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    color: var(--ink-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    text-align: center;
    color: var(--ink-secondary);
    max-width: 600px;
    margin: 0 auto 54px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.interactive-ai-card {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .interactive-ai-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .interactive-ai-card {
        grid-column: span 1;
    }
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(350px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(245, 166, 35, 0.08), transparent 80%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card * {
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.28);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    font-size: 2.2rem;
    width: 58px;
    height: 58px;
    background-color: var(--brand-soft);
    color: var(--brand-gold-ink);
    border: 1px solid rgba(245, 166, 35, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--ink-secondary);
    line-height: 1.6;
}

/* Cozy sensory showcase background override */
.bg-cozy-gradient {
    background: linear-gradient(180deg, rgba(255, 245, 224, 0.4) 0%, rgba(224, 212, 245, 0.15) 100%);
    border-radius: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ==========================================
   PLAYROOM SECTION SHOWCASE
   ========================================== */
.games-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.game-info-item strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink-dark);
    display: block;
    margin-bottom: 6px;
}

.game-info-item p {
    font-size: 0.95rem;
    color: var(--ink-secondary);
    line-height: 1.6;
}

.showcase-cta {
    background-color: var(--card-bg);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.games-visual-mock {
    width: 140px;
    height: 140px;
    background-color: var(--bg-main);
    border-radius: 50%;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sparkles-anim {
    font-size: 2.2rem;
    animation: spinSlow 8s linear infinite;
}

.floating-balloon-vector {
    position: absolute;
    font-size: 2.2rem;
    left: -20px;
    top: 20px;
    animation: bounceBalloon 4s ease-in-out infinite alternate;
}

.floating-note-vector {
    position: absolute;
    font-size: 1.8rem;
    right: -15px;
    bottom: 20px;
    animation: bounceBalloon 4s ease-in-out infinite alternate-reverse 1s;
}

@keyframes bounceBalloon {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

.showcase-cta h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink-dark);
    margin-bottom: 12px;
}

.showcase-cta p {
    font-size: 0.9rem;
    color: var(--ink-secondary);
    line-height: 1.5;
}

/* ==========================================
   WHO PERCENTILE CALCULATOR
   ========================================== */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.calc-form-box {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-hairline);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-form-box h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.form-group-calc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group-calc label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--ink-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gender-toggle {
    display: flex;
    gap: 12px;
}

.gender-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-hairline);
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.gender-btn.active {
    border-color: var(--brand-gold);
    background-color: var(--brand-soft);
    color: var(--brand-gold-ink);
}

.form-group-calc input {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-hairline);
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group-calc input:focus {
    border-color: var(--brand-gold);
}

.calc-results-pill {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background-color: var(--accent-mint-light);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.calc-results-pill strong {
    font-size: 0.9rem;
    color: var(--accent-mint);
    display: block;
    margin-bottom: 4px;
}

.calc-results-pill p {
    font-size: 0.85rem;
    color: #17402B;
    line-height: 1.45;
}

/* SVG Chart Box styling */
.calc-chart-box {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-hairline);
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.chart-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.chart-badge {
    background-color: var(--brand-soft);
    color: var(--brand-gold-ink);
    border: 1px solid rgba(245, 166, 35, 0.12);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.svg-container {
    flex: 1;
    width: 100%;
    min-height: 220px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.growth-svg {
    width: 100%;
    height: 100%;
    max-height: 250px;
}

.chart-lbl-x, .chart-lbl-y, .curve-lbl {
    font-size: 8px;
    font-weight: 800;
    fill: var(--ink-tertiary);
}

.chart-legend {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid var(--border-hairline);
    padding-top: 16px;
}

.legend-item {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lg-box {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.lg-box.p85 { background-color: var(--brand-gold); opacity: 0.6; }
.lg-box.p50 { background-color: var(--brand-soft); border: 1px dashed var(--brand-gold); }
.lg-box.p15 { background-color: var(--surface-sunk); }
.lg-box.baby-dot-color { background-color: var(--brand-gold); }

/* ==========================================
   FAQ ACCORDION SECTION
   ========================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-hairline);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question span {
    font-size: 1.3rem;
    color: var(--brand-gold);
    display: inline-block;
    will-change: transform, color;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-gold);
}

.faq-item.active {
    border-color: rgba(245, 166, 35, 0.2);
    box-shadow: var(--shadow-card);
}

.faq-item.active .faq-question span {
    transform: rotate(45deg) scale(1.18);
    color: #FF5E5E;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(248, 245, 239, 0.4);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 0.92rem;
    color: var(--ink-secondary);
    line-height: 1.6;
}

/* ==========================================
   DOWNLOAD APP CTA SECTION
   ========================================== */
.download-cta-section {
    max-width: 1200px;
    margin: 60px auto 100px auto;
    padding: 0 24px;
}

.cta-inner {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-deep) 100%);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 30px 60px rgba(245, 166, 35, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -50px;
}

.cta-inner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-inner p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 36px auto;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-appstore-light {
    background-color: #fff;
    color: var(--ink-dark);
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-heading);
    transition: all 0.3s;
}

.btn-playstore-light {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-heading);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}

.btn-appstore-light:hover {
    background-color: var(--bg-main);
    transform: translateY(-3px);
}

.btn-playstore-light:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ==========================================
   COZY FOOTER
   ========================================== */
.main-footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-hairline);
    padding: 60px 24px 30px 24px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo-emoji {
    font-size: 2.2rem;
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    margin: 8px 0;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--ink-secondary);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.footer-links a {
    text-decoration: none;
    color: var(--ink-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-hairline);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--ink-tertiary);
}

/* ==========================================
   DYNAMIC COMPONENT SUB-ANIMATIONS
   ========================================== */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseSlow {
    from { transform: scale(1); box-shadow: 0 4px 10px rgba(245, 166, 35, 0.03); }
    to { transform: scale(1.02); box-shadow: 0 4px 15px rgba(245, 166, 35, 0.08); }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        margin-top: 20px;
    }

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

    .hero-ctas {
        justify-content: center;
    }

    .hero-simulator-container {
        max-width: 420px;
        margin: 0 auto;
    }

    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-main);
        padding: 40px 24px;
        gap: 24px;
        transition: left 0.4s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        left: 0;
    }

    .btn-header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

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

    .games-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 500px) {
    .hero-simulator-container {
        width: 100%;
        max-width: 350px;
    }

    .iphone-frame {
        width: 320px;
        height: 660px;
        border-radius: 46px;
    }

    .iphone-bezel-shadow {
        width: 325px;
        height: 665px;
        border-radius: 46px;
    }

    .status-bar {
        height: 40px;
        padding-top: 10px;
    }

    .dynamic-island {
        top: 8px;
        height: 22px;
        width: 80px;
    }

    .app-viewport {
        margin-top: 40px;
        margin-bottom: 64px;
    }

    .bottom-tab-bar {
        height: 64px;
        padding-bottom: 12px;
    }

    .tab-icon-svg {
        font-size: 1rem;
    }

    .sim-games-grid {
        grid-template-columns: 1fr;
    }

    .growth-stats-box {
        flex-direction: column;
    }
}

/* ==========================================
   CINEMATIC INTRO SPLIT CURTAIN
   ========================================== */
.intro-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.curtain-slice {
    position: absolute;
    top: 0;
    width: 17%;
    height: 100%;
    background: rgba(18, 16, 15, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1),
                opacity 1.2s cubic-bezier(0.85, 0, 0.15, 1),
                backdrop-filter 1.2s ease,
                -webkit-backdrop-filter 1.2s ease;
    will-change: transform, opacity;
}

.curtain-slice:nth-child(odd).slide-out {
    transform: translateY(-105%);
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.curtain-slice:nth-child(even).slide-out {
    transform: translateY(105%);
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: opacity 0.5s ease;
}

.intro-logo-glow {
    animation: pulseGlow 1.8s ease-in-out infinite alternate;
}

.intro-logo-img {
    width: 95px;
    height: 95px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.3)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(245, 166, 35, 0.8)); }
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--brand-gold) 0%, #FFFDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-subtitle {
    font-size: 0.95rem;
    color: var(--ink-tertiary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.intro-loader {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-deep) 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--brand-gold);
    transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================
   APP LOGO IMAGE SETTINGS
   ========================================== */
.header-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    box-shadow: 0 3px 8px rgba(245, 166, 35, 0.15);
    object-fit: contain;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    margin-bottom: 8px;
}

/* ==========================================
   LUCIDE VECTOR ICONS LAYOUT
   ========================================== */
[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2.2px;
    vertical-align: middle;
}

.badge-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: var(--brand-gold-deep);
}

.feature-icon [data-lucide] {
    width: 26px;
    height: 26px;
    color: var(--brand-gold-ink);
}

.sim-header-bell {
    width: 20px;
    height: 20px;
    color: var(--ink-secondary);
}

.sim-stat-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.5px;
}

.text-sleep { color: #5C3224; }
.text-feeding { color: #5C4110; }
.text-diaper { color: #17402B; }

.tab-icon-svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
}

.mic-pulse-svg {
    width: 32px;
    height: 32px;
    color: var(--brand-gold);
}

.mic-icon-svg {
    width: 16px;
    height: 16px;
    color: var(--brand-gold-deep);
}

/* ==========================================
   HERO PREVIEW COLUMN
   ========================================== */
.hero-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-preview-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-hairline);
    border-radius: 36px;
    padding: 30px;
    width: 100%;
    max-width: 340px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.preview-sparkle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    animation: wiggle 3s infinite alternate;
}

.hero-baby-intro {
    width: 170px;
    height: 170px;
    object-fit: contain;
    animation: floatBabyIcon 6s ease-in-out infinite alternate;
}

.hero-preview-btn {
    margin-top: 20px;
    background-color: var(--brand-soft);
    color: var(--brand-gold-ink);
    border: 1px solid rgba(245, 166, 35, 0.15);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.05);
}

.scroll-arrow-icon {
    width: 15px;
    height: 15px;
    animation: bounceArrow 1.5s infinite alternate;
}

@keyframes bounceArrow {
    from { transform: translateY(-3px); }
    to { transform: translateY(3px); }
}

/* ==========================================
   SCROLL-DRIVEN SPLIT SHOWCASE (Sticky)
   ========================================== */
.scroll-split-section {
    position: relative;
    height: 190vh; /* scroll-duration height */
    background-color: var(--bg-main);
}

.sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.split-panel {
    position: absolute;
    top: 0;
    width: 50vw;
    height: 100vh;
    background-color: var(--ink-dark);
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transition: transform 0.05s linear;
}

.left-panel {
    left: 0;
    border-right: 1.5px solid rgba(245, 166, 35, 0.15);
}

.right-panel {
    right: 0;
    border-left: 1.5px solid rgba(245, 166, 35, 0.15);
}

.panel-content {
    color: #fff;
    text-align: center;
    padding: 40px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.1s linear;
}

.panel-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--brand-gold);
}

.panel-content p {
    font-size: 0.95rem;
    color: var(--ink-tertiary);
    line-height: 1.6;
}

.panel-arrow-icon {
    width: 32px;
    height: 32px;
    color: var(--brand-gold);
    margin-top: 24px;
}

.left-panel .panel-arrow-icon { animation: bounceArrowLeft 2s infinite alternate; }
.right-panel .panel-arrow-icon { animation: bounceArrowRight 2s infinite alternate; }

@keyframes bounceArrowLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-8px); }
}
@keyframes bounceArrowRight {
    from { transform: translateX(0); }
    to { transform: translateX(8px); }
}

.center-simulator-wrapper {
    position: relative;
    z-index: 105;
    transform: scale(0.8);
    opacity: 0.5;
    will-change: transform, opacity;
    transition: transform 0.05s linear, opacity 0.05s linear;
}

/* ==========================================
   SCROLL-DRIVEN VIDEO MERGE HERO
   ========================================== */
/* ==========================================
   BENTO VIDEO FEATURE GRID
   ========================================== */
.video-merge-hero {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 92px auto 34px auto;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 10;
    order: 3 !important;
}

/* Header layout at the top (not absolute) */
.video-grid-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.video-badge {
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 12px;
    padding: 6px 14px;
    color: var(--brand-gold);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    letter-spacing: 0.8px;
}

.play-badge-icon {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.video-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: var(--ink-dark);
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.video-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: var(--ink-muted);
    max-width: 680px;
    line-height: 1.55;
    font-family: var(--font-body);
    font-weight: 400;
    margin: 0;
}

/* Bento layout container */
.video-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* Video Columns styled as Bento Cards */
.video-grid-column {
    position: relative;
    height: 480px;
    border-radius: 28px;
    overflow: hidden;
    background-color: #1a1715;
    border: 1px solid rgba(85, 70, 45, 0.08);
    box-shadow: 0 12px 36px rgba(31, 26, 20, 0.06);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-grid-column .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* iOS frosted glass bottom label */
.col-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 5;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.col-label-icon {
    width: 18px;
    height: 18px;
    color: #fff;
}

.col-label span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    flex-grow: 1;
    margin-left: 12px;
}

/* Hover effects */
.video-grid-container:hover .video-grid-column {
    opacity: 0.75;
    filter: blur(1.5px);
    transform: scale(0.98);
}

.video-grid-container .video-grid-column:hover {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 20px 48px rgba(245, 166, 35, 0.15), 0 8px 24px rgba(31, 26, 20, 0.08);
}

.video-grid-column:hover .bg-video {
    transform: scale(1.06);
}

.video-grid-column:hover .col-label {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Custom Vector Icon Classes to replace Emojis */
.sim-emoji-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.2em;
    height: 1.2em;
    stroke-width: 2.2px;
    color: var(--brand-gold-deep);
}

.game-vector-icon {
    width: 36px;
    height: 36px;
    stroke-width: 2px;
    color: var(--brand-gold-deep);
    margin-bottom: 8px;
}

.peekaboo-vector-icon {
    width: 44px;
    height: 44px;
    stroke-width: 2px;
    color: var(--ink-dark);
}

.footer-heart {
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    color: #FF5E5E;
    fill: #FF5E5E;
    margin-left: 4px;
}

.gender-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
    margin-right: 6px;
}

/* ==========================================
   EMERGENCY PORTAL & CROP COLUMN LABELS
   ========================================== */
.btn-sim-emergency {
    background-color: #FF5E5E;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 94, 94, 0.7);
    animation: pulseSos 1.6s infinite;
    transition: background-color 0.2s, transform 0.2s;
}
.btn-sim-emergency:hover {
    background-color: #E04D4D;
}
.btn-sim-emergency:active {
    transform: scale(0.9);
}
.sim-header-sos {
    width: 14px;
    height: 14px;
    color: #FFF;
}
@keyframes pulseSos {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 94, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 94, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 94, 94, 0);
    }
}

.col-label {
    position: absolute;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 15;
    will-change: opacity, transform;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.col-label-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5px;
    color: var(--brand-gold);
}

.col-eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.2px;
    width: 14px;
    height: 12px;
    margin-left: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-grid-column:hover .col-eq-bars {
    opacity: 1;
}

.eq-bar {
    width: 2.2px;
    height: 100%;
    background-color: var(--brand-gold);
    border-radius: 1px;
    transform-origin: bottom;
    animation: eqBounce 1s ease-in-out infinite alternate;
}

.eq-bar.bar-1 {
    animation-duration: 0.55s;
    animation-delay: -0.15s;
}
.eq-bar.bar-2 {
    animation-duration: 0.75s;
    animation-delay: -0.4s;
    background-color: var(--accent-mint);
}
.eq-bar.bar-3 {
    animation-duration: 0.45s;
    animation-delay: -0.3s;
    background-color: #FF5E5E;
}

@keyframes eqBounce {
    0% { transform: scaleY(0.25); }
    100% { transform: scaleY(1); }
}

.emergency-portal-container {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 45px);
    box-sizing: border-box;
    overflow-y: auto;
}

.emergency-alert-banner {
    background-color: rgba(255, 94, 94, 0.1);
    border: 1px solid rgba(255, 94, 94, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FF5E5E;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.pulse-warning-icon {
    width: 16px;
    height: 16px;
    animation: pulseSos 1.2s infinite;
}

.portal-quick-call {
    background: linear-gradient(135deg, #FF5E5E 0%, #FFA55E 100%);
    border-radius: 16px;
    padding: 16px;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(255, 94, 94, 0.2);
    margin-bottom: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.portal-quick-call:active {
    transform: scale(0.97);
}

.call-btn-icon {
    width: 24px;
    height: 24px;
    color: #FFF;
    animation: bouncePhone 2.5s infinite alternate;
}

@keyframes bouncePhone {
    from { transform: translateY(-2px) rotate(-5deg); }
    to { transform: translateY(2px) rotate(5deg); }
}

.call-btn-txt strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    display: block;
    line-height: 1.2;
}

.call-btn-txt p {
    font-size: 0.72rem;
    opacity: 0.9;
    margin: 0;
}

.portal-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.portal-topic-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-hairline);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: var(--shadow-card);
}

.portal-topic-card:active {
    transform: scale(0.96);
}

.portal-topic-card .topic-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-gold-deep);
}

.portal-topic-card strong {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: var(--ink);
}

.topic-detail-view {
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-bg);
    z-index: 10;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
}

.btn-detail-back {
    background: var(--brand-soft);
    border: 1px solid rgba(245, 166, 35, 0.15);
    color: var(--brand-gold-ink);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    align-self: flex-start;
    margin-bottom: 12px;
}

.topic-detail-view h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.topic-detail-view p {
    font-size: 0.78rem;
    color: var(--ink-secondary);
    line-height: 1.5;
}

.highlighted-card {
    border: 1.5px solid rgba(245, 166, 35, 0.25);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(245, 166, 35, 0.03) 100%);
}

.highlighted-card:nth-of-type(1) {
    border-color: rgba(255, 94, 94, 0.25);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(255, 94, 94, 0.03) 100%);
}

.danger-icon-bg {
    background-color: rgba(255, 94, 94, 0.1) !important;
}

.alert-icon-bg {
    background-color: rgba(245, 166, 35, 0.1) !important;
}

/* ==========================================================================
   ULTRA-PREMIUM MAX UI CORE UPGRADES (APPLE/TESLA STANDARD STYLE)
   ========================================================================== */

/* 1. Custom Scrollbar & Page Scroll Progress Indicator */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 166, 35, 0.6);
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-deep) 100%);
    width: 0%;
    z-index: 999;
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.6);
    pointer-events: none;
    will-change: width;
}

/* 2. Features Card Mouse-Follow Radial Glow */
.feature-card {
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(350px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px), rgba(245, 166, 35, 0.08), transparent 80%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}
.feature-card > * {
    position: relative;
    z-index: 1;
}

/* 3. Interactive AI Cry Classifier Sim Card */
.interactive-ai-card {
    border: 1.5px solid rgba(139, 92, 246, 0.25) !important;
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(139, 92, 246, 0.03) 100%) !important;
}
.feature-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.feature-header-row .feature-icon {
    margin-bottom: 0;
}
.badge-feature-premium {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-lavender);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}
.ai-demo-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.ai-demo-selectors {
    display: flex;
    gap: 8px;
    width: 100%;
}
.ai-sound-btn {
    flex: 1;
    background: var(--surface-sunk);
    border: 1px solid var(--border-hairline);
    color: var(--ink-secondary);
    padding: 8px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-sound-btn:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.02);
}
.ai-sound-btn.selected {
    background: var(--accent-lavender);
    border-color: var(--accent-lavender);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}
.ai-waveform-box {
    position: relative;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ai-wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.ai-status-text {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
}
.ai-analyze-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-lavender) 0%, #7c4ee6 100%);
    border: none;
    color: #FFF;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}
.ai-analyze-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}
.ai-analyze-btn:disabled {
    background: rgba(28, 26, 23, 0.08);
    color: var(--ink-tertiary);
    cursor: not-allowed;
    box-shadow: none;
}
.ai-results-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(28, 26, 23, 0.02);
    border: 1px solid var(--border-hairline);
    padding: 12px;
    border-radius: 16px;
    margin-top: 4px;
}
.result-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
}
.res-lbl {
    width: 75px;
    font-weight: 700;
    color: var(--ink-secondary);
}
.bar-outer {
    flex: 1;
    height: 8px;
    background: var(--surface-sunk);
    border-radius: 4px;
    overflow: hidden;
}
.bar-inner {
    height: 100%;
    background: var(--accent-lavender);
    border-radius: 4px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.res-val {
    width: 32px;
    text-align: right;
    font-weight: 800;
    color: var(--ink-dark);
}

/* 4. Interactive Sensory Sandbox & Glockenspiel Xylophone */
.sensory-sandbox-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background: radial-gradient(circle at center, #141419 0%, #0a0a0c 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sensory-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    z-index: 1;
}
.mini-glockenspiel {
    position: relative;
    z-index: 10;
    margin: auto auto 16px auto;
    display: flex;
    gap: 8px;
    background: rgba(10, 10, 12, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.glock-key {
    width: 48px;
    height: 75px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 8px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    user-select: none;
}

.glock-key span {
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.glock-key:hover span {
    color: #FFF;
}

.glock-key:active, .glock-key.active {
    transform: scale(0.9) translateY(4px);
}

.glock-key.key-c { border-top: 4px solid #FF5E5E; }
.glock-key.key-e { border-top: 4px solid #F5A623; }
.glock-key.key-g { border-top: 4px solid #10B981; }
.glock-key.key-c2 { border-top: 4px solid #8B5CF6; }

.glock-key.key-c:hover, .glock-key.key-c.active {
    box-shadow: 0 8px 24px rgba(255, 94, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 94, 94, 0.6);
    background: rgba(255, 94, 94, 0.12);
}
.glock-key.key-e:hover, .glock-key.key-e.active {
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(245, 166, 35, 0.6);
    background: rgba(245, 166, 35, 0.12);
}
.glock-key.key-g:hover, .glock-key.key-g.active {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.12);
}
.glock-key.key-c2:hover, .glock-key.key-c2.active {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 0.12);
}

.sandbox-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--ink-dark);
}
.sandbox-desc {
    font-size: 0.88rem;
    color: var(--ink-secondary);
    line-height: 1.5;
}

/* 5. Glassmorphic Range Sliders & Radial Percentile Indicators */
.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.slider-val-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-gold-ink);
    background: var(--brand-soft);
    border: 1px solid rgba(245, 166, 35, 0.2);
    padding: 3px 8px;
    border-radius: 8px;
}
.form-group-calc input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #F5A623 0%, #10B981 var(--val, 50%), #EDE8DF var(--val, 50%));
    border-radius: 4px;
    outline: none;
    margin: 10px 0;
    transition: background 0.1s ease;
}
.form-group-calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
                var(--brand-gold) 0%,
                var(--brand-gold) 20%,
                #FFF 21%,
                #FFF 34%,
                #E2E8F0 38%,
                #CBD5E1 58%,
                #94A3B8 85%,
                #475569 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 4px 12px rgba(0, 0, 0, 0.15),
                0 0 0 0px rgba(245, 166, 35, 0);
    cursor: pointer;
    margin-top: -8px; /* Align thumb correctly on thicker track */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-group-calc input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 6px 14px rgba(0, 0, 0, 0.2),
                0 0 0 6px rgba(245, 166, 35, 0.15);
}

.form-group-calc input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 8px 18px rgba(0, 0, 0, 0.25),
                0 0 0 8px rgba(245, 166, 35, 0.25);
}

.form-group-calc input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
                var(--brand-gold) 0%,
                var(--brand-gold) 20%,
                #FFF 21%,
                #FFF 34%,
                #E2E8F0 38%,
                #CBD5E1 58%,
                #94A3B8 85%,
                #475569 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 4px 12px rgba(0, 0, 0, 0.15),
                0 0 0 0px rgba(245, 166, 35, 0);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-group-calc input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 6px 14px rgba(0, 0, 0, 0.2),
                0 0 0 6px rgba(245, 166, 35, 0.15);
}

.form-group-calc input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 8px 18px rgba(0, 0, 0, 0.25),
                0 0 0 8px rgba(245, 166, 35, 0.25);
}

/* Radial Rings inside Calculator Form Box */
.percentiles-radial-box {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    background: var(--surface-sunk);
    border: 1px solid var(--border-hairline);
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    margin-top: 4px;
}
.radial-ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.radial-svg {
    width: 68px;
    height: 68px;
    transform: rotate(-90deg);
}
.ring-bg {
    fill: none;
    stroke: rgba(28, 26, 23, 0.05);
    stroke-width: 6px;
}
.ring-progress {
    fill: none;
    stroke: var(--brand-gold);
    stroke-width: 6px;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
#ring-height-pct {
    stroke: var(--accent-mint);
}
.ring-text {
    font-size: 1.1rem;
    font-weight: 800;
    fill: var(--ink-dark);
    text-anchor: middle;
    transform: rotate(90deg);
    transform-origin: 40px 40px;
}
.ring-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-secondary);
}

/* 6. Floating Ambient Sound Synthesizer Widget */
.lullaby-player-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(28, 26, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 8px 16px 8px 8px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 190;
    will-change: transform, opacity;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 200px;
}
.lullaby-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-gold);
    border: none;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
    position: relative;
    outline: none;
    transition: transform 0.2s ease, background 0.2s ease;
}
.lullaby-toggle-btn:hover {
    transform: scale(1.08);
    background: var(--brand-deep);
}
.lullaby-toggle-btn:active {
    transform: scale(0.96);
}
.lullaby-toggle-btn .music-icon {
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.lullaby-player-widget.playing .lullaby-toggle-btn {
    background: var(--accent-mint);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.lullaby-player-widget.playing .music-icon {
    display: none;
}
.lullaby-info {
    display: flex;
    flex-direction: column;
    pointer-events: none;
}
.lullaby-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #FFF;
    white-space: nowrap;
}
.lullaby-status {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

/* Sound frequency anim */
.sound-wave-anim {
    display: none;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
}
.lullaby-player-widget.playing .sound-wave-anim {
    display: flex;
}
.wave-bar {
    width: 2px;
    background: #FFF;
    border-radius: 1px;
    will-change: height;
}
.bar-1 { height: 6px; animation: bounceBar 0.6s infinite ease-in-out alternate; }
.bar-2 { height: 12px; animation: bounceBar 0.7s infinite ease-in-out alternate -0.3s; }
.bar-3 { height: 9px; animation: bounceBar 0.5s infinite ease-in-out alternate -0.1s; }
.bar-4 { height: 4px; animation: bounceBar 0.8s infinite ease-in-out alternate -0.5s; }

@keyframes bounceBar {
    from { height: 3px; }
    to { height: 14px; }
}

/* 7. Drifting Gradient CTA Background */
.download-cta-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.download-cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 166, 35, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 45%);
    z-index: -1;
    pointer-events: none;
    animation: driftGradient 12s infinite linear alternate;
}
@keyframes driftGradient {
    0% { transform: rotate(0deg) translate(0, 0); }
    100% { transform: rotate(360deg) translate(30px, 30px); }
}

/* 8. FAQ Smooth Height & Accordion Panel Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question span {
    font-size: 1.25rem;
    font-weight: 500;
    display: inline-block;
    will-change: transform, color;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}
.faq-item.active .faq-question span {
    transform: rotate(45deg) scale(1.18);
    color: #FF5E5E;
}
.faq-item.active .faq-answer {
    /* Height dynamic in JS */
}

/* ==========================================================================
   TELEHEALTH / ONLINE PEDIATRICIAN SECTION STYLES
   ========================================================================== */
.telehealth-details-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 80px;
    background: var(--surface-sunk);
    border: 1px solid var(--border-hairline);
    border-radius: 40px;
    padding: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .telehealth-details-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
        margin-top: 50px;
    }
}

.telehealth-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame-mock {
    width: 250px;
    height: 480px;
    background: #000;
    border: 12px solid #1C1A17;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.mock-call-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 185, 129, 0.95);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.mock-call-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mock-call-controls {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    z-index: 5;
}

.ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.ctrl-btn:hover {
    transform: scale(1.1);
}

.ctrl-btn svg {
    width: 16px;
    height: 16px;
    color: #FFF;
}

.ctrl-btn.end-call { background: #FF5E5E; }
.ctrl-btn.mute-mic { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.ctrl-btn.video-cam { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }

.section-tag-gold {
    color: var(--brand-deep);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.telehealth-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--ink-dark);
}

.telehealth-info p {
    color: var(--ink-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.telehealth-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.telehealth-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.telehealth-list .li-icon {
    width: 22px;
    height: 22px;
    color: var(--brand-gold);
    stroke-width: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}

.telehealth-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink-dark);
    margin-bottom: 4px;
}

.telehealth-list p {
    margin-bottom: 0;
    font-size: 0.88rem;
    color: var(--ink-secondary);
    line-height: 1.5;
}

/* ==========================================
   AWWWARDS PREMIUM ADDITIONS & GLOW EFFECTS
   ========================================== */

/* Selection Highlight */
::selection {
    background-color: var(--brand-soft);
    color: var(--brand-ink);
}

/* Custom focus styles for premium accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(245, 166, 35, 0.4);
    outline-offset: 2px;
}

/* Larger Awwwards-style spacious padding for main sections */
.section-container {
    padding: 120px 24px !important;
}

/* Elite Typography Adjustments */
body {
    letter-spacing: -0.01em;
}
h1 {
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
}
h2 {
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}
h3, h4 {
    letter-spacing: -0.015em !important;
    line-height: 1.25 !important;
}

/* Mesh Gradients & Drifting Glow Blobs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
    mix-blend-mode: multiply;
    pointer-events: none;
    will-change: transform;
    animation: drift-glow 25s ease-in-out infinite alternate;
    z-index: 1;
}

.glow-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.4) 0%, rgba(245, 166, 35, 0) 70%);
    top: -20vw;
    left: -20vw;
}

.glow-2 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
    bottom: -20vw;
    right: -20vw;
    animation-delay: -5s;
    animation-duration: 32s;
}

.glow-3 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0) 70%);
    top: 40vh;
    left: 30vw;
    animation-delay: -10s;
    animation-duration: 24s;
}

@keyframes drift-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(10vw, 15vh) scale(1.15);
    }
    100% {
        transform: translate(-5vw, -10vh) scale(0.9);
    }
}

/* Scroll Entry Reveal Animations */
.feature-card,
.game-info-item,
.faq-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.feature-card.revealed,
.game-info-item.revealed,
.faq-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Glockenspiel Active Key Chime Visual Link */
.glock-key.active {
    transform: scale(0.9) translateY(4px);
}

/* ==========================================================================
   HERO APP DASHBOARD DEVICE MOCKUP
   ========================================================================== */
.hero-phone-mockup {
    width: 290px;
    height: 530px;
    background: #0a0a0c;
    border: 11px solid #1C1A17;
    border-radius: 44px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    font-family: var(--font-body);
    animation: floatPhoneHero 8s ease-in-out infinite alternate;
}

@keyframes floatPhoneHero {
    0% { transform: translateY(0) rotate(-1deg); }
    100% { transform: translateY(-12px) rotate(1.5deg); }
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px 4px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.65rem;
    font-weight: 700;
}

.phone-island {
    background: #000;
    border-radius: 12px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    color: var(--brand-gold);
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.island-icon-live {
    width: 8px;
    height: 8px;
    animation: pulseSos 1.4s infinite;
}

.phone-signals {
    display: flex;
    gap: 5px;
    align-items: center;
}

.phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-profile {
    display: flex;
    gap: 8px;
    align-items: center;
}

.avatar-box {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-svg {
    width: 13px;
    height: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.app-greeting {
    display: block;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
}

.baby-name-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #FFF;
    display: block;
    text-align: left;
}

.btn-sos-header {
    background: rgba(255, 94, 94, 0.12);
    border: 1px solid rgba(255, 94, 94, 0.25);
    color: #FF5E5E;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.phone-dashboard-scroll {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.dash-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-card-live {
    font-size: 0.55rem;
    font-weight: 800;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dot-live {
    width: 4px;
    height: 4px;
    background: #10B981;
    border-radius: 50%;
    animation: pulseSos 1.4s infinite;
}

.card-tag {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.live-doctor-profile {
    display: flex;
    gap: 8px;
    align-items: center;
    text-align: left;
}

.dr-avatar-mini {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.live-doctor-profile strong {
    font-size: 0.68rem;
    font-weight: 800;
    color: #FFF;
    display: block;
}

.live-doctor-profile span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.45);
    display: block;
}

.btn-dash-call {
    width: 100%;
    background: var(--brand-gold);
    border: none;
    color: #FFF;
    padding: 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.btn-dash-call:hover {
    background: var(--brand-deep);
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-title-row strong {
    font-size: 0.68rem;
    font-weight: 800;
    color: #FFF;
}

.card-icon-violet {
    width: 12px;
    height: 12px;
    color: var(--accent-lavender);
}

.card-icon-mint {
    width: 12px;
    height: 12px;
    color: var(--accent-mint);
}

.waveform-mini {
    display: flex;
    gap: 3.5px;
    height: 18px;
    align-items: flex-end;
}

.wf-bar {
    width: 2.5px;
    background: rgba(139, 92, 246, 0.5);
    border-radius: 1px;
}

.wf-bar.h-10 { height: 6px; animation: bounceBar 0.5s infinite alternate ease-in-out; }
.wf-bar.h-20 { height: 12px; animation: bounceBar 0.6s infinite alternate ease-in-out -0.2s; }
.wf-bar.h-30 { height: 14px; animation: bounceBar 0.7s infinite alternate ease-in-out -0.4s; }
.wf-bar.h-40 { height: 18px; animation: bounceBar 0.4s infinite alternate ease-in-out -0.1s; }
.wf-bar.h-15 { height: 8px; animation: bounceBar 0.8s infinite alternate ease-in-out -0.3s; }

.ai-dash-status {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: left;
}

.growth-stats-mini {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.growth-stats-mini div {
    display: flex;
    flex-direction: column;
}

.growth-stats-mini strong {
    font-size: 0.72rem;
    color: #FFF;
    font-weight: 800;
}

.growth-stats-mini span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero-baby-icon-badge {
    width: 44px;
    height: 44px;
    background: var(--brand-soft);
    border: 1.5px solid rgba(245, 166, 35, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.08);
    overflow: visible;
}

/* ==========================================================================
   SIMULATOR DAILY ACTIVITY TIMELINE STYLING
   ========================================================================== */
.sim-timeline-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-hairline);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-header strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.timeline-badge-live {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--accent-mint);
    background-color: var(--accent-mint-light);
    padding: 2px 7px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pulse-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-mint);
    border-radius: 50%;
    animation: pulseSos 1.4s infinite;
}

.timeline-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-left: 0;
}

.timeline-flow::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--border-hairline);
    z-index: 1;
}

.timeline-item-log {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    animation: logEntrySlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logEntrySlide {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.item-icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-hairline);
    background-color: var(--card-bg);
}

.item-icon-circle svg {
    width: 12px;
    height: 12px;
}

.icon-feed {
    color: #4A2E2B;
    background-color: #FFEBE0;
    border-color: rgba(255, 186, 150, 0.4);
}

.icon-diap {
    color: #204533;
    background-color: #E6F5EC;
    border-color: rgba(160, 220, 190, 0.4);
}

.icon-slp {
    color: #4F3E2E;
    background-color: #F5EBE0;
    border-color: rgba(220, 200, 180, 0.4);
}

.item-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.item-details strong {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.item-details p {
    font-size: 0.62rem;
    color: var(--ink-secondary);
    margin-top: 1px;
    line-height: 1.3;
}

/* ==========================================================================
   SIMULATOR VACCINE PROGRESS STYLING
   ========================================================================== */
.vaccine-progress-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-hairline);
    border-radius: 18px;
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-soft);
}

.progress-radial-mini {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.vac-progress-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.vac-progress-text {
    position: absolute;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.vac-progress-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.vac-progress-info strong {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-dark);
}

.vac-progress-info p {
    font-size: 0.62rem;
    color: var(--ink-secondary);
    margin-top: 1px;
}

/* ==========================================================================
   SIMULATOR MINI GROWTH CHART STYLING
   ========================================================================== */
.sim-mini-chart-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-hairline);
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
}

.sim-mini-svg {
    width: 100%;
    height: 110px;
    display: block;
    overflow: visible;
}

/* ==========================================================================
   SIMULATOR VIDEO CALL OVERLAY STYLING
   ========================================================================== */
.sim-video-call-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 180;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 16px 30px 16px;
    animation: fadeInFast 0.3s ease-out;
}

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

.sim-call-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sim-call-info {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
    margin-top: 15px;
}

.sim-call-avatar {
    width: 58px;
    height: 58px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

.sim-call-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.sim-call-info span {
    font-size: 0.68rem;
    font-weight: 700;
    background-color: rgba(16, 185, 129, 0.85);
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}

.sim-call-controls-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.sim-call-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}

.sim-call-btn:active {
    transform: scale(0.9);
}

.btn-mute {
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-mute.active {
    background-color: #fff;
    color: #000;
}

.btn-cam {
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-cam.active {
    background-color: #fff;
    color: #000;
}

.btn-end-call {
    background-color: #FF5E5E;
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
}

.btn-end-call:hover {
    background-color: #E04B4B;
}

/* ==========================================================================
   SIMULATOR 3D HARDWARE DETAILS
   ========================================================================== */
.iphone-frame {
    position: relative;
    background: linear-gradient(135deg, #3a3330 0%, #221d1b 100%) !important;
    box-shadow: inset 0 0 4px 2.5px rgba(255, 255, 255, 0.09),
                0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

.iphone-btn-physical {
    position: absolute;
    width: 3.5px;
    background: linear-gradient(to bottom, #5a5450, #2c2724);
    z-index: -1;
    border: 1px solid #1E1A18;
    box-shadow: inset 1px 0 1px rgba(255,255,255,0.08);
}

.action-btn {
    left: -6.5px;
    top: 130px;
    height: 32px;
    border-radius: 3px 0 0 3px;
}

.vol-up-btn {
    left: -6.5px;
    top: 178px;
    height: 54px;
    border-radius: 3px 0 0 3px;
}

.vol-down-btn {
    left: -6.5px;
    top: 242px;
    height: 54px;
    border-radius: 3px 0 0 3px;
}

.power-btn {
    right: -6.5px;
    top: 195px;
    height: 74px;
    border-radius: 0 3px 3px 0;
    box-shadow: inset -1px 0 1px rgba(255,255,255,0.08);
}

/* ==========================================================================
   VISUAL OVERHAUL: AWWWARDS-STANDARDS AND CREATIVE FRONTEND OVERRIDES
   ========================================================================== */

/* 1. Global Page Grain and Font Proportion */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.035;
    pointer-events: none;
    z-index: 99999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

body {
    background-color: var(--bg-main);
    color: var(--ink-dark);
}

h1, h2, h3, h4, h5, h6, .logo-text, .widget-val, .stat-number, .curve-lbl, .faq-question {
    font-family: 'Outfit', sans-serif !important;
}

/* 2. Background Drift Radial Orbs */
.parallax-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px) saturate(130%);
    opacity: 0.38;
    mix-blend-mode: multiply;
    will-change: transform;
}

.glow-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.45) 0%, rgba(245, 166, 35, 0) 70%) !important;
    top: -15vw;
    left: -15vw;
    animation: drift-orb-1 25s ease-in-out infinite alternate !important;
}

.glow-2 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(16, 185, 129, 0) 70%) !important;
    bottom: -15vw;
    right: -15vw;
    animation: drift-orb-2 30s ease-in-out infinite alternate !important;
}

.glow-3 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.38) 0%, rgba(139, 92, 246, 0) 70%) !important;
    top: 30vh;
    left: 25vw;
    animation: drift-orb-3 28s ease-in-out infinite alternate !important;
}

@keyframes drift-orb-1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(8vw, 10vh) scale(1.15) rotate(180deg); }
    100% { transform: translate(-4vw, -8vh) scale(0.9) rotate(360deg); }
}

@keyframes drift-orb-2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-10vw, -8vh) scale(1.12) rotate(-180deg); }
    100% { transform: translate(6vw, 6vh) scale(0.95) rotate(-360deg); }
}

@keyframes drift-orb-3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12vw, -6vh) scale(1.1); }
    100% { transform: translate(-6vw, 8vh) scale(0.92); }
}

/* 3. Header & Nav: Sleek Floating Glass Capsule */
.main-header {
    position: fixed !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 48px) !important;
    max-width: 1140px !important;
    height: 68px !important;
    background: rgba(248, 245, 239, 0.6) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 10px 40px rgba(28, 26, 23, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    border-radius: 40px !important;
    z-index: 1000 !important;
    padding: 0 !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.main-header.scrolled {
    top: 12px !important;
    height: 60px !important;
    background: rgba(248, 245, 239, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 12px 36px rgba(28, 26, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.header-container {
    height: 100% !important;
    padding: 0 24px !important;
}

.logo img.header-logo-img {
    height: 38px !important;
    width: 38px !important;
    border-radius: 11px !important;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.25);
}

.nav-links a {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    color: var(--ink-secondary) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-links a::after {
    display: none !important; /* Hide old generic underline */
}

.nav-links a:hover {
    color: var(--brand-gold) !important;
    background: rgba(255, 255, 255, 0.45) !important;
}

.btn-header-cta {
    padding: 10px 24px !important;
    font-size: 0.88rem !important;
    border-radius: 25px !important;
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-deep) 100%) !important;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-header-cta:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35) !important;
}

/* 4. Loader Curtain: Soft Glass Reveal */
.intro-curtain {
    background: transparent !important;
}

.curtain-slice {
    background: rgba(248, 245, 239, 0.72) !important;
    backdrop-filter: blur(35px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(170%) !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: none !important;
    transition: transform 1.5s cubic-bezier(0.85, 0, 0.15, 1),
                opacity 1.5s cubic-bezier(0.85, 0, 0.15, 1) !important;
}

.curtain-slice:nth-child(1) { transition-delay: 0.0s !important; }
.curtain-slice:nth-child(2) { transition-delay: 0.08s !important; }
.curtain-slice:nth-child(3) { transition-delay: 0.16s !important; }
.curtain-slice:nth-child(4) { transition-delay: 0.24s !important; }
.curtain-slice:nth-child(5) { transition-delay: 0.32s !important; }
.curtain-slice:nth-child(6) { transition-delay: 0.4s !important; }

.curtain-slice:nth-child(odd).slide-out {
    transform: translateY(-100%) !important;
}

.curtain-slice:nth-child(even).slide-out {
    transform: translateY(100%) !important;
}

.intro-content {
    background: rgba(255, 255, 255, 0.25) !important;
    padding: 48px !important;
    border-radius: 36px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 25px 60px rgba(28, 26, 23, 0.08) !important;
    color: var(--ink-dark) !important;
}

.intro-title {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-deep) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.intro-subtitle {
    color: var(--ink-secondary) !important;
}

.intro-loader {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

.loader-bar {
    background: var(--brand-gold) !important;
}

/* Redundant video styles removed */

/* 6. Hero Mockup & iOS Simulator */
.center-simulator-wrapper {
    perspective: 1200px !important;
}

.iphone-frame {
    background: linear-gradient(135deg, #2a2523 0%, #151312 100%) !important;
    border: 4.5px solid #3c3532 !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32),
                inset 0 0 2px 2px rgba(255, 255, 255, 0.16) !important;
    transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1deg) !important;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.iphone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.025) !important;
    box-shadow: 0 45px 95px rgba(0, 0, 0, 0.42),
                inset 0 0 2px 2px rgba(255, 255, 255, 0.24) !important;
}

.sim-page {
    background-color: #F8F5EF !important;
    padding: 16px !important;
}

.sim-widget-card {
    border-radius: 18px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 14px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.4s ease !important;
}

.sim-widget-card:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 24px rgba(28, 26, 23, 0.08) !important;
    border-color: rgba(245, 166, 35, 0.3) !important;
}

.card-sleep { background: linear-gradient(135deg, #FFEBE0 0%, #FFD6C4 100%) !important; }
.card-diaper { background: linear-gradient(135deg, #E6F5EC 0%, #CCEBE0 100%) !important; }
.card-vaccine { background: linear-gradient(135deg, #DF7857 0%, #C85C3A 100%) !important; }
.card-feeding { background: linear-gradient(135deg, #F5EBE0 0%, #E6D5C3 100%) !important; }

.dynamic-island {
    background-color: #08080a !important;
    border: 0.5px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

.dynamic-island.expanded {
    width: 172px !important;
    height: 36px !important;
}

.sim-timeline-card {
    background: #FFF !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 16px !important;
    box-shadow: 0 8px 24px rgba(28, 26, 23, 0.03) !important;
}

.sim-cry-card {
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    border-radius: 20px !important;
    padding: 14px !important;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.sim-cry-card:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.12) !important;
}

/* 7. Features Bento Grid & Spotlight Reflex */
.features-grid {
    gap: 32px !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 10px 30px rgba(28, 26, 23, 0.03),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-radius: 28px !important;
    padding: 40px 32px !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-card::before {
    background: radial-gradient(300px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(245, 166, 35, 0.15), transparent 80%) !important;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(245, 166, 35, 0.45) !important;
    box-shadow: 0 20px 40px rgba(245, 166, 35, 0.08),
                0 4px 10px rgba(28, 26, 23, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.highlighted-card {
    border: 1px solid rgba(245, 166, 35, 0.25) !important;
    background: rgba(255, 255, 255, 0.75) !important;
}

.highlighted-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.5), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* 8. Telehealth details & live pediatrician call indicator */
.telehealth-details-box {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 36px !important;
    padding: 48px !important;
    box-shadow: 0 20px 50px rgba(28, 26, 23, 0.04) !important;
}

.phone-frame-mock {
    width: 260px !important;
    height: 490px !important;
    border: 8px solid #1a1817 !important;
    border-radius: 38px !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25),
                0 1px 2px rgba(255, 255, 255, 0.2) inset !important;
}

.mock-call-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: var(--accent-mint) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15) !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    font-size: 0.7rem !important;
}

.mock-call-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-mint);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: livePulse 1.4s infinite alternate;
}

@keyframes livePulse {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px 3px rgba(16, 185, 129, 0.4); }
}

.mock-call-controls {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 30px !important;
    padding: 8px 16px !important;
    width: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.ctrl-btn:hover {
    background: #FFF !important;
    transform: scale(1.15) !important;
}

.ctrl-btn:hover svg {
    color: #000 !important;
}

.ctrl-btn.end-call {
    background: #FF5E5E !important;
    border-color: #FF5E5E !important;
}

.ctrl-btn.end-call:hover {
    background: #E04B4B !important;
}

/* 9. Sensory Playground drawing board */
.sensory-sandbox-wrapper {
    background: radial-gradient(circle at center, #111116 0%, #060608 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.9), 0 30px 60px rgba(0, 0, 0, 0.35) !important;
    border-radius: 32px !important;
}

.mini-glockenspiel {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    padding: 10px 20px !important;
}

.glock-key {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    width: 52px !important;
    height: 85px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glock-key span {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.glock-key.key-c:hover, .glock-key.key-c.active {
    box-shadow: 0 10px 30px rgba(255, 94, 94, 0.45) !important;
    background: rgba(255, 94, 94, 0.18) !important;
    border-color: rgba(255, 94, 94, 0.8) !important;
}

.glock-key.key-e:hover, .glock-key.key-e.active {
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.45) !important;
    background: rgba(245, 166, 35, 0.18) !important;
    border-color: rgba(245, 166, 35, 0.8) !important;
}

.glock-key.key-g:hover, .glock-key.key-g.active {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45) !important;
    background: rgba(16, 185, 129, 0.18) !important;
    border-color: rgba(16, 185, 129, 0.8) !important;
}

.glock-key.key-c2:hover, .glock-key.key-c2.active {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.45) !important;
    background: rgba(139, 92, 246, 0.18) !important;
    border-color: rgba(139, 92, 246, 0.8) !important;
}

/* 10. Percentile calculator guides & neon crosshairs */
.calculator-layout {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 36px !important;
    padding: 40px !important;
    box-shadow: 0 20px 50px rgba(28, 26, 23, 0.03) !important;
}

#baby-crosshair-x, #baby-crosshair-y {
    stroke: #F5A623 !important;
    stroke-width: 1.5px !important;
    filter: drop-shadow(0 0 3px rgba(245, 166, 35, 0.8)) !important;
}

#baby-dot {
    fill: #F5A623 !important;
    filter: drop-shadow(0 0 6px rgba(245, 166, 35, 1)) !important;
}

#baby-dot-glow {
    fill: #F5A623 !important;
    animation: pulseDotGlow 1.5s infinite alternate !important;
}

@keyframes pulseDotGlow {
    0% { transform: scale(0.8); opacity: 0.15; }
    100% { transform: scale(1.4); opacity: 0.45; }
}

.growth-svg line {
    stroke: rgba(28, 26, 23, 0.08) !important;
}

.growth-svg line[stroke-dasharray] {
    stroke: rgba(28, 26, 23, 0.04) !important;
}

/* 11. Accordion & Premium Dark Footer */
.faq-item {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(28, 26, 23, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.faq-item:hover {
    border-color: rgba(245, 166, 35, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(28, 26, 23, 0.05) !important;
}

.faq-question span {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.3s ease !important;
}

.faq-item.active .faq-question span {
    transform: rotate(135deg) scale(1.15) !important;
    color: #FF5E5E !important;
}

.main-footer {
    background: radial-gradient(circle at top, #1c1917 0%, #0b0908 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 80px 24px 40px 24px !important;
    color: #dfdbd6 !important;
}

.footer-brand .logo-text {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #FFFDF8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.footer-brand p {
    color: #a8a39d !important;
}

.footer-links strong {
    color: #FFF !important;
}

.footer-links a {
    color: #a8a39d !important;
    text-decoration: none;
    transition: all 0.3s ease !important;
}

.footer-links a:hover {
    color: var(--brand-gold) !important;
    transform: translateX(4px) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 30px !important;
    color: #8c8780 !important;
}

.footer-heart {
    color: #FF5E5E !important;
    fill: #FF5E5E !important;
}

/* ==========================================================================
   EXISTING THEME FINAL POLISH LOCK
   Keeps ebeveyn's warm cream/gold/mobile-simulator theme intact.
   ========================================================================== */
:root {
    --brand-gold-deep: var(--brand-deep);
    --brand-gold-ink: var(--brand-ink);
    --ink: var(--ink-dark);
    --premium-line: rgba(138, 90, 18, 0.12);
    --premium-shadow: 0 24px 60px rgba(28, 26, 23, 0.08);
}

body {
    background:
        linear-gradient(180deg, #fbf8f2 0%, var(--bg-main) 34%, #fffaf2 100%) !important;
}

.landing-main {
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.landing-main > * {
    order: 10;
}

.glow-blob {
    opacity: 0.18 !important;
}

.glow-3 {
    opacity: 0.08 !important;
}
.hero-section {
    order: 1 !important;
    max-width: 1220px !important;
    min-height: auto !important;
    margin: 116px auto 34px auto !important;
    padding: 60px 32px 70px !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr) !important;
    gap: clamp(38px, 6vw, 84px) !important;
    border-radius: 38px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 245, 224, 0.52)),
        radial-gradient(circle at 78% 22%, rgba(245, 166, 35, 0.16), transparent 28%),
        radial-gradient(circle at 12% 72%, rgba(16, 185, 129, 0.11), transparent 32%) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow: var(--premium-shadow) !important;
    overflow: hidden !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-image:
        linear-gradient(rgba(138, 90, 18, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 90, 18, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.78), transparent 80%);
}

.hero-content {
    z-index: 2 !important;
}

.badge-hero {
    border-radius: 14px !important;
    animation: none !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
}

.hero-content h1 {
    max-width: 720px !important;
    font-size: clamp(2.75rem, 5.15vw, 4.85rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.052em !important;
    margin-bottom: 28px !important;
}

.hero-lead {
    max-width: 690px !important;
    font-size: clamp(1.02rem, 1.25vw, 1.22rem) !important;
    line-height: 1.76 !important;
    color: #4b453d !important;
}

.hero-stats {
    width: auto !important;
    gap: 0 !important;
    align-items: stretch !important;
    border: 1px solid var(--premium-line) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow: 0 12px 24px rgba(28, 26, 23, 0.035) !important;
    overflow: hidden !important;
}

.hero-stats .stat-item {
    min-width: 146px !important;
    padding: 15px 18px !important;
    justify-content: center !important;
}

.hero-stats .stat-number {
    color: var(--ink-dark) !important;
    font-size: 1.42rem !important;
}

.hero-stats .stat-label {
    max-width: 130px !important;
    line-height: 1.25 !important;
}

.stat-divider {
    height: auto !important;
    align-self: stretch !important;
}

.hero-proof-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

.hero-proof-row span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.56) !important;
    border: 1px solid var(--premium-line) !important;
    color: var(--ink-secondary) !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
}

.hero-proof-row svg {
    width: 15px !important;
    height: 15px !important;
    color: var(--brand-deep) !important;
}

.hero-preview-container {
    position: relative !important;
    z-index: 2 !important;
}

.hero-preview-container::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.2), transparent 64%);
    filter: blur(8px);
    transform: translate(24px, 14px);
}

.hero-phone-mockup {
    width: min(330px, 100%) !important;
    height: 590px !important;
    border-width: 10px !important;
    box-shadow:
        0 34px 84px rgba(28, 26, 23, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset !important;
}

.phone-avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
    margin-right: 8px !important;
}

.phone-eyebrow {
    font-size: 8px !important;
    margin-bottom: 0 !important;
}

.phone-eyebrow svg,
.phone-sos-pill svg {
    width: 10px !important;
    height: 10px !important;
}

.phone-sos-pill {
    width: auto !important;
    height: auto !important;
    padding: 4px 9px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    animation: none !important;
}

.phone-sos-pill .sim-sos-title {
    font-size: 9px !important;
}

.dr-avatar-mini svg,
.card-icon-gold {
    width: 14px !important;
    height: 14px !important;
    color: var(--brand-gold) !important;
}

.card-care-plan-mini {
    background: rgba(245, 166, 35, 0.09) !important;
    border-color: rgba(245, 166, 35, 0.18) !important;
}

.trust-rail {
    order: 2 !important;
    max-width: 1120px !important;
    margin: 0 auto 58px !important;
    padding: 0 24px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.trust-item {
    min-height: 84px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 18px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    border: 1px solid var(--premium-line) !important;
    box-shadow: 0 12px 28px rgba(28, 26, 23, 0.035) !important;
    color: var(--ink-secondary) !important;
    font-weight: 800 !important;
}

.trust-item svg {
    width: 22px !important;
    height: 22px !important;
    color: var(--brand-deep) !important;
    flex: 0 0 auto !important;
}

.scroll-split-section {
    order: 4 !important;
    height: 165vh !important;
}

.split-panel {
    background:
        radial-gradient(circle at 50% 35%, rgba(245, 166, 35, 0.14), transparent 34%),
        linear-gradient(135deg, #221d19 0%, #0f0d0b 100%) !important;
}

.panel-content p {
    color: rgba(255, 250, 242, 0.7) !important;
}

.section-title {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(2.15rem, 4vw, 3.55rem) !important;
    letter-spacing: -0.05em !important;
}

.section-subtitle {
    max-width: 720px !important;
    line-height: 1.72 !important;
}

.feature-card {
    border-radius: 22px !important;
}

.feature-card h3 {
    font-size: 1.28rem !important;
}

.feature-card p {
    line-height: 1.72 !important;
}

.ai-sound-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
}

.ai-sound-btn svg {
    width: 14px !important;
    height: 14px !important;
}

.telehealth-details-box,
.calculator-layout {
    border-radius: 28px !important;
}

.game-info-item {
    padding: 0 0 0 18px !important;
    border-left: 2px solid rgba(245, 166, 35, 0.25) !important;
}

.cta-inner {
    border-radius: 32px !important;
}

.lullaby-player-widget {
    max-width: 56px !important;
    padding: 8px !important;
    overflow: hidden !important;
}

.lullaby-player-widget .lullaby-info {
    width: 0 !important;
    opacity: 0 !important;
    transform: translateX(-4px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, width 0.25s ease !important;
}

.lullaby-player-widget:hover,
.lullaby-player-widget.playing {
    max-width: 210px !important;
    padding: 8px 16px 8px 8px !important;
}

.lullaby-player-widget:hover .lullaby-info,
.lullaby-player-widget.playing .lullaby-info {
    width: auto !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr !important;
        margin: 104px 18px 28px !important;
        text-align: left !important;
    }

    .hero-content {
        align-items: flex-start !important;
    }

    .trust-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .nav-links {
        top: 82px !important;
        height: calc(100vh - 82px) !important;
        background: rgba(248, 245, 239, 0.96) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
    }
    .hero-section {
        margin: 102px 12px 24px !important;
        padding: 36px 20px 44px !important;
        border-radius: 26px !important;
    }

    .hero-content h1 {
        font-size: clamp(2.35rem, 10.5vw, 3.45rem) !important;
        letter-spacing: -0.042em !important;
    }

    .hero-stats {
        flex-direction: column !important;
        width: 100% !important;
    }

    .stat-divider {
        width: 100% !important;
        height: 1px !important;
    }

    .hero-proof-row span {
        width: 100% !important;
    }

    .hero-phone-mockup {
        width: min(320px, 92vw) !important;
        height: 570px !important;
    }

    .lullaby-player-widget {
        right: 14px !important;
        bottom: 14px !important;
        max-width: 56px !important;
        padding: 8px !important;
        border-radius: 18px !important;
    }

    .lullaby-info {
        display: none !important;
    }

    .trust-rail {
        grid-template-columns: 1fr !important;
        margin-bottom: 54px !important;
    }

    .scroll-split-section {
        height: auto !important;
        min-height: 760px !important;
    }

    .sticky-viewport {
        position: relative !important;
        height: 760px !important;
    }

    .split-panel {
        display: none !important;
    }

    .center-simulator-wrapper {
        transform: scale(0.86) !important;
        opacity: 1 !important;
    }

    .section-container {
        padding: 72px 18px !important;
    }

    .calculator-layout,
    .telehealth-details-box {
        padding: 22px !important;
    }
}

/* ==========================================================================
   EXECUTIVE PRODUCT POLISH
   A calmer, more clinical premium layer on top of the existing ebeveyn theme.
   ========================================================================== */
:root {
    --pro-bg: #fbfaf7;
    --pro-surface: rgba(255, 255, 255, 0.88);
    --pro-surface-solid: #ffffff;
    --pro-line: rgba(85, 70, 45, 0.12);
    --pro-line-strong: rgba(85, 70, 45, 0.18);
    --pro-shadow: 0 24px 70px rgba(31, 26, 20, 0.09);
    --pro-shadow-tight: 0 14px 34px rgba(31, 26, 20, 0.065);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 72% 4%, rgba(245, 166, 35, 0.12), transparent 30%),
        linear-gradient(180deg, var(--pro-bg) 0%, #f8f5ef 52%, #fffaf2 100%) !important;
    color: var(--ink-dark) !important;
}

.scroll-progress-bar {
    height: 3px !important;
    background: linear-gradient(90deg, var(--brand-gold), var(--accent-mint)) !important;
}

.main-header {
    top: 24px !important;
    width: min(1140px, calc(100% - 48px)) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 16px 48px rgba(31, 26, 20, 0.08) !important;
}

.header-container {
    height: 66px !important;
    padding: 0 18px 0 22px !important;
}

.logo {
    gap: 10px !important;
}

.header-logo-img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
}

.logo-text {
    font-size: 1.36rem !important;
    letter-spacing: -0.02em !important;
}

.nav-links {
    gap: 8px !important;
}

.nav-links a {
    padding: 9px 13px !important;
    border-radius: 13px !important;
    font-size: 0.87rem !important;
    font-weight: 800 !important;
    color: rgba(28, 26, 23, 0.68) !important;
}

.nav-links a:hover {
    color: var(--ink-dark) !important;
    background: rgba(245, 166, 35, 0.1) !important;
}

.btn-header-cta {
    min-width: 132px !important;
    height: 44px !important;
    padding: 0 20px !important;
    border-radius: 16px !important;
    font-size: 0.86rem !important;
    box-shadow: 0 10px 24px rgba(245, 166, 35, 0.22) !important;
}

.hero-section {
    max-width: 1180px !important;
    margin: 112px auto 32px auto !important;
    padding: clamp(46px, 5vw, 68px) clamp(26px, 5vw, 62px) !important;
    grid-template-columns: minmax(0, 0.98fr) minmax(330px, 1.02fr) !important;
    gap: clamp(44px, 6vw, 88px) !important;
    border-radius: 32px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 242, 0.86)),
        radial-gradient(circle at 82% 24%, rgba(245, 166, 35, 0.11), transparent 28%),
        radial-gradient(circle at 18% 78%, rgba(16, 185, 129, 0.075), transparent 30%) !important;
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    box-shadow: var(--pro-shadow) !important;
}

.hero-section::before {
    opacity: 0.55 !important;
    background-size: 48px 48px !important;
}

.badge-hero {
    padding: 7px 12px !important;
    margin-bottom: 22px !important;
    border-radius: 12px !important;
    background: rgba(255, 245, 224, 0.72) !important;
    border-color: rgba(245, 166, 35, 0.18) !important;
    color: #7a4c0a !important;
    box-shadow: none !important;
    font-size: 0.8rem !important;
}

.hero-content h1 {
    max-width: 650px !important;
    font-family: var(--font-body) !important;
    font-size: clamp(3rem, 5.25vw, 5.05rem) !important;
    font-weight: 950 !important;
    line-height: 0.98 !important;
    letter-spacing: -0.052em !important;
    color: #181612 !important;
}

.hero-lead {
    max-width: 630px !important;
    font-size: clamp(1.02rem, 1.18vw, 1.16rem) !important;
    line-height: 1.72 !important;
    color: rgba(38, 33, 27, 0.76) !important;
    margin-bottom: 30px !important;
}

.hero-lead b {
    color: #181612 !important;
    font-weight: 900 !important;
}

.hero-ctas {
    margin-bottom: 34px !important;
    gap: 12px !important;
}

.btn-store {
    min-width: 174px !important;
    min-height: 64px !important;
    border-radius: 18px !important;
    padding: 11px 20px !important;
    background: linear-gradient(135deg, #1d1a16, #332f2a) !important;
    box-shadow: 0 14px 28px rgba(28, 26, 23, 0.18) !important;
}

.btn-store:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 36px rgba(28, 26, 23, 0.22) !important;
}

.btn-store-text span {
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
}

.btn-store-text strong {
    font-size: 1rem !important;
}

.hero-stats {
    width: min(520px, 100%) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: var(--pro-line) !important;
    box-shadow: var(--pro-shadow-tight) !important;
}

.hero-stats .stat-item {
    min-width: 0 !important;
    padding: 15px 17px !important;
}

.hero-stats .stat-number {
    font-family: var(--font-body) !important;
    font-size: 1.28rem !important;
    letter-spacing: -0.03em !important;
}

.hero-stats .stat-label {
    font-size: 0.78rem !important;
    color: rgba(91, 85, 77, 0.82) !important;
}

.hero-proof-row {
    gap: 8px !important;
}

.hero-proof-row span {
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.68) !important;
    border-color: rgba(138, 90, 18, 0.1) !important;
    font-size: 0.77rem !important;
}

.hero-preview-container {
    min-height: 640px !important;
}

.hero-preview-container::before {
    width: 430px !important;
    height: 520px !important;
    border-radius: 48% !important;
    background:
        radial-gradient(circle at 50% 32%, rgba(245, 166, 35, 0.18), transparent 48%),
        radial-gradient(circle at 38% 72%, rgba(16, 185, 129, 0.1), transparent 45%) !important;
    filter: blur(10px) !important;
    transform: translate(8px, 10px) !important;
}

.hero-preview-container::after {
    content: 'Pediatri hattı hazır';
    position: absolute;
    right: clamp(8px, 4vw, 42px);
    top: 74px;
    z-index: 3;
    padding: 10px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(31, 26, 20, 0.08);
    color: #704609;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 900;
}

.hero-phone-mockup {
    width: min(350px, 100%) !important;
    height: 630px !important;
    border-width: 11px !important;
    border-radius: 48px !important;
    background: #fffaf2 !important;
    border-color: #25221e !important;
    box-shadow:
        0 38px 92px rgba(31, 26, 20, 0.23),
        0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
    animation-duration: 11s !important;
}

.phone-status-bar {
    padding: 17px 20px 6px !important;
}

.phone-app-header {
    padding: 13px 16px 14px !important;
    background: rgba(255, 255, 255, 0.32) !important;
}

.phone-dashboard-scroll {
    padding: 13px !important;
    gap: 13px !important;
}

.dash-card {
    border-radius: 18px !important;
    padding: 14px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(85, 70, 45, 0.105) !important;
}

.btn-dash-call {
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-deep)) !important;
    box-shadow: 0 10px 18px rgba(245, 166, 35, 0.18) !important;
}

.trust-rail {
    max-width: 1080px !important;
    margin: 0 auto 70px !important;
    gap: 10px !important;
}

.trust-item {
    min-height: 78px !important;
    padding: 17px 18px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: var(--pro-line) !important;
    box-shadow: 0 10px 24px rgba(31, 26, 20, 0.04) !important;
}

.trust-item span {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
}


.scroll-split-section {
    height: 150vh !important;
}

.panel-content h2 {
    font-family: var(--font-body) !important;
    font-size: clamp(2rem, 3.4vw, 3.35rem) !important;
    letter-spacing: -0.045em !important;
}

.panel-content p {
    max-width: 320px !important;
    line-height: 1.65 !important;
}

.section-container {
    padding: 116px 24px !important;
}

.section-title {
    font-family: var(--font-body) !important;
    font-weight: 950 !important;
    letter-spacing: -0.052em !important;
    color: #181612 !important;
}

.section-subtitle {
    color: rgba(91, 85, 77, 0.78) !important;
}

.feature-card,
.telehealth-details-box,
.calculator-layout,
.faq-item {
    background: var(--pro-surface) !important;
    border-color: var(--pro-line) !important;
    box-shadow: 0 16px 42px rgba(31, 26, 20, 0.045) !important;
}

.feature-card {
    border-radius: 18px !important;
}

.feature-card h3 {
    font-family: var(--font-body) !important;
    letter-spacing: -0.02em !important;
}

.feature-card p {
    color: rgba(91, 85, 77, 0.78) !important;
}

.cta-inner {
    background:
        radial-gradient(circle at 18% 24%, rgba(245, 166, 35, 0.18), transparent 30%),
        linear-gradient(135deg, #191612 0%, #2b241c 100%) !important;
    box-shadow: 0 28px 78px rgba(31, 26, 20, 0.18) !important;
}

.lullaby-player-widget {
    right: 18px !important;
    bottom: 18px !important;
    background: rgba(28, 26, 23, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 16px 38px rgba(31, 26, 20, 0.22) !important;
}

@media (max-width: 1024px) {
    .hero-section {
        margin: 104px 18px 30px !important;
        padding: 46px 30px 54px !important;
        grid-template-columns: 1fr !important;
    }

    .hero-content h1 {
        max-width: 760px !important;
    }

    .hero-preview-container {
        min-height: auto !important;
    }

    .hero-preview-container::after {
        right: 16px !important;
        top: 36px !important;
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 10px !important;
        width: calc(100% - 20px) !important;
        border-radius: 24px !important;
    }

    .header-container {
        height: 68px !important;
        padding: 0 16px !important;
    }

    .hero-section {
        margin: 96px 12px 24px !important;
        padding: 34px 20px 40px !important;
        border-radius: 24px !important;
    }

    .badge-hero {
        max-width: 100% !important;
        font-size: 0.75rem !important;
    }

    .hero-content h1 {
        font-size: clamp(2.35rem, 10vw, 3.3rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.043em !important;
    }

    .hero-lead {
        font-size: 1rem !important;
        line-height: 1.68 !important;
    }

    .hero-ctas {
        align-items: stretch !important;
    }

    .btn-store {
        width: min(250px, 100%) !important;
        min-height: 60px !important;
        justify-content: center !important;
    }

    .hero-stats {
        border-radius: 18px !important;
    }

    .hero-preview-container::after {
        display: none !important;
    }

    .hero-phone-mockup {
        width: min(304px, 88vw) !important;
        height: 548px !important;
        border-radius: 42px !important;
    }

    .trust-rail {
        margin-bottom: 52px !important;
    }


    .section-container {
        padding: 78px 18px !important;
    }

    /* Bento Video Grid Mobile Styles */
    .video-merge-hero {
        padding: 0 16px !important;
        margin: 64px auto 34px auto !important;
        gap: 24px !important;
    }

    .video-grid-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .video-grid-column {
        height: 220px !important;
        border-radius: 20px !important;
    }

    .col-label {
        bottom: 16px !important;
        left: 16px !important;
        right: 16px !important;
        height: 48px !important;
        border-radius: 14px !important;
        padding: 0 12px !important;
    }

    .col-label span {
        font-size: 0.88rem !important;
        margin-left: 8px !important;
        display: block !important;
    }

    .col-eq-bars {
        display: flex !important;
    }
}

/* ==========================================================================
   FINAL LAYOUT QA LOCK
   Single last layer for corrected structure, sizing, and professional finish.
   ========================================================================== */
:root {
    --background-alt: #fffaf2;
    --ink-muted: rgba(91, 85, 77, 0.72);
    --board-bg: #fbfaf8;
    --board-ink: #171512;
    --board-muted: rgba(54, 48, 40, 0.68);
    --board-line: rgba(52, 44, 34, 0.105);
    --board-shadow: 0 20px 56px rgba(34, 28, 20, 0.075);
}

body {
    background:
        radial-gradient(circle at 76% 0%, rgba(245, 166, 35, 0.09), transparent 28%),
        radial-gradient(circle at 8% 18%, rgba(16, 185, 129, 0.05), transparent 24%),
        linear-gradient(180deg, var(--board-bg) 0%, #f8f5ef 58%, #fffaf3 100%) !important;
    overflow-x: hidden !important;
}

.landing-main > * {
    order: 0 !important;
}

.glow-blob {
    opacity: 0.08 !important;
    filter: blur(42px) !important;
}

.main-header {
    width: min(1120px, calc(100% - 56px)) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 14px 42px rgba(34, 28, 20, 0.065) !important;
}

.header-container {
    height: 62px !important;
}

.logo-text {
    font-size: 1.26rem !important;
}

.nav-links a {
    font-size: 0.84rem !important;
    color: rgba(28, 26, 23, 0.62) !important;
}

.btn-header-cta {
    min-width: 124px !important;
    height: 42px !important;
    border-radius: 14px !important;
}

.hero-section {
    max-width: 1168px !important;
    margin: 110px auto 34px !important;
    padding: clamp(48px, 5.1vw, 70px) clamp(28px, 5vw, 66px) !important;
    grid-template-columns: minmax(0, 0.96fr) minmax(330px, 1.04fr) !important;
    border-radius: 28px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 246, 0.9)),
        radial-gradient(circle at 84% 26%, rgba(245, 166, 35, 0.095), transparent 28%),
        radial-gradient(circle at 14% 82%, rgba(16, 185, 129, 0.055), transparent 34%) !important;
    border-color: rgba(255, 255, 255, 0.96) !important;
    box-shadow: var(--board-shadow) !important;
}

.hero-section::before {
    opacity: 0.36 !important;
    background-size: 52px 52px !important;
}

.badge-hero {
    padding: 6px 11px !important;
    margin-bottom: 20px !important;
    border-radius: 10px !important;
    font-size: 0.75rem !important;
    color: rgba(122, 76, 10, 0.9) !important;
}

.hero-content h1 {
    max-width: 610px !important;
    font-size: clamp(2.85rem, 4.65vw, 4.45rem) !important;
    font-weight: 900 !important;
    line-height: 1.03 !important;
    letter-spacing: -0.045em !important;
    color: var(--board-ink) !important;
    margin-bottom: 24px !important;
}

.hero-lead {
    max-width: 610px !important;
    font-size: clamp(1rem, 1.07vw, 1.1rem) !important;
    line-height: 1.76 !important;
    color: var(--board-muted) !important;
    margin-bottom: 28px !important;
}

.hero-ctas {
    margin-bottom: 30px !important;
}

.btn-store {
    min-width: 166px !important;
    min-height: 58px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #171512, #2a251f) !important;
    box-shadow: 0 12px 26px rgba(28, 26, 23, 0.15) !important;
}

.btn-store svg {
    width: 22px !important;
    height: 22px !important;
}

.hero-stats {
    width: min(500px, 100%) !important;
    border-radius: 16px !important;
    border-color: var(--board-line) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow: 0 12px 28px rgba(34, 28, 20, 0.042) !important;
}

.hero-stats .stat-item {
    padding: 14px 16px !important;
}

.hero-stats .stat-number {
    font-size: 1.18rem !important;
}

.hero-stats .stat-label,
.hero-proof-row span {
    font-size: 0.74rem !important;
}

.hero-proof-row span {
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: var(--board-line) !important;
    color: rgba(54, 48, 40, 0.7) !important;
}

.hero-preview-container {
    min-height: 610px !important;
}

.hero-preview-container::after {
    display: none !important;
}

.hero-preview-container::before {
    width: 420px !important;
    height: 500px !important;
    opacity: 0.88 !important;
}

.hero-phone-mockup {
    width: min(338px, 100%) !important;
    height: 608px !important;
    border-radius: 44px !important;
    border-width: 10px !important;
    box-shadow:
        0 32px 78px rgba(34, 28, 20, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

.phone-island,
.phone-sos-pill {
    border-radius: 10px !important;
}

.dash-card {
    border-radius: 16px !important;
    box-shadow: 0 9px 20px rgba(34, 28, 20, 0.038) !important;
}

.card-telehealth-live,
.card-ai-cry,
.card-care-plan-mini {
    background: rgba(255, 255, 255, 0.82) !important;
}

.trust-rail {
    max-width: 1040px !important;
    margin-bottom: 74px !important;
}

.trust-item {
    min-height: 72px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: var(--board-line) !important;
    box-shadow: 0 8px 22px rgba(34, 28, 20, 0.035) !important;
}

.trust-item svg {
    width: 20px !important;
    height: 20px !important;
}

.trust-item span {
    font-size: 0.86rem !important;
}

.video-merge-hero {
    max-width: 1120px !important;
    margin: 0 auto 84px !important;
    padding: 0 24px !important;
}

.video-title {
    font-size: clamp(2rem, 3.7vw, 3.4rem) !important;
    letter-spacing: -0.044em !important;
}

.video-subtitle {
    max-width: 650px !important;
    font-size: clamp(0.96rem, 1.2vw, 1.1rem) !important;
}

.video-grid-container {
    gap: 18px !important;
}

.video-grid-column {
    height: clamp(360px, 42vw, 440px) !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 42px rgba(34, 28, 20, 0.08) !important;
}

.col-label {
    transform: none !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
}

.scroll-split-section {
    height: 126vh !important;
}

.split-panel {
    background:
        radial-gradient(circle at 50% 36%, rgba(245, 166, 35, 0.11), transparent 32%),
        linear-gradient(135deg, #1e1a16 0%, #11100e 100%) !important;
}

.panel-content h2 {
    font-size: clamp(1.9rem, 3vw, 2.9rem) !important;
    font-weight: 900 !important;
}

.panel-content p {
    font-size: 0.98rem !important;
    color: rgba(255, 250, 242, 0.64) !important;
}

.section-container {
    max-width: 1180px !important;
    padding-top: 106px !important;
    padding-bottom: 106px !important;
}

.section-title {
    font-size: clamp(2.1rem, 3.45vw, 3.15rem) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
}

.section-subtitle {
    font-size: 1.02rem !important;
}

.features-grid {
    gap: 18px !important;
}

.feature-card {
    border-radius: 16px !important;
    border-color: var(--board-line) !important;
    box-shadow: 0 12px 30px rgba(34, 28, 20, 0.036) !important;
}

.feature-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 42px rgba(34, 28, 20, 0.062) !important;
}

.feature-icon {
    border-radius: 13px !important;
}

.telehealth-details-box,
.calculator-layout {
    border-radius: 22px !important;
    box-shadow: 0 16px 44px rgba(34, 28, 20, 0.05) !important;
}

.faq-item {
    border-radius: 16px !important;
}

.lullaby-player-widget {
    transform: scale(0.92) !important;
    opacity: 0.86 !important;
}

@media (max-width: 980px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 88px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        height: auto !important;
        max-height: calc(100vh - 108px) !important;
        padding: 16px !important;
        border-radius: 22px !important;
        background: linear-gradient(180deg, #fffefd, #fbf8f2) !important;
        border: 1px solid rgba(255, 255, 255, 0.86) !important;
        box-shadow: 0 24px 64px rgba(34, 28, 20, 0.16) !important;
        backdrop-filter: blur(22px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
        flex-direction: column !important;
        gap: 6px !important;
        z-index: 2000 !important;
        overflow-y: auto !important;
        transition: none !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        width: 100% !important;
        min-height: 46px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
        justify-content: center !important;
        text-align: center !important;
        color: var(--text-primary) !important;
        font-size: 0.96rem !important;
        background: rgba(246, 242, 235, 0.66) !important;
    }

    .nav-links a::after {
        display: none !important;
    }

    .nav-links a:hover {
        color: var(--text-primary) !important;
        background: rgba(245, 166, 35, 0.13) !important;
    }

    .btn-header-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr !important;
    }

    .hero-preview-container {
        min-height: 590px !important;
    }
}

@media (max-width: 768px) {
    .main-header {
        width: calc(100% - 20px) !important;
        border-radius: 22px !important;
    }

    .hero-section {
        margin: 94px 12px 24px !important;
        padding: 32px 20px 38px !important;
        border-radius: 22px !important;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 9.5vw, 3.05rem) !important;
        line-height: 1.04 !important;
        letter-spacing: -0.04em !important;
    }

    .hero-lead {
        font-size: 0.98rem !important;
    }

    .btn-store {
        min-height: 58px !important;
        border-radius: 14px !important;
    }

    .hero-phone-mockup {
        width: min(294px, 86vw) !important;
        height: 528px !important;
    }

    .video-merge-hero {
        margin: 54px auto 52px !important;
        padding: 0 16px !important;
    }

    .video-grid-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .video-grid-column {
        height: 230px !important;
        border-radius: 20px !important;
    }

    .col-label {
        left: 16px !important;
        right: 16px !important;
        transform: none !important;
        height: 48px !important;
    }

    .scroll-split-section {
        height: auto !important;
        min-height: 660px !important;
    }

    .sticky-viewport {
        height: 660px !important;
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 2.7rem) !important;
    }
}
