:root {
  --bg: #040714;
  --bg-alt: #070b1f;
  --card: #0c1026;
  --border: #22263b;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.16);
  --accent-strong: rgba(129, 140, 248, 0.18);
  --text: #f9fafb;
  --muted: #9ca3af;
  --danger: #f97373;
  --warn: #fbbf24;
  --ok: #22c55e;
  --info: #38bdf8;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    Inter, Segoe UI, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #111827 0, var(--bg) 40%);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(4, 7, 20, 0.96),
    rgba(4, 7, 20, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(55, 65, 81, 0.7);
  color: var(--text);
}

.nav-cta {
  margin-left: auto;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.8);
  background: rgba(15, 23, 42, 0.85);
}

/* Layout helpers */

.hero,
.section {
  padding: 3.5rem 1.5rem;
}

.hero-inner,
.section-inner,
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner {
  border-radius: 28px;
}

/* Hero */

.hero {
  padding-top: 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.accent {
  color: #e5e7eb;
  background: linear-gradient(120deg, #a855f7, #4f46e5, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
}

.btn-ghost {
  border: 1px solid rgba(75, 85, 99, 0.8);
  background: rgba(15, 23, 42, 0.7);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, var(--accent-soft), var(--card));
  border-radius: 22px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.card-header {
  padding: 0.6rem 0.9rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.red {
  background: #f97373;
}

.amber {
  background: #fbbf24;
}

.green {
  background: #22c55e;
}

.card-body {
  padding: 1.2rem 1.3rem 1.3rem;
}

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

.card-title {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.pill-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.pill-warn {
  background: rgba(234, 179, 8, 0.18);
  color: #fef3c7;
}

.pill-info {
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
}

.card-footer {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */

.section-inner {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 2.4rem 1.7rem;
}

.section-alt .section-inner {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.96)
  );
}

.section-inner h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

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

.feature,
.persona {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, var(--accent-strong), #020617);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.feature h3,
.persona h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.feature p,
.persona p {
  margin: 0;
  color: var(--muted);
}

/* Steps */

.steps {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.95);
}

/* CTA */

.cta .section-inner {
  background: radial-gradient(circle at top, var(--accent-soft), #020617);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-inner p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.cta-form input {
  min-width: 0;
  flex: 1 1 210px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
}

.cta-form button {
  flex: 0 0 auto;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

.footer {
  padding: 2.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
}

/* Responsive */

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .nav-links {
    display: none;
  }
  .section-inner {
    padding: 2rem 1.25rem;
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero,
  .section {
    padding-inline: 1rem;
  }
  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }
}
