/* ================================================================== */
/* Variables                                                           */
/* ================================================================== */
:root {
  --color-bg:        #0b0f1a;
  --color-bg-alt:    #111827;
  --color-surface:   #1e2636;
  --color-border:    #2a3348;
  --color-text:      #e2e8f0;
  --color-text-muted:#94a3b8;
  --color-accent:    #3b82f6;
  --color-accent-hover:#2563eb;
  --color-accent-glow: rgba(59, 130, 246, 0.25);
  --color-white:     #ffffff;
  --font:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:           1120px;
  --radius:          12px;
  --radius-sm:       8px;
}

/* ================================================================== */
/* Reset                                                               */
/* ================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ================================================================== */
/* Utility                                                             */
/* ================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================== */
/* NAV                                                                 */
/* ================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.nav__logo span { color: var(--color-accent); }
.nav__logo .bi { color: var(--color-accent); margin-right: 4px; }
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-white); }

/* ================================================================== */
/* BUTTON                                                              */
/* ================================================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-white);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 24px var(--color-accent-glow);
}
.btn--small {
  padding: 8px 20px;
  font-size: 0.825rem;
}
.btn--light {
  background: var(--color-white);
  color: var(--color-bg);
}
.btn--light:hover {
  background: #f1f5f9;
  box-shadow: 0 0 24px rgba(255,255,255,0.15);
}

/* ================================================================== */
/* HERO                                                                */
/* ================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 64px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%),
    var(--color-bg);
}
.hero__inner { max-width: 780px; margin: 0 auto; }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ================================================================== */
/* SECTIONS                                                            */
/* ================================================================== */
.section {
  padding: 100px 0;
}
.section--alt {
  background: var(--color-bg-alt);
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.section__footnote {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 48px;
  font-size: 0.95rem;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================== */
/* GRID                                                                */
/* ================================================================== */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ================================================================== */
/* CARD (Problem + Why)                                                */
/* ================================================================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent-glow);
}
.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--color-accent);
}
.card__icon svg { width: 100%; height: 100%; }
.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ================================================================== */
/* STEPS (How It Works)                                                */
/* ================================================================== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step {
  text-align: center;
  max-width: 220px;
  flex: 0 1 220px;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.step__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step__text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.step__connector {
  flex: 0 0 48px;
  height: 2px;
  background: var(--color-border);
  margin-top: 26px;
  border-radius: 1px;
}

/* ================================================================== */
/* FEATURE (modules)                                                   */
/* ================================================================== */
.feature {
  text-align: center;
  padding: 28px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.feature:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent-glow);
}
.feature__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  color: var(--color-accent);
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__title {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ================================================================== */
/* CTA                                                                 */
/* ================================================================== */
.section--cta {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(59,130,246,0.15) 0%, transparent 70%),
    var(--color-bg);
  text-align: center;
}
.cta__inner { max-width: 560px; margin: 0 auto; }
.cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta__sub {
  color: var(--color-text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ================================================================== */
/* FOOTER                                                              */
/* ================================================================== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
}
.footer__logo span { color: var(--color-accent); }
.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ================================================================== */
/* RESPONSIVE                                                          */
/* ================================================================== */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; gap: 0; }
  .step__connector {
    width: 2px;
    height: 32px;
    flex: 0 0 32px;
    margin-top: 0;
  }
  .nav__links { display: none; }
}
@media (max-width: 480px) {
  .grid--5 { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.9rem; }
  .footer__inner { flex-direction: column; gap: 8px; }
}
