:root {
  --bg: #020617;
  --bg-soft: #020617;
  --card: #020617;
  --card-alt: #020617;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.2);
  --accent-strong: #818cf8;
  --text-main: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.8);
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #020617 0, #000 55%);
  color: var(--text-main);
}

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

/* NAV */
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 0, #c7d2fe, #4f46e5 40%, #020617 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.7);
}

.nav-title {
  font-weight: 600;
  font-size: 18px;
}

.nav-sub {
  font-size: 12px;
  color: var(--text-soft);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-link:hover {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.nav-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.9);
}

.nav-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

/* HERO */
.hero-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 26px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-right {
    order: -1;
  }
}

.hero-left-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
  margin-bottom: 10px;
}

.hero-left-pill-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #22c55e, #16a34a 45%, #064e3b 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hero-left-pill-text {
  font-size: 12px;
  color: var(--text-soft);
}

.hero-title {
  font-size: 40px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-title span {
  color: #c7d2fe;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 18px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #cbd5f5;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(129, 140, 248, 0.55);
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f9fafb;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(129, 140, 248, 0.7);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.8);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #818cf8, #a5b4fc);
  box-shadow: 0 22px 60px rgba(79, 70, 229, 0.9);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-soft);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
}

.hero-note {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 6px;
}

/* Hero right card */
.hero-right-card {
  background: radial-gradient(circle at top, #111827 0, #020617 60%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 16px;
  position: relative;
  overflow: hidden;
}

.hero-right-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top right, rgba(129, 140, 248, 0.3), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-right-inner {
  position: relative;
  z-index: 1;
}

.hero-right-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hero-right-title {
  font-size: 14px;
  font-weight: 600;
}

.hero-right-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.8);
  font-size: 11px;
  color: #c7d2fe;
  background: rgba(15, 23, 42, 0.9);
}

.hero-right-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.meta-item {
  padding: 8px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 64, 175, 0.7);
}

.meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 12px;
  font-weight: 500;
}

.demo-preview-box {
  margin-top: 6px;
  border-radius: 14px;
  border: 1px solid rgba(30, 64, 175, 0.6);
  background: #020617;
  padding: 10px 10px 12px;
}

.demo-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.bar {
  font-size: 11px;
  color: var(--text-soft);
}

.demo-preview-window {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: linear-gradient(135deg, #0b1120, #020617);
  padding: 20px;
  min-height: 160px;
  position: relative;
}

.demo-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.demo-sub {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.demo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
}

.demo-pill {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

/* SECTIONS */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 40px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: var(--radius-md);
  padding: 16px 16px 16px;
  background: radial-gradient(circle at top left, #020617 0, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.card p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}

.demo-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 12px;
  color: #cbd5f5;
}

.demo-link:hover {
  border-color: var(--accent-strong);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 8px;
}

.faq-q {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.faq-a {
  font-size: 12px;
  color: var(--text-soft);
}

/* FOOTER */
footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 32px;
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  margin-top: 20px;
}
