:root {
  --bg: #07111f;
  --bg-soft: #0b1730;
  --surface: rgba(255,255,255,0.08);
  --surface-strong: rgba(255,255,255,0.14);
  --text: #eef5ff;
  --muted: #a8b6cf;
  --line: rgba(255,255,255,0.14);
  --blue: #2563eb;
  --purple: #7c3aed;
  --green: #10b981;
  --amber: #f59e0b;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,0.35);
  --max: 1180px;
}

body.light {
  --bg: #f8fafc;
  --bg-soft: #ffffff;
  --surface: rgba(15,23,42,0.06);
  --surface-strong: rgba(15,23,42,0.1);
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15,23,42,0.12);
  --shadow: 0 24px 70px rgba(15,23,42,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(37,99,235,0.3), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(124,58,237,0.28), transparent 30%),
              var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.section { padding: 92px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.035), transparent); }

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 12px; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7,17,31,0.72);
  border-bottom: 1px solid var(--line);
}
body.light .navbar { background: rgba(248,250,252,0.78); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.45rem;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 12px 35px rgba(37,99,235,0.4);
}
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 0.95rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn, button.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 32px rgba(37,99,235,0.28);
}
.btn.secondary { background: var(--surface); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.05rem;
}
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { color: #93c5fd; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.05em; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); margin: 0; }
.hero p { font-size: 1.18rem; max-width: 680px; margin-top: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.gradient-text { background: linear-gradient(135deg, #93c5fd, #c4b5fd, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-visual {
  min-height: 530px;
  position: relative;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(37,99,235,0.18), rgba(124,58,237,0.16)), var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.orbit { position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; animation: spin 22s linear infinite; }
.orbit.two { inset: 23%; animation-duration: 16s; animation-direction: reverse; }
.node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 28px var(--green); }
.node.a { top: 14%; left: 48%; }
.node.b { right: 14%; top: 52%; background: #60a5fa; box-shadow: 0 0 28px #60a5fa; }
.node.c { bottom: 14%; left: 34%; background: #c084fc; box-shadow: 0 0 28px #c084fc; }
.hero-card {
  position: absolute;
  width: 240px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}
.hero-card strong { display: block; margin-bottom: 6px; }
.hero-card.one { top: 40px; left: 34px; }
.hero-card.two { right: 34px; top: 185px; }
.hero-card.three { left: 54px; bottom: 44px; }
.center-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 42px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 1000;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 20px 70px rgba(124,58,237,0.4);
}
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.stat, .card, .feature, .timeline-step, .event-card, .platform-card, .form-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.stat strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-weight: 700; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.section-head p { max-width: 620px; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { transition: transform .25s ease, border-color .25s ease; }
.card:hover, .platform-card:hover, .event-card:hover { transform: translateY(-6px); border-color: rgba(96,165,250,0.5); }
.icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(124,58,237,0.25)); margin-bottom: 18px; font-size: 1.5rem; }
.card h3, .platform-card h3 { margin-bottom: 10px; }

.timeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.timeline-step { text-align: center; padding: 22px 12px; }
.timeline-step b { display: block; color: var(--green); margin-bottom: 6px; }

.platform-card { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.platform-label { font-weight: 900; color: #93c5fd; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); font-size: 0.84rem; }

.event-card { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center; }
.datebox { border-radius: 18px; text-align: center; padding: 14px 10px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: white; font-weight: 900; }
.datebox span { display: block; font-size: 1.8rem; }

.newsletter { border-radius: 34px; padding: 42px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(16,185,129,0.12)), var(--surface); }
.newsletter form, .contact-form { display: grid; gap: 12px; }
.newsletter-row { display: flex; gap: 12px; margin-top: 24px; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(96,165,250,0.14); }

.footer { border-top: 1px solid var(--line); padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.footer a { display: block; color: var(--muted); margin: 8px 0; }
.footer a:hover { color: var(--text); }

.page-hero { padding: 94px 0 52px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 850px; }
.page-hero p { max-width: 760px; margin-top: 18px; font-size: 1.1rem; }
.kicker { color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .hero-grid, .grid.three, .grid.four, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .hero-actions, .newsletter-row { flex-direction: column; }
  .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .hero-card { width: 210px; }
  .hero-card.two { right: 18px; }
  .center-badge { width: 120px; height: 120px; font-size: 2.3rem; }
  .nav-actions .btn { display: none; }
}
