/* FaceBiometric — marketing site */
:root {
  --ink: #0b1020;
  --ink-2: #121a33;
  --ink-3: #1b2547;
  --text: #0f172a;
  --text-dim: #5b6478;
  --line: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --primary: #4f46e5;
  --primary-2: #6366f1;
  --cyan: #22d3ee;
  --teal: #14b8a6;
  --good: #16a34a;
  --warn: #f59e0b;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, .25);
  --shadow-lg: 0 40px 90px -30px rgba(30, 27, 75, .55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: inherit; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 12px 30px -10px rgba(79, 70, 229, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(79, 70, 229, .85); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { background: #fff; color: var(--primary); border-color: #d9dcf7; }
.btn-outline:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled, .site-header.solid { background: rgba(11, 16, 32, .82); backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--cyan)); box-shadow: 0 8px 22px -8px rgba(34, 211, 238, .6); }
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { white-space: nowrap; color: rgba(255, 255, 255, .78); padding: 8px 13px; border-radius: 10px; font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: .92rem; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1120px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links, .nav-cta { display: none; }
  .site-header.open { background: var(--ink); max-height: 100vh; overflow-y: auto; }
  .site-header.open .nav { flex-wrap: wrap; height: auto; min-height: 74px; row-gap: 0; padding-bottom: 18px; }
  .site-header.open .brand, .site-header.open .menu-toggle { height: 74px; }
  .site-header.open .menu-toggle { height: 44px; margin-top: 15px; margin-bottom: 15px; order: 2; }
  .site-header.open .nav-links { order: 3; }
  .site-header.open .nav-cta { order: 4; }
  .site-header.open .nav-links { display: flex; flex-direction: column; width: 100%; margin: 0; padding: 4px 0 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .site-header.open .nav-cta { display: flex; width: 100%; }
  .site-header.open .nav-cta .btn { flex: 1; }
  .site-header.open .nav-links a { display: block; padding: 11px 12px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 10%, rgba(99, 102, 241, .35), transparent 60%), radial-gradient(900px 500px at 10% 90%, rgba(34, 211, 238, .18), transparent 60%), var(--ink); color: #fff; overflow: hidden; padding: 150px 0 110px; }
.hero.page-hero { padding: 140px 0 80px; }
.hero canvas.mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .grid-floor { position: absolute; left: -10%; right: -10%; bottom: -40%; height: 70%; background-image: linear-gradient(rgba(99, 102, 241, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .25) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(600px) rotateX(62deg); mask-image: linear-gradient(to top, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; font-weight: 600; color: #c7d2fe; margin-bottom: 20px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); animation: blink 2s infinite; }
.gradient-text { background: linear-gradient(90deg, #a5b4fc, #67e8f9 60%, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 18px; height: 18px; color: var(--cyan); }
.page-hero .hero-inner { grid-template-columns: 1fr; text-align: center; }
.page-hero p.lead { margin: 0 auto; }
.page-hero .eyebrow { margin-left: auto; margin-right: auto; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } .hero { padding: 120px 0 70px; } }

/* ---------- 3D device scene ---------- */
.scene { perspective: 1400px; display: grid; place-items: center; min-height: 520px; }
.device-3d { position: relative; width: 270px; height: 540px; transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(10deg); transition: transform .25s ease-out; animation: float 6s ease-in-out infinite; }
.device-3d .phone { position: absolute; inset: 0; border-radius: 42px; background: linear-gradient(160deg, #2a3358, #0d1226); padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: translateZ(0); }
.device-3d .phone::before { content: ''; position: absolute; inset: 0; border-radius: 42px; transform: translateZ(-18px); background: #070a16; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); }
.screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #1d2a56, #0a0f22 70%); }
.screen .cam-top { position: absolute; top: 10px; left: 50%; width: 80px; height: 22px; border-radius: 99px; background: #05070f; transform: translateX(-50%); z-index: 3; }
.screen .status { position: absolute; top: 44px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-size: .7rem; color: rgba(255, 255, 255, .6); z-index: 2; }
.face-frame { position: absolute; top: 92px; left: 50%; width: 190px; height: 230px; transform: translateX(-50%); }
.face-frame svg.face { width: 100%; height: 100%; color: rgba(165, 180, 252, .55); }
.face-frame .corner { position: absolute; width: 34px; height: 34px; border: 3px solid var(--cyan); }
.face-frame .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.face-frame .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.face-frame .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.face-frame .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.face-frame .scanline { position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 18px 4px rgba(34, 211, 238, .55); animation: scan 2.6s ease-in-out infinite; }
.screen .result { position: absolute; left: 18px; right: 18px; bottom: 26px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); color: #fff; }
.screen .result b { display: block; font-size: 1.02rem; }
.screen .result small { color: rgba(255, 255, 255, .65); font-size: .78rem; }
.screen .result .ok { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--good); display: grid; place-items: center; animation: pop 2.6s ease-in-out infinite; }
.screen .result .ok svg { width: 18px; height: 18px; color: #fff; }
.chip-3d { position: absolute; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--text); box-shadow: var(--shadow-lg); font-size: .85rem; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.chip-3d .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.chip-3d .dot svg { width: 18px; height: 18px; }
.chip-3d b { display: block; font-size: .95rem; }
.chip-3d small { color: var(--text-dim); }
.chip-a { top: 70px; left: -150px; transform: translateZ(90px); }
.chip-b { top: 260px; right: -170px; transform: translateZ(130px); }
.chip-c { bottom: 60px; left: -120px; transform: translateZ(60px); }
@media (max-width: 980px) { .chip-a { left: -60px; } .chip-b { right: -70px; } .chip-c { left: -40px; } }
@media (max-width: 520px) { .scene { min-height: 470px; transform: scale(.86); } .chip-a { left: -30px; top: 30px; } .chip-b { right: -40px; } .chip-c { left: -20px; } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.soft { background: var(--bg-soft); }
section.dark { background: var(--ink); color: #fff; }
section.dark p { color: rgba(255, 255, 255, .72); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head p { color: var(--text-dim); font-size: 1.08rem; }
.dark .section-head p { color: rgba(255, 255, 255, .7); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.dark .kicker { color: #a5b4fc; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } section { padding: 70px 0; } }

/* tilt cards (3D on hover) */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s; will-change: transform; }
.card:hover { box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; transform: translateZ(40px); box-shadow: 0 12px 24px -12px rgba(79, 70, 229, .8); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { transform: translateZ(26px); }
.card p { color: var(--text-dim); margin: 0; font-size: .97rem; transform: translateZ(14px); }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-dim); font-size: .94rem; }
.card ul li { margin: 4px 0; }
.dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); color: #fff; }
.dark .card p, .dark .card ul { color: rgba(255, 255, 255, .7); }
.g1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.g2 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.g3 { background: linear-gradient(135deg, #0d9488, #34d399); }
.g4 { background: linear-gradient(135deg, #db2777, #f472b6); }
.g5 { background: linear-gradient(135deg, #ea580c, #fbbf24); }
.g6 { background: linear-gradient(135deg, #2563eb, #60a5fa); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.1rem; background: linear-gradient(135deg, var(--primary), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: .92rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split.reverse .split-media { order: -1; }
.split ul.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.checks li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.dark .checks li { color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.reverse .split-media { order: 0; } }

/* 3D panel mockups */
.panel-3d { perspective: 1300px; }
.panel { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 18px; transform: rotateY(-14deg) rotateX(6deg); transition: transform .3s ease-out; transform-style: preserve-3d; }
.split.reverse .panel { transform: rotateY(14deg) rotateX(6deg); }
.panel:hover { transform: rotateY(0) rotateX(0); }
.panel-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e5ef; }
.panel-bar i:first-child { background: #fca5a5; } .panel-bar i:nth-child(2) { background: #fcd34d; } .panel-bar i:nth-child(3) { background: #86efac; }
.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-tiles div { border-radius: 12px; padding: 12px; background: var(--bg-soft); }
.mini-tiles small { display: block; font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.mini-tiles b { font-family: var(--font-head); font-size: 1.4rem; }
.mini-chart { height: 150px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 12px; background: var(--bg-soft); }
.mini-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--primary-2), var(--cyan)); animation: grow 1.4s ease both; transform-origin: bottom; }
.mini-rows { display: grid; gap: 8px; }
.mini-rows div { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; background: var(--bg-soft); font-size: .86rem; }
.mini-rows i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #c7d2fe, #a5f3fc); }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.tag.in { background: #dcfce7; color: #15803d; } .tag.out { background: #e0e7ff; color: #4338ca; } .tag.late { background: #fef3c7; color: #b45309; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--cyan)); box-shadow: 0 10px 22px -8px rgba(79, 70, 229, .7); }
.step h3 { margin-top: 10px; }
.step p { color: var(--text-dim); margin: 0; font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* timeline (how it works) */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), var(--cyan)); }
.tl-item { position: relative; padding-left: 80px; margin-bottom: 40px; }
.tl-item .num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: linear-gradient(135deg, var(--primary), var(--cyan)); box-shadow: 0 14px 30px -12px rgba(79, 70, 229, .8); }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--text-dim); }

/* security */
.shield-scene { perspective: 1100px; display: grid; place-items: center; min-height: 420px; }
.shield-stack { position: relative; width: 260px; height: 300px; transform-style: preserve-3d; animation: spinY 14s linear infinite; }
.shield-stack .layer { position: absolute; inset: 0; display: grid; place-items: center; }
.shield-stack .layer svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(34, 211, 238, .25)); }
.shield-stack .l1 { transform: translateZ(-40px); opacity: .35; }
.shield-stack .l2 { transform: translateZ(0); opacity: .6; }
.shield-stack .l3 { transform: translateZ(40px); }
.orbit { position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(165, 180, 252, .35); transform: rotateX(70deg); }
.orbit.o2 { inset: -80px; border-color: rgba(103, 232, 249, .25); transform: rotateX(70deg) rotateZ(40deg); }
.sec-layer { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.sec-layer .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.sec-layer .icon svg { width: 30px; height: 30px; }
.sec-layer h3 { color: #fff; }
.sec-layer p { margin: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .3); }
.badge svg { width: 18px; height: 18px; color: var(--teal); }
.dark .badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; perspective: 1400px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(170deg, var(--ink-3), var(--ink)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.plan.featured:hover { transform: translateY(-18px) rotateX(4deg); }
.plan .pill { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgba(34, 211, 238, .15); color: var(--cyan); margin-bottom: 14px; }
.plan h3 { font-size: 1.4rem; }
.plan .for { color: var(--text-dim); margin-bottom: 18px; }
.plan.featured .for { color: rgba(255, 255, 255, .7); }
.plan .price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .95rem; }
.plan li svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.plan.featured li svg { color: var(--cyan); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } .plan.featured { transform: none; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-dim); padding-bottom: 16px; margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 60px 50px; background: radial-gradient(600px 300px at 80% 0, rgba(34, 211, 238, .35), transparent 60%), linear-gradient(135deg, var(--primary), #312e81); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 40px 26px; } .cta-band .actions { justify-content: flex-start; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.contact-card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card b { display: block; }
.contact-card span, .contact-card a { color: var(--text-dim); }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.contact label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
form.contact input, form.contact select, form.contact textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; margin-bottom: 16px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
form.contact .note { font-size: .84rem; color: var(--text-dim); margin: 6px 0 0; }
.form-msg { display: none; padding: 12px 14px; border-radius: 12px; background: #dcfce7; color: #166534; margin-bottom: 14px; font-size: .92rem; }
.form-msg.show { display: block; animation: rise .4s ease; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } form.contact .row { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes scan { 0% { top: 8%; } 50% { top: 88%; } 100% { top: 8%; } }
@keyframes pop { 0%, 55% { transform: scale(0); } 65% { transform: scale(1.15); } 75%, 100% { transform: scale(1); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spinY { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* legal pages (privacy policy) */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { color: var(--text-dim); font-size: .92rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.45rem; margin: 42px 0 12px; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #334155; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin: 6px 0; }
.legal .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 10px; }
.legal .toc b { display: block; margin-bottom: 8px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.legal .toc li { margin: 4px 0; break-inside: avoid; }
.legal .callout { border-left: 4px solid var(--primary); background: #eef0ff; padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); font-weight: 600; }
.legal .table-wrap { overflow-x: auto; }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }

/* comparison table (face vs fingerprint vs RFID) */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 1rem; }
.cmp thead th:nth-child(2) { background: linear-gradient(135deg, var(--primary), #312e81); }
.cmp tbody th { width: 22%; color: var(--text); font-weight: 600; background: var(--bg-soft); }
.cmp td { color: var(--text-dim); }
.cmp td::before { display: inline-block; width: 1.3em; font-weight: 700; }
.cmp-yes::before { content: '✓'; color: var(--good); }
.cmp-mid::before { content: '~'; color: var(--warn); }
.cmp-no::before { content: '✕'; color: #dc2626; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }

.form-msg.error { background: #fef2f2; color: #991b1b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hindi pages: Devanagari font after Inter / Poppins */
:root:lang(hi) { --font: 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif; --font-head: 'Poppins', 'Noto Sans Devanagari', 'Inter', sans-serif; }
html[lang^="hi"] h1, html[lang^="hi"] h2, html[lang^="hi"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang^="hi"] body { line-height: 1.75; }
/* language switch in the header */
.lang-switch { align-self: center; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.lang-switch:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- real product screenshots ---------- */
.shot-frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #eef0f6; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.shot-bar i:nth-child(2) { background: #fbbf24; }
.shot-bar i:nth-child(3) { background: #34d399; }
.shot-bar span { margin-left: 12px; flex: 1; max-width: 420px; font-size: .74rem; color: var(--text-dim); background: #fff; border-radius: 999px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-frame img { width: 100%; height: auto; }
.shot-hero { padding-top: 40px; }
.shot-3d { margin: 0 auto; max-width: 1100px; perspective: 1800px; }
.shot-3d .shot-frame { transform: rotateX(9deg) scale(.97); transform-origin: 50% 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.shot-3d.in .shot-frame, .shot-3d:hover .shot-frame { transform: rotateX(0) scale(1); }
.tour { max-width: 1100px; margin: 0 auto; }
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tour-tabs button { font: inherit; font-size: .92rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-dim); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tour-tabs button:hover { color: var(--primary); border-color: #c7c9f5; }
.tour-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-color: transparent; }
.tour-tabs button:focus-visible { outline: 3px solid rgba(79, 70, 229, .35); outline-offset: 2px; }
.tour-panel { display: none; margin: 0; }
.tour-panel.active { display: block; animation: tourIn .45s ease; }
.tour-panel figcaption { text-align: center; color: var(--text-dim); font-size: .95rem; margin-top: 16px; }
@keyframes tourIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .shot-bar span { display: none; } .shot-3d .shot-frame { transform: none; } .tour-tabs button { padding: 7px 13px; font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .shot-3d .shot-frame { transform: none; transition: none; } .tour-panel.active { animation: none; } }
