:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.04);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --line: rgba(255, 255, 255, 0.12);
  --brand: #22c55e;
  --brand-2: #16a34a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.65);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  order: 3;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  gap: 18px;
}

.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  gap: 16px;
  z-index: 30;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
}

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

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
  line-height: 1;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  border-color: rgba(34, 197, 94, 0.45);
  color: #06230f;
}

.btn-primary:hover {
  border-color: rgba(34, 197, 94, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 70px 0 36px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.04em;
}

.subhead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.hero-card-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 14px;
}

.metric {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-num {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.metric-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 54px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section h2 {
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.price-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 18px 50px rgba(34, 197, 94, 0.10);
}

.price-top {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #d1fae5;
  font-weight: 700;
  font-size: 12px;
}

.price-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.price-desc {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.price-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

.price-row {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
}

.price-tier {
  font-weight: 700;
}

.price-amount {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 26px;
}

.price-unit {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}

.price-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #d1fae5;
  font-weight: 800;
}

.step-body h3 {
  margin: 0;
  font-size: 16px;
}

.step-body p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.center-actions {
  margin-top: 18px;
}

.faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 12px 14px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-body {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: rgba(11, 18, 32, 0.65);
}

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

.footer-brand {
  font-weight: 700;
}

.footer-link {
  color: var(--muted);
  margin-left: 14px;
}

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

.tiny {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

/* Contact modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #111827;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  width: min(440px, 100%);
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-box h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.modal-desc {
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.5;
  font-size: 14px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 5px;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 120ms ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand);
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.form-success {
  text-align: center;
  padding: 18px 0;
}

.form-success h3 {
  margin: 0 0 8px;
  color: var(--brand);
}

.form-success p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (min-width: 880px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

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

/* Hide CTA buttons on mobile, show in hamburger menu instead */
.header-cta {
  display: none;
}

@media (min-width: 880px) {
  .header-cta {
    display: flex;
  }
}

.mobile-cta {
  display: block;
  font-weight: 600;
  color: var(--accent) !important;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

@media (min-width: 880px) {
  .mobile-cta {
    display: none;
  }
}
