/* ============================================================
   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); }

/* ── Scenarios ───────────────────────────────────────── */
.scenarios h2 { max-width: 580px; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
.scenario-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color .2s;
}
.scenario-card:hover { border-color: var(--primary); }
.scenario-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-glow);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 14px;
}
.scenario-card .sc-icon { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.scenario-card h3 { color: var(--text); margin-bottom: 10px; }
.scenario-card p  { font-size: 0.86rem; line-height: 1.7; }
.scenario-disclaimer {
  margin-top: 1.75rem;
  font-size: 0.72rem;
  color: var(--dim);
  text-align: center;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing h2 { max-width: 480px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  margin-top: 3rem;
  max-width: 840px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  transition: border-color .2s;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 56px var(--primary-glow);
}
.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 { color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
  margin: 14px 0 4px;
}
.price-amount sup { font-size: 1.4rem; vertical-align: top; margin-top: 8px; font-weight: 600; }
.price-amount sub { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.75rem; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--muted);
}
.price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-features li strong { color: var(--text); }

/* ── Comparison ──────────────────────────────────────── */
.comparison h2 { max-width: 520px; }
.comp-wrap {
  margin-top: 3rem;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
}
.comp-table th {
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  color: var(--muted);
}
.comp-table th:first-child { text-align: left; }
.comp-table th.col-us { color: var(--primary); background: rgba(99,102,241,.07); }
.comp-table td {
  padding: 14px 20px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comp-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.comp-table td.col-us { background: rgba(99,102,241,.04); color: var(--text); font-weight: 600; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-yes { color: var(--green) !important; font-weight: 700; }
.comp-no  { color: var(--red) !important; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq h2 { max-width: 480px; }
.faq-list {
  margin-top: 3rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--border-hover); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 19px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  transition: color .15s;
}
.faq-q:hover { color: var(--primary); }
.faq-chevron {
  flex-shrink: 0;
  width: 18px; height: 18px;
  stroke: var(--dim);
  transition: transform .25s, stroke .15s;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── 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); }
  .scenario-grid { grid-template-columns: 1fr; gap: 14px; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .comp-table th, .comp-table td { padding: 12px 14px; font-size: 0.78rem; }

  .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; }
}
