/* =========================
   DESIGN TOKENS
========================= */
:root {
  --bg-main: #0b1220;
  --bg-alt: #020617;

  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);

  --border-soft: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.35);

  --text-main: #e5e7eb;
  --text-muted: #94a3b8;

  --accent: #38bdf8;

  --radius: 14px;
  --transition: 0.25s ease;
}

/* =========================
   RESET & BASE
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(56,189,248,0.08), transparent 40%),
    radial-gradient(800px 400px at 90% 10%, rgba(56,189,248,0.05), transparent 40%),
    linear-gradient(180deg, var(--bg-main), var(--bg-alt));
  line-height: 1.7;
}

p {
  margin: 0 0 18px 0;
}

h1, h2, h3 {
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding: 120px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* =========================
   HERO
========================= */
.hero {
  border-bottom: 1px solid var(--border-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: 3.4rem;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-description {
  max-width: 540px;
  color: var(--text-main);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
}

/* HERO GRAPHIC */
.hero-graphic {
  max-width: 420px;
}

.hero-graphic rect,
.hero-graphic line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2;
  fill: none;
}

/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #020617;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(56,189,248,0.35);
}

.btn-secondary {
  border: 1px solid var(--border-soft);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
  font-size: 2.4rem;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-top: 14px;
}

/* =========================
   CARDS
========================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
}

.card-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 20px;
  color: var(--accent);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* =========================
   SURFACE BLOCKS
========================= */
.surface {
  background: var(--surface-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 64px;
}

/* =========================
   STEPS
========================= */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  margin-bottom: 36px;
}

/* =========================
   STATEMENT
========================= */
.statement {
  font-size: 1.3rem;
  text-align: center;
  color: var(--text-main);
}

/* =========================
   GRID BACKGROUND
========================= */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 64px 0;
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 24px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .container {
    padding: 72px 20px;
  }

  .surface {
    padding: 40px;
  }
}
