:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7e7ee;
  --text-dim: #9a9aa8;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --radius: 16px;
  --shadow: 0 20px 60px -20px rgba(124, 92, 255, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(124,92,255,0.18), transparent 60%),
              radial-gradient(1000px 700px at 90% 10%, rgba(34,211,238,0.12), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .8; }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,10,15,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.brand {
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  flex-shrink: 0;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.nav-links a { color: var(--text-dim); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); opacity: 1; }

.container { max-width: 900px; margin: 0 auto; padding: 64px 24px; }

.page-header {
  text-align: center; margin-bottom: 48px;
  animation: fadeUp .7s ease both;
}
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600;
  color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); margin-bottom: 18px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 14px;
  background: linear-gradient(180deg, #fff, #b5b5c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle { color: var(--text-dim); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  margin-bottom: 20px; transition: all .3s ease;
  animation: fadeUp .7s ease both;
}
.card:hover { background: var(--surface-hover); border-color: rgba(124,92,255,0.3); transform: translateY(-2px); }

.card h2 {
  font-size: 1.35rem; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.01em; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.card h2::before {
  content: ""; width: 6px; height: 22px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.card h3 { font-size: 1.05rem; font-weight: 600; margin: 18px 0 8px; color: var(--text); }
.card p, .card li { color: var(--text-dim); font-size: .97rem; margin-bottom: 10px; }
.card ul, .card ol { padding-left: 22px; }
.card li { margin-bottom: 6px; }
.card strong { color: var(--text); font-weight: 600; }

.meta {
  text-align: center; color: var(--text-dim); font-size: .85rem;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
}

.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 24px;
}
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: all .3s ease; display: block; color: inherit;
}
.tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); opacity: 1; }
.tile .icon {
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,211,238,.15));
  border: 1px solid var(--border);
}
.tile h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.tile p { color: var(--text-dim); font-size: .88rem; }

/* Social pills */
.socials {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
}
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface);
  color: var(--text); font-size: .88rem; font-weight: 500;
  transition: all .2s ease;
}
.social-pill:hover {
  border-color: var(--accent); transform: translateY(-1px);
  background: var(--surface-hover); opacity: 1;
}
.social-pill svg { width: 16px; height: 16px; }

.footer {
  border-top: 1px solid var(--border);
  margin-top: 80px; padding: 48px 24px 32px;
  background: rgba(10,10,15,0.6);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-col h4 {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text); margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-dim); font-size: .9rem; }
.footer-col a:hover { color: var(--text); opacity: 1; }
.footer-brand {
  font-weight: 700; font-size: 1.1rem; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-desc { color: var(--text-dim); font-size: .88rem; margin-bottom: 14px; }
.footer-bottom {
  max-width: 1100px; margin: 32px auto 0; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--text-dim); font-size: .82rem;
}

/* Hero on index */
.hero {
  text-align: center; padding: 90px 24px 60px;
  animation: fadeUp .8s ease both;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 18px; }
.hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0a0f; font-weight: 600; font-size: .98rem;
  transition: all .3s ease; box-shadow: var(--shadow);
}
.cta:hover { transform: translateY(-2px); opacity: 1; }
.cta.secondary {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}

.features {
  max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.card:nth-child(2) { animation-delay: .05s; }
.card:nth-child(3) { animation-delay: .1s; }
.card:nth-child(4) { animation-delay: .15s; }
.card:nth-child(5) { animation-delay: .2s; }
.card:nth-child(6) { animation-delay: .25s; }
.card:nth-child(7) { animation-delay: .3s; }
.card:nth-child(8) { animation-delay: .35s; }

@media (max-width: 720px) {
  .container { padding: 40px 18px; }
  .nav-inner { padding: 12px 16px; flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 12px; width: 100%; justify-content: flex-start; }
  .nav-links a { font-size: .85rem; }
  .card { padding: 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
