:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --gold: #d4a843;
  --green: #00cc6a;
  --border: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.03);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(circle at 15% 10%, rgba(212, 168, 67, 0.14), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(0, 204, 106, 0.13), transparent 38%);
}

a {
  color: inherit;
}

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

.section {
  padding: 3.5rem 0;
}

.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.86);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.brand {
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.nav-cta {
  color: #03170d;
  background: var(--green);
  font-weight: 700;
}

.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  color: var(--gold);
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 66ch;
  line-height: 1.7;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #062012;
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(212, 168, 67, 0.55);
  background: rgba(212, 168, 67, 0.08);
}

.hero-metrics {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics div {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
}

.metric {
  display: block;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  color: var(--gold);
}

.label {
  font-size: 0.83rem;
  color: var(--muted);
}

.hero-panel {
  background: var(--panel);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.hero-panel h2 {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  line-height: 1.5;
}

.proof {
  padding: 1rem 0 2.2rem;
}

.proof p {
  margin: 0;
  text-align: center;
  color: #dadada;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.section-intro {
  margin: 0.8rem 0 1.4rem;
  color: var(--muted);
  max-width: 62ch;
}

.card-grid,
.pricing-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.card,
.price-card,
.steps article,
.faq-list details,
.lead-form {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
}

.card,
.steps article,
.price-card {
  padding: 1rem;
}

.card p,
.steps p,
.price-card ul,
.faq-list p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.steps article span {
  font-family: "Space Mono", monospace;
  color: var(--green);
}

.pricing-grid {
  align-items: stretch;
}

.price-card .price {
  margin: 0.5rem 0;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
}

.price-card .price span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
}

.price-card ul {
  padding-left: 1rem;
  min-height: 9.5rem;
}

.price-card .btn {
  width: 100%;
}

.price-card.featured {
  border-color: rgba(0, 204, 106, 0.5);
  box-shadow: 0 16px 32px rgba(0, 204, 106, 0.11);
}

.badge {
  margin: 0 0 0.55rem;
  display: inline-block;
  font-size: 0.75rem;
  color: #062012;
  background: var(--green);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 0.85rem 1rem;
}

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

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--green);
}

.faq-list details[open] summary::after {
  content: "-";
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-points {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.lead-form {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.lead-form label {
  margin-top: 0.35rem;
  font-size: 0.92rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  color: var(--text);
  padding: 0.63rem 0.7rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(0, 204, 106, 0.4);
  border-color: rgba(0, 204, 106, 0.6);
}

.form-status {
  margin: 0.5rem 0 0;
  color: var(--muted);
  min-height: 1.3em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 2rem;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: var(--gold);
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─── Chatbot Widget ─────────────────────────────────────── */
#chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  font-family: var(--font-body);
}

#chat-toggle {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212,168,67,.45);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}

#chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(212,168,67,.6);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--green);
  color: #0a0a0a;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-box {
  position: absolute;
  bottom: calc(100% + .75rem);
  right: 0;
  width: 320px;
  max-height: 440px;
  background: #111;
  border: 1px solid rgba(212,168,67,.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

#chat-box[hidden] { display: none; }

.chat-header {
  background: #1a1a1a;
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .85rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(212,168,67,.15);
}

#chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  scrollbar-width: thin;
}

.chat-msg {
  max-width: 88%;
  padding: .5rem .75rem;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.4;
  animation: fadeIn .15s ease;
}

.chat-msg.bot {
  background: #1e1e1e;
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--gold);
  color: #0a0a0a;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}

.chat-msg a {
  color: var(--green);
  text-decoration: underline;
}

.chat-input-row {
  display: flex;
  border-top: 1px solid rgba(212,168,67,.15);
  background: #1a1a1a;
}

#chat-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  padding: .65rem .75rem;
  font-size: .85rem;
  outline: none;
  font-family: inherit;
}

#chat-send {
  background: none;
  border: none;
  color: var(--gold);
  padding: 0 .85rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color .15s;
}

#chat-send:hover { color: var(--green); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 400px) {
  #chat-box { width: calc(100vw - 2rem); right: -1rem; }
}
