:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #4d6bfe;
  --accent-soft: rgba(77, 107, 254, 0.15);
  --text: #f7f7ff;
  --muted: #a9b0d9;
  --card-bg: #0f172a;
  --border: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.98),
    rgba(2, 6, 23, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(
    from 210deg,
    #4d6bfe,
    #22c1c3,
    #ff5f6d,
    #4d6bfe
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0b1020;
}

.logo-text-main {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  padding: 0.3rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4d6bfe, #22c1c3);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: none;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(
    circle at top left,
    #4d6bfe,
    #f97316
  );
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.7);
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
}

/* Mobile menu button */
.nav-toggle {
  border: none;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: all 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: all 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu panel */
.nav-mobile {
  display: none;
  padding-bottom: 0.75rem;
}

.nav-mobile a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile .nav-mobile-cta {
  margin-top: 0.4rem;
  padding: 0.55rem 0.75rem;
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(
    circle at top left,
    rgba(77, 107, 254, 0.35),
    rgba(15, 23, 42, 0.95)
  );
  font-size: 0.85rem;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 2.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

.hero-title span {
  background: linear-gradient(120deg, #4d6bfe, #22c1c3, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.3rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4d6bfe, #22c1c3);
  color: #0b1020;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.55);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.65);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--muted);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-icon {
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-meta-item strong {
  display: block;
  color: #e5e7eb;
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle at top,
    rgba(56, 189, 248, 0.12),
    transparent 55%
  );
  opacity: 0.7;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.hero-chip {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-pill {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: #e5e7eb;
  border: 1px solid rgba(129, 140, 248, 0.5);
}

.hero-visual-main {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, #020617, #020617 65%);
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero-visual-title {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.hero-visual-caption {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.hero-grid-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  font-size: 0.7rem;
}

.hero-grid-item {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 12px;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-grid-item-label {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.hero-grid-item-value {
  font-size: 0.8rem;
}

.hero-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
}

.hero-stat-pill {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.hero-orbit {
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.2);
  pointer-events: none;
}

.hero-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
  top: 12%;
  right: 10%;
}

/* Section base */
section {
  padding: 2.5rem 0 0;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.section-description {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 38rem;
}

.section-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.98),
    rgba(15, 23, 42, 0.98)
  );
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 1.75rem;
}

.section-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.section-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-card li {
  margin-bottom: 0.3rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0;
}

.pill {
  font-size: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
}

/* Two-column sections */
.two-col {
  display: grid;
  gap: 1.4rem;
}

/* Use cases grid */
.use-cases-grid {
  display: grid;
  gap: 1.1rem;
}

.use-case-card {
  padding: 1rem;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #020617, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.use-case-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.use-case-badge {
  display: inline-flex;
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.4);
  margin-bottom: 0.4rem;
}

.use-case-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.use-case-card ul {
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Callout */
.callout {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    circle at top left,
    rgba(77, 107, 254, 0.2),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(129, 140, 248, 0.5);
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.callout strong {
  color: #e5e7eb;
}

/* Footer */
footer {
  margin-top: 2.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(
    to top,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.6),
    transparent
  );
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.footer-copy {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Media queries */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.35rem;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  section {
    padding-top: 3rem;
  }

  .two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .container {
    padding: 0 1.5rem;
  }
}