/* ============================================================
   IMCURE Plans Page — Light Healthcare Design (imcure.in match)
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
    /* Primary accent — deep blue (matching home page #003399) */
    --blue:          #003399;
    --blue-2:        #002277;
    --blue-light:    #4D7FE0;
    --blue-muted:    rgba(0, 51, 153, 0.08);
    --blue-border:   rgba(0, 51, 153, 0.18);
    --blue-glow:     rgba(0, 51, 153, 0.20);

    /* Green for healthcare benefits */
    --green:         #2A8E6A;
    --green-muted:   rgba(42, 142, 106, 0.08);
    --green-border:  rgba(42, 142, 106, 0.20);

    /* Orange CTA accent — matches home page #FF6600 */
    --orange:        #FF6600;
    --orange-2:      #E05500;
    --orange-muted:  rgba(255, 102, 0, 0.08);
    --orange-border: rgba(255, 102, 0, 0.20);
    --orange-glow:   rgba(255, 102, 0, 0.22);

    /* Backgrounds */
    --bg:            #FFFFFF;
    --bg-2:          #EEF3FF;
    --bg-3:          #F5F8FF;
    --glass:         rgba(255, 255, 255, 0.92);
    --glass-hover:   rgba(255, 255, 255, 1.0);
    --border:        rgba(0, 51, 153, 0.10);
    --border-hover:  rgba(0, 51, 153, 0.24);

    /* Text */
    --white:         #ffffff;
    --text-1:        #1A1A2E;
    --text-2:        #4A4A6A;
    --text-3:        #8888AA;

    --radius-xl:     24px;
    --radius-lg:     18px;
    --radius-md:     12px;
    --radius-sm:     8px;
    --radius-pill:   100px;

    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast:        0.25s;
    --t-mid:         0.4s;
    --t-slow:        0.6s;

    /* Shadows */
    --shadow-sm:     0 1px 8px rgba(0, 51, 153, 0.06);
    --shadow:        0 4px 20px rgba(0, 51, 153, 0.08);
    --shadow-md:     0 8px 32px rgba(0, 51, 153, 0.10);
    --shadow-lg:     0 20px 56px rgba(0, 51, 153, 0.13);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---- BACKGROUND LAYER (hidden — hero has its own slideshow) ---- */
.bg-layer,
.bg-grid,
.bg-orb { display: none; }

/* ---- NAVIGATION ---- */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: rgba(8, 12, 35, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.60);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    transition:
        color       var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease),
        background  var(--t-fast) var(--ease);
}

.nav-back svg { flex-shrink: 0; }

.nav-back:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.08);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    z-index: 10;
    padding: 120px 48px 88px;
    text-align: center;
    background: #080c23;
    overflow: hidden;
}

/* ---- HERO SLIDESHOW ---- */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: heroSlide 60s linear infinite;
    will-change: opacity;
}

.hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* 15 slides × 4s = 60s cycle */
@keyframes heroSlide {
    0%      { opacity: 0; }
    1.67%   { opacity: 1; }
    5%      { opacity: 1; }
    6.67%   { opacity: 0; }
    100%    { opacity: 0; }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 40, 0.62);
    z-index: 1;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.90);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    margin-bottom: 36px;
    backdrop-filter: blur(12px);
}

.badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255,102,0,0.5);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,102,0,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(255,102,0,0); }
}

/* Hero headline */
.hero-headline {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 32px;
}

/* Hero headline gradient — orange/warm on dark bg */
.text-gold-gradient {
    background: linear-gradient(135deg, #FF6600 0%, #FFB347 50%, #FF8C00 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* Solid blue for section heading highlights — no background-clip (unreliable on mobile) */
.section-title .text-gold-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #003399 !important;
    color: #003399 !important;
    animation: none !important;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtext {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.85;
    max-width: 580px;
    margin: 0 auto 72px;
    letter-spacing: 0.2px;
}

/* Hero stats bar */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    padding: 26px 52px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 52px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 32px;
}

.stat-val,
.stat-val-text {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    line-height: 1;
}

.stat-plus {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    margin-left: 1px;
}

.stat-lbl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.48);
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.stat-sep {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.40);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBob 2.4s ease-in-out infinite;
}

@keyframes scrollBob {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%       { transform: translateY(5px); opacity: 0.9; }
}

/* ---- PLANS SECTION ---- */
.plans-wrap {
    position: relative;
    z-index: 10;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.section-intro {
    text-align: center;
    margin-bottom: 56px;
}

/* Blue accent line above section title */
.section-intro::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    margin: 0 auto 24px;
    border-radius: 2px;
}

.section-title {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-1);
}

.section-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-2);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Plans list */
.plans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---- PLAN CARD ---- */
.plan-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 51, 153, 0.10);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        border-color var(--t-mid) var(--ease),
        box-shadow    var(--t-mid) var(--ease),
        transform     var(--t-mid) var(--ease),
        opacity       0.5s var(--ease),
        background    var(--t-mid) var(--ease);
    position: relative;

    /* Fade-in initial state — JS adds .visible */
    opacity: 0;
    transform: translateY(18px);
}

.plan-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover state */
.plan-card:hover {
    border-color: rgba(0, 51, 153, 0.24);
    box-shadow: var(--shadow-md);
}

.plan-card.visible:hover {
    transform: translateY(-2px);
}

/* Open state */
.plan-card.is-open {
    border-color: rgba(0, 51, 153, 0.30);
    background: #FAFCFF;
    box-shadow: var(--shadow-lg);
}

.plan-card.visible.is-open {
    transform: translateY(-1px);
}

/* Popular card — orange accent */
.plan-card.is-popular {
    border-color: rgba(255, 102, 0, 0.30);
    background: #FFFCF9;
    box-shadow:
        0 0 0 1px rgba(255, 102, 0, 0.08),
        0 6px 28px rgba(255, 102, 0, 0.10);
}

/* ---- PLAN HEADER (always visible) ---- */
.plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.plan-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

/* Plan icon */
.plan-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--blue-muted);
    border: 1px solid var(--blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition:
        background var(--t-mid) var(--ease),
        box-shadow  var(--t-mid) var(--ease),
        transform   var(--t-mid) var(--ease-bounce);
}

.plan-card:hover .plan-icon-wrap,
.plan-card.is-open .plan-icon-wrap {
    background: rgba(0, 51, 153, 0.13);
    box-shadow: 0 4px 16px rgba(0, 51, 153, 0.18);
    transform: scale(1.05);
}

/* Plan info text */
.plan-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.plan-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.plan-name {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-1);
    white-space: nowrap;
}

.plan-tagline {
    font-size: 13px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Popular badge — orange (matches home page CTA) */
.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #FF6600, #FF8C00);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Right: price + toggle */
.plan-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.plan-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.plan-price-amount {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #003399, #4D7FE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.plan-price-period {
    font-size: 11px;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Toggle arrow button */
.plan-toggle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue-muted);
    border: 1px solid var(--blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background var(--t-fast) var(--ease),
        box-shadow  var(--t-fast) var(--ease);
}

.plan-toggle-btn svg {
    width: 15px;
    height: 15px;
    fill: var(--blue);
    transition: transform var(--t-mid) var(--ease);
    display: block;
}

.plan-card.is-open .plan-toggle-btn {
    background: rgba(0, 51, 153, 0.14);
    box-shadow: 0 2px 10px rgba(0, 51, 153, 0.20);
}

.plan-card.is-open .plan-toggle-btn svg {
    transform: rotate(180deg);
}

/* ---- PLAN BODY (accordion content) ---- */
.plan-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow) var(--ease);
}

.plan-body.is-open {
    max-height: 1800px;
}

/* Separator between header and body */
.plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 51, 153, 0.12), transparent);
    margin: 0 28px;
    opacity: 0;
    transition: opacity var(--t-mid) var(--ease);
}

.plan-card.is-open .plan-divider {
    opacity: 1;
}

/* Two-column benefit grid */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 24px 28px 0;
}

/* ---- BENEFIT CARD ---- */
.benefit-box {
    background: rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-mid) var(--ease);
}

/* Top accent line */
.benefit-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 0 0 2px 2px;
    opacity: 0;
    transition: opacity var(--t-mid) var(--ease);
}

.benefit-box.hc-box::before  { background: linear-gradient(90deg, transparent, var(--green), transparent); }
.benefit-box.ins-box::before { background: linear-gradient(90deg, transparent, var(--blue), transparent); }

.plan-card.is-open .benefit-box::before { opacity: 1; }

.benefit-box.hc-box  {
    background: rgba(42, 142, 106, 0.04);
    border-color: rgba(42, 142, 106, 0.18);
}
.benefit-box.ins-box {
    background: rgba(0, 51, 153, 0.04);
    border-color: rgba(0, 51, 153, 0.15);
}

/* Box header */
.box-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.box-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hc-box  .box-icon { background: var(--green-muted);  border: 1px solid var(--green-border); }
.ins-box .box-icon { background: var(--blue-muted);   border: 1px solid var(--blue-border);  }

.box-labels { display: flex; flex-direction: column; gap: 2px; }

.box-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.hc-box  .box-title { color: var(--green); }
.ins-box .box-title { color: var(--blue);  }

.box-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Feature list */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.45;
}

.feature-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.hc-box  .feature-check { background: var(--green-muted); color: var(--green); border: 1px solid var(--green-border); }
.ins-box .feature-check { background: var(--blue-muted);  color: var(--blue);  border: 1px solid var(--blue-border);  }

/* Insurance coverage display */
.coverage-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--blue-muted);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-top: 14px;
    width: 100%;
}

.coverage-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.coverage-amount {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, #003399, #4D7FE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.coverage-note {
    font-size: 11px;
    color: var(--text-3);
    line-height: 1.5;
    margin-top: 10px;
}

.no-coverage-text {
    font-size: 13px;
    color: var(--text-3);
    font-style: italic;
    padding: 10px 0;
}

.upgrade-hint {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 8px;
    line-height: 1.5;
}

/* ---- BUY ACTION STRIP ---- */
.buy-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 28px 28px;
}

.buy-summary {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.55;
    max-width: 360px;
}

.buy-summary strong {
    color: var(--text-1);
    font-weight: 600;
}

/* Buy button — solid blue pill (matches ihp-btn-gold style from home) */
.buy-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--blue);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--blue-glow);
    transition:
        background  var(--t-mid) var(--ease),
        transform   var(--t-mid) var(--ease-bounce),
        box-shadow  var(--t-mid) var(--ease);
}

/* Shimmer sweep on hover */
.buy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.buy-btn:hover::after { left: 160%; }

.buy-btn:hover {
    background: var(--blue-2);
    border-color: var(--blue-2);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 28px rgba(0, 51, 153, 0.32);
}

.buy-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(0, 51, 153, 0.20);
}

.btn-arrow {
    font-size: 17px;
    transition: transform var(--t-fast) var(--ease);
}

.buy-btn:hover .btn-arrow { transform: translateX(4px); }

/* ---- WHY SECTION ---- */
.why-section {
    position: relative;
    z-index: 10;
    padding: 100px 48px 120px;
    background: var(--bg-2);
}

.why-inner {
    max-width: 880px;
    margin: 0 auto;
}

.why-inner .section-title {
    text-align: center;
    margin-bottom: 56px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.why-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 51, 153, 0.08);
    border-radius: var(--radius-xl);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition:
        border-color var(--t-mid) var(--ease),
        box-shadow   var(--t-mid) var(--ease),
        transform    var(--t-mid) var(--ease-bounce);

    /* Fade-in initial state */
    opacity: 0;
    transform: translateY(18px);
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    border-color: rgba(0, 51, 153, 0.20);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 51, 153, 0.12));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-icon {
    filter: drop-shadow(0 4px 14px rgba(0, 51, 153, 0.22));
    transform: translateY(-3px) scale(1.08);
}

.why-card h3 {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.why-card p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ---- FOOTER — dark blue matching home page footer ---- */
.site-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 40px;
    background: linear-gradient(135deg, #001066 0%, #002299 100%);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

.site-footer a:hover { color: #FF6600; }

/* ---- RESPONSIVE: TABLET ---- */
@media (max-width: 900px) {
    .top-nav     { padding: 16px 28px; }
    .logo-img    { height: 54px; }
    .hero        { padding: 80px 28px 72px; }
    .hero-stats  { padding: 20px 24px; }
    .hero-stat   { padding: 0 20px; }
    .plans-wrap  { padding: 0 20px 60px; }
    .why-section { padding: 72px 28px 80px; }
    .why-grid    { grid-template-columns: repeat(2, 1fr); }
    .hero-headline { letter-spacing: -2px; }
    .headline-em   { font-size: clamp(44px, 10vw, 72px); }
}

/* ---- RESPONSIVE: MOBILE ---- */
@media (max-width: 640px) {
    /* All animated elements visible by default — don't rely on GSAP on mobile */
    .plan-card,
    .why-card,
    .hero-badge,
    .hero-headline,
    .hero-subtext,
    .hero-stats,
    .hero-scroll-hint {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Nav */
    .top-nav  { padding: 12px 16px; }
    .logo-img { height: 44px; }
    .nav-back {
        font-size: 11px;
        padding: 7px 14px;
        letter-spacing: 0.5px;
    }

    /* Hero */
    .hero { padding: 56px 20px 48px; }
    .hero-headline {
        font-size: clamp(34px, 9vw, 52px);
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }
    .headline-em {
        font-size: clamp(38px, 11vw, 56px);
        letter-spacing: -1.5px;
    }
    .hero-subtext {
        font-size: 15px;
        margin-bottom: 36px;
        line-height: 1.7;
    }

    /* Stats bar — column layout, proper width */
    .hero-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 32px;
        gap: 14px;
        width: max-content;
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
    }
    .stat-sep { width: 48px; height: 1px; }
    .hero-stat { padding: 0; }
    .stat-val, .stat-val-text { font-size: 26px; }
    .stat-plus { font-size: 18px; }

    /* Plans section */
    .plans-wrap  { padding: 0 14px 48px; }
    .plan-header { padding: 16px 16px; gap: 10px; }
    .plan-icon-wrap { width: 40px; height: 40px; font-size: 18px; border-radius: 11px; }
    .plan-name  { font-size: 15px; }
    .plan-tagline { display: none; }
    .plan-price-amount { font-size: 20px; }
    .plan-toggle-btn   { width: 30px; height: 30px; }
    .plan-toggle-btn svg { width: 13px; height: 13px; }
    .plan-divider { margin: 0 16px; }

    .benefit-grid {
        grid-template-columns: 1fr;
        padding: 16px 16px 0;
        gap: 10px;
    }
    .benefit-box { padding: 18px; }
    .coverage-amount { font-size: 28px; }

    .buy-strip {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 16px 20px;
        gap: 12px;
    }
    .buy-btn {
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }
    .buy-summary { max-width: 100%; font-size: 12px; }

    /* Why section */
    .why-section { padding: 56px 16px 64px; }
    .why-section::before { display: none; }
    .why-grid    { grid-template-columns: 1fr 1fr; gap: 10px; }
    .why-card    { padding: 20px 14px; }
    .why-icon    { font-size: 32px; margin-bottom: 12px; }
    .why-card h3 { font-size: 13px; }
    .why-card p  { font-size: 12px; }

    /* Footer */
    .site-footer { padding: 24px 16px; font-size: 11px; }
    .site-footer p { line-height: 2; }

    /* Hide decorative elements */
    .marquee-wrap { display: none; }
    .section-intro::before { display: none; }
}

/* ---- RESPONSIVE: SMALL PHONES ---- */
@media (max-width: 400px) {
    .logo-img    { height: 38px; }
    .nav-back span { display: none; }      /* hide "Back to Home" text, keep arrow */
    .hero-stats  { padding: 16px 20px; }
    .hero-stat   { padding: 0; }
    .why-grid    { grid-template-columns: 1fr; }
    .popular-badge { display: none; }
    .plan-name   { font-size: 14px; }
    .plan-price-amount { font-size: 18px; }
}

/* ---- ACCESSIBILITY ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.plan-header:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
    border-radius: var(--radius-xl);
}

/* ================================================================
   DYNAMIC ENHANCEMENTS
   ================================================================ */

/* SplitType word containers */
.word { display: inline-block; }

/* Lenis — disable default browser smooth scroll */
html { scroll-behavior: auto; }

/* Glowing pulse on Most Popular card */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,102,0,0.08), 0 4px 20px rgba(0,0,0,0.06); }
    50%       { box-shadow: 0 0 48px rgba(255,102,0,0.22), 0 4px 20px rgba(0,0,0,0.06); }
}

.plan-card.is-popular.visible {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Shimmer scan on card hover */
@keyframes shimmerScan {
    0%   { transform: translateX(-200%); }
    100% { transform: translateX(500%); }
}

.plan-card::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 25%;
    background: linear-gradient(90deg, transparent, rgba(0,51,153,0.04), transparent);
    pointer-events: none;
    transform: translateX(-200%);
    border-radius: inherit;
}

.plan-card.visible:hover::after {
    animation: shimmerScan 0.9s ease forwards;
}

/* Floating icon when card is open */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-5px) scale(1.05); }
}

.plan-card.is-open .plan-icon-wrap {
    animation: iconFloat 2.5s ease-in-out infinite;
}

/* Smooth 3D tilt transition */
.plan-card {
    transition:
        border-color 0.4s cubic-bezier(0.4,0,0.2,1),
        box-shadow   0.4s cubic-bezier(0.4,0,0.2,1),
        transform    0.25s cubic-bezier(0.4,0,0.2,1),
        opacity      0.5s cubic-bezier(0.4,0,0.2,1),
        background   0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ================================================================
   PAGE VEIL (cinematic load-in)
   ================================================================ */
.page-veil {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #FFFFFF;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-veil.faded { opacity: 0; }

/* ================================================================
   MARQUEE STRIP
   ================================================================ */
.marquee-wrap {
    position: relative;
    z-index: 10;
    overflow: hidden;
    border-top:    1px solid rgba(0, 51, 153, 0.10);
    border-bottom: 1px solid rgba(0, 51, 153, 0.10);
    background: rgba(0, 51, 153, 0.03);
    padding: 13px 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0, 51, 153, 0.40);
    white-space: nowrap;
}

.marquee-sep { color: var(--orange); opacity: 0.8; }

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   EDITORIAL HEADLINE — Nunito 900 bold
   ================================================================ */
.headline-em {
    font-family: 'Nunito', system-ui, sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: clamp(56px, 9vw, 108px);
    line-height: 0.95;
    letter-spacing: -3px;
    display: block;
}

/* ================================================================
   WHY SECTION — cinematic vertical divider
   ================================================================ */
.why-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0,51,153,0.25), transparent);
}
