/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.5;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER & NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(15,23,42,0.85));
  border-bottom: 1px solid rgba(51,65,85,0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.logo span {
  color: #60a5fa;
}

/* Desktop nav */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  color: #cbd5f5;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav a.active {
  border-color: #60a5fa;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* HERO */
.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56,189,248,0.35), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(244,114,182,0.35), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(129,140,248,0.5), transparent 55%),
    #020617;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.hero-text h1 span {
  color: #60a5fa;
}

.hero-text p {
  margin: 0 0 18px;
  color: #cbd5f5;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 18px 40px rgba(37,99,235,0.6);
}

.btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.7);
}

/* HERO VISUAL / GLASS CARD */
.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-card {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  padding: 18px 16px 16px;
  background: radial-gradient(circle at top, rgba(96,165,250,0.18), transparent 55%),
              rgba(15,23,42,0.97);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 22px 40px rgba(15,23,42,0.9);
}

.glass-card h2, .glass-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.glass-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.glass-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.pill-good {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.pill-medium {
  background: rgba(59,130,246,0.15);
  color: #93c5fd;
}

.pill-low {
  background: rgba(248,113,113,0.15);
  color: #fecaca;
}

/* SCORE RING (simple circle style) */
.score-ring {
  margin: 10px auto 8px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid rgba(55,65,81,0.85);
  border-top-color: #60a5fa;
  border-right-color: #8b5cf6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-size: 2rem;
  font-weight: 600;
}

.score-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.glass-caption {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* SECTIONS */
.section {
  padding: 40px 0;
}

.section.alt {
  background: radial-gradient(circle at top, rgba(30,64,175,0.3), transparent 60%);
}

.section-header {
  max-width: 620px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.94rem;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: rgba(15,23,42,0.96);
  border-radius: 20px;
  border: 1px solid rgba(55,65,81,0.9);
  padding: 16px 14px;
  box-shadow: 0 18px 38px rgba(15,23,42,0.9);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

/* TEST LAYOUT */
.test-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: flex-start;
}

.test-copy h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.test-copy p {
  margin: 0 0 12px;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.bullet-list {
  list-style: disc;
  margin: 0 0 12px 1.1rem;
  padding: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.coming-soon {
  font-size: 0.82rem;
  color: #facc15;
}

/* SAMPLE QUESTION CARD */
.test-preview .glass-card {
  max-width: 100%;
}

.sample-question {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.options {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.option {
  background: rgba(15,23,42,0.9);
  border-radius: 999px;
  border: 1px solid rgba(55,65,81,0.9);
  color: #e5e7eb;
  padding: 7px 10px;
  font-size: 0.85rem;
  text-align: left;
  cursor: default;
}

.hint {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* CTA BLOCK */
.cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-block h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.cta-block p {
  margin: 0 0 16px;
  color: #cbd5f5;
  font-size: 0.95rem;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(31,41,55,0.95);
  padding: 24px 0 32px;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.footer-logo {
  font-size: 1.2rem;
}

.footer-text {
  font-size: 0.84rem;
  color: #9ca3af;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

.footer-meta {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: #6b7280;
}

/* LEGAL / CONTACT PAGE HELPERS */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.legal-content h3 {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 1rem;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 8px;
  color: #9ca3af;
}

.contact-form {
  background: rgba(15,23,42,0.96);
  border-radius: 18px;
  border: 1px solid rgba(55,65,81,0.9);
  padding: 16px;
}

.form-row {
  margin-bottom: 10px;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(55,65,81,0.9);
  padding: 7px 9px;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.86rem;
}

/* RESPONSIVE / MOBILE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    order: -1; /* show card first on mobile if you prefer */
    margin-bottom: 20px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: row;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .test-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .nav {
    position: absolute;
    top: 56px;
    right: 16px;
    flex-direction: column;
    background: rgba(15,23,42,0.98);
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(51,65,85,0.9);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* LANDING PAGE EXTRA STYLES */

.hero-landing {
  padding-top: 80px;
  padding-bottom: 32px;
}

.hero-actions-landing {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.value-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.value-pill {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #cbd5f5;
  background: rgba(15,23,42,0.9);
}

.countdown-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.countdown-label {
  font-size: 0.78rem;
  color: #9ca3af;
}

.countdown-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(239,68,68,0.12);
  color: #fecaca;
  border: 1px solid rgba(248,113,113,0.6);
  font-family: mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86rem;
}

/* Kid silhouette card */

.kid-card {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  padding: 16px 14px 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(251,113,133,0.35), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(56,189,248,0.35), transparent 60%),
    rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: 0 20px 40px rgba(15,23,42,0.9);
  position: relative;
  overflow: hidden;
}

.kid-orbit {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(129,140,248,0.5), transparent 55%);
  opacity: 0.7;
}

.kid-silhouette {
  position: relative;
  margin: 8px auto 12px;
  width: 120px;
  height: 120px;
  border-radius: 40% 60% 55% 45%;
  background:
    radial-gradient(circle at 30% 20%, rgba(248,250,252,0.7), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(59,130,246,0.7), rgba(15,23,42,0.9));
  box-shadow: 0 14px 30px rgba(15,23,42,0.9);
}

.kid-meta {
  position: relative;
  padding: 6px 4px 0;
}

.kid-name {
  margin: 0 0 2px;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.kid-score {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: #a5b4fc;
}

.kid-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kid-bar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: #cbd5f5;
}

.bar-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(30,64,175,0.7);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
}

.bar-fill.logic {
  width: 82%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.bar-fill.creativity {
  width: 74%;
  background: linear-gradient(90deg, #f97316, #facc15);
}

.bar-fill.confidence {
  width: 68%;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
}

.kid-caption {
  position: relative;
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: #94a3b8;
}

/* Live strip */

.live-strip {
  border-top: 1px solid rgba(51,65,85,0.9);
  border-bottom: 1px solid rgba(51,65,85,0.9);
  background: rgba(15,23,42,0.96);
  margin-top: 22px;
  padding: 6px 0;
}

.live-strip .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #9ca3af;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97373;
  box-shadow: 0 0 0 4px rgba(248,113,113,0.35);
}

.live-label {
  font-weight: 500;
  color: #e5e7eb;
}

.live-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Steps grid adjustment */
.steps-grid {
  margin-bottom: 16px;
}

.cta-center {
  text-align: center;
  margin-top: 8px;
}

.cta-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 6px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: rgba(15,23,42,0.97);
  border-radius: 16px;
  border: 1px solid rgba(51,65,85,0.95);
  padding: 12px 14px;
}

.faq-item h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.84rem;
  color: #9ca3af;
}

/* Stars */
.stars {
  color: #facc15;
}

/* Responsive tweaks for landing */
@media (max-width: 900px) {
  .hero-landing .hero-grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hero-landing {
    padding-top: 68px;
  }

  .hero-landing .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-landing .hero-visual {
    order: -1;
  }

  .value-stack {
    flex-direction: column;
    align-items: stretch;
  }

  .live-strip .container {
    flex-wrap: wrap;
  }
}

