/* ============================================================
   KI-Chatbot-Agentur — Landing Page Styles
   Dark Mode · Minimalist · Zero dependencies
   ============================================================ */

:root {
  --bg:            #09090b;
  --surface:       #18181b;
  --surface-2:     #1c1c1f;
  --border:        #27272a;
  --border-hover:  #3f3f46;
  --primary:       #6366f1;
  --primary-dark:  #4f46e5;
  --primary-glow:  rgba(99, 102, 241, 0.18);
  --green:         #22c55e;
  --red:           #ef4444;
  --text:          #fafafa;
  --muted:         #a1a1aa;
  --dim:           #52525b;
  --r:             12px;
  --r-lg:          20px;
  --font:          -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  --mono:          "SF Mono", "Fira Code", "Cascadia Code", monospace;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
code {
  font-family: var(--mono);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.82em;
  color: var(--primary);
}

/* ── Layout ──────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
h1   { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
h2   { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.25rem; }
h3   { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
p    { color: var(--muted); }

.label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 28px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 0 48px rgba(99,102,241,.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-sm  { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg  { padding: 16px 34px; font-size: 1rem; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9,9,11,.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 58px;
}
.logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex-shrink: 0;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 128px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(99,102,241,.13) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2.25rem;
  letter-spacing: 0.02em;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  margin-bottom: 1.5rem;
  background: linear-gradient(175deg, #ffffff 30%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2.75rem;
  color: var(--muted);
  line-height: 1.75;
}
.hero-sub strong { color: var(--text); -webkit-text-fill-color: var(--text); }
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-hint {
  font-size: 0.78rem;
  color: var(--dim);
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: .45; }
  50%       { opacity: 1; }
}

/* ── Stats Strip ─────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 28px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--primary);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}
.stat-lbl strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Problem ─────────────────────────────────────────── */
.problem h2 { max-width: 580px; }
.timeline {
  margin-top: 3rem;
  padding-left: 36px;
  border-left: 2px solid var(--border);
  max-width: 540px;
  display: flex;
  flex-direction: column;
}
.tl-item {
  padding: 22px 0;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -42px; top: 30px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--dim);
  border: 2px solid var(--bg);
}
.tl-bad::before {
  background: var(--red);
  box-shadow: 0 0 14px rgba(239,68,68,.45);
}
.tl-time {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 5px;
}
.tl-bad .tl-time { color: var(--red); }
.tl-item p { font-size: 0.95rem; }

/* ── How It Works ────────────────────────────────────── */
.how h2 { max-width: 580px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color .2s;
}
.step:hover { border-color: var(--primary); }
.step-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.step h3 { color: var(--text); margin-bottom: 8px; }
.step p  { font-size: 0.88rem; line-height: 1.65; }

/* ── Features Grid ───────────────────────────────────── */
.features h2 { max-width: 580px; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feat {
  background: var(--surface);
  padding: 30px;
  transition: background .18s;
}
.feat:hover { background: var(--surface-2); }
.feat-icon { font-size: 1.4rem; display: block; margin-bottom: 12px; }
.feat h3   { color: var(--text); font-size: 0.95rem; margin-bottom: 8px; }
.feat p    { font-size: 0.85rem; line-height: 1.7; }

/* ── Demo Callout ────────────────────────────────────── */
.demo-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.demo-callout h2 { margin-bottom: .75rem; }
.demo-callout p  { max-width: 420px; font-size: 1rem; }
.demo-arrow {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  animation: bob 2s ease-in-out infinite;
}
.demo-arrow svg { width: 32px; height: 32px; stroke: var(--primary); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(99,102,241,.14) 0%, transparent 68%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 560px; margin: 0 auto; }
.cta-inner h2  { margin-bottom: 1rem; }
.cta-inner > p { margin-bottom: 2.25rem; font-size: 1.05rem; }
.cta-fine {
  margin-top: 18px !important;
  font-size: 0.78rem !important;
  color: var(--dim) !important;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.73rem; color: var(--dim); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero    { padding: 88px 0 64px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)  { border-right: none; }
  .stat:nth-child(3)  { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat:nth-child(4)  { border-top: 1px solid var(--border); border-right: none; }

  .steps     { grid-template-columns: 1fr; gap: 14px; }
  .feat-grid { grid-template-columns: 1fr 1fr; border-radius: var(--r); }

  .demo-callout {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
  }
  .demo-callout p { max-width: none; }
  .demo-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .nav-inner .btn-ghost { display: none; }
  h2 { font-size: 1.65rem; }
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}
