/* ==========================================================================
   OxiSure Tech Retention App - Complete Refined Healthcare Design System
   ========================================================================== */

:root {
    /* Refined Healthcare Color System */
    --navy-950: #07111e;
    --navy-900: #0f1e33;
    --navy-800: #1b304f;
    
    --blue-600: #0077b6;
    --blue-500: #0096c7;
    --blue-400: #38bdf8;
    --blue-100: #e0f2fe;
    --blue-50:  #f4f9fc;
    
    --gray-900: #0f172a;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f8fafc;
    --gray-50:  #ffffff;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1280px;

    --radius-btn: 10px;
    --radius-editorial: 24px;
}

/* Section Spacing & Scroll Margin */
section[id] {
    scroll-margin-top: 90px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Typography Weight Hierarchy */
h1 { font-size: 3.1rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1.18; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 700; color: #ffffff; }

p { color: var(--gray-600); font-size: 1.025rem; font-weight: 400; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.text-center { text-align: center; }

/* Section Title */
.section-title {
    margin-bottom: 2.5rem;
}
.section-title h2 {
    max-width: 650px;
}
.section-title p {
    font-size: 1.05rem;
    margin-top: 0.5rem;
    max-width: 680px;
    line-height: 1.5;
}
.section-title.text-center p {
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* Streamlined Navigation Header (78px) */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.04);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-logo-img {
    height: 44px;
    width: auto;
}
.logo-text-group {
    display: flex;
    flex-direction: column;
}
.logo-mark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy-900);
    line-height: 1.1;
}
.logo-mark.white { color: #ffffff; }
.logo-tag {
    font-size: 0.65rem;
    color: var(--blue-600);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}
.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover {
    color: var(--blue-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-btn);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}
.btn-primary {
    background: var(--navy-900);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--navy-800);
}
.btn-accent {
    background: var(--blue-600);
    color: #ffffff;
}
.btn-accent:hover {
    background: var(--blue-500);
}
.btn-outline {
    background: transparent;
    color: var(--navy-900);
    border: 1px solid var(--gray-200);
}
.btn-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
    background: var(--blue-50);
}
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--blue-600);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    margin-top: 0.75rem;
}
.btn-text-link .btn-arrow {
    transition: transform 0.2s ease;
}
.btn-text-link:hover .btn-arrow {
    transform: translateX(3px);
}

/* Store Buttons */
.store-buttons-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #0f172a;
    color: #ffffff;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #1e293b;
}
.store-button:hover { background: #1e293b; }
.store-icon { width: 20px; height: 20px; fill: currentColor; }
.store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.store-text .sub { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; color: #cbd5e1; }
.store-text .main { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: #ffffff; }

/* Eyebrow Label */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 0.75rem;
    display: block;
}

/* HERO SECTION (42% Copy / 58% Visual) */
.hero {
    padding: 3.5rem 0 4.5rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Continuous Thin Tubing Curve Line Motif */
.tubing-motif-svg {
    position: absolute;
    top: 5%;
    right: 2%;
    width: 65%;
    height: 90%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
}

.hero-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 620px;
}
.hero-lead {
    font-size: 1.1rem;
    margin-top: 1.15rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Enlarged Lifestyle Frame & Overlapping Screen */
.hero-editorial-wrapper {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 560px;
}

.hero-lifestyle-frame {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-editorial);
    overflow: hidden;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.1);
}
.hero-lifestyle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
}

/* Overlapping UI Device Screen Overlay (Contained & Fully Visible) */
.hero-device-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 230px;
    height: 440px;
    background: #0f172a;
    border-radius: 28px;
    padding: 6px;
    box-shadow: 0 20px 45px -5px rgba(15, 23, 42, 0.35);
    border: 3px solid #1e293b;
    z-index: 10;
    overflow: hidden;
    transition: transform 0.4s ease;
}
.hero-device-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 22px;
    display: block;
}

/* Floating UI Badges */
.hero-callout-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--navy-900);
    color: #ffffff;
    border-radius: 30px;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    z-index: 12;
    border: 1px solid #1e293b;
}
.hero-callout-badge .dot-cyan {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-400);
}

.hero-reminder-card {
    position: absolute;
    bottom: 35px;
    left: 20px;
    background: #ffffff;
    color: var(--navy-900);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    z-index: 11;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.hero-reminder-card svg {
    color: var(--blue-600);
    flex-shrink: 0;
}

/* Shallow Compact Trust Strip */
.trust-strip {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.85rem 0;
}
.trust-strip-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}
.trust-strip-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.trust-strip-item .tick {
    color: var(--blue-600);
    font-weight: 700;
}
.trust-tick-sep {
    color: var(--gray-300);
}

/* REFILL PRODUCTS SECTION - Shared Editorial Showcase */
.products-section {
    padding: 4.5rem 0;
    background: var(--blue-50);
    border-bottom: 1px solid var(--gray-200);
}
.products-intro-row {
    margin-bottom: 3rem;
}
.products-intro-row h2 {
    max-width: 600px;
}

.product-editorial-showcase {
    display: grid;
    grid-template-columns: 44% 56%;
    gap: 3.5rem;
    align-items: stretch;
}
.product-editorial-item {
    background: #ffffff;
    border-radius: var(--radius-editorial);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s ease;
}
.product-editorial-item.item-bundle {
    border: 1px solid #d0e4ff;
    box-shadow: 0 8px 30px -5px rgba(0, 119, 182, 0.08);
}
.badge-best-value {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--navy-900);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}
.product-img-container {
    width: 100%;
    height: 270px; /* ENLARGED PHOTOGRAPHY */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}
.product-img-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.product-editorial-item:hover .product-img-container img {
    transform: scale(1.02);
}
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin: 1.25rem 0 1.5rem;
}
.product-price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--navy-900);
}
.product-savings-note {
    font-size: 0.85rem;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
}

/* IMMERSIVE STICKY PRODUCT LIFECYCLE SECTION */
.story-section {
    background: var(--navy-900);
    color: #ffffff;
    position: relative;
    height: 300vh; /* Smooth sticky scroll runway */
}
.story-sticky-container {
    position: sticky;
    top: 78px;
    height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.story-section h2 { color: #ffffff; }

.lifecycle-nav-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 1.25rem 0 2.5rem;
    letter-spacing: 0.05em;
}
.lifecycle-nav-progress .nav-step {
    cursor: pointer;
    transition: color 0.3s ease;
}
.lifecycle-nav-progress .nav-step.active {
    color: var(--blue-400);
}

.story-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 4rem;
    align-items: center;
}
.story-narrative-box {
    max-width: 460px;
    min-height: 220px; /* LOCKED HEIGHT TO PREVENT TEXT MOVEMENT ON SCROLL */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.story-step-indicator {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue-400);
    letter-spacing: 0.1em;
    margin-bottom: 0.65rem;
    display: block;
}
.story-narrative-box h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
.story-narrative-box p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.story-device-stage {
    display: flex;
    justify-content: center;
    position: relative;
}
/* SUBTLE RADIAL ILLUMINATION BEHIND DEVICE */
.story-device-stage::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* FIXED & UNIFORM APP DEVICE VIEWPORT (310px x 560px) */
.story-large-device {
    width: 310px;
    height: 560px; /* FIXED DIMENSIONS SO EVERY SINGLE STEP IS IDENTICAL */
    background: #0f172a;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45);
    border: 3px solid #1e293b;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.story-large-device img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* LOCK IMAGE FIT */
    border-radius: 24px;
    display: block;
    transition: opacity 0.25s ease;
}

/* ASYMMETRIC FEATURE BENTO GRID SECTION */
.section {
    padding: 5rem 0;
}
.feature-section {
    background: var(--gray-100);
}
.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}
.bento-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-editorial);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-card.bento-large {
    grid-row: span 2;
    background: linear-gradient(180deg, #ffffff 0%, var(--blue-50) 100%);
    border-color: #cbd5e1;
}
.progress-bar-visual {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
}
.progress-track {
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
    overflow: hidden;
    margin: 0.75rem 0 0.5rem;
}
.progress-fill {
    height: 100%;
    width: 80%;
    background: var(--blue-600);
    border-radius: 5px;
}
.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* INTERACTIVE APP DEMO SECTION - ENLARGED & REFINED */
.demo-section {
    background: #ffffff;
    padding: 5.5rem 0;
}
.demo-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.demo-tab-btn {
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-btn);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.demo-tab-btn.active, .demo-tab-btn:hover {
    background: var(--navy-900);
    color: #ffffff;
    border-color: var(--navy-900);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.2);
}
.demo-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}
.demo-phone-frame {
    width: 100%;
    max-width: 340px;
    height: 610px;
    background: #0f172a;
    border-radius: 34px;
    padding: 8px;
    border: 3px solid #1e293b;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}
.demo-phone-frame .phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
    display: block;
    transition: opacity 0.25s ease;
}
.demo-video-frame {
    width: 100%;
    max-width: 340px;
    height: 610px;
    border: 8px solid #0f172a;
    border-radius: 34px;
    background: #000000;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}
.demo-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 26px;
}

/* FACTUAL TRUST SECTION */
.factual-trust-section {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 3rem 0;
}
.trust-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.trust-fact-item h4 {
    color: var(--navy-900);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.trust-fact-item p {
    font-size: 0.85rem;
}

/* FAQ ACCORDION SECTION */
.faq-section {
    background: #ffffff;
}
.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.faq-accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-btn);
    overflow: hidden;
    background: #ffffff;
}
.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-trigger:focus-visible {
    outline: 2px solid var(--blue-600);
}
.faq-icon-chevron {
    transition: transform 0.3s ease;
    color: var(--blue-600);
}
.faq-trigger[aria-expanded="true"] .faq-icon-chevron {
    transform: rotate(180deg);
}
.faq-panel {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    display: none;
}
.faq-trigger[aria-expanded="true"] + .faq-panel {
    display: block;
}

/* FINAL CTA PANEL SECTION */
#download {
    scroll-margin-top: 100px;
}
.cta-section {
    background: #ffffff;
    padding: 5.5rem 0;
}
.cta-card-panel {
    background: var(--navy-900);
    border-radius: var(--radius-editorial);
    padding: 4rem 3.5rem;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.2);
}
.cta-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: center;
}
.cta-content h2 {
    color: #ffffff;
    font-size: 2.3rem;
    font-weight: 650;
    line-height: 1.25;
}
.cta-content p {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-top: 1rem;
    line-height: 1.6;
}
.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cta-phone-frame {
    width: 290px;
    height: 520px;
    background: #0f172a;
    border-radius: 32px;
    padding: 8px;
    border: 3px solid #1e293b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.cta-phone-frame .phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

/* FOOTER */
.footer {
    background: var(--navy-950);
    color: #64748b;
    padding: 4rem 0 3rem;
    font-size: 0.88rem;
    border-top: 1px solid #1e293b;
}
.footer-grid-4 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-col h5 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #ffffff;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS — COMPLETE MOBILE OPTIMIZATION
   ========================================================================== */

/* ---- TABLET (≤1024px) ---- */
@media (max-width: 1024px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 1.95rem; }

    .hero-grid,
    .product-editorial-showcase,
    .story-grid,
    .bento-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-editorial-wrapper {
        height: 400px;
        max-width: 100%;
    }
    .hero-device-overlay {
        width: 180px;
        height: 340px;
    }

    /* Bento: remove row span on tablet, stack naturally */
    .bento-card.bento-large {
        grid-row: span 1;
    }

    /* Product cards side by side then stack */
    .product-editorial-showcase {
        grid-template-columns: 1fr 1fr;
    }

    /* CTA panel */
    .cta-card-panel {
        padding: 3rem 2rem;
    }
    .cta-phone-frame {
        width: 240px;
        height: 430px;
    }

    /* Footer */
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- MOBILE (≤768px) ---- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.65rem; }
    h3 { font-size: 1.15rem; }

    /* ---- NAVBAR ---- */
    .navbar {
        height: 58px;
    }
    .nav-links {
        display: none;
    }
    /* Hide "Use Web App" on mobile — it's in the hero already */
    .nav-actions .btn-outline {
        display: none;
    }
    .nav-actions .btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
    }
    .logo {
        gap: 0.5rem;
    }
    .nav-logo-img {
        height: 34px;
    }
    .logo-mark {
        font-size: 1rem;
    }
    .logo-tag {
        font-size: 0.58rem;
    }

    /* ---- HERO ---- */
    .hero {
        padding: 2.5rem 0 3rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-lead {
        font-size: 1rem;
    }
    .store-buttons-row {
        justify-content: center;
    }
    .btn-text-link {
        display: block;
        text-align: center;
    }

    .hero-editorial-wrapper {
        height: 320px;
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-device-overlay {
        width: 150px;
        height: 280px;
        bottom: 10px;
        right: 10px;
    }
    .hero-callout-badge {
        top: 15px;
        left: 10px;
        font-size: 0.78rem;
        padding: 0.45rem 0.9rem;
    }
    .hero-reminder-card {
        bottom: 15px;
        left: 10px;
        font-size: 0.75rem;
        padding: 0.45rem 0.75rem;
    }
    .tubing-motif-svg {
        display: none;
    }

    /* ---- TRUST STRIP ---- */
    .trust-strip-flex {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .trust-tick-sep {
        display: none;
    }
    .trust-strip-item {
        font-size: 0.82rem;
    }

    /* ---- PRODUCTS ---- */
    .products-section {
        padding: 3rem 0;
    }
    .product-editorial-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-editorial-item {
        padding: 1.75rem;
    }
    .product-img-container {
        height: 200px;
    }
    .product-price {
        font-size: 1.85rem;
    }
    .badge-best-value {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    /* ---- LIFECYCLE / STORY SECTION (STICKY SCROLL → STACKED ON MOBILE) ---- */
    .story-section {
        height: auto; /* Remove 300vh, disable sticky scroll on mobile */
        padding: 3rem 0;
    }
    .story-sticky-container {
        position: relative; /* Override sticky */
        top: auto;
        height: auto;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .story-narrative-box {
        min-height: auto;
        max-width: 100%;
        align-items: center;
    }
    .story-narrative-box h3 {
        font-size: 1.45rem;
    }
    .story-large-device {
        width: 240px;
        height: 430px;
        margin: 0 auto;
    }
    .lifecycle-nav-progress {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0.65rem;
        font-size: 0.82rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .lifecycle-nav-progress::-webkit-scrollbar {
        display: none;
    }
    .lifecycle-nav-progress .nav-step {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.35rem 0.5rem;
        min-width: 44px;
        text-align: center;
    }
    .lifecycle-nav-progress .nav-dot {
        flex-shrink: 0;
    }

    /* ---- BENTO / FEATURES ---- */
    .section {
        padding: 3.5rem 0;
    }
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bento-card {
        padding: 1.5rem;
    }

    /* ---- DEMO SECTION ---- */
    .demo-section {
        padding: 3.5rem 0;
    }
    .demo-tabs-nav {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .demo-tab-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.88rem;
    }
    .demo-stage {
        gap: 2rem;
    }
    .demo-phone-frame,
    .demo-video-frame {
        max-width: 280px;
        height: 500px;
    }

    /* ---- TRUST GRID ---- */
    .trust-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    /* ---- FAQ ---- */
    .faq-trigger {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    .faq-panel {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }

    /* ---- CTA ---- */
    .cta-section {
        padding: 3.5rem 0;
    }
    .cta-card-panel {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .cta-phone-frame {
        width: 220px;
        height: 400px;
        margin: 0 auto;
    }

    /* ---- FOOTER ---- */
    .footer {
        padding: 3rem 0 2rem;
    }
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* ---- SMALL MOBILE (≤480px) ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }

    /* Navbar: hide secondary button */
    .nav-actions .btn-outline {
        display: none;
    }
    .nav-actions .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 0 2.5rem;
    }
    .hero-editorial-wrapper {
        height: 260px;
    }
    .hero-device-overlay {
        width: 120px;
        height: 220px;
    }
    .hero-callout-badge {
        font-size: 0.72rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .store-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }
    .store-button {
        justify-content: center;
    }

    /* Product */
    .product-editorial-item {
        padding: 1.5rem;
    }
    .product-img-container {
        height: 170px;
    }
    .product-price {
        font-size: 1.6rem;
    }
    .badge-best-value {
        top: 1.25rem;
        right: 1.25rem;
        font-size: 0.65rem;
    }

    /* Lifecycle */
    .story-large-device {
        width: 200px;
        height: 360px;
    }
    .story-narrative-box h3 {
        font-size: 1.25rem;
    }

    /* Bento */
    .bento-card {
        padding: 1.25rem;
    }

    /* Demo */
    .demo-phone-frame,
    .demo-video-frame {
        max-width: 240px;
        height: 430px;
    }

    /* Trust */
    .trust-grid-4 {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-card-panel {
        padding: 2rem 1.25rem;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .cta-phone-frame {
        width: 180px;
        height: 330px;
    }

    /* Footer */
    .footer-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

