/* ═══════════════════════════════════════════════════════════
   UCCN Production CSS — Design System
   Brand: Orange #E8722A | Teal #3BBFB8 | Dark #1A2332
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&display=swap');

/* ── Light Theme Tokens ── */
:root {
  --orange:        #E8722A;
  --orange-dk:     #C55A18;
  --orange-lt:     #F2904F;
  --orange-pale:   #FEF0E7;
  --teal:          #3BBFB8;
  --teal-dk:       #2A9E98;
  --teal-lt:       #62CFC9;
  --teal-pale:     #E6F8F7;
  --ink:           #1A2332;
  --ink-80:        #2E3D52;
  --ink-60:        #4A5E78;
  --ink-40:        #7A90AB;
  --ink-20:        #B8C8D8;
  --ink-10:        #DDE6EF;
  --ink-05:        #F0F5F9;
  --bg:            #F4F7FA;
  --bg-alt:        #EAEFF5;
  --surface:       #FFFFFF;
  --surface-2:     #F8FAFC;
  --border:        #E2EAF0;
  --border-dk:     #C8D8E4;
  --text-primary:  #1A2332;
  --text-secondary:#4A5E78;
  --text-muted:    #7A90AB;
  --shadow-xs:  0 1px 3px rgba(26,35,50,.06);
  --shadow-sm:  0 2px 8px rgba(26,35,50,.09);
  --shadow-md:  0 4px 18px rgba(26,35,50,.12);
  --shadow-lg:  0 8px 32px rgba(26,35,50,.16);
  --shadow-xl:  0 16px 56px rgba(26,35,50,.2);
  --shadow-or:  0 4px 20px rgba(232,114,42,.28);
  --shadow-tl:  0 4px 20px rgba(59,191,184,.22);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 28px;
  --radius-pill:999px;
  --font-h: 'Fraunces', Georgia, serif;
  --font-b: 'Plus Jakarta Sans', system-ui, sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --nav-h: 70px;
  --toast-z: 10000;
  --modal-z: 9000;
  --drawer-z: 8500;
  --nav-z: 900;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --bg:           #0E1421;
  --bg-alt:       #131D2E;
  --surface:      #192334;
  --surface-2:    #1E2C40;
  --border:       #263347;
  --border-dk:    #314059;
  --text-primary: #EDF2F8;
  --text-secondary:#98AAC0;
  --text-muted:   #5E7592;
  --ink-05:       #1C2A3E;
  --ink-10:       #243246;
  --ink-20:       #2E4060;
  --ink-40:       #4A6080;
  --ink-60:       #6A88A8;
  --ink-80:       #8AAAC8;
  --shadow-xs:  0 1px 3px rgba(0,0,0,.3);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.35);
  --shadow-md:  0 4px 18px rgba(0,0,0,.4);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.45);
  --shadow-xl:  0 16px 56px rgba(0,0,0,.5);
  --orange-pale:  rgba(232,114,42,.12);
  --teal-pale:    rgba(59,191,184,.1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); background: var(--bg); color: var(--text-primary); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background var(--transition), color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dk); }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-h); color: var(--text-primary); line-height: 1.15; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dk); border-radius: 99px; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.highlight { color: var(--orange); font-style: italic; }
.hl-tl { color: var(--teal-dk); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal-dk); }
.text-muted { color: var(--text-muted); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-sm { font-size: .82rem; }
.fs-xs { font-size: .75rem; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-family: var(--font-b); font-weight: 700; font-size: .875rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap; text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::after { content:''; position:absolute; inset:0; background:rgba(255,255,255,.12); opacity:0; transition:opacity var(--transition); }
.btn:hover::after { opacity:1; }
.btn-primary   { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: var(--shadow-or); }
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); color:#fff; transform: translateY(-2px); }
.btn-teal      { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: var(--shadow-tl); }
.btn-teal:hover{ background: var(--teal-dk); border-color: var(--teal-dk); color:#fff; transform: translateY(-2px); }
.btn-outline   { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover{ background: var(--orange-pale); transform: translateY(-2px); }
.btn-outline-tl{ background: transparent; color: var(--teal-dk); border-color: var(--teal); }
.btn-outline-tl:hover{ background: var(--teal-pale); transform: translateY(-2px); }
.btn-ghost     { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover{ background: var(--surface); border-color: var(--border-dk); transform: translateY(-1px); }
.btn-ghost-w   { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost-w:hover{ background: rgba(255,255,255,.2); color:#fff; }
.btn-dark      { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover{ background: var(--ink-80); color:#fff; transform: translateY(-2px); }
.btn-sm  { padding: 8px 18px; font-size: .8rem; }
.btn-lg  { padding: 15px 32px; font-size: .95rem; }
.btn-xl  { padding: 18px 40px; font-size: 1rem; }
.btn-full{ width: 100%; }
.btn-icon{ width: 40px; height: 40px; padding: 0; border-radius: var(--radius-pill); flex-shrink: 0; }
.btn-icon-sm{ width: 34px; height: 34px; }

/* ═══════════════════════════════════════════════════════════
   BADGES / TAGS / CHIPS
═══════════════════════════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.badge-orange { background: var(--orange-pale); color: var(--orange-dk); border: 1px solid rgba(232,114,42,.2); }
.badge-teal   { background: var(--teal-pale); color: var(--teal-dk); border: 1px solid rgba(59,191,184,.2); }
.badge-dark   { background: rgba(26,35,50,.08); color: var(--ink-60); border: 1px solid var(--border); }
[data-theme="dark"] .badge-dark { background: rgba(255,255,255,.08); color: var(--text-secondary); }
.badge-green  { background: #EDFAF3; color: #1A8C4E; border: 1px solid #B8EED4; }
[data-theme="dark"] .badge-green { background: rgba(26,140,78,.12); color: #4ACA85; border-color: rgba(26,140,78,.3); }
.badge-red    { background: #FDECEA; color: #C53030; border: 1px solid #F5C6C2; }
.badge-dot::before { content:''; width:5px; height:5px; background:currentColor; border-radius:50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
.pill { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .7rem; font-weight: 600; }
.pill-orange { background: var(--orange-pale); color: var(--orange-dk); }
.pill-teal   { background: var(--teal-pale); color: var(--teal-dk); }
.pill-ink    { background: var(--ink-05); color: var(--ink-60); }
[data-theme="dark"] .pill-ink { background: var(--surface-2); color: var(--text-secondary); }
.tag-row { display: flex; gap: 5px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--toast-z);
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 18px;
  box-shadow: var(--shadow-xl); min-width: 300px; max-width: 380px;
  pointer-events: all;
  animation: toastIn .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.toast::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; }
.toast-success::before { background: #22C55E; }
.toast-error::before   { background: #EF4444; }
.toast-info::before    { background: var(--teal); }
.toast-warning::before { background: var(--orange); }
.toast-ico { font-size: 1.15rem; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-title { font-size: .85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.toast-msg   { font-size: .78rem; color: var(--text-secondary); }
.toast-close { background: none; border: none; font-size: .85rem; color: var(--text-muted); cursor: pointer; flex-shrink: 0; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--orange); animation: toastProg 4s linear forwards; }
.toast-success .toast-progress { background: #22C55E; }
.toast-error   .toast-progress { background: #EF4444; }
.toast-info    .toast-progress { background: var(--teal); }
.toast.removing { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)} }
@keyframes toastOut { from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100%)} }
@keyframes toastProg{ from{width:100%}to{width:0} }
@media(max-width:480px){ #toast-container { bottom:16px; right:12px; left:12px; } .toast { min-width:unset; max-width:unset; } }

/* ═══════════════════════════════════════════════════════════
   TOP NAV
═══════════════════════════════════════════════════════════ */
#topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--nav-z);
  height: var(--nav-h); transition: all var(--transition);
}
#topnav .nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; gap: 8px;
}
#topnav.transparent { background: transparent; }
#topnav.scrolled {
  background: var(--surface); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
#topnav.solid { background: var(--ink); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; cursor: pointer; }
.nav-logo-mark { width: 34px; height: 34px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-family: var(--font-b); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: #fff; }
.nav-logo-name .o { color: var(--orange-lt); }
.nav-logo-sub  { font-size: .58rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 1px; }
#topnav.scrolled .nav-logo-name { color: var(--text-primary); }
#topnav.scrolled .nav-logo-name .o { color: var(--orange); }
#topnav.scrolled .nav-logo-sub { color: var(--text-muted); }
.nav-links { display: flex; align-items: center; list-style: none; margin-left: auto; margin-right: 10px; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 500;
  padding: 7px 13px; border-radius: var(--radius-sm);
  transition: all var(--transition); cursor: pointer; white-space: nowrap; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.12); }
#topnav.scrolled .nav-links a { color: var(--text-secondary); }
#topnav.scrolled .nav-links a:hover, #topnav.scrolled .nav-links a.active { color: var(--text-primary); background: var(--ink-05); }
.nav-mp-link { background: rgba(232,114,42,.18) !important; border: 1px solid rgba(232,114,42,.35); color: var(--orange-lt) !important; border-radius: var(--radius-pill) !important; font-weight: 700 !important; }
.nav-mp-link:hover { background: var(--orange) !important; color: #fff !important; border-color: var(--orange) !important; }
#topnav.scrolled .nav-mp-link { color: var(--orange-dk) !important; background: var(--orange-pale) !important; border-color: rgba(232,114,42,.25) !important; }
#topnav.scrolled .nav-mp-link:hover { background: var(--orange) !important; color: #fff !important; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: none; background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); border-radius: var(--radius-pill); font-size: .9rem; cursor: pointer; transition: all var(--transition); position: relative; }
.nav-icon-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
#topnav.scrolled .nav-icon-btn { background: var(--ink-05); color: var(--text-secondary); }
#topnav.scrolled .nav-icon-btn:hover { background: var(--ink-10); color: var(--text-primary); }
.nav-cart-badge { position: absolute; top: -4px; right: -4px; background: var(--orange); color: #fff; border-radius: 99px; min-width: 16px; height: 16px; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: all var(--transition); }
#topnav.scrolled .nav-hamburger span { background: var(--text-primary); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Translate button */
.translate-btn { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.75); cursor: pointer; transition: all var(--transition); display: flex; align-items: center; gap: 5px; }
.translate-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
#topnav.scrolled .translate-btn { border-color: var(--border); color: var(--text-secondary); background: transparent; }
#topnav.scrolled .translate-btn:hover { background: var(--ink-05); color: var(--text-primary); }
/* Theme toggle */
.theme-toggle { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: none; background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); border-radius: var(--radius-pill); font-size: .95rem; cursor: pointer; transition: all var(--transition); }
.theme-toggle:hover { background: rgba(255,255,255,.2); color: #fff; }
#topnav.scrolled .theme-toggle { background: var(--ink-05); color: var(--text-secondary); }
#topnav.scrolled .theme-toggle:hover { background: var(--ink-10); color: var(--text-primary); }

/* Mobile nav drawer */
.mobile-nav-drawer {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface); z-index: calc(var(--nav-z) - 1);
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding-top: var(--nav-h); overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateY(0); }
.mobile-nav-links { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: var(--radius-md); color: var(--text-secondary); font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all var(--transition); }
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: var(--orange-pale); color: var(--orange-dk); }
.mobile-nav-links a.mp-link { background: var(--orange-pale); color: var(--orange-dk); font-weight: 700; }
.mobile-nav-footer { padding: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ═══════════════════════════════════════════════════════════
   PAGE SECTIONS
═══════════════════════════════════════════════════════════ */
.page-section { padding: 96px 0; }
.section-white  { background: var(--surface); }
.section-light  { background: var(--bg); }
.section-alt    { background: var(--bg-alt); }
.section-teal   { background: linear-gradient(135deg,var(--teal-pale) 0%,#F0FAFA 100%); }
[data-theme="dark"] .section-teal { background: linear-gradient(135deg,rgba(59,191,184,.08) 0%, rgba(59,191,184,.04) 100%); }
.section-orange { background: linear-gradient(135deg,var(--orange-pale) 0%,#FFF8F4 100%); }
[data-theme="dark"] .section-orange { background: linear-gradient(135deg,rgba(232,114,42,.08) 0%, rgba(232,114,42,.04) 100%); }
.section-dark   { background: linear-gradient(135deg,var(--ink) 0%,#0E2230 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content:''; display:block; width:20px; height:2px; background:var(--orange); border-radius:1px; }
.eyebrow-teal { color: var(--teal-dk); } .eyebrow-teal::before { background: var(--teal-dk); }
.eyebrow-white { color: rgba(255,255,255,.55); } .eyebrow-white::before { background: rgba(255,255,255,.35); }
.sec-title { font-family: var(--font-h); font-size: clamp(1.9rem,4vw,3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 18px; }
.sec-title em { font-style: italic; color: var(--orange); }
.sec-title-white { color: #fff; }
.sec-lead  { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.75; max-width: 620px; margin-bottom: 48px; }
.sec-lead-white { color: rgba(255,255,255,.6); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(145deg,#1A2332 0%,#0E2230 55%,#1A3340 100%);
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-dots { position: absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.055) 1.5px,transparent 1.5px); background-size:36px 36px; pointer-events:none; }
.hero-orb { position: absolute; border-radius:50%; filter:blur(70px); pointer-events:none; }
.hero-orb-1 { width:700px; height:700px; background:radial-gradient(circle,rgba(232,114,42,.2) 0%,transparent 65%); top:-200px; right:-150px; }
.hero-orb-2 { width:500px; height:500px; background:radial-gradient(circle,rgba(59,191,184,.15) 0%,transparent 65%); bottom:-100px; left:-100px; }
.hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.hero-eyebrow { display:inline-flex; align-items:center; gap:8px; background:rgba(232,114,42,.15); border:1px solid rgba(232,114,42,.35); color:var(--orange-lt); font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:7px 16px; border-radius:var(--radius-pill); margin-bottom:24px; }
.hero-eyebrow-dot { width:6px; height:6px; background:var(--orange-lt); border-radius:50%; animation:blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.35} }
.hero-title { font-family:var(--font-h); font-size:clamp(2.8rem,5vw,4.8rem); font-weight:700; color:#fff; line-height:1.07; letter-spacing:-.025em; margin-bottom:24px; }
.hero-title em { font-style:italic; color:var(--orange-lt); }
.hero-sub { font-size:1.05rem; color:rgba(255,255,255,.65); line-height:1.75; margin-bottom:40px; max-width:500px; }
.hero-ctas { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:48px; }
.hero-powered { display:flex; align-items:center; gap:12px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); }
.hero-powered-lbl { font-size:.7rem; color:rgba(255,255,255,.38); font-weight:500; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }
.hero-powered-img { height:26px; width:auto; filter:brightness(0) invert(1) opacity(.5); }
.hero-stats-card { background:rgba(255,255,255,.06); backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-2xl); padding:32px; }
.hero-stat-row { padding:16px 0; border-bottom:1px solid rgba(255,255,255,.07); display:flex; align-items:center; gap:14px; }
.hero-stat-row:last-child { border-bottom:none; }
.hero-stat-ico { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.15rem; flex-shrink:0; }
.hero-stat-ico-or { background:rgba(232,114,42,.2); }
.hero-stat-ico-tl { background:rgba(59,191,184,.2); }
.hero-stat-num { font-family:var(--font-b); font-size:1.6rem; font-weight:800; color:#fff; display:block; line-height:1; }
.hero-stat-lbl { font-size:.73rem; color:rgba(255,255,255,.42); margin-top:3px; display:block; }

/* Page hero (inner pages) */
.page-hero { background:linear-gradient(145deg,#1A2332 0%,#0E2230 60%,#1A3340 100%); padding:130px 0 80px; position:relative; overflow:hidden; }
.page-hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(232,114,42,.4),transparent); }
.page-hero-title { font-family:var(--font-h); font-size:clamp(2.2rem,5vw,4rem); font-weight:700; color:#fff; letter-spacing:-.02em; margin-bottom:18px; }
.page-hero-sub   { font-size:1.05rem; color:rgba(255,255,255,.6); max-width:540px; line-height:1.75; }

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 24px;
  box-shadow: var(--shadow-xs); transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-elevated { box-shadow: var(--shadow-md); }
.card-hover-orange:hover { border-color: rgba(232,114,42,.35); box-shadow: var(--shadow-or); }
.card-hover-teal:hover   { border-color: rgba(59,191,184,.35); box-shadow: var(--shadow-tl); }
.card-orange { background: var(--orange-pale); border-color: rgba(232,114,42,.2); }
.card-teal   { background: var(--teal-pale);   border-color: rgba(59,191,184,.2); }
.card-dark   { background: var(--ink); border-color: transparent; }
.card-inset  { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT GRID & CARDS (Marketplace)
═══════════════════════════════════════════════════════════ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 20px; }
.product-grid-5 { grid-template-columns: repeat(5,1fr); }
.product-grid-4 { grid-template-columns: repeat(4,1fr); }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: all var(--transition);
  cursor: pointer; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(232,114,42,.3); }
.product-card__img {
  aspect-ratio: 1; background: var(--ink-05);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
[data-theme="dark"] .product-card__img { background: var(--surface-2); }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.product-card__wishlist { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: var(--surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: all var(--transition); border: none; color: var(--text-muted); }
.product-card__wishlist:hover, .product-card__wishlist.active { color: #EF4444; transform: scale(1.1); }
.product-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-card__brand { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 4px; }
.product-card__name  { font-size: .9rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 8px; flex: 1; }
.product-card__rating{ display: flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--text-muted); margin-bottom: 8px; }
.product-card__stars { color: #F59E0B; }
.product-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.product-card__price-main { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); font-family: var(--font-b); }
.product-card__price-mrp  { font-size: .8rem; color: var(--text-muted); text-decoration: line-through; }
.product-card__price-off  { font-size: .72rem; font-weight: 700; color: #22C55E; }
.product-card__emi  { font-size: .72rem; color: var(--teal-dk); font-weight: 600; margin-bottom: 10px; }
.product-card__actions { display: flex; gap: 7px; }
.product-card__add { flex: 1; background: var(--orange); color: #fff; border: none; border-radius: var(--radius-sm); padding: 9px 10px; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 5px; }
.product-card__add:hover { background: var(--orange-dk); transform: translateY(-1px); }
.product-card__view { width: 34px; height: 34px; border: 1.5px solid var(--border); background: transparent; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: .85rem; cursor: pointer; transition: all var(--transition); color: var(--text-secondary); }
.product-card__view:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

/* Category card */
.cat-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: 12px; }
.cat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 10px 14px;
  text-align: center; cursor: pointer; transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.cat-card:hover, .cat-card.active { border-color: var(--orange); background: var(--orange-pale); transform: translateY(-3px); box-shadow: var(--shadow-or); }
.cat-card__ico { width: 48px; height: 48px; border-radius: var(--radius-sm); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: all var(--transition); }
.cat-card__lbl { font-size: .72rem; font-weight: 600; color: var(--text-secondary); line-height: 1.3; }
.cat-card:hover .cat-card__lbl, .cat-card.active .cat-card__lbl { color: var(--orange-dk); }

/* Filter sidebar */
.marketplace-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filter-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); }
.filter-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xs); }
.filter-hdr { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.filter-hdr h3 { font-size: .9rem; font-weight: 700; }
.filter-clear { font-size: .78rem; color: var(--orange); font-weight: 600; cursor: pointer; background: none; border: none; }
.filter-section { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.filter-check { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; }
.filter-check input { accent-color: var(--orange); width: 15px; height: 15px; cursor: pointer; }
.filter-check span { font-size: .84rem; color: var(--text-secondary); }
.filter-check:hover span { color: var(--text-primary); }
.price-range-wrap { display: flex; flex-direction: column; gap: 8px; }
.price-range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 7px 10px; font-size: .82rem; color: var(--text-primary); background: var(--bg); width: 100%; transition: border var(--transition); }
.price-input:focus { outline: none; border-color: var(--orange); background: var(--surface); }
.filter-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { border: 1.5px solid var(--border); background: transparent; border-radius: var(--radius-pill); padding: 4px 12px; font-size: .78rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); }
.filter-chip:hover, .filter-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Sort bar */
.sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 18px; flex-wrap: wrap; }
.sort-left  { font-size: .85rem; color: var(--text-secondary); }
.sort-left strong { color: var(--text-primary); font-weight: 700; }
.sort-right { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: .82rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.sort-select { border: 1.5px solid var(--border); background: var(--bg); color: var(--text-primary); padding: 6px 32px 6px 10px; border-radius: var(--radius-sm); font-size: .82rem; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234A5E78' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border var(--transition); }
.sort-select:focus { outline: none; border-color: var(--orange); }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 32px; height: 32px; border: 1.5px solid var(--border); background: transparent; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: .82rem; cursor: pointer; transition: all var(--transition); color: var(--text-muted); }
.view-btn.active, .view-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: calc(var(--drawer-z) - 1); opacity: 0; visibility: hidden; transition: all var(--transition); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px;
  background: var(--surface); box-shadow: var(--shadow-xl); z-index: var(--drawer-z);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__hdr { padding: 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer__hdr h3 { font-size: 1.05rem; font-weight: 700; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 14px; color: var(--text-muted); text-align: center; padding: 40px 20px; }
.cart-empty-ico { font-size: 3.5rem; }
.cart-empty h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.cart-empty p   { font-size: .85rem; }
.cart-item { display: flex; gap: 12px; padding: 12px; background: var(--bg-alt); border-radius: var(--radius-md); margin-bottom: 10px; transition: all var(--transition); }
.cart-item:hover { background: var(--ink-05); }
.cart-item__img { width: 60px; height: 60px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.cart-item__info { flex: 1; }
.cart-item__brand { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.cart-item__name  { font-size: .84rem; font-weight: 600; color: var(--text-primary); line-height: 1.35; margin-bottom: 6px; }
.cart-item__price { font-size: .9rem; font-weight: 800; color: var(--orange); }
.cart-item__qty   { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 24px; height: 24px; border: 1.5px solid var(--border); background: var(--surface); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.qty-btn:hover { border-color: var(--orange); color: var(--orange); }
.qty-val { font-size: .85rem; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item__remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: .9rem; padding: 4px; border-radius: 4px; transition: all var(--transition); flex-shrink: 0; }
.cart-item__remove:hover { color: #EF4444; background: #FEF2F2; }
.cart-drawer__footer { padding: 16px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.cart-summary { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-secondary); }
.cart-summary-row.total { font-size: 1rem; font-weight: 800; color: var(--text-primary); padding-top: 8px; border-top: 1px solid var(--border); }
.cart-summary-row .free { color: #22C55E; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--modal-z);
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: all .25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--surface); border-radius: var(--radius-2xl);
  width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-xl); transform: scale(.94) translateY(12px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-hdr { background: var(--ink); padding: 22px 24px 18px; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; display: flex; align-items: center; justify-content: space-between; }
.modal-logo-text { font-family: var(--font-b); font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.modal-logo-text span { color: var(--orange-lt); }
.modal-logo-sub { font-size: .68rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.modal-close { background: rgba(255,255,255,.1); border: none; color: rgba(255,255,255,.7); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: .9rem; transition: all var(--transition); }
.modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }
.modal-body { padding: 24px; }
.modal-tabs-row { display: flex; background: var(--ink-05); border-radius: var(--radius-pill); padding: 3px; margin-bottom: 22px; }
[data-theme="dark"] .modal-tabs-row { background: var(--surface-2); }
.modal-tab { flex: 1; padding: 9px; border: none; background: transparent; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.modal-tab.active { background: var(--surface); color: var(--orange); box-shadow: var(--shadow-sm); }
.form-panel { display: none; }
.form-panel.active { display: block; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: .9rem; color: var(--text-primary);
  background: var(--surface); outline: none; transition: all var(--transition);
}
.form-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,114,42,.1); }
.form-input::placeholder { color: var(--ink-20); }
[data-theme="dark"] .form-input::placeholder { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.form-full { grid-column: 1/-1; }
.pwd-wrap { position: relative; }
.pwd-eye  { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: .95rem; color: var(--text-muted); transition: color var(--transition); }
.pwd-eye:hover { color: var(--text-primary); }
.otp-row  { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: flex-end; }
.otp-btn  { white-space: nowrap; background: var(--teal); color: #fff; border: none; border-radius: var(--radius-sm); padding: 11px 14px; font-size: .82rem; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.otp-btn:hover { background: var(--teal-dk); }
.strength-bar { height: 3px; background: var(--border); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 2px; transition: width .3s, background .3s; }
.strength-label { font-size: .7rem; color: var(--text-muted); margin-top: 4px; }
.divider-or { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.divider-or::before, .divider-or::after { content:''; flex:1; height:1px; background:var(--border); }
.divider-or span { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.btn-google { width: 100%; background: var(--surface); color: var(--text-primary); border: 1.5px solid var(--border); padding: 11px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: all var(--transition); }
.btn-google:hover { background: var(--ink-05); border-color: var(--border-dk); }
.form-footer { text-align: center; font-size: .8rem; color: var(--text-muted); margin-top: 16px; }
.form-footer a { color: var(--orange); font-weight: 700; cursor: pointer; }
.terms-row { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: var(--text-secondary); margin-bottom: 16px; }
.terms-row input { accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.terms-row a { color: var(--orange); font-weight: 600; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 18px; }
.role-tile { border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 14px 10px; text-align: center; cursor: pointer; transition: all var(--transition); }
.role-tile:hover, .role-tile.sel { border-color: var(--orange); background: var(--orange-pale); }
.role-tile__ico  { font-size: 1.5rem; margin-bottom: 6px; }
.role-tile__name { font-size: .84rem; font-weight: 700; color: var(--text-primary); }
.role-tile__desc { font-size: .72rem; color: var(--text-muted); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS — PAGE SPECIFIC
═══════════════════════════════════════════════════════════ */
/* Problems */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.problem-side-card { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--shadow-xs); display: flex; gap: 14px; transition: all var(--transition); background: var(--surface); }
.problem-side-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateX(5px); }
.problem-ico { width: 42px; height: 42px; background: var(--orange-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.problem-card-title { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.problem-card-desc  { font-size: .8rem; color: var(--text-secondary); line-height: 1.55; }
.result-dark { background: var(--ink); border-radius: var(--radius-2xl); padding: 28px; }
.result-dark h3 { font-family: var(--font-h); font-size: 1.15rem; color: #fff; margin-bottom: 16px; }
.result-tag { display: inline-block; background: rgba(232,114,42,.15); border: 1px solid rgba(232,114,42,.3); color: var(--orange-lt); padding: 5px 13px; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 600; margin: 3px; }
.result-stats2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.result-stat-dark { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.result-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--orange-lt); display: block; line-height: 1; margin-bottom: 4px; }
.result-stat-desc { font-size: .7rem; color: rgba(255,255,255,.42); }

/* Market bars */
.market-bars { display: flex; flex-direction: column; gap: 18px; margin: 40px 0 28px; }
.mbar { display: flex; align-items: center; gap: 14px; }
.mbar__label  { min-width: 175px; font-size: .86rem; font-weight: 600; color: var(--text-secondary); }
.mbar__track  { flex: 1; height: 8px; background: var(--ink-10); border-radius: var(--radius-pill); overflow: hidden; }
[data-theme="dark"] .mbar__track { background: var(--surface-2); }
.mbar__fill   { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg,var(--orange),var(--orange-lt)); width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.mbar__value  { min-width: 130px; font-size: .86rem; font-weight: 700; color: var(--orange); text-align: right; }
.market-total { background: var(--ink); border-radius: var(--radius-xl); padding: 28px 36px; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 28px; align-items: center; margin-top: 20px; }
.market-total-divider { background: rgba(255,255,255,.1); align-self: stretch; }
.market-total-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.38); margin-bottom: 7px; }
.market-total-val { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; font-family: var(--font-b); }
.market-total-val-tl { color: var(--teal-lt); }

/* Advantage */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 18px; }
.adv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-xs); transition: all var(--transition); position: relative; overflow: hidden; }
.adv-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--orange),var(--teal)); transform:scaleX(0); transform-origin:left; transition:transform var(--transition); }
.adv-card:hover { border-color: transparent; box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.adv-card:hover::before { transform: scaleX(1); }
.adv-num { font-size: 2.5rem; font-weight: 800; color: var(--ink-10); line-height: 1; margin-bottom: 14px; font-family: var(--font-b); }
[data-theme="dark"] .adv-num { color: var(--surface-2); }
.adv-card h3 { font-size: .92rem; font-weight: 700; margin-bottom: 8px; }
.adv-card p  { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }

/* Roadmap */
.roadmap-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.rm-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); padding: 22px 16px; text-align: center; transition: all var(--transition); }
.rm-card:hover { background: rgba(255,255,255,.1); border-color: rgba(232,114,42,.4); transform: translateY(-4px); }
.rm-card-hl { background: rgba(232,114,42,.12) !important; border-color: rgba(232,114,42,.4) !important; }
.rm-year  { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-lt); margin-bottom: 10px; }
.rm-apcs  { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 4px; font-family: var(--font-b); }
.rm-gmv   { font-size: .78rem; color: rgba(255,255,255,.4); }

/* Revenue */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 18px; }
.rev-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-xs); transition: all var(--transition); display: flex; gap: 14px; }
.rev-card:hover { border-color: rgba(232,114,42,.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.rev-ico { width: 44px; height: 44px; background: var(--orange-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.rev-card h3    { font-size: .9rem; font-weight: 700; margin-bottom: 3px; }
.rev-range      { font-size: .8rem; font-weight: 700; color: var(--orange); margin-bottom: 7px; }
.rev-card p     { font-size: .8rem; color: var(--text-secondary); line-height: 1.55; }

/* Traction table */
.traction-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.traction-wrap table { width: 100%; border-collapse: collapse; }
.traction-wrap thead th { background: var(--ink-05); padding: 13px 20px; text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .traction-wrap thead th { background: var(--surface-2); }
.traction-wrap tbody td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .88rem; color: var(--text-secondary); }
.traction-wrap tbody tr:last-child td { border-bottom: none; }
.traction-wrap tbody tr:hover { background: var(--ink-05); }
[data-theme="dark"] .traction-wrap tbody tr:hover { background: var(--surface-2); }
.traction-wrap tbody tr.hl-row td { font-weight: 600; color: var(--text-primary); }
.traction-wrap tbody tr.hl-row { background: var(--orange-pale); }

/* Platform cards */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(225px,1fr)); gap: 20px; }
.platform-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px 22px; box-shadow: var(--shadow-xs); transition: all var(--transition); position: relative; }
.platform-card:hover { box-shadow: var(--shadow-xl); border-color: var(--teal); transform: translateY(-4px); }
.platform-num { position: absolute; top: 16px; right: 16px; font-size: 2.8rem; font-weight: 800; color: var(--ink-05); line-height: 1; font-family: var(--font-b); }
[data-theme="dark"] .platform-num { color: var(--surface-2); }
.platform-ico { width: 46px; height: 46px; background: var(--teal-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.platform-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
.platform-card ul { display: flex; flex-direction: column; gap: 6px; }
.platform-card ul li { font-size: .8rem; color: var(--text-secondary); padding-left: 14px; position: relative; line-height: 1.5; }
.platform-card ul li::before { content:'→'; position:absolute; left:0; color:var(--teal); font-size:.72rem; }

/* GTM phases */
.gtm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.gtm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-xs); transition: all var(--transition); }
.gtm-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gtm-phase-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 7px; }
.gtm-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 9px; }
.gtm-card p  { font-size: .83rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.gtm-stat { background: var(--orange-pale); color: var(--orange-dk); padding: 7px 12px; border-radius: var(--radius-sm); font-size: .78rem; font-weight: 700; display: inline-block; }

/* CTA box */
.cta-box { background: rgba(232,114,42,.1); border: 1px solid rgba(232,114,42,.22); border-radius: var(--radius-2xl); padding: 48px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-text h2 { font-family: var(--font-h); font-size: clamp(1.5rem,3vw,2.2rem); color: #fff; margin-bottom: 8px; line-height: 1.2; }
.cta-text p  { font-size: .93rem; color: rgba(255,255,255,.58); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* About */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm-card { border-radius: var(--radius-2xl); padding: 30px; border: 1px solid var(--border); }
.vm-card-orange { background: var(--orange-pale); border-color: rgba(232,114,42,.2); }
.vm-card-teal   { background: var(--teal-pale);   border-color: rgba(59,191,184,.2); }
.vm-ico   { font-size: 1.8rem; margin-bottom: 12px; }
.vm-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 11px; }
.vm-card-orange h2 { color: var(--orange-dk); }
.vm-card-teal   h2 { color: var(--teal-dk); }
.vm-card p  { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }
.parallel-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: start; }
.parallel-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-xs); }
.parallel-col-accent { background: var(--orange-pale); border-color: rgba(232,114,42,.25); }
.parallel-col h3 { font-size: .92rem; font-weight: 700; margin-bottom: 14px; }
.parallel-col ul { display: flex; flex-direction: column; gap: 9px; }
.parallel-col ul li { font-size: .83rem; color: var(--text-secondary); padding-left: 16px; position: relative; line-height: 1.5; }
.parallel-col ul li::before { content:'✓'; position:absolute; left:0; color:var(--orange); font-weight:700; font-size:.8rem; }
.parallel-arrow { font-size: 1.8rem; color: var(--orange); display: flex; align-items: center; padding-top: 40px; }
.upicon-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-xs); }
.upicon-section img { width: 140px; }
.upicon-section h3  { font-size: 1.15rem; margin-bottom: 11px; }
.upicon-section p   { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }

/* Market detail */
.market-detail-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.mdc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-xs); transition: all var(--transition); }
.mdc:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mdc__ico   { font-size: 1.7rem; margin-bottom: 10px; }
.mdc h3     { font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.mdc__val   { font-size: 1.5rem; font-weight: 800; color: var(--orange); margin-bottom: 9px; font-family: var(--font-b); }
.mdc p      { font-size: .8rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.mdc-bar    { height: 4px; background: var(--ink-10); border-radius: var(--radius-pill); overflow: hidden; }
[data-theme="dark"] .mdc-bar { background: var(--surface-2); }
.mdc-fill   { height: 100%; background: linear-gradient(90deg,var(--orange),var(--orange-lt)); border-radius: var(--radius-pill); }

/* Tailwinds */
.tailwinds-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; }
.tailwind-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-xs); transition: all var(--transition); }
.tailwind-card:hover { border-color: var(--teal); box-shadow: var(--shadow-tl); transform: translateY(-3px); }
.tailwind-ico { width: 44px; height: 44px; background: var(--teal-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 12px; }
.tailwind-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 7px; }
.tailwind-card p  { font-size: .8rem; color: var(--text-secondary); line-height: 1.6; }

/* Unit economics */
.unit-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.unit-main   { background: var(--orange); border-radius: var(--radius-xl); padding: 28px; color: #fff; }
.unit-main__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.65); margin-bottom: 9px; }
.unit-main__val   { font-size: 2rem; font-weight: 800; line-height: 1.1; margin-bottom: 4px; font-family: var(--font-b); }
.unit-main__sub   { font-size: .8rem; color: rgba(255,255,255,.65); }
.unit-breakdown   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.unit-row { display: flex; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: .86rem; }
.unit-row:last-child { border-bottom: none; }
.unit-row__lbl { color: var(--text-secondary); }
.unit-row__val { font-weight: 700; color: var(--orange); }

/* Contact */
.partner-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 56px; }
.partner-tile  { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-xl); padding: 20px 16px; text-align: center; cursor: pointer; transition: all var(--transition); }
.partner-tile:hover, .partner-tile.sel { border-color: var(--orange); background: var(--orange-pale); transform: translateY(-3px); box-shadow: var(--shadow-or); }
.partner-tile__ico  { font-size: 2rem; margin-bottom: 9px; }
.partner-tile h3    { font-size: .86rem; font-weight: 700; margin-bottom: 5px; }
.partner-tile p     { font-size: .76rem; color: var(--text-secondary); line-height: 1.5; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form-card h2 { font-size: 1.2rem; margin-bottom: 24px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-xs); }
.contact-info-card h3 { font-size: .75rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.ci-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.ci-row:last-child { margin-bottom: 0; }
.ci-ico { font-size: .95rem; flex-shrink: 0; padding-top: 1px; }
.ci-row strong { font-size: .8rem; display: block; margin-bottom: 2px; }
.ci-row p, .ci-row a { font-size: .8rem; color: var(--text-secondary); margin: 0; }
.success-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; gap: 14px; }
.success-ico { width: 60px; height: 60px; background: var(--teal-pale); border: 2px solid var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--teal-dk); }
.success-state h3 { font-size: 1.2rem; }
.success-state p  { font-size: .9rem; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer { background: var(--ink); padding: 64px 0 0; }
[data-theme="dark"] .footer { background: #0A1220; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.footer-logo-name { font-family: var(--font-b); font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.footer-logo-name .o { color: var(--orange-lt); }
.footer-logo-sub { font-size: .6rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-top: 2px; }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.7; margin-top: 12px; max-width: 240px; }
.footer-col h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.28); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color var(--transition); cursor: pointer; }
.footer-col ul li a:hover { color: var(--orange-lt); }
.footer-contact-item { font-size: .82rem; color: rgba(255,255,255,.42); margin-bottom: 6px; line-height: 1.5; }
.footer-contact-item a { color: var(--orange-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.26); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .76rem; color: rgba(255,255,255,.35); cursor: pointer; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--orange-lt); }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */
.anim-up   { opacity:0; transform:translateY(28px); transition:opacity .6s ease,transform .6s ease; }
.anim-fade { opacity:0; transition:opacity .6s ease; }
.anim-left { opacity:0; transform:translateX(-24px); transition:opacity .6s ease,transform .6s ease; }
.anim-right{ opacity:0; transform:translateX(24px); transition:opacity .6s ease,transform .6s ease; }
.anim-up.in,.anim-fade.in,.anim-left.in,.anim-right.in { opacity:1; transform:none; }
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}.d4{transition-delay:.32s}.d5{transition-delay:.40s}.d6{transition-delay:.48s}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — BREAKPOINTS
═══════════════════════════════════════════════════════════ */
@media(max-width:1100px){
  .hero-inner { grid-template-columns: 1fr; gap:40px; }
  .hero-stats-card { display:grid; grid-template-columns:repeat(3,1fr); }
  .hero-stat-row { border-bottom:none; border-right:1px solid rgba(255,255,255,.07); padding:16px 10px; }
  .hero-stat-row:last-child { border-right:none; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .marketplace-layout { grid-template-columns:1fr; }
  .filter-sidebar { position:static; }
  .product-grid-5 { grid-template-columns:repeat(4,1fr); }
  .product-grid-4 { grid-template-columns:repeat(3,1fr); }
  .cat-grid { grid-template-columns:repeat(5,1fr); }
  .roadmap-grid { grid-template-columns:repeat(3,1fr); }
  .parallel-grid { grid-template-columns:1fr; }
  .parallel-arrow { transform:rotate(90deg); padding-top:0; justify-content:center; }
  .partner-tiles { grid-template-columns:repeat(2,1fr); }
  .contact-layout { grid-template-columns:1fr; }
  .upicon-section { grid-template-columns:1fr; text-align:center; }
  .upicon-section img { margin:0 auto; }
  .vm-grid { grid-template-columns:1fr; }
  .unit-layout { grid-template-columns:1fr; }
  .gtm-grid { grid-template-columns:1fr; }
  .problem-grid { grid-template-columns:1fr; }
}
@media(max-width:768px){
  :root { --nav-h: 62px; }
  .page-section { padding: 64px 0; }
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .nav-actions .btn-sm { display:none; }
  .hero { padding: 100px 0 60px; }
  .page-hero { padding: 110px 0 64px; }
  .hero-stats-card { grid-template-columns:1fr; }
  .hero-stat-row { border-right:none; border-bottom:1px solid rgba(255,255,255,.07); }
  .hero-stat-row:last-child { border-bottom:none; }
  .hero-ctas { flex-direction:column; }
  .hero-ctas .btn { width:100%; }
  .cat-grid { grid-template-columns:repeat(4,1fr); }
  .product-grid-5, .product-grid-4, .product-grid { grid-template-columns:repeat(2,1fr); }
  .roadmap-grid { grid-template-columns:repeat(2,1fr); }
  .market-total { grid-template-columns:1fr; }
  .market-total-divider { display:none; }
  .mbar { flex-wrap:wrap; }
  .mbar__label { min-width:unset; width:100%; }
  .mbar__value { min-width:unset; }
  .adv-grid { grid-template-columns:1fr 1fr; }
  .cta-inner { flex-direction:column; text-align:center; }
  .cta-btns { justify-content:center; flex-direction:column; }
  .cta-btns .btn { width:100%; }
  .footer-inner { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  #toast-container { bottom:16px; left:12px; right:12px; }
  .modal-box { max-width:100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .modal-overlay { align-items:flex-end; padding:0; }
  .form-row { grid-template-columns:1fr; }
  .sort-bar { flex-direction:column; align-items:flex-start; }
}
@media(max-width:480px){
  .cat-grid { grid-template-columns:repeat(4,1fr); gap:8px; }
  .cat-card { padding:12px 6px 10px; }
  .cat-card__ico { width:40px; height:40px; font-size:1.2rem; }
  .cat-card__lbl { font-size:.65rem; }
  .product-grid-5, .product-grid-4, .product-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
  .adv-grid { grid-template-columns:1fr; }
  .partner-tiles { grid-template-columns:1fr 1fr; }
  .roadmap-grid { grid-template-columns:1fr 1fr; }
  .hero-title { font-size:2.4rem; }
  .sec-title { font-size:1.7rem; }
  .translate-btn span.t-label { display:none; }
  .role-grid { grid-template-columns:1fr 1fr; }
  .result-stats2 { grid-template-columns:1fr; }
  .form-row-3 { grid-template-columns:1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE VIEW SYSTEM
═══════════════════════════════════════════════════════════ */
.page-view { display:none; }
.page-view.active { display:block; }

/* Translate dropdown */
.translate-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 160px; z-index: 100;
  display: none;
}
.translate-wrap { position: relative; }
.translate-wrap:hover .translate-dropdown, .translate-wrap.open .translate-dropdown { display: block; }
.translate-opt { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .84rem; font-weight: 500; cursor: pointer; transition: all var(--transition); color: var(--text-secondary); border: none; background: none; width: 100%; text-align: left; }
.translate-opt:hover { background: var(--ink-05); color: var(--text-primary); }
.translate-opt.active { color: var(--orange); font-weight: 700; }

/* Hindi font override */
[lang="hi"] body, [lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3, [lang="hi"] p, [lang="hi"] span, [lang="hi"] button, [lang="hi"] a { font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif; }
