/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0e1024;
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.9em; background: rgba(110, 80, 220, 0.1); padding: 1px 6px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }
.section { padding: 96px 0; }
.section-alt { background: #f7f8fc; }
.section-form { background: linear-gradient(180deg, #f7f8fc 0%, #eef0fb 100%); }

.section-head { text-align: center; margin-bottom: 56px; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6e50e0;
  background: rgba(110, 80, 224, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-sub { font-size: 17px; color: #4a4e6a; max-width: 640px; margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  color: #e8ecff;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6e50e0, #d24cff);
  align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 20px rgba(110, 80, 224, 0.4);
}
.brand-text { letter-spacing: -0.01em; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav nav a { color: rgba(232,236,255,0.75); transition: color .15s; }
.nav nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0b0f1a;
  color: #e8ecff;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 15% 0%, rgba(110, 80, 224, 0.45), transparent 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(214, 64, 255, 0.32), transparent 60%),
    radial-gradient(600px 600px at 50% 100%, rgba(96, 224, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #0b0f1a 0%, #11132c 80%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 500;
  color: #d4d8f0;
  margin-bottom: 24px;
}
.badge .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.05); }
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 0%, #c7cbf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 680px;
  margin: 0 auto 36px;
  color: rgba(232, 236, 255, 0.78);
}

/* Countdown */
.countdown {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin: 0 auto 36px;
  backdrop-filter: blur(8px);
}
.cd-cell {
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px;
  padding: 4px 14px;
}
.cd-cell + .cd-cell { border-left: 1px solid rgba(255,255,255,0.08); }
.cd-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232, 236, 255, 0.5);
  margin-top: 4px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.meta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: rgba(232, 236, 255, 0.68);
}
.meta-item { display: flex; flex-direction: column; align-items: center; }
.meta-item strong { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(232,236,255,0.4); margin-bottom: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #6e50e0, #d24cff);
  color: #fff;
  box-shadow: 0 10px 30px rgba(110, 80, 224, 0.45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(110, 80, 224, 0.55); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: #e8ecff;
  border-color: rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; padding: 16px 24px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid #ececf3;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(20, 20, 80, 0.08);
  border-color: rgba(110, 80, 224, 0.25);
}
.card-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #6e50e0;
  background: rgba(110, 80, 224, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: #4a4e6a; font-size: 15px; }

/* ---------- Speaker ---------- */
.speaker {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 720px) { .speaker { grid-template-columns: 1fr; text-align: center; } }
.speaker-photo { display: flex; justify-content: center; }
.avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e50e0, #d24cff);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; font-weight: 800; color: #fff;
  box-shadow: 0 18px 40px rgba(110, 80, 224, 0.35);
}
.speaker-text h2 { font-size: 32px; margin: 8px 0 4px; letter-spacing: -0.02em; }
.speaker-title { color: #6e50e0; font-weight: 600; margin: 0 0 16px; }
.speaker-text p { color: #4a4e6a; font-size: 16px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .15s;
}
.faq details[open] { border-color: rgba(110, 80, 224, 0.3); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #6e50e0;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: #4a4e6a; }

/* ---------- Form ---------- */
.form {
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(20, 20, 80, 0.06);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2a2c45;
}
.field .optional { color: #8a8da8; font-weight: 400; }
.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #d4d6e3;
  border-radius: 10px;
  background: #fafbff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input:focus {
  outline: none;
  border-color: #6e50e0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(110, 80, 224, 0.12);
}
.field input.invalid {
  border-color: #e84668;
  background: #fff4f6;
}
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12px; color: #8a8da8; text-align: center; margin: 14px 0 0; }
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.form-msg.show { display: block; }
.form-msg.success { background: #e8f7ed; color: #1d6c3e; border: 1px solid #b6e3c4; }
.form-msg.info { background: #eef0fb; color: #3a3da0; border: 1px solid #c8cdf0; }
.form-msg.error { background: #fbe9ed; color: #8a1b35; border: 1px solid #f3b6c2; }

/* ---------- Footer ---------- */
.footer {
  background: #0b0f1a;
  color: rgba(232, 236, 255, 0.55);
  padding: 32px 0;
  font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: rgba(232, 236, 255, 0.8); transition: color .15s; }
.footer-links a:hover { color: #fff; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .nav nav a:not(.btn) { display: none; }
  .cd-cell { padding: 4px 8px; min-width: 50px; }
  .meta-row { gap: 16px; }
}
