:root {
  color-scheme: dark;
  --bg: #0b1020;
  --panel: #121a32;
  --panel-light: #162244;
  --text: #eef3ff;
  --muted: #b6c0dd;
  --accent: #5de0ff;
  --accent-2: #9b6bff;
  --success: #43d9a3;
  --danger: #ff6b6b;
  --shadow: 0 24px 60px rgba(10, 16, 32, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

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

body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(93, 224, 255, 0.15), transparent 50%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand span {
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08101f;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button {
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #09101f;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.media-frame img,
.media-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.muted {
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(93, 224, 255, 0.12);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.media-square {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
}

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

.blog-card {
  background: var(--panel-light);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.blog-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.blog-card span {
  color: var(--muted);
  font-size: 13px;
}

.callout {
  background: linear-gradient(135deg, rgba(93, 224, 255, 0.15), rgba(155, 107, 255, 0.15));
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

footer {
  padding: 50px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 16, 32, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-grid h4 {
  margin-bottom: 10px;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 760px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
}

.modal-close {
  float: right;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 20px;
}

.legal {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.nav-open .nav-links {
    position: absolute;
    top: 72px;
    right: 4vw;
    background: var(--panel);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
  }
}
