:root {
  --bg: #05030b;
  --bg-elevated: #120b24;
  --bg-card: #181026;
  --accent: #6c3fed;
  --accent-soft: rgba(108, 63, 237, 0.12);
  --accent-strong: #8b5cf6;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'SF Pro Text',
    'Inter', sans-serif;
  background: radial-gradient(circle at top, #1c1234 0, var(--bg) 55%) fixed;
  color: var(--text-main);
  scroll-behavior: smooth;
}

.page {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 6, 24, 0.9);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 15px;
  font-weight: 600;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  transition: background 160ms ease-out, color 160ms ease-out,
    transform 160ms ease-out;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 40px;
  margin-top: 36px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.highlight {
  color: var(--accent-strong);
}

.hero-text {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 520px;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 160ms ease-out, color 160ms ease-out,
    box-shadow 160ms ease-out, transform 160ms ease-out,
    border-color 160ms ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.06);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  background: radial-gradient(circle at top left, #31215f, var(--bg-card));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.hero-card-header {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-card-body p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-main);
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 11px;
  color: var(--accent-strong);
}

.hero-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% -10%, #8b5cf688, transparent 60%),
    radial-gradient(circle at 100% 100%, #22d3ee55, transparent 65%);
  opacity: 0.7;
  filter: blur(6px);
}

.section {
  margin-top: 56px;
  scroll-margin-top: 96px;
  animation: fadeUp 500ms ease-out;
  animation-fill-mode: both;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 18px 16px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out,
    border-color 180ms ease-out, background 180ms ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.7);
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.96);
}

.card.small {
  min-height: 0;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.card-list {
  margin: 0;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.card-list li + li {
  margin-top: 4px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-top: 18px;
}

.contact-list {
  margin: 10px 0 0;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-note {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed var(--border-subtle);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 768px) {
  .nav {
    padding-inline: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 24px;
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .page {
    padding-inline: 14px;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}
