:root {
  --ink: #14152b;
  --ink-soft: #5b5f78;
  --ink-faint: #8b8fa3;
  --paper: #ffffff;
  --bg: #f7f7fb;
  --bg-tint: #f1f1f9;
  --brand: #4f46e5;
  --brand-dark: #3c33c9;
  --brand-light: #6d63ff;
  --brand-tint: #eeecfd;
  --alt: #0ea56f;
  --alt-tint: #e5f8ef;
  --line: #e6e6f0;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 21, 43, 0.05);
  --shadow: 0 4px 16px -4px rgba(20, 21, 43, 0.08), 0 1px 3px rgba(20, 21, 43, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(79, 70, 229, 0.22), 0 4px 12px rgba(20, 21, 43, 0.06);
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-playstore { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.icon-playstore-sm { width: 15px; height: 15px; flex-shrink: 0; vertical-align: -2px; margin-right: 2px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-sm .logo-mark { width: 28px; height: 28px; }
.logo span {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo:hover { text-decoration: none; }
.logo-sm { font-size: 1.1rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav > a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav > a:hover { color: var(--brand); text-decoration: none; }

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-pill:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(79, 70, 229, 0.6); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-on-dark { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.btn-on-dark:hover { color: #fff; border-color: #fff; }
.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 88px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(480px 320px at 15% 20%, rgba(79, 70, 229, 0.16), transparent 70%),
    radial-gradient(420px 320px at 85% 10%, rgba(14, 165, 111, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 20px;
}
.eyebrow-center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-proof {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 480px;
}
.hero-proof .icon { color: var(--alt); margin-top: 2px; }

/* Hero visual: explainer video */
.hero-visual { position: relative; }
.hero-video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--paper);
}
.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 670;
  object-fit: cover;
}
.hero-video-caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* Sections */
section { padding: 88px 0; }
section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 auto 52px;
  max-width: 560px;
  text-align: center;
}

/* Meet GK Quiz Master */
.gkqm { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.gkqm-copy { color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; margin: 0 auto 36px; }
.gkqm-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* For-institutes: compact hero */
.hero-compact { padding: 72px 0 56px; }
.hero-inner-single { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; text-align: center; }
.hero-sub-center { margin-left: auto; margin-right: auto; }
.hero-actions-center { justify-content: center; }

/* For-institutes: problem framing */
.problem-simple { padding: 0 0 64px; }
.problem-simple-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.problem-simple-inner p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* Two experiences (used on for-institutes) */
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.experience-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.experience-card h3 { font-size: 1.25rem; margin: 14px 0 18px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.check-list-alt li::before {
  background-color: var(--alt-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea56f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.status-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.status-tag-live { background: var(--alt-tint); color: #0a7d54; }
.status-tag-dev { background: var(--bg-tint); color: var(--ink-soft); border: 1px solid var(--line); }

/* For-institutes: early access */
.early-access { background: var(--ink); text-align: center; }
.early-access-inner { max-width: 620px; }
.early-access h2 { color: #fff; margin-bottom: 14px; }
.early-access p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin: 0 0 28px; }
.early-access .eyebrow-alt-dark { background: rgba(255,255,255,0.1); color: #c7c4ff; border: none; }

/* Showcase (phone frames) */
.showcase-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  justify-content: flex-start;
}
.showcase-row-center { justify-content: center; margin-bottom: 32px; }
.phone-frame {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.phone-screen {
  width: 190px;
  height: 380px;
  background: var(--paper);
  border: 6px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-screen-photo { padding: 0; overflow: hidden; }
.phone-screen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-label { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.showcase-note { text-align: center; color: var(--ink-faint); font-size: 0.85rem; margin: 8px auto 0; max-width: 480px; }

/* Exam coverage */
.exam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.exam-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.exam-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.exam-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.exam-card p { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }

/* Features / capabilities */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* Trust strip */
.proof { padding: 60px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-lead {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 0 28px;
}
.proof-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.proof-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.proof-grid .icon { color: var(--alt); }

/* Philosophy */
.philosophy { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.philosophy-copy h2 { text-align: left; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.philosophy-copy p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.philosophy-art { width: 100%; height: auto; }

/* Institute teaser */
.institute-teaser { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.institute-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.institute-teaser-inner h2 { text-align: left; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.institute-teaser-inner > div:first-child { max-width: 560px; }
.institute-teaser-inner p { color: var(--ink-soft); margin: 0; }
.eyebrow-alt-dark { background: var(--bg); color: var(--ink-soft); border: 1px solid var(--line); }

/* Vision */
.vision { padding: 64px 0; }
.vision-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}
.vision-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.vision-card p { color: var(--ink-soft); margin: 0; }

/* Final CTA */
.final-cta { background: var(--ink); }
.final-cta-inner { text-align: center; max-width: 620px; }
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin: 0 0 32px; }
.final-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Contact */
.contact { background: var(--bg-tint); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { text-align: left; margin: 6px 0 16px; }
.contact-copy p { color: var(--ink-soft); }
.contact-email {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 22px; font-size: 0.95rem;
}
.contact-email .icon { color: var(--brand); margin-top: 2px; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: -1px;
}
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row select { cursor: pointer; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.form-note { margin: 14px 0 0; font-size: 0.88rem; color: var(--ink-soft); text-align: center; }
.form-note.success { color: var(--alt); font-weight: 600; }
.form-note.error { color: #c0392b; }

/* Footer */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand p { color: var(--ink-soft); font-size: 0.88rem; margin: 14px 0 0; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin: 0 0 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-col a:hover { color: var(--brand); }
.footer-link-icon { display: inline-flex; align-items: center; gap: 6px; }
.footer-soon { color: var(--ink-faint); font-size: 0.9rem; }
.footer-copyright { margin: 0; font-size: 0.85rem; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 24px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .institute-teaser-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .institute-teaser-inner .btn { width: 100%; justify-content: center; }
  .experience-grid { grid-template-columns: 1fr; }
  .philosophy-inner { grid-template-columns: 1fr; }
  .philosophy-copy h2, .philosophy-copy p { text-align: center; }
  .philosophy-art { order: -1; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-buttons { flex-direction: column; align-items: stretch; margin-top: 12px; gap: 10px; }
  .nav-buttons .btn { width: 100%; }
  .nav-buttons .nav-pill { width: 100%; justify-content: center; border-radius: var(--radius-sm); padding: 12px 4px; }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 64px 0; }
  .proof-grid { flex-direction: column; align-items: flex-start; gap: 10px; margin-left: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}
