:root {
  --bg: #0b0b0f;
  --bg-elevated: #121218;
  --bg-card: #16161e;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.15);
  --accent-glow: rgba(139, 92, 246, 0.25);
  --border: rgba(255, 255, 255, 0.07);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Ambient glow background inspired by Dockit */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(168, 85, 247, 0.06), transparent);
  pointer-events: none;
  z-index: -2;
}

/* Subtle hex-like grid */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1080px, 90%); margin-inline: auto; }

/* LOGO */
.logo { display: flex; align-items: center; }
.logo img { height: 26px; width: auto; }
.logo-footer img { height: 30px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.9rem 0;
  background: rgba(11, 11, 15, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-links {
  display: flex; gap: 1.75rem; list-style: none;
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
  padding: 0.5rem 1.2rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

/* PAGE HERO */
.page-hero { padding: 9rem 0 4.5rem; text-align: center; }
.page-hero .container { display: flex; flex-direction: column; align-items: center; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-soft); color: #c4b5fd;
  font-size: 0.72rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.04em; margin-bottom: 1.25rem;
  max-width: 780px;
}
.page-hero h1 .grad {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .lead {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 520px; margin-bottom: 2.25rem;
}

/* SECTIONS */
section { padding: 4.5rem 0; }
.section-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #c4b5fd; margin-bottom: 0.7rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.9rem;
}
.section-intro {
  color: var(--text-muted); max-width: 540px;
  margin-bottom: 2.5rem; font-size: 1.05rem;
}

/* CARDS */
.card {
  background: rgba(22, 22, 30, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.35rem; }

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
}
footer .logo { justify-content: center; margin-bottom: 1rem; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .page-hero { padding: 7.5rem 0 3.5rem; text-align: left; }
  .page-hero .container { align-items: flex-start; }
}
@media (max-width: 480px) {
  .btn { justify-content: center; width: 100%; }
  .logo img { height: 22px; }
}
