/* Platinitive Technologies — Design Tokens */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

:root {
  /* Backgrounds */
  --bg-void:    #030C1B;
  --bg-deep:    #050F22;
  --bg-surface: #0A1830;
  --bg-card:    #0D1F3C;
  --bg-raised:  #102248;

  /* Accent — Blue */
  --accent:       #3B7BFF;
  --accent-glow:  rgba(59,123,255,0.25);
  --accent-muted: rgba(59,123,255,0.12);
  --accent-hover: #5B94FF;

  /* Accent — Cyan */
  --cyan:       #00C6E0;
  --cyan-muted: rgba(0,198,224,0.12);

  /* Text */
  --text-primary:   #EDF2FF;
  --text-secondary: #8CA3C8;
  --text-muted:     #4E6A94;

  /* Borders */
  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(59,123,255,0.3);
  --border-card:  rgba(255,255,255,0.06);

  /* Typography */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 140ms; --dur-base: 260ms; --dur-slow: 480ms;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 2px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(59,123,255,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(3,12,27,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center;
}
.site-nav .nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6);
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex; align-items: center; gap: var(--sp-2);
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: var(--sp-6);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--r-sm);
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease) !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; box-shadow: var(--shadow-glow); }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: var(--sp-2); color: var(--text-primary);
}
.nav-mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--bg-deep); border-bottom: 1px solid var(--border);
  padding: var(--sp-5); z-index: 99;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-4); }
.nav-mobile-menu a { color: var(--text-secondary); text-decoration: none; font-size: 16px; }
.nav-mobile-menu a:hover { color: var(--text-primary); }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: var(--sp-9) 0 var(--sp-6);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8);
  padding-bottom: var(--sp-7); border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-6);
}
.footer-brand p {
  color: var(--text-secondary); font-size: 14px; line-height: 1.7;
  margin-top: var(--sp-3); max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a {
  color: var(--text-secondary); text-decoration: none; font-size: 14px;
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: var(--sp-3);
}
.footer-logo-text {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--text-primary); margin-bottom: var(--sp-2);
}
.footer-logo-text span { color: var(--accent); }

/* ─── SHARED COMPONENTS ───────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-9) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-4);
}

.section-heading {
  font-family: var(--font-head); font-weight: 700;
  color: var(--text-primary); line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-heading.lg { font-size: clamp(32px, 4vw, 52px); }
.section-heading.md { font-size: clamp(26px, 3vw, 40px); }
.section-sub {
  color: var(--text-secondary); font-size: 17px; line-height: 1.7;
  max-width: 560px; margin-top: var(--sp-4);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 12px 28px; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none; outline: none;
  transition: all var(--dur-base) var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 24px rgba(59,123,255,0.4); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

/* Grid dot pattern */
.grid-bg {
  background-image: radial-gradient(circle at 1px 1px, rgba(59,123,255,0.12) 1px, transparent 0);
  background-size: 40px 40px;
}

/* Page wrapper */
.page-wrapper { padding-top: 68px; }

/* Divider accent line */
.accent-line {
  display: inline-block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 2px; margin-bottom: var(--sp-4);
}

/* Tag badge */
.tag {
  display: inline-flex; align-items: center;
  background: var(--accent-muted); color: var(--accent);
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: var(--sp-7) 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
