:root {
  --bg: #081018;
  --bg-soft: #0f1e2c;
  --card: #122638;
  --ink: #e6f0f7;
  --muted: #96adbf;
  --line: #2a475f;
  --accent: #22c55e;
  --accent-2: #f59e0b;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #16314a 0%, var(--bg) 35%, #04080d 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.08;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(8, 16, 24, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
}

.topbar nav {
  display: flex;
  gap: 16px;
}

.topbar a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

main {
  width: min(1120px, 92vw);
  margin: 28px auto 60px;
}

.hero {
  padding: 22px 24px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(18, 38, 56, 0.95), rgba(8, 16, 24, 0.95));
}

.kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-2);
  font-size: 0.82rem;
}

h1 {
  margin: 10px 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.05;
}

.subtitle {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

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

.btn {
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  font: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #16a34a);
  color: #04140a;
  font-weight: 700;
}

.btn-outline {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.trend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trend-row span {
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
}

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

.offer-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.offer-card h3 {
  margin: 0;
}

.offer-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0;
}

.offer-card p,
.offer-card li {
  color: var(--muted);
}

.offer-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.starter {
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.growth {
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.35);
}

.retainer {
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

.how,
.proof,
.brief {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 30, 0.8);
}

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

.steps h4 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

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

.proof-grid div {
  border: 1px solid var(--line);
  padding: 12px;
}

.proof-grid span {
  font-size: 1.7rem;
  font-weight: 700;
}

.proof-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.brief-subtitle {
  margin-top: 0;
  color: var(--muted);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  background: #09111a;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px;
  font: inherit;
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form button {
  width: fit-content;
}

.lead-result {
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 10px;
  background: rgba(34, 197, 94, 0.08);
  color: var(--ink);
}

.lead-result a {
  color: var(--accent);
}

footer {
  width: min(1120px, 92vw);
  margin: 0 auto 60px;
  display: flex;
  gap: 12px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
}

.chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(380px, 94vw);
  border: 1px solid var(--line);
  background: #0b1722;
  display: flex;
  flex-direction: column;
  z-index: 40;
}

.chatbot.hidden {
  display: none;
}

.chat-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.chat-log {
  min-height: 180px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.msg {
  padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.msg.user {
  background: rgba(34, 197, 94, 0.1);
}

.msg.bot {
  background: rgba(245, 158, 11, 0.08);
}

#chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}

#chat-input {
  flex: 1;
  background: #09111a;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px;
}

#chat-form button {
  background: var(--accent);
  border: 0;
  color: #03250f;
  padding: 8px 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .offers,
  .steps,
  .proof-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }
}
