:root {
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111c32;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-dark: #059669;
  --border: #23324a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.2), rgba(2, 6, 23, 0) 35%),
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), rgba(2, 6, 23, 0) 40%),
    var(--bg);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 12px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(65, 87, 119, 0.6);
  border-radius: 18px;
  background: rgba(2, 10, 28, 0.8);
  backdrop-filter: blur(12px);
}

.navbar-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(52, 211, 153, 0.5);
  background: rgba(16, 185, 129, 0.15);
}

.brand-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #6ee7b7;
}

.brand-text-container {
  display: grid;
}

.brand-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: #f8fafc;
  font-weight: 700;
}

.brand-subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

.navbar-links {
  display: flex;
  gap: 8px;
}

.navbar-links a {
  text-decoration: none;
  font-size: 13px;
  color: #cbd5e1;
  padding: 7px 11px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-links a:hover {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-sm {
  padding: 7px 11px;
  font-size: 12px;
}

.btn-outline {
  border: 1px solid rgba(16, 185, 129, 0.65);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.08);
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.2);
}

.btn-primary-nav {
  color: #062e1e;
  background: var(--accent);
}

.btn-primary-nav:hover {
  background: var(--accent-dark);
  color: #ecfdf5;
}

.hero {
  padding: 42px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 11px;
  font-size: 12px;
  color: #9af0c7;
  background: rgba(16, 185, 129, 0.14);
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
}

h2 {
  margin: 0 0 9px;
  font-size: clamp(22px, 3vw, 30px);
}

h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary {
  background: var(--accent);
  color: #032f1b;
}

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

.btn-ghost {
  border: 1px solid #2e496c;
  background: transparent;
  color: #d8e6f8;
}

.btn-ghost:hover {
  border-color: #44d5a7;
  color: #9af0c7;
}

.section {
  padding: 42px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(2, 6, 23, 0.15));
  border-top: 1px solid rgba(55, 75, 103, 0.4);
  border-bottom: 1px solid rgba(55, 75, 103, 0.4);
}

.section-accent {
  padding-top: 46px;
}

.section-head {
  margin-bottom: 18px;
  max-width: 760px;
  display: grid;
  gap: 8px;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  padding: 20px;
}

.hero-panel {
  align-self: start;
}

.mini-card p,
.feature-card p,
.flow-step p {
  font-size: 14px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: #cfddf2;
}

.list li {
  margin: 8px 0;
}

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

.step-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #022c1c;
  background: #6ee7b7;
  margin-bottom: 8px;
}

.form {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  padding: 18px;
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #d8e6f8;
}

input,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #334d70;
  background: #051022;
  color: #f1f5f9;
  font-size: 14px;
  padding: 10px 12px;
}

input:focus,
select:focus {
  outline: 2px solid #22c55e;
  outline-offset: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.76);
  z-index: 80;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-container {
  width: min(92vw, 420px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.modal-header,
.modal-footer {
  padding: 14px 18px;
  border-color: var(--border);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

.modal-title {
  margin: 0;
  font-size: 18px;
}

.btn-close-modal {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
}

.btn-close-modal:hover {
  color: #e2e8f0;
}

.modal-body {
  padding: 18px;
}

.modal-footer {
  border-top-style: solid;
  border-top-width: 1px;
  display: flex;
  justify-content: flex-end;
}

.footer {
  border-top: 1px solid rgba(59, 82, 112, 0.5);
  padding: 26px 0 30px;
}

.footer-content {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  margin: 0;
  color: #7d93b2;
  font-size: 14px;
}

.footer a {
  color: #9ac2f3;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: #6ee7b7;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid.two,
  .grid.three,
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .navbar-links {
    display: none;
  }

  .brand-subtitle {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
