/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: #e5e7eb;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(59,130,246,0.25), transparent),
              radial-gradient(1000px 600px at -10% 30%, rgba(147,51,234,0.25), transparent),
              #0b1020;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 16, 32, 0.6);
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}
.links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.links a {
  color: #cbd5e1;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.links a:hover {
  color: #fff;
  background: rgba(148,163,184,0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(15,23,42,0.6);
  color: #e5e7eb;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(148,163,184,0.28); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: none;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37,99,235,0.25);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border: none;
}
.btn-ghost {
  background: rgba(148,163,184,0.08);
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-inner { text-align: center; }
.badge {
  display: inline-block;
  padding: 8px 12px;
  font-size: 12px;
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.12);
  border-radius: 999px;
  letter-spacing: .6px;
}
.badge-blue { color: #60a5fa; border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.12); }
.badge-purple { color: #c084fc; border-color: rgba(147,51,234,0.4); background: rgba(147,51,234,0.12); }
.badge-yellow { color: #fbbf24; border-color: rgba(251,191,36,0.4); background: rgba(251,191,36,0.12); }
.badge-teal { color: #5eead4; border-color: rgba(45,212,191,0.4); background: rgba(45,212,191,0.12); }

.title {
  margin: 18px 0 8px;
}
.gradient-text {
  display: block;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 900;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  font-weight: 300;
  color: #cbd5e1;
}
.lead {
  max-width: 840px;
  margin: 18px auto 28px;
  color: #94a3b8;
  font-size: 18px;
}
.cta { display: flex; justify-content: center; gap: 14px; }
.hero-glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60%;
  background: radial-gradient(800px 300px at 50% 0%, rgba(59,130,246,0.25), transparent),
              radial-gradient(600px 240px at 20% 0%, rgba(124,58,237,0.25), transparent);
  pointer-events: none;
}

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: rgba(2,6,23,0.45); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-title {
  margin: 10px 0 8px;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
}
.section-desc {
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card, .panel {
  padding: 20px;
  border-radius: 16px;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(148,163,184,0.12);
  transition: border-color .2s ease, transform .15s ease;
}
.card:hover, .panel:hover { border-color: rgba(148,163,184,0.3); transform: translateY(-2px); }
.card h3, .panel h3 {
  margin: 10px 0 8px;
  color: #fff;
}
.card p, .panel p { color: #9aa4b2; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(148,163,184,0.12);
  border: 1px solid rgba(148,163,184,0.18);
  color: #cbd5e1;
  font-size: 12px;
}
.icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #1f2937;
}
.icon-blue { background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(2,132,199,0.35)); }
.icon-green { background: linear-gradient(135deg, rgba(16,185,129,0.35), rgba(5,150,105,0.35)); }
.icon-purple { background: linear-gradient(135deg, rgba(147,51,234,0.35), rgba(126,34,206,0.35)); }
.icon-yellow { background: linear-gradient(135deg, rgba(234,179,8,0.35), rgba(202,138,4,0.35)); }
.icon-pink { background: linear-gradient(135deg, rgba(236,72,153,0.35), rgba(219,39,119,0.35)); }
.icon-cyan { background: linear-gradient(135deg, rgba(34,211,238,0.35), rgba(6,182,212,0.35)); }

/* Timeline */
.timeline { position: relative; margin-top: 12px; }
.tl-item { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; margin-bottom: 18px; }
.tl-dot {
  width: 14px; height: 14px; margin-top: 6px;
  border-radius: 999px; background: #475569; border: 3px solid #1f2937;
}
.tl-item.done .tl-dot { background: #22c55e; border-color: #052e1a; }
.tl-item.progress .tl-dot { background: #fbbf24; border-color: #4a3106; }
.tl-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(148,163,184,0.12);
}
.tl-meta { display: flex; justify-content: space-between; color: #94a3b8; font-size: 12px; }
.tl-card h3 { margin: 8px 0 8px; color: #fff; }
.tl-card ul { margin: 0; padding-left: 18px; color: #9aa4b2; }
.phase { padding: 4px 8px; border-radius: 999px; background: rgba(148,163,184,0.12); border: 1px solid rgba(148,163,184,0.18); }

/* Docs */
.docs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doc-links { display: flex; gap: 10px; flex-wrap: wrap; }
.list { margin: 0; padding-left: 18px; color: #9aa4b2; }
.list li { margin-bottom: 6px; }

/* Footer */
.footer {
  border-top: 1px solid rgba(148,163,184,0.12);
  background: rgba(10,16,32,0.6);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* Modal */
.modal { position: fixed; inset: 0; display: none; }
.modal.show { display: block; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2,6,23,0.65);
  backdrop-filter: blur(2px);
}
.modal-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92%; max-width: 460px;
  background: rgba(2,6,23,0.85);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  text-align: center;
}
.modal-card h3 { margin: 6px 0 6px; color: #fff; }
.modal-card p { color: #9aa4b2; margin-bottom: 14px; }
.modal-actions { display: flex; justify-content: center; gap: 10px; }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .gradient-text { font-size: 40px; }
  .subtitle { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .nav-inner { height: auto; padding: 12px 0; gap: 10px; }
  .links { flex-wrap: wrap; justify-content: flex-end; }
}


