:root {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --card: #111a2e;
  --border: #1f2a44;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-dark: #0284c7;
}

* {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.text-accent {
  color: var(--accent);
}

/* Navbar */
.navbar {
  background-color: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link {
  color: var(--text-muted);
}

.navbar .nav-link:hover {
  color: var(--text);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #04121f;
  font-weight: 600;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* Hero */
.hero {
  padding-top: 7.5rem;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-sub {
  color: var(--text-muted);
  max-width: 640px;
}

.badge-soft {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  color: var(--text);
}

/* Feature cards */
.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  color: var(--text);
}

/* Steps */
.step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

/* Security list */
.security-list li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.security-list li:last-child {
  border-bottom: none;
}

/* Code panel */
.code-panel {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.code-panel-header {
  padding: 0.6rem 1rem;
  background-color: #0d1526;
  border-bottom: 1px solid var(--border);
}

.dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-right: 0.4rem;
}

.dot-red { background-color: #f87171; }
.dot-yellow { background-color: #fbbf24; }
.dot-green { background-color: #34d399; }

.code-panel pre {
  margin: 0;
  padding: 1.25rem;
  color: #a5f3fc;
  font-size: 0.9rem;
  overflow-x: auto;
}

/* CTA */
.cta {
  background:
    radial-gradient(circle at bottom, rgba(56, 189, 248, 0.12), transparent 60%),
    var(--bg);
}

/* Footer */
.footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 6.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
