:root {
  --bg: #000000;
  --bg-2: #07050d;
  --paper: #ffffff;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.bg-grad {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(88, 28, 135, 0.35), transparent 70%),
    linear-gradient(to bottom right, rgba(88, 28, 135, 0.3), #000 50%, #000 100%);
  pointer-events: none;
  z-index: 0;
}
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' /></svg>");
  z-index: 1;
}

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

/* ---------------- Header ---------------- */
.header {
  position: relative;
  z-index: 20;
  padding: 20px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a855f7, #6b21a8 70%, #2e1065);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.4);
}
.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-name .dot { color: var(--purple-400); }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--gray-300);
  font-size: 14px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
}
.btn-ghost:hover { background: rgba(126, 34, 206, 0.2); }
.btn-primary {
  background: var(--purple-600);
}
.btn-primary:hover { background: var(--purple-700); }
.btn-outline {
  border: 1px solid var(--purple-400);
  color: var(--purple-200);
}
.btn-outline:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--purple-300);
}
.btn-lg { padding: 14px 30px; font-size: 16px; font-weight: 500; }
.lang {
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(88, 28, 135, 0.18);
  color: var(--purple-100);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: inherit;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  z-index: 10;
  padding: 60px 0 80px;
}
@media (min-width: 1024px) {
  .hero { padding: 120px 0 100px; }
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-grid .network-wrap { margin-top: -64px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(126, 34, 206, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--purple-200);
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(192, 132, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
}
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 28px;
}
.grad-text {
  background: linear-gradient(to right, var(--purple-300), var(--purple-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-2 {
  background: linear-gradient(to right, var(--purple-500), var(--purple-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-300);
  max-width: 896px;
  margin: 48px auto 0;
  text-align: center;
  text-wrap: pretty;
}
.hero-subhead {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243, 232, 255, 0.7);
  max-width: 896px;
  margin: 16px auto 0;
  text-align: center;
  text-wrap: pretty;
}

/* ---------------- Stats ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  margin: 48px 0 0;
}
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 2px solid rgba(168, 85, 247, 0.3);
  padding-left: 16px;
}
.stat-icon { color: var(--purple-400); width: 18px; height: 18px; flex-shrink: 0; margin-top: 8px; display: none; }
@media (min-width: 1024px) { .stat-icon { display: block; } }
.stat-num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
  min-width: 4ch;
}
@media (min-width: 1024px) { .stat-num { font-size: 36px; } }
.stat-label {
  font-size: 11px;
  color: rgba(233, 213, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
  justify-content: center;
}

/* ---------------- Network hero (right side) ---------------- */
.network-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 1024px) { .network-wrap { min-height: 640px; height: auto; } }
.network-inner {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
}
.network-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ambient particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--purple-300);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--purple-400);
  opacity: 0.6;
  animation: drift 14s linear infinite;
}
@keyframes drift {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 0; }
}

/* ---------------- Sections ---------------- */
section.block {
  position: relative;
  z-index: 10;
  padding: 80px 0;
  border-top: 1px solid rgba(88, 28, 135, 0.3);
}
.block-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.block-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.block-head p {
  color: var(--gray-300);
  font-size: 17px;
  text-wrap: pretty;
  margin: 0;
}

/* ---------------- Capabilities ---------------- */
.capabilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .capabilities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .capabilities { grid-template-columns: repeat(4, 1fr); } }
.cap-card {
  background: rgba(88, 28, 135, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 16px;
  padding: 26px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.cap-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-4px);
  background: rgba(88, 28, 135, 0.3);
}
.cap-icon {
  width: 48px;
  height: 48px;
  background: rgba(126, 34, 206, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--purple-400);
}
.cap-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cap-card p {
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.cap-closing {
  margin-top: 56px;
  text-align: center;
  color: rgba(243, 232, 255, 0.7);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  font-size: 16px;
}

/* ---------------- AI Section ---------------- */
.ai-card {
  border-radius: 24px;
  background: linear-gradient(to bottom right, rgba(126, 34, 206, 0.2), rgba(88, 28, 135, 0.15), rgba(88, 28, 135, 0.3));
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 48px 32px;
}
@media (min-width: 1024px) { .ai-card { padding: 60px; } }
.ai-card-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.4);
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-200);
}
.ai-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ai-bullets { grid-template-columns: repeat(3, 1fr); } }
.ai-bullet h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--purple-200);
  margin: 0 0 8px;
}
.ai-bullet p {
  color: var(--gray-300);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

/* ---------------- Mission ---------------- */
.mission {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.mission p {
  color: var(--gray-300);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.mission .closing {
  color: var(--purple-100);
  opacity: 0.85;
  font-style: italic;
  font-size: 16px;
}

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: rgba(88, 28, 135, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 16px;
  padding: 24px;
}
.team-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}
.team-card p {
  color: var(--gray-300);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

/* ---------------- Footer ---------------- */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(88, 28, 135, 0.3);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-col a {
  color: var(--gray-400);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(88, 28, 135, 0.3);
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
}

/* utility */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn:not(.btn-primary) { display: none; }
  .lang { display: none; }
}
