@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --fg: #e8e8e8;
  --fg-muted: #888888;
  --accent: #00e676;
  --accent-dim: rgba(0, 230, 118, 0.12);
  --accent-glow: rgba(0, 230, 118, 0.25);
  --border: #222222;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 28px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.7;
}

/* ===== PROOF BAR ===== */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
  background: var(--bg-elevated);
}

.proof-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.proof-stat .number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.proof-stat .label {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.problem-list .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 60, 60, 0.12);
  color: #ff4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

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

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  color: rgba(0, 230, 118, 0.2);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== VERTICALS ===== */
.verticals {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.verticals h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vertical-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.vertical-card:hover {
  border-color: var(--accent);
}

.vertical-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.vertical-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

footer .brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .proof-bar-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .vertical-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 80px 20px 60px;
  }
  .problem, .how, .verticals, .closing {
    padding: 60px 20px;
  }
}
/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--fg-muted); color: #fff; }

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* ===== DEMO CHAT SECTION ===== */
.demo {
  padding: 100px 24px;
  background: var(--bg);
}
.demo-inner {
  max-width: 700px;
  margin: 0 auto;
}
.demo h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.demo-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.6;
}
.chat-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.chat-avatar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.chat-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.chat-status {
  font-size: 0.8rem;
  color: var(--accent);
}
.chat-messages {
  padding: 20px;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-msg { display: flex; }
.chat-msg--ai { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.55;
}
.chat-msg--ai .chat-bubble {
  background: var(--bg-elevated);
  color: var(--fg);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-bubble {
  background: var(--accent);
  color: #000;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 16px;
}
.chat-typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg-muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.chat-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--fg-muted); }
.chat-send {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.chat-send:hover { opacity: 0.85; }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== CONTACT FORM ===== */
.contact {
  padding: 100px 24px;
  background: var(--bg-elevated);
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.contact-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.6;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.required { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); opacity: 0.6; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit {
  align-self: flex-start;
  font-size: 1rem;
  padding: 15px 32px;
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-success {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 18px;
  background: var(--accent-dim);
  border-radius: 8px;
  border: 1px solid rgba(0,230,118,0.2);
}
.form-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  padding: 12px 16px;
  background: rgba(255, 60, 60, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 60, 60, 0.2);
}
.form-error a { color: #ff8888; }

/* ===== RESPONSIVE (additions) ===== */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .chat-messages { min-height: 220px; max-height: 300px; }
}
