/* TruPe landing site — same tokens as the app (NewDesign/design_tokens.json) */
:root {
    --navy: #09265D;
    --navy-deep: #051636;
    --orange: #FF810B;
    --blue: #028FDD;
    --care: #4CAF50;
    --gold: #FFC107;
    --bg: #F4F7FA;
    --surface: #FFFFFF;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;

    --blue-tint: #E8F4FD;
    --orange-tint: #FFF1E3;
    --green-tint: #E8F6EA;
    --gold-tint: #FFF4D1;

    /* names the policy pages already use */
    --accent-primary: var(--blue);
    --text-secondary: var(--muted);
    --text-muted: var(--muted);

    --radius-card: 20px;
    --radius-btn: 12px;
    --shadow: 0 10px 30px rgba(9, 38, 93, 0.08);
    --shadow-lg: 0 24px 60px rgba(9, 38, 93, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.text-orange { color: var(--orange); }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: var(--radius-btn); border: 1.5px solid transparent;
    font: 600 16px 'Outfit', sans-serif; cursor: pointer; white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(255, 129, 11, 0.35); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(9, 38, 93, 0.28); }
.btn-glass { background: rgba(255, 255, 255, 0.10); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); }
.btn-ghost { background: #EFF3F8; color: var(--muted); cursor: default; }
.btn-ghost:hover { transform: none; }
.btn-whatsapp { background: #16A34A; color: #fff; height: 44px; font-size: 14px; }

/* ---------------------------------------------------------------- Header */
#site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .25s ease, box-shadow .25s ease;
}
#site-header.scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(9, 38, 93, 0.08); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 6px 12px; }
.logo-img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; color: #fff; }
#site-header.scrolled .nav-links { color: var(--text); }
.nav-links a:not(.btn) { opacity: .88; transition: opacity .15s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; }
#site-header.scrolled .nav-toggle span { background: var(--navy); }

/* Pages without the dark hero (policies) always get the solid header */
body:not(:has(.hero)) #site-header { background: rgba(255, 255, 255, 0.95); box-shadow: 0 6px 24px rgba(9, 38, 93, 0.08); }
body:not(:has(.hero)) .nav-links { color: var(--text); }
body:not(:has(.hero)) .nav-toggle span { background: var(--navy); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; min-height: min(100vh, 960px); min-height: min(100svh, 960px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-deep); }
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#hero-gl.no-webgl {
    background:
        radial-gradient(60% 50% at 75% 35%, rgba(2, 143, 221, 0.55), transparent 70%),
        radial-gradient(45% 40% at 60% 75%, rgba(255, 129, 11, 0.40), transparent 70%),
        linear-gradient(160deg, var(--navy-deep), var(--navy));
}
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(3, 12, 32, 0.55)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 120px 0 110px; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow-light { color: #FFC58A; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; font-weight: 700; letter-spacing: -0.02em; }
.hero-subtitle { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.82); max-width: 520px; }
.hero-subtitle strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.hero-points span { display: block; font-size: 30px; font-weight: 700; color: #fff; line-height: 1.1; }

.hero-stage { position: relative; height: 620px; perspective: 1400px; transform-style: preserve-3d; transition: transform .1s linear; }
.phone {
    position: absolute; width: 270px; border-radius: 38px; padding: 9px; background: #0B1220;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1.5px rgba(255, 255, 255, 0.14) inset;
    translate: var(--px, 0) var(--py, 0);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 1080 / 2424; object-fit: cover; object-position: top; }
.phone-front { left: 50%; top: 10px; margin-left: -150px; transform: translateZ(60px) rotate(-3deg); animation: floaty 7s ease-in-out infinite; z-index: 2; }
.phone-back { left: 50%; top: 70px; margin-left: 40px; transform: translateZ(-40px) rotate(7deg) scale(.9); opacity: .92; animation: floaty 8s ease-in-out -2s infinite; }
.float-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.96); color: var(--navy); font-size: 14px; font-weight: 600;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); translate: var(--px, 0) var(--py, 0); z-index: 3;
}
.chip-cashback { left: -2%; top: 24%; transform: translateZ(120px); }
.chip-cashback svg { color: var(--orange); }
.chip-level { right: -2%; bottom: 20%; transform: translateZ(140px); }
.chip-level svg { color: var(--care); }
@keyframes floaty { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------------------------------------------------------------- Sections */
.section { padding: 96px 0; }
.section-white { background: var(--surface); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header h2, .calc-inputs h2, .download-grid h2, .refer-hero h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.section-header p { margin-top: 12px; color: var(--muted); font-size: 17px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-tile {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 10px;
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 14px; font-weight: 500;
    transition: opacity .7s ease var(--d, 0ms), transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-tile.in:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.service-tile:nth-child(3n+2) .service-icon { background: var(--orange-tint); color: var(--orange); }
.service-tile:nth-child(3n) .service-icon { background: var(--green-tint); color: #2E8B3A; }
.service-icon svg { width: 26px; height: 26px; }

/* Modules */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module-card { position: relative; overflow: hidden; border-radius: var(--radius-card); min-height: 210px; display: flex; align-items: center; transition: opacity .7s ease var(--d, 0ms), transform .35s ease, box-shadow .35s ease; }
.module-card.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card img { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 60%; object-fit: cover; object-position: right; }
.module-text { position: relative; z-index: 1; padding: 28px; max-width: 58%; }
.module-text h3 { font-size: 24px; line-height: 1.15; font-weight: 600; color: var(--navy); margin: 10px 0 8px; }
.module-text p { color: var(--muted); font-size: 15px; }
.module-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: var(--orange); }
.mod-pay { background: linear-gradient(90deg, #D9ECFB, #BFDFF8); }
.mod-estore { background: linear-gradient(90deg, #FFF0E4, #FDE3D0); }
.mod-care { background: linear-gradient(90deg, #E6F4EA, #D3EBDA); }
.mod-care .module-tag { background: var(--care); }
.mod-edtech { background: linear-gradient(90deg, #E3F0FC, #CCE3F8); }
.mod-edtech .module-tag { background: var(--blue); }

/* Refer & earn */
.refer-hero { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(90deg, #0A2F7A, #0B3FA0); color: #fff; padding: 44px; min-height: 230px; display: flex; align-items: center; margin-bottom: 36px; box-shadow: var(--shadow-lg); }
.refer-hero > div { position: relative; z-index: 1; max-width: 560px; }
.refer-hero h2 { color: #fff; }
.refer-hero p { margin-top: 12px; color: rgba(255, 255, 255, 0.82); font-size: 17px; }
.refer-hero img { position: absolute; right: 0; top: 0; height: 100%; width: auto; }

.tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { flex: none; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 500 14px 'Outfit', sans-serif; cursor: pointer; transition: all .2s; }
.tab-btn:hover { border-color: var(--navy); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: paneIn .35s ease; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }

.plan-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.plan-self { background: var(--gold-tint); border: 1px solid rgba(255, 193, 7, 0.5); border-radius: var(--radius-card); padding: 26px; }
.plan-self span { font-size: 14px; color: #92400E; font-weight: 500; }
.plan-self strong { display: block; font-size: 52px; line-height: 1.1; color: var(--navy); font-weight: 700; margin: 6px 0; }
.plan-self small { color: var(--muted); font-size: 13px; }
.plan-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; overflow-x: auto; }
.level-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.level-table th { text-align: left; padding: 14px 20px; background: #EFF3F8; color: var(--muted); font-weight: 500; font-size: 13px; }
.level-table td { padding: 13px 20px; border-top: 1px solid var(--border); }
.level-table .earn { color: #15803D; font-weight: 600; }
.level-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: 14px; background: var(--blue-tint); }
.fine-print { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- Plan mega-section */
.plan-hero img { right: 0; top: 0; height: 100%; width: auto; max-width: 48%; object-fit: cover; object-position: left center; border-radius: 0 28px 28px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.plan-block { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 40px; margin-top: 28px; box-shadow: var(--shadow); }
.plan-block-head { max-width: 720px; margin-bottom: 26px; }
.plan-block-head h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.plan-block-head p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.sub-title { font-size: 20px; font-weight: 600; color: var(--navy); margin: 34px 0 16px; }
.plan-block .table-card { border-radius: 18px; }
.plan-block .fine-print { text-align: left; }

/* (a) Prime cards */
.prime-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prime-card { position: relative; border: 2px solid var(--orange); border-radius: 22px; padding: 26px 26px 24px; background: linear-gradient(180deg, #FFFCF8, #FFF6EC); display: flex; flex-direction: column; }
.prime-card-benefits { border-color: var(--navy); background: linear-gradient(180deg, #F7FAFF, #EEF4FD); }
.prime-card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange); margin-bottom: 14px; }
.prime-card-benefits .prime-card-icon { background: var(--blue-tint); color: var(--navy); }
.prime-card-icon svg { width: 24px; height: 24px; }
.prime-card h4 { font-size: 19px; font-weight: 600; color: var(--navy); }
.prime-card > strong { display: block; font-size: 30px; font-weight: 700; color: var(--navy); margin: 4px 0 14px; line-height: 1.15; }
.prime-card > strong small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.tick-list li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 15px; color: var(--text); }
.tick-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.prime-card-benefits .tick-list li::before { border-color: var(--blue); }
.prime-card-foot { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: #92400E; }
.invoice-lines { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(9, 38, 93, 0.25); display: grid; gap: 6px; }
.invoice-lines div { display: flex; justify-content: space-between; font-size: 14px; }
.invoice-lines dt { color: var(--muted); }
.invoice-lines dd { font-weight: 700; color: var(--navy); }

/* (b) Free vs Prime */
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare-table th { text-align: left; padding: 14px 18px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: var(--navy); color: #fff; }
.compare-table th.th-free { background: #2E7D4F; }
.compare-table th.th-prime { background: #A0522D; }
.compare-table td { padding: 12px 18px; border-top: 1px solid var(--border); vertical-align: top; }
.compare-table td.num { width: 44px; color: var(--muted); }
.compare-table td.feature { font-weight: 600; color: var(--navy); }
.compare-table td.free { background: #F2F9F4; color: #2E7D4F; }
.compare-table td.prime { background: #FBF3EE; color: #7A3E1F; font-weight: 500; }
.compare-table .star { color: var(--gold); margin-right: 6px; }

/* (c) Level income */
.plan-layout-levels .plan-summary { display: grid; gap: 16px; align-content: start; }
.rule-card { background: var(--blue-tint); border: 1px solid rgba(2, 143, 221, 0.35); border-radius: var(--radius-card); padding: 20px 22px; }
.rule-card strong { display: block; font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.rule-card p { font-size: 14px; color: var(--muted); }
.plan-layout-levels .plan-note { margin-top: 0; }
.level-table tfoot td { padding: 14px 20px; background: #EFF3F8; font-weight: 600; color: var(--navy); border-top: 1px solid var(--border); }
.level-table .row-continue td { background: var(--gold-tint); color: #7C4A03; font-weight: 600; }
.level-table .row-continue .level-dot { width: auto; padding: 0 10px; border-radius: 999px; border-color: var(--gold); color: #7C4A03; background: #fff; }
.free-table { min-width: 720px; }
.free-table td.feature { font-weight: 600; color: var(--navy); }

/* (e) Ranks */
.rank-table { min-width: 720px; }
.rank-pill { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #fff; background: var(--navy); }
.rank-bronze { background: #B4632C; }
.rank-silver { background: #6B7C93; }
.rank-gold { background: #D39A12; }
.rank-platinum { background: #4B6584; }
.rank-crown { background: #7C3AED; }
.rank-diamond { background: var(--blue); }
.rank-royal { background: #B91C1C; }
.reward-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reward-card { border: 1px solid var(--border); border-radius: 18px; padding: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.reward-card ul { display: grid; gap: 10px; }
.reward-card li { display: flex; flex-direction: column; }
.reward-card li strong { font-size: 16px; color: var(--navy); font-weight: 600; }
.reward-card li span { font-size: 14px; color: #15803D; font-weight: 600; }
.reward-card small { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--border); }

/* (f) 18 types of income */
.income-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; list-style: none; counter-reset: none; }
.income-types li { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--gold-tint); font-weight: 500; font-size: 15px; color: var(--text); }
.income-types li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700; font-size: 13px; }

/* (g) Distribution, withdrawal, extra */
.dist-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.dist-card, .rules-card { border: 1px solid var(--border); border-radius: 18px; padding: 24px; background: var(--bg); }
.dist-list { display: grid; gap: 12px; }
.dist-list li { display: grid; grid-template-columns: 170px 1fr 52px; align-items: center; gap: 12px; font-size: 14px; }
.dist-label { color: var(--text); font-weight: 500; }
.dist-bar { height: 12px; border-radius: 8px; background: #E2E8F0; overflow: hidden; }
.dist-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.dist-list strong { text-align: right; color: var(--navy); }
.rules-card h4, .extra-card h4 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.rule-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.rule-list li:last-child { border-bottom: 0; }
.rule-list span { color: var(--muted); }
.rule-list strong { color: var(--navy); text-align: right; }
.extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extra-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; border: 1px solid var(--border); border-radius: 18px; padding: 22px; background: var(--bg); }
.extra-card h4 { margin-bottom: 6px; }
.extra-card p { grid-column: 2; font-size: 15px; color: var(--muted); }
.extra-card strong { color: var(--navy); font-weight: 600; }
.extra-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange); }
.extra-icon svg { width: 26px; height: 26px; }

/* (h) Highlights */
.highlight-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.highlight-list li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 500; }
.highlight-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--green-tint); border: 2px solid #2E8B3A; }

/* ---------------------------------------------------------------- Company */
.company-grid { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr; gap: 20px; align-items: start; }
.company-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; height: 100%; }
.company-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.company-card h3.mt { margin-top: 24px; }
.team-list { display: grid; gap: 14px; }
.team-list li { display: flex; align-items: center; gap: 14px; }
.team-list strong { display: block; color: var(--navy); font-weight: 600; }
.team-list small { color: var(--muted); font-size: 13px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.team-list li:nth-child(2) .avatar { background: linear-gradient(135deg, var(--orange), #FFB25E); }
.team-list li:nth-child(3) .avatar { background: linear-gradient(135deg, #2E8B3A, #6CC27A); }
.info-list li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list span { color: var(--muted); }
.info-list strong { color: var(--navy); font-weight: 600; }
.info-list a:hover { color: var(--blue); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text); }
.chip-legal { background: var(--green-tint); border-color: rgba(46, 139, 58, 0.3); color: #1F6B2A; }

/* Calculator tabs */
.calc-tabs { margin-bottom: 4px; }
.calc-hint { font-size: 13px; color: var(--muted); margin: 14px 0 0 !important; }

/* Catalog */
.coupon-strip { display: flex; align-items: center; gap: 16px; background: var(--green-tint); border-radius: 16px; padding: 16px 20px; margin-bottom: 24px; }
.coupon-icon { width: 44px; height: 44px; border-radius: 12px; background: #16A34A; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.coupon-strip small { display: block; color: var(--muted); font-size: 13px; }
.coupon-code { background: #fff; border: 1px dashed #16A34A; border-radius: 6px; padding: 1px 8px; letter-spacing: .04em; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.catalog-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 12px; transition: transform .3s ease, box-shadow .3s ease; }
.catalog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.catalog-thumb { aspect-ratio: 4 / 3; border-radius: 12px; background: #EFF3F8; display: grid; place-items: center; overflow: hidden; color: #94A3B8; margin-bottom: 12px; }
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-thumb svg { width: 44px; height: 44px; }
.thumb-book { background: linear-gradient(160deg, #FFF4D1, #FBE3A8); color: #7C4A03; padding: 16px; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.2; }
.thumb-care { background: var(--green-tint); color: #2E8B3A; }
.catalog-cat { font-size: 12px; color: var(--muted); }
.catalog-card h3 { font-size: 15px; font-weight: 500; margin: 2px 0 8px; line-height: 1.3; min-height: 2.6em; }
.catalog-price { font-size: 18px; font-weight: 700; color: var(--navy); }
.catalog-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rx-pill { font-size: 11px; font-weight: 600; color: #DC2626; background: #FDE8E8; padding: 3px 8px; border-radius: 999px; }
.empty-note { text-align: center; color: var(--muted); padding: 32px 0; }

/* Calculator */
.calc-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.calc-inputs { padding: 44px; }
.calc-inputs p { color: var(--muted); margin: 10px 0 24px; }
.calc-result { background: linear-gradient(160deg, var(--navy), #0B3FA0); color: #fff; padding: 44px; display: flex; flex-direction: column; }
.calc-result > span { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.calc-result > strong { font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1.1; margin: 6px 0; color: #FFD9A8; }
.calc-result > small { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.calc-bars { margin-top: 26px; display: grid; gap: 9px; }
.calc-bar { display: grid; grid-template-columns: 28px 1fr 96px; align-items: center; gap: 10px; font-size: 13px; }
.calc-bar div { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.calc-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.calc-bar em { font-style: normal; text-align: right; color: rgba(255, 255, 255, 0.9); }
input[type="range"] { width: 100%; accent-color: var(--orange); height: 28px; }

/* Forms (also used by the account deletion page) */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin: 16px 0 6px; }
.form-control { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font: 400 16px 'Outfit', sans-serif; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2, 143, 221, 0.15); }
.btn-primary-form { height: 48px; border: 0; border-radius: var(--radius-btn); color: #fff; font: 600 16px 'Outfit', sans-serif; cursor: pointer; background: var(--orange); }

/* Download */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.download-art { border-radius: 24px; width: 100%; }
.download-grid p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--navy); font-size: 14px; }

/* Policy pages */
.app-policies-legal { background: var(--bg); }
.app-policies-legal .section-header h2 { color: var(--navy); }
.legal-content-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow); }
.legal-content-card h3 { color: var(--navy); font-weight: 600; margin: 22px 0 8px; font-size: 18px; }
.legal-content-card p, .legal-content-card li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.legal-content-card ul { list-style: disc; padding-left: 22px; }

/* ---------------------------------------------------------------- Footer */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-desc { margin-top: 16px; max-width: 300px; }
.footer-company { display: block; color: #fff; font-weight: 600; margin-bottom: 6px; }
footer h4 { color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.footer-links-list li { margin-bottom: 9px; }
.footer-links-list a:hover, .footer-address a:hover { color: #fff; }
.footer-address { margin-top: 16px; font-size: 13px; line-height: 1.7; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
    .hero-subtitle { margin-inline: auto; }
    .hero-cta, .hero-points { justify-content: center; }
    .hero-stage { height: 520px; max-width: 460px; margin-inline: auto; width: 100%; }
    .phone { width: 228px; }
    .phone-front { margin-left: -135px; }
    .service-grid { grid-template-columns: repeat(4, 1fr); }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
    .plan-layout, .calc-card, .download-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .prime-grid { grid-template-columns: 1fr; }
    .reward-grid { grid-template-columns: repeat(2, 1fr); }
    .dist-layout, .company-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    #site-nav { position: absolute; top: 72px; left: 12px; right: 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; display: none; }
    #site-nav.open { display: block; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; color: var(--text) !important; }
    .nav-links li a:not(.btn) { display: block; padding: 13px 14px; border-radius: 10px; }
    .nav-links .btn { margin: 8px 6px 6px; }
    .section { padding: 68px 0; }
    .module-grid { grid-template-columns: 1fr; }
    .module-text { max-width: 62%; padding: 22px; }
    .module-text h3 { font-size: 20px; }
    .service-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .refer-hero { padding: 28px; }
    .refer-hero img { opacity: .35; }
    .calc-inputs, .calc-result { padding: 28px; }
    .float-chip { font-size: 12px; padding: 8px 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .plan-block { padding: 22px; border-radius: 22px; }
    .plan-hero img { opacity: .3; max-width: 70%; }
    .reward-grid, .income-types, .highlight-list, .extra-grid { grid-template-columns: 1fr; }
    .dist-list li { grid-template-columns: 120px 1fr 48px; }
    .info-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .phone-front, .phone-back { animation: none; }
}
