@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b1021;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --title: #f8fafc;
  --primary: #2563ff;
  --accent: #a855f7;
  --glow: #6ee7ff;
  --surface: rgba(255, 255, 255, 0.06);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --nav: rgba(9, 12, 26, 0.82);
}

[data-theme='light'] {
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --title: #0b1224;
  --primary: #1f4bff;
  --accent: #8b5cf6;
  --glow: #36cfc9;
  --surface: #f1f5f9;
  --shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
  --nav: rgba(248, 250, 252, 0.9);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(111, 128, 255, 0.14), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  scroll-behavior: smooth;
}

.hero-sheen {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60vh;
  background: radial-gradient(circle at 40% 40%, rgba(37, 99, 255, 0.15), transparent 45%),
    radial-gradient(circle at 65% 30%, rgba(168, 85, 247, 0.16), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(110, 231, 255, 0.18), transparent 48%);
  filter: blur(70px);
  opacity: 0.9;
  pointer-events: none;
}

main {
  position: relative;
  overflow: hidden;
}

.nav-shell {
  background: var(--nav);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow);
}

.nav-blur {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.nav-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--title);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--title);
}

.mobile-drawer {
  position: absolute;
  top: 120%;
  right: 0;
  width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: none;
}

.mobile-drawer.open {
  display: block;
}

.hero-wrap {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 1.08;
  color: var(--title);
}

.hero-subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 24px 50px rgba(37, 99, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--title);
  background: var(--surface);
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.section-shell {
  padding: 5rem 1.25rem;
}

@media (min-width: 1024px) {
  .section-shell {
    padding: 6.5rem 0;
  }
}

.grid-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 2rem;
  transition: transform 0.45s ease, border-color 0.3s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.grid-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(37, 99, 255, 0.12), rgba(168, 85, 247, 0.12));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.grid-card:hover::after {
  opacity: 1;
}

.grid-card:hover {
  transform: translateY(-10px);
  border-color: rgba(110, 231, 255, 0.5);
}

.card-content {
  position: relative;
  z: 1;
}

.pill {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

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

.feature-tile {
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  height: 44px;
  width: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.22), rgba(168, 85, 247, 0.22));
  color: var(--title);
  font-weight: 700;
}

.highlight-panel {
  background: linear-gradient(145deg, rgba(37, 99, 255, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 11, 24, 0.8);
}

[data-theme='light'] .footer {
  background: rgba(255, 255, 255, 0.9);
}

.footer-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.simple-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  padding-top: 6rem;
}

.simple-hero {
  padding: 6rem 1.25rem 5rem;
}

.simple-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.simple-button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(37, 99, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.simple-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 45px rgba(168, 85, 247, 0.25);
}

.placeholder-visual {
  background: linear-gradient(145deg, rgba(31, 79, 255, 0.16), rgba(168, 85, 247, 0.18));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 45px rgba(99, 102, 241, 0.25), var(--shadow);
  border-radius: 28px;
}

.vignette {
  position: relative;
}

.vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

[data-theme='light'] .vignette::after {
  box-shadow: inset 0 0 120px rgba(15, 23, 42, 0.08);
}

.tagline {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-logo {
  height: 56px;
}

a {
  text-decoration: none;
}

footer a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-shell {
    border-radius: 20px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3.25rem);
  }

  .hero-wrap {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}
