/* ============================================================
   NEUROGENETICS INSTITUTE — Shared Design System
   Used by landing + attendee pages (Summer Exam Advantage)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #07070b;
  color: #e4e4e7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fafafa;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; color: #fbbf24; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fafafa; }
p { margin-bottom: 1rem; color: #d4d4d8; }
strong { color: #fafafa; font-weight: 600; }
em { color: #fbbf24; font-style: italic; }
a { color: #fbbf24; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; text-decoration: underline; }

/* ---------- TOP BAR ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(7, 7, 11, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f1f26;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-tag {
  font-size: 0.75rem;
  color: #fbbf24;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.topbar-brand span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fafafa;
  letter-spacing: 0.02em;
}
.topbar-logo { height: 32px; width: auto; }

/* ---------- PAGE LAYOUT ---------- */
.page {
  min-height: auto;
  padding: 5rem 2rem;
  position: relative;
  border-bottom: 1px solid #1f1f26;
  background:
    radial-gradient(ellipse at top, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #07070b 0%, #0a0a12 100%);
}
.page-inner { max-width: 900px; margin: 0 auto; width: 100%; }
.page-inner.wide { max-width: 1100px; }

/* ---------- SECTION HEADER ---------- */
.section-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1f1f26;
}
.section-number {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.05);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, rgba(251, 191, 36, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(45, 212, 191, 0.05) 0%, transparent 50%),
    #07070b;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero h1 {
  background: linear-gradient(135deg, #fafafa 0%, #fbbf24 50%, #fafafa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  max-width: 900px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #a1a1aa;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}
.hero-logo-big {
  width: 120px;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.25));
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; opacity: 1; transform: translateY(-2px); }
.btn-primary {
  background: #fbbf24;
  color: #07070b;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.25);
}
.btn-primary:hover { background: #f59e0b; box-shadow: 0 14px 40px rgba(251, 191, 36, 0.35); }
.btn-large { padding: 1.25rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-secondary {
  background: transparent;
  color: #fafafa;
  border: 1px solid #27272a;
}
.btn-secondary:hover { border-color: #fbbf24; color: #fbbf24; }

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- PRICE ---------- */
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fafafa;
  letter-spacing: -0.03em;
}
.price-currency { font-size: 1.5rem; color: #fbbf24; font-weight: 700; }
.price-note { color: #71717a; font-size: 0.9rem; }

/* ---------- CARDS & GRIDS ---------- */
.card {
  background: linear-gradient(180deg, #12121a 0%, #0d0d14 100%);
  border: 1px solid #1f1f26;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}
.card:hover { border-color: rgba(251, 191, 36, 0.3); }
.card-accent { border-left: 3px solid #fbbf24; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.mini-card {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  padding: 1.5rem;
}
.mini-card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; display: block; }

/* ---------- NUMBERED STEPS ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.step-card {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
}
.step-card-num {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.step-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* ---------- CALLOUT ---------- */
.callout {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(251, 191, 36, 0.02) 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.callout p { color: #fafafa; margin: 0; font-size: 1.05rem; }

/* ---------- INFO ROW (date / time / etc.) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.info-tile {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.info-tile-label {
  font-size: 0.75rem;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.info-tile-value { font-size: 1.15rem; color: #fafafa; font-weight: 700; }

/* ---------- DOWNLOAD LIST ---------- */
.download-list { list-style: none; margin: 1.5rem 0; }
.download-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.download-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  color: #fafafa;
  font-weight: 600;
}
.download-list a:hover { text-decoration: none; }
.download-list li:hover { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.04); transform: translateX(4px); }
.download-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.download-meta { color: #71717a; font-size: 0.85rem; font-weight: 400; margin-left: auto; }

/* ---------- CHECKLIST ---------- */
.checklist { list-style: none; margin: 1rem 0; }
.checklist li {
  padding: 0.75rem 1rem;
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d4d4d8;
}
.checklist li::before { content: '✓'; font-size: 1rem; color: #fbbf24; font-weight: 700; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #fafafa;
  font-size: 1.05rem;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .icon { color: #fbbf24; font-size: 1.4rem; transition: transform 0.2s; }
.faq-item[open] .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: #d4d4d8; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #fbbf24 0%, #27272a 100%);
}
.timeline-item {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: #0d0d14;
  border: 1px solid #1f1f26;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.75rem;
  width: 16px;
  height: 16px;
  background: #fbbf24;
  border-radius: 50%;
  border: 3px solid #07070b;
  box-shadow: 0 0 0 2px #fbbf24;
}
.timeline-day { font-family: 'Courier New', monospace; font-size: 0.75rem; color: #fbbf24; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; font-weight: 600; }
.timeline-title { font-size: 1.1rem; color: #fafafa; font-weight: 600; margin-bottom: 0.4rem; }
.timeline-desc { color: #a1a1aa; font-size: 0.95rem; margin: 0; }

/* ---------- RESULT BOX / HIGHLIGHT ---------- */
.result-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(45, 212, 191, 0.05) 100%);
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: 14px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
.result-box-label { font-size: 0.8rem; color: #fbbf24; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 600; }
.result-box-value { font-size: 1.4rem; color: #fafafa; font-weight: 700; margin-bottom: 0.5rem; }
.result-box-desc { color: #d4d4d8; font-size: 0.95rem; }

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: #a1a1aa; margin-top: 0.25rem; }

/* ---------- GLOBAL FOOTER ---------- */
.global-footer {
  padding: 4rem 2rem;
  text-align: center;
  background: #050508;
  border-top: 1px solid #1f1f26;
}
.global-footer-logo { width: 60px; height: auto; margin-bottom: 1.5rem; opacity: 0.8; }
.global-footer-brand { font-size: 1.1rem; color: #fafafa; font-weight: 600; margin-bottom: 0.5rem; }
.global-footer-tagline { font-size: 0.9rem; color: #71717a; font-style: italic; margin-bottom: 2rem; }
.cta-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.02) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.cta-box h3 { color: #fafafa; margin-bottom: 1rem; }
.cta-box p { color: #d4d4d8; margin-bottom: 1.5rem; }
.footer-legal { font-size: 0.75rem; color: #52525b; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: #a1a1aa; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .page { padding: 3rem 1.25rem; }
  .topbar { padding: 0.75rem 1.25rem; }
  .topbar-brand span { display: none; }
  .stats-bar { gap: 2rem; }
  .info-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .btn-row { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .btn-row .btn { width: 100%; }
  .result-box { padding: 1.5rem; }
  .callout { padding: 1.25rem 1.25rem; }
}

/* ---------- DOWNLOAD LIST ---------- */
.download-version {
  color: #fbbf24;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  margin-left: 0.4rem;
}
@media (max-width: 640px) {
  .download-list li { flex-wrap: wrap; padding: 1rem 1.1rem; }
  .download-list a { gap: 0.75rem; }
  .download-list a > span:nth-child(2) { flex: 1 1 60%; }
  .download-meta { margin-left: 0; width: 100%; padding-top: 0.25rem; border-top: 1px dashed #27272a; margin-top: 0.25rem; }
}

/* ---------- PRINT ---------- */
@media print {
  body { background: white; color: #111; }
  .topbar, .global-footer { display: none; }
  .page { border-bottom: none; background: white; padding: 1.5rem; }
  h1, h2, h3, h4, strong { color: #111 !important; -webkit-text-fill-color: #111 !important; }
  .card, .mini-card { background: #f9f9f9; border-color: #ccc; }
}
