/* TN Exam Prep — promotional site */
:root {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --violet: #7c3aed;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --navy: #12103a;
  --navy-2: #1c1958;
  --ink: #14122e;
  --text: #2b2d42;
  --muted: #62657f;
  --line: #e4e6f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fd;
  --tint: #eef0ff;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 46, .06), 0 2px 8px rgba(20, 18, 46, .04);
  --shadow: 0 10px 30px -10px rgba(30, 27, 90, .25), 0 4px 12px -4px rgba(30, 27, 90, .08);
  --shadow-lg: 0 40px 80px -24px rgba(18, 16, 58, .45);
  --font: "Plus Jakarta Sans", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ta: "Noto Sans Tamil", "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
[lang="ta"] { font-family: var(--font-ta); letter-spacing: 0; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn .icon { font-size: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .65); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(79, 70, 229, .75); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-light { background: #fff; color: var(--indigo); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.brand span b { color: #a5b4fc; font-weight: 800; }
.scrolled .brand { color: var(--ink); }
.scrolled .brand span b { color: var(--indigo); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.scrolled .nav-links a { color: var(--muted); }
.scrolled .nav-links a:hover { color: var(--ink); }
.nav-cta { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 26px; padding: 6px; cursor: pointer; }
.scrolled .menu-btn { color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 148px 0 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124, 58, 237, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(79, 70, 229, .40), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 64px; text-align: center; }
.hero-copy { max-width: 860px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px; font-weight: 600; color: #e0e7ff;
}
.pill b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .03em; }
.hero h1 { color: #fff; font-size: clamp(38px, 6.2vw, 68px); font-weight: 800; margin-top: 24px; letter-spacing: -.035em; }
.hero h1 .hl { background: linear-gradient(90deg, #a5b4fc, #e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px auto 0; max-width: 680px; font-size: clamp(17px, 2vw, 20px); color: #c7cbf0; }
.hero-ta { margin-top: 10px; font-size: 16px; color: #a5b4fc; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-points { margin: 28px auto 0; display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; color: #c7cbf0; font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: #86efac; font-size: 18px; }

.hero-visual { position: relative; max-width: 1080px; width: 100%; margin: 0 auto; padding: 0 0 0 0; }
.browser {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12);
}
.browser-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #eef0f6; border-bottom: 1px solid #e1e3ee; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url { margin-left: 14px; flex: 1; max-width: 420px; height: 24px; border-radius: 7px; background: #fff; font-size: 12px; color: #7c7f99; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.browser-bar .url .icon { font-size: 11px; color: var(--green); }
.browser img { width: 100%; height: auto; }
.hero .browser { border-radius: 14px 14px 0 0; border-bottom: 0; }
.hero-phone { position: absolute; right: -2%; bottom: -40px; width: clamp(150px, 22%, 240px); }
.hero-tag {
  position: absolute; left: -3%; top: 26%;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; text-align: left;
  font-size: 14px; animation: float 6s ease-in-out infinite;
}
.hero-tag .badge-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; }
.hero-tag strong { display: block; font-size: 15px; }
.hero-tag span { color: var(--muted); font-size: 13px; }
.hero-tag.t2 { left: auto; right: 18%; top: -22px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Phone frame */
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 19.2;
  background: #0b0b14; border-radius: 34px; padding: 9px;
  box-shadow: 0 0 0 1.5px #2b2b3a inset, var(--shadow-lg);
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 26%; height: 16px; background: #0b0b14; border-radius: 0 0 12px 12px; z-index: 3; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #f8f9fe; }
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Exam strip */
.exam-strip { background: var(--navy-2); padding: 70px 0 30px; border-top: 1px solid rgba(255, 255, 255, .06); }
.exam-strip .container { display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap; }
.exam-strip p { color: #a5a9d6; font-size: 14px; font-weight: 600; margin-right: 6px; }
.exam-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(165, 180, 252, .3); color: #e0e7ff; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .04); }
.exam-strip .note { flex-basis: 100%; text-align: center; margin: 12px 0 0; font-size: 12.5px; color: #8085b8; font-weight: 500; }

/* Overview */
.overview { background: var(--bg); }
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.ps-card { border-radius: 24px; padding: 36px; border: 1px solid var(--line); background: var(--bg-soft); }
.ps-card h3 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.ps-card h3 .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.ps-card.before h3 .dot { background: var(--red-soft); color: var(--red); }
.ps-card.after { background: linear-gradient(160deg, #f5f3ff 0%, #eef0ff 100%); border-color: #dcdcfb; }
.ps-card.after h3 .dot { background: var(--grad); color: #fff; }
.ps-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ps-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.ps-list li .icon { font-size: 20px; margin-top: 2px; }
.ps-card.before li .icon { color: #9a9cb5; }
.ps-card.after li .icon { color: var(--indigo); }
.ps-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.ps-list span { font-size: 14.5px; color: var(--muted); }

.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.aud-card { position: relative; border-radius: 24px; padding: 34px; background: var(--ink); color: #c7cbf0; overflow: hidden; }
.aud-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .5), transparent 70%); }
.aud-card .aud-ic { width: 52px; height: 52px; border-radius: 15px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 26px; color: #c4b5fd; }
.aud-card h3 { color: #fff; font-size: 22px; margin-top: 20px; }
.aud-card p { margin-top: 10px; font-size: 15.5px; }
.aud-card .tag { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; color: #a5b4fc; background: rgba(165, 180, 252, .12); padding: 6px 12px; border-radius: 999px; }

/* Admin screenshots */
.admin-shots { background: var(--bg-soft); }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer;
  transition: all .15s ease;
}
.tab .icon { font-size: 17px; }
.tab:hover { color: var(--ink); border-color: #c7c9e6; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.shot-stage { max-width: 1080px; margin: 0 auto; }
.shot-stage .browser { box-shadow: 0 30px 70px -30px rgba(18, 16, 58, .4); border-color: var(--line); }
.shot-stage .browser img { aspect-ratio: 1600 / 833; object-fit: cover; object-position: top; transition: opacity .25s ease; }
.shot-caption { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; margin-top: 24px; flex-wrap: wrap; }
.shot-caption h3 { font-size: 20px; }
.shot-caption p { color: var(--muted); margin-top: 4px; max-width: 640px; }
.shot-caption .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--indigo-600); }

/* App screenshots */
.app-shots { background: var(--bg); overflow: hidden; }
.phone-rail {
  display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(24px, calc((100vw - 1200px) / 2 + 24px)) 40px;
  scrollbar-width: thin; scrollbar-color: #c7c9e6 transparent;
}
.phone-rail::-webkit-scrollbar { height: 6px; }
.phone-rail::-webkit-scrollbar-thumb { background: #c7c9e6; border-radius: 6px; }
.phone-item { flex: 0 0 248px; scroll-snap-align: center; }
.phone-item figcaption { margin-top: 22px; text-align: center; }
.phone-item figcaption strong { display: block; color: var(--ink); font-size: 16px; }
.phone-item figcaption span { font-size: 14px; color: var(--muted); }
.rail-controls { display: flex; justify-content: center; gap: 12px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 20px; box-shadow: var(--shadow-sm); }
.rail-btn:hover { border-color: #c7c9e6; }

/* --- In-app mock screens (rendered in HTML, styled after the app UI) --- */
.m { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: "Inter", var(--font); font-size: 11px; color: #1d1b38; background: #f6f7fd; letter-spacing: 0; line-height: 1.35; }
.m-status { height: 30px; flex: none; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 20px 4px; font-size: 10px; font-weight: 600; color: #2b2d42; }
.m-status i { display: inline-block; width: 18px; height: 8px; border: 1.3px solid currentColor; border-radius: 2px; position: relative; vertical-align: middle; }
.m-status i::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: currentColor; border-radius: 1px; }
.m-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; font-weight: 700; flex: none; }
.m-top .icon { font-size: 15px; }
.m-body { flex: 1; overflow: hidden; padding: 4px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.m-nav { flex: none; height: 50px; background: #fff; border-top: 1px solid #ececf6; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; font-size: 8px; color: #9a9cb5; }
.m-nav div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.m-nav .icon { font-size: 15px; }
.m-nav .on { color: var(--indigo); font-weight: 700; }
.m-nav .on .icon { background: #e7e8ff; border-radius: 10px; padding: 3px 10px; width: 36px; height: 21px; }
.m-card { background: #fff; border: 1px solid #ececf6; border-radius: 12px; padding: 10px 11px; }
.m-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.m-tag { font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: #eef0ff; color: var(--indigo-600); }
.m-tag.g { background: var(--green-soft); color: #15803d; }
.m-tag.a { background: var(--amber-soft); color: #b45309; }
.m-tag.r { background: var(--red-soft); color: #b91c1c; }
.m-meta { display: flex; justify-content: space-between; color: #9a9cb5; font-size: 9px; margin-top: 6px; }
.m-title { font-weight: 700; font-size: 11px; }
.m-ta { font-family: var(--font-ta); color: #7a7d96; font-size: 9.5px; margin-top: 2px; }
.m-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 10px; font-weight: 700; font-size: 10.5px; }
.m-chips { display: flex; gap: 5px; overflow: hidden; flex: none; }
.m-chips span { flex: none; font-size: 9px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid #e1e3ee; background: #fff; color: #62657f; }
.m-chips span.on { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* Results list mock */
.m-statband { background: var(--grad); border-radius: 14px; color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 4px; text-align: center; flex: none; }
.m-statband b { display: block; font-size: 14px; }
.m-statband span { font-size: 8px; opacity: .85; }
.m-res { display: flex; align-items: center; gap: 10px; border-top: 3px solid var(--green); }
.m-res.mid { border-top-color: #f59e0b; }
.m-res .ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 10px; color: #fff; background: var(--green); flex: none; }
.m-res.mid .ring { background: #f59e0b; }
.m-res .info { flex: 1; min-width: 0; }
.m-res .row { display: flex; gap: 8px; color: #7a7d96; font-size: 8.5px; margin-top: 5px; }

/* Quiz result mock */
.m-score { background: linear-gradient(160deg, #22c55e, #15a34a); color: #fff; border-radius: 16px; text-align: center; padding: 18px 10px 16px; flex: none; }
.m-score .trophy { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; margin: 0 auto; font-size: 22px; }
.m-score b { display: block; font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.m-score .ex { font-weight: 700; font-size: 12px; }
.m-score .qt { font-size: 10px; opacity: .9; margin-top: 4px; }
.m-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: none; }
.m-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; flex: none; }
.m-stat { background: #fff; border: 1px solid #ececf6; border-radius: 12px; text-align: center; padding: 8px 4px; }
.m-stat .icon { font-size: 15px; }
.m-stat b { display: block; font-size: 14px; margin-top: 2px; }
.m-stat span { font-size: 8.5px; color: #9a9cb5; }

/* Streak mock */
.m-streak { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; border-radius: 16px; padding: 14px; display: flex; justify-content: space-between; align-items: center; flex: none; }
.m-streak small { font-size: 9px; font-weight: 700; opacity: .9; display: flex; align-items: center; gap: 4px; }
.m-streak b { font-size: 34px; font-weight: 800; line-height: 1; }
.m-streak em { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 4px; }
.m-streak p { font-size: 9px; opacity: .9; margin-top: 4px; }
.m-streak .best { background: rgba(255, 255, 255, .2); border-radius: 12px; padding: 8px 10px; text-align: center; font-size: 8px; }
.m-streak .best b { font-size: 16px; display: block; }
.m-ms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: none; }
.m-ms .m-card { padding: 8px 10px; }
.m-bar { height: 5px; background: #ececf6; border-radius: 4px; margin: 6px 0 4px; overflow: hidden; }
.m-bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px; }
.m-cal span { aspect-ratio: 1; border-radius: 5px; background: #eef0f6; font-size: 7px; display: grid; place-items: center; color: #9a9cb5; }
.m-cal .d { background: #f97316; color: #fff; }
.m-cal .q { background: #6ee7b7; color: #065f46; }
.m-cal .t { outline: 1.5px solid var(--indigo); color: var(--indigo); background: #fff; }
.m-cal .h { background: none; font-weight: 700; color: #7a7d96; }

/* Badges mock */
.m-badgebar { background: var(--grad); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; flex: none; }
.m-badgebar .icon { font-size: 20px; }
.m-badgebar b { font-size: 11px; }
.m-badgebar .m-bar { background: rgba(255, 255, 255, .25); margin: 5px 0 0; }
.m-badgebar .m-bar i { background: #fff; }
.m-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.m-badge { background: #fff; border: 1.5px solid #ddd6fe; border-radius: 14px; padding: 12px 8px; text-align: center; }
.m-badge .bi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 6px; font-size: 19px; }
.m-badge b { display: block; font-size: 10px; }
.m-badge span { font-size: 8px; color: #9a9cb5; }
.m-badge.locked { border-color: #ececf6; opacity: .55; }
.m-badge.locked .bi { background: #eef0f6; color: #9a9cb5; }

/* Flashcard mock */
.m-flip { background: var(--grad); border-radius: 16px; color: #fff; padding: 16px 14px; text-align: center; flex: none; position: relative; }
.m-flip small { font-size: 8.5px; font-weight: 700; letter-spacing: .06em; opacity: .8; }
.m-flip p { font-size: 13px; font-weight: 700; margin-top: 8px; }
.m-flip .ta { font-family: var(--font-ta); font-size: 10.5px; opacity: .9; margin-top: 4px; font-weight: 500; }
.m-flip .hint { margin-top: 12px; font-size: 8.5px; opacity: .8; }
.m-fc { display: flex; gap: 9px; align-items: center; }
.m-fc .fi { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 15px; flex: none; }
.m-fc .info { flex: 1; min-width: 0; }
.m-fc .study { background: var(--indigo); color: #fff; font-weight: 700; font-size: 9px; padding: 6px 9px; border-radius: 8px; }

/* Leaderboard-ish / CA bookmark */
.m-bm { color: var(--indigo); float: right; font-size: 13px; }

/* Features */
.features { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6d8f0; }
.f-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; }
.feature h3 { font-size: 18px; margin-top: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 0 22px; align-items: start; background: linear-gradient(140deg, var(--ink), #2a2470); border: 0; color: #c7cbf0; }
.feature.wide h3 { color: #fff; margin-top: 0; }
.feature.wide p { color: #c7cbf0; }
.feature.wide .f-ic { background: rgba(255, 255, 255, .1); color: #c4b5fd; grid-row: span 3; }
.feature.wide ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.feature.wide li { font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .08); color: #e0e7ff; padding: 6px 12px; border-radius: 999px; }
.c-indigo { background: #eef0ff; color: #4f46e5; }
.c-violet { background: #f3e8ff; color: #7c3aed; }
.c-green { background: #dcfce7; color: #16a34a; }
.c-amber { background: #fef3c7; color: #d97706; }
.c-rose { background: #ffe4e6; color: #e11d48; }
.c-sky { background: #e0f2fe; color: #0284c7; }
.c-teal { background: #ccfbf1; color: #0d9488; }
.c-orange { background: #ffedd5; color: #ea580c; }

/* Benefits */
.benefits { background: var(--bg); }
.benefit-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.benefit-col { border-radius: 24px; padding: 38px; border: 1px solid var(--line); }
.benefit-col.inst { background: linear-gradient(170deg, #f5f3ff, #fff 60%); }
.benefit-col.stud { background: linear-gradient(170deg, #ecfdf5, #fff 60%); }
.benefit-col header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.benefit-col header .f-ic { flex: none; }
.benefit-col header h3 { font-size: 22px; }
.benefit-col header p { color: var(--muted); font-size: 14.5px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.benefit-list li { display: flex; gap: 14px; }
.benefit-list .ck { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; flex: none; margin-top: 1px; }
.inst .ck { background: var(--indigo); color: #fff; }
.stud .ck { background: var(--green); color: #fff; }
.benefit-list strong { color: var(--ink); display: block; font-size: 16px; }
.benefit-list span { color: var(--muted); font-size: 15px; }
.multiplier {
  margin-top: 28px; border-radius: 24px; padding: 30px 36px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.multiplier h3 { color: #fff; font-size: 22px; }
.multiplier p { color: #e0e7ff; margin-top: 4px; }
.mult-flow { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.mult-flow span { background: rgba(255, 255, 255, .16); padding: 9px 14px; border-radius: 12px; display: flex; align-items: center; gap: 8px; }
.mult-flow .icon.arrow { opacity: .8; }

/* How it works */
.how { background: var(--ink); color: #c7cbf0; position: relative; overflow: hidden; }
.how::before { content: ""; position: absolute; left: 50%; top: -200px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124, 58, 237, .35), transparent); }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: #a5a9d6; }
.how .eyebrow { color: #a5b4fc; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(165, 180, 252, .1), rgba(165, 180, 252, .5), rgba(165, 180, 252, .1)); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .num { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 26px; box-shadow: 0 0 0 8px var(--ink), 0 12px 30px -6px rgba(124, 58, 237, .6); }
.step small { display: block; margin-top: 22px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #a5b4fc; }
.step h3 { color: #fff; font-size: 19px; margin-top: 6px; }
.step p { margin-top: 8px; font-size: 15px; color: #a5a9d6; }
.how-note { position: relative; margin: 50px auto 0; max-width: 760px; display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 18px 20px; font-size: 14.5px; }
.how-note .icon { color: #a5b4fc; font-size: 20px; margin-top: 2px; }
.how-note strong { color: #fff; }

/* Register */
.register { background: var(--bg-soft); }
.reg-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.reg-info { background: linear-gradient(160deg, var(--navy) 0%, #2a2470 100%); color: #c7cbf0; padding: 48px; position: relative; overflow: hidden; }
.reg-info::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 70%); }
.reg-info .eyebrow { color: #a5b4fc; }
.reg-info h2 { color: #fff; font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; }
.reg-info > p { margin-top: 16px; font-size: 16.5px; }
.reg-perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.reg-perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.reg-perks .icon { color: #86efac; font-size: 20px; margin-top: 1px; }
.reg-perks strong { color: #fff; }
.reg-form { padding: 48px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field label .opt { color: var(--muted); font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9a9cb5; font-size: 18px; pointer-events: none; }
.input-wrap input, .input-wrap select {
  width: 100%; height: 52px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff;
  padding: 0 16px 0 46px; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.input-wrap select { cursor: pointer; padding-right: 42px; }
.input-wrap .chev { left: auto; right: 15px; }
.input-wrap input::placeholder { color: #a7a9bf; }
.input-wrap input:focus, .input-wrap select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field .err { display: none; color: var(--red); font-size: 13px; margin-top: 6px; font-weight: 600; }
.field.invalid .err { display: block; }
.mobile-prefix { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-wrap.has-prefix input { padding-left: 82px; }
.reg-form .btn { width: 100%; height: 56px; font-size: 17px; margin-top: 6px; }
.reg-form .btn[disabled] { opacity: .7; cursor: progress; }
.privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.privacy .icon { color: var(--green); font-size: 17px; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.form-msg.error { display: block; background: var(--red-soft); color: #991b1b; }
.reg-success { display: none; text-align: center; padding: 30px 10px; }
.reg-success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto; font-size: 36px; }
.reg-success h3 { font-size: 24px; margin-top: 20px; }
.reg-success p { color: var(--muted); margin-top: 10px; }
.reg-form.done form { display: none; }
.reg-form.done .reg-success { display: block; }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: #d6d8f0; box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { font-size: 20px; color: var(--muted); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--indigo); }
.faq-list .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* CTA band */
.cta-band { padding: 0 0 104px; background: var(--bg); }
.cta-box { border-radius: 28px; padding: 56px; text-align: center; color: #fff; background: radial-gradient(600px 300px at 80% 0%, rgba(255, 255, 255, .18), transparent 60%), var(--grad); }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.cta-box p { margin: 14px auto 28px; max-width: 560px; color: #e0e7ff; font-size: 17px; }

/* Footer */
.site-footer { background: var(--navy); color: #a5a9d6; padding: 64px 0 32px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.foot-tag { margin-top: 16px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #a5a9d6; }
.site-footer a:hover { color: #fff; }
.disclaimer { margin-top: 44px; padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; }
.disclaimer .icon { font-size: 20px; color: #a5b4fc; margin-top: 1px; }
.disclaimer strong { color: #e0e7ff; }
.foot-bottom { margin-top: 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #7d81b0; }

/* Sticky mobile CTA */
.mobile-cta { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 22px; }
  .steps::before { display: none; }
  .reg-wrap { grid-template-columns: 1fr; }
  .hero-tag { display: none; }
}
@media (max-width: 860px) {
  section { padding: 76px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 12px; right: 12px; padding: 8px;
    background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
  }
  .nav-links.open a { display: block; padding: 13px 14px; color: var(--ink); border-radius: 10px; }
  .nav-links.open a:hover { background: var(--bg-soft); }
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .problem-solution, .audience, .benefit-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .hero { padding-top: 120px; }
  .hero-phone { width: 34%; right: -4%; bottom: -24px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16.5px; }
  .hero h1 { font-size: 36px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; align-items: center; gap: 8px; }
  .hero-visual { margin: 0 -6px; width: calc(100% + 12px); }
  .browser-bar { height: 26px; padding: 0 9px; gap: 5px; }
  .browser-bar i { width: 7px; height: 7px; }
  .browser-bar .url { height: 17px; font-size: 9px; margin-left: 6px; }
  .hero-phone { width: 36%; right: -2%; bottom: -14px; }
  .phone { border-radius: 22px; padding: 5px; }
  .hero-phone .phone::before { top: 8px; height: 8px; }
  .hero-phone .phone .screen { border-radius: 18px; }
  .exam-strip { padding: 50px 0 24px; }
  .exam-strip p { flex-basis: 100%; text-align: center; margin: 0; }
  .ps-card, .aud-card, .benefit-col { padding: 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature.wide .f-ic { grid-row: auto; margin-bottom: 16px; }
  .feature { padding: 22px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 22px; padding: 0 16px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .phone-rail { gap: 22px; padding: 10px 16px 30px; }
  .phone-item { flex-basis: 230px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .multiplier { padding: 24px; }
  .mult-flow { flex-wrap: wrap; }
  .reg-info, .reg-form { padding: 28px 22px; }
  .reg-wrap { border-radius: 22px; }
  .cta-box { padding: 40px 22px; border-radius: 22px; }
  .cta-band { padding-bottom: 64px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid > :first-child { grid-column: auto; }
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    transform: translateY(140%); transition: transform .3s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 12px 30px -6px rgba(79, 70, 229, .7); }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-tag { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Pre-launch notices */
.launch-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px !important;
  padding: 8px 16px; border-radius: 999px; background: var(--amber-soft); color: #92400e;
  font-size: 14px !important; font-weight: 700;
}
.launch-chip .icon { font-size: 16px; }
.reg-launch {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 18px;
  padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 14.5px; color: #e0e7ff; position: relative; z-index: 1;
}
.reg-launch .icon { color: #fcd34d; font-size: 18px; margin-top: 2px; }

/* "I am a" role picker */
.field .label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.role-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-opt { position: relative; cursor: pointer; }
.role-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role-opt > span {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.role-opt .icon { grid-row: span 2; font-size: 22px; color: #9a9cb5; }
.role-opt b { font-size: 15px; color: var(--ink); line-height: 1.25; }
.role-opt small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.role-opt:hover > span { border-color: #c7c9e6; }
.role-opt input:checked + span { border-color: var(--indigo); background: var(--tint); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.role-opt input:checked + span .icon { color: var(--indigo); }
.role-opt input:focus-visible + span { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.field.invalid .role-opt > span { border-color: var(--red); }
@media (max-width: 360px) { .role-opts { grid-template-columns: 1fr; } }

/* ---------- Live quiz demo (hero) ---------- */
.hero-live { position: relative; width: 272px; margin: 40px auto 0; }
.hero-live .hero-phone { position: relative; right: auto; bottom: auto; width: 100%; z-index: 2; }
.hero-shot { position: relative; width: 100%; max-width: 1080px; margin: 0 auto; }
.lq, .live-card { text-align: left; }
.lq-q .en, .lq-q .ta { display: block; }
.hero-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  position: absolute; left: 50%; top: -40px; transform: translateX(-50%); white-space: nowrap;
  background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow); margin: 0;
}
.hero-hint::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.pulse, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.lq-head { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px 6px; }
.lq-head b { display: block; font-size: 13px; }
.lq-sub { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: #7a7d96; font-weight: 600; font-variant-numeric: tabular-nums; }
.lq-lang { display: flex; background: #e9eaf6; border-radius: 9px; padding: 2px; }
.lq-lang button { border: 0; background: none; font: inherit; font-size: 9px; font-weight: 700; color: #62657f; padding: 4px 7px; border-radius: 7px; cursor: pointer; }
.lq-lang button[aria-checked="true"] { background: #fff; color: var(--indigo); box-shadow: 0 1px 3px rgba(20, 18, 46, .12); }
.lq-lang button[lang="ta"] { font-family: var(--font-ta); }
.lq-prog { flex: none; height: 4px; margin: 2px 14px 4px; background: #e4e6f2; border-radius: 4px; overflow: hidden; }
.lq-prog i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width .5s ease; }
.lq-body { flex: 1; overflow: hidden; padding: 6px 12px 8px; display: flex; flex-direction: column; position: relative; }
.lq-anim { animation: lqIn .35s ease both; display: flex; flex-direction: column; gap: 7px; }
@keyframes lqIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.lq-meta { display: flex; justify-content: space-between; align-items: center; font-size: 9px; color: #7a7d96; font-weight: 700; }
.lq-meta .streak { display: inline-flex; align-items: center; gap: 3px; color: #ea580c; background: #ffedd5; padding: 2px 7px; border-radius: 999px; }
.lq-q { background: #fff; border: 1px solid #ececf6; border-radius: 12px; padding: 10px 11px; }
.lq-q .en { font-weight: 700; font-size: 11.5px; line-height: 1.35; }
.lq-q .ta { font-family: var(--font-ta); font-size: 10.5px; color: #4b4e6b; margin-top: 4px; line-height: 1.45; font-weight: 500; }
.lq-q .ta:only-child { font-size: 11.5px; color: #1d1b38; font-weight: 600; margin-top: 0; }
.lq-opts { display: grid; gap: 6px; }
.lq-opt {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid #e4e6f2; border-radius: 11px; padding: 7px 9px; font: inherit; color: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, transform .1s, opacity .2s;
}
.lq-opt:hover:not([disabled]) { border-color: #c7c9e6; }
.lq-opt:active:not([disabled]) { transform: scale(.98); }
.lq-opt[disabled] { cursor: default; }
.lq-opt .k { width: 20px; height: 20px; border-radius: 7px; background: #eef0ff; color: var(--indigo); font-weight: 800; font-size: 9.5px; display: grid; place-items: center; flex: none; }
.lq-opt .t { display: flex; flex-direction: column; font-size: 10.5px; font-weight: 600; line-height: 1.3; }
.lq-opt .t .ta { font-family: var(--font-ta); font-size: 9.5px; color: #7a7d96; font-weight: 500; }
.lq-opt .t .ta:only-child { font-size: 10.5px; color: inherit; font-weight: 600; }
.lq-opt.correct { border-color: #22c55e; background: #f0fdf4; }
.lq-opt.correct .k { background: #22c55e; color: #fff; }
.lq-opt.wrong { border-color: #ef4444; background: #fef2f2; }
.lq-opt.wrong .k { background: #ef4444; color: #fff; }
.lq-opt.dim { opacity: .5; }
.lq-opt .tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(79, 70, 229, .35); transform: translate(-50%, -50%) scale(0); animation: tap .6s ease-out forwards; pointer-events: none; }
@keyframes tap { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(5); opacity: 0; } }
.lq-exp { display: flex; gap: 7px; align-items: flex-start; background: #eef0ff; border-radius: 10px; padding: 7px 9px; font-size: 9.5px; color: #3730a3; line-height: 1.4; animation: lqUp .3s ease both; }
.lq-exp .icon { font-size: 12px; margin-top: 1px; }
.lq-exp .ta { font-family: var(--font-ta); display: block; }
.lq-exp.bad { background: #fef2f2; color: #991b1b; }
@keyframes lqUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lq-res { text-align: center; }
.lq-ring { position: relative; width: 104px; height: 104px; margin: 4px auto 0; }
.lq-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lq-ring circle { fill: none; stroke-width: 9; }
.lq-ring .bg { stroke: #e4e6f2; }
.lq-ring .fg { stroke: #22c55e; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1s ease; }
.lq-ring .fg.mid { stroke: #f59e0b; }
.lq-ring div { position: absolute; inset: 0; display: grid; place-content: center; }
.lq-ring b { font-size: 22px; font-weight: 800; }
.lq-ring small { font-size: 9px; color: #7a7d96; font-weight: 600; }
.lq-res h4 { font-size: 13px; margin: 0; }
.lq-res .row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lq-res .row div { background: #fff; border: 1px solid #ececf6; border-radius: 11px; padding: 7px 4px; }
.lq-res .row b { display: block; font-size: 13px; }
.lq-res .row span { font-size: 8.5px; color: #7a7d96; }
.lq-res .fire b { color: #ea580c; }
.lq-res .fire .icon { animation: flame 1s ease-in-out infinite alternate; color: #f97316; }
@keyframes flame { from { transform: scale(1); } to { transform: scale(1.25); } }
.lq-again { border: 0; font: inherit; font-weight: 700; font-size: 10.5px; height: 30px; border-radius: 10px; background: var(--grad); color: #fff; cursor: pointer; }

/* Live dashboard card */
.hero-tag.live-card { display: block; left: -3%; top: 20%; width: 236px; padding: 14px 16px; }
.lc-top { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #16a34a; }
.live-card strong { margin-top: 6px; font-size: 15px; }
.lc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.lc-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; transition: color .3s; }
.lc-stats b.bump { color: var(--green); }
.lc-stats span { font-size: 11.5px; color: var(--muted); }
.lc-bar { height: 6px; background: #e4e6f2; border-radius: 6px; margin-top: 10px; overflow: hidden; }
.lc-bar i { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, #16a34a); border-radius: 6px; transition: width .8s ease; }
.lc-feed { margin-top: 10px; font-size: 12px; color: var(--muted); min-height: 18px; }
.lc-feed.new { color: var(--ink); font-weight: 600; animation: lqUp .4s ease both; }

/* Wide screens: headline left, live phone right, admin screenshot below */
@media (min-width: 1100px) {
  .hero { padding-top: 124px; }
  .hero-inner { grid-template-columns: 1fr 440px; grid-template-areas: "copy live" "shot shot"; gap: 36px 40px; text-align: left; align-items: center; }
  .hero-copy { grid-area: copy; margin: 0; max-width: none; }
  .hero h1 { font-size: clamp(44px, 3.9vw, 58px); }
  .hero h1 br { display: none; }
  .hero-sub { margin-left: 0; }
  .hero-actions, .hero-points { justify-content: flex-start; }
  .hero-live { grid-area: live; margin: 40px 0 0 auto; width: 280px; }
  .hero-shot { grid-area: shot; margin-top: 24px; }
  .hero-tag.live-card { left: -226px; top: auto; bottom: 14px; z-index: 3; }
}
/* Tablets: show the live card beside the phone when there's room */
@media (min-width: 700px) and (max-width: 1099px) {
  .hero-tag.live-card { display: block; left: auto; right: calc(100% + 24px); top: 34%; }
}
@media (max-width: 699px) {
  .hero-tag.live-card { display: none; }
}
@media (max-width: 600px) {
  .hero-inner { gap: 48px; }
  .hero { padding-bottom: 56px; }
  .hero-live { width: 256px; margin-top: 30px; }
  .pill { font-size: 12.5px; padding: 6px 14px 6px 6px; }
  .pill b { white-space: nowrap; font-size: 11px; }
  .hero .hero-shot .browser { border-radius: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .hero .hero-phone .phone { border-radius: 34px; padding: 9px; }
  .hero .hero-phone .phone::before { top: 15px; height: 16px; }
  .hero .hero-phone .phone .screen { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .live-dot, .lq-res .fire .icon, .lq-anim, .lq-exp, .lc-feed.new { animation: none; }
}
