/* ═══════════════════════════════════════════════════════════════════════════
   VOCALIS SEO LANDING PAGES — Champions League Design (SPEC-061)
   Mobile-first, system font stack, <20KB, Ahlin shadows, spring easing
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══ Reset & Base ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --lp-bg: #0f172a;
  --lp-bg-dark: #0a0f1a;
  --lp-surface: rgba(30, 41, 59, 0.6);
  --lp-surface-hover: rgba(30, 41, 59, 0.85);
  --lp-border: rgba(148, 163, 184, 0.12);
  --lp-border-accent: rgba(0, 194, 209, 0.3);
  --lp-text: #f1f5f9;
  --lp-text-secondary: #94a3b8;
  --lp-text-muted: #64748b;
  --lp-accent: #00c2d1;
  --lp-accent-hover: #22d3ee;
  --lp-accent-glow: rgba(0, 194, 209, 0.15);
  --lp-success: #10b981;
  --lp-purple: #8b5cf6;
  --lp-blue: #3b82f6;
  --lp-orange: #f59e0b;
  --lp-white-alpha-06: rgba(255, 255, 255, 0.06);
  --lp-white-alpha-10: rgba(255, 255, 255, 0.1);
  --lp-white-alpha-18: rgba(255, 255, 255, 0.18);

  /* Spring easing */
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* Ahlin shadows */
  --ahlin-2: 0 2px 4px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.08);
  --ahlin-3: 0 4px 8px rgba(0,0,0,0.15), 0 6px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --ahlin-4: 0 8px 16px rgba(0,0,0,0.15), 0 12px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --ahlin-5: 0 16px 32px rgba(0,0,0,0.2), 0 24px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);

  /* Stagger */
  --stagger: 60ms;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, var(--lp-bg) 0%, var(--lp-bg-dark) 100%);
  color: var(--lp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--lp-accent); text-decoration: none; }
a:hover { color: var(--lp-accent-hover); }
a:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

/* ═══ Layout ═══ */
.lp-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-section {
  padding: 64px 0;
}

.lp-section + .lp-section {
  border-top: 1px solid var(--lp-border);
}

/* ═══ Navigation / Sticky Header ═══ */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
  padding: 12px 0;
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-nav-logo {
  height: 32px;
  width: auto;
}

.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--lp-accent);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--spring-bounce), background 0.2s, box-shadow 0.2s;
}

.lp-nav-cta:hover {
  background: var(--lp-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--lp-accent-glow);
  color: white;
}

.lp-nav-cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* ═══ Hero ═══ */
.lp-hero {
  padding: 80px 0 64px;
  text-align: center;
}

.lp-badge {
  display: inline-block;
  background: var(--lp-accent-glow);
  color: var(--lp-accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.6s var(--spring-smooth) both;
}

.lp-hero h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--lp-accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeSlideUp 0.6s var(--spring-smooth) 0.1s both;
}

.lp-hero-subtitle {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  color: var(--lp-text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  animation: fadeSlideUp 0.6s var(--spring-smooth) 0.2s both;
}

.lp-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s var(--spring-smooth) 0.3s both;
}

/* ═══ Buttons ═══ */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring-bounce), box-shadow 0.25s var(--spring-smooth), background 0.2s;
  text-decoration: none;
}

.lp-btn:active {
  transform: scale(0.97);
}

.lp-btn:focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: 2px;
}

.lp-btn-primary {
  background: var(--lp-accent);
  color: white;
  box-shadow: var(--ahlin-3);
}

.lp-btn-primary:hover {
  background: var(--lp-accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--ahlin-4), 0 4px 20px var(--lp-accent-glow);
}

.lp-btn-secondary {
  background: var(--lp-white-alpha-06);
  color: var(--lp-text);
  border: 1px solid var(--lp-border);
}

.lp-btn-secondary:hover {
  background: var(--lp-white-alpha-10);
  color: var(--lp-text);
  transform: translateY(-2px);
  box-shadow: var(--ahlin-3);
  border-color: var(--lp-border-accent);
}

/* ═══ Cards — Glass Morphism ═══ */
.lp-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--ahlin-2);
  transition: transform 0.3s var(--spring-bounce), box-shadow 0.3s var(--spring-smooth), border-color 0.3s;
}

.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ahlin-4);
  border-color: var(--lp-border-accent);
}

/* Staggered card entrance */
.lp-card { animation: fadeSlideUp 0.5s var(--spring-smooth) both; }
.lp-card:nth-child(1) { animation-delay: calc(1 * var(--stagger)); }
.lp-card:nth-child(2) { animation-delay: calc(2 * var(--stagger)); }
.lp-card:nth-child(3) { animation-delay: calc(3 * var(--stagger)); }
.lp-card:nth-child(4) { animation-delay: calc(4 * var(--stagger)); }
.lp-card:nth-child(5) { animation-delay: calc(5 * var(--stagger)); }
.lp-card:nth-child(6) { animation-delay: calc(6 * var(--stagger)); }

.lp-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.lp-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lp-text);
}

.lp-card-text {
  font-size: 14px;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

/* ═══ Grid Layouts ═══ */
.lp-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lp-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ═══ Section Headers ═══ */
.lp-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 8px;
}

.lp-section-title {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--lp-text);
}

.lp-section-subtitle {
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem);
  color: var(--lp-text-secondary);
  max-width: 600px;
}

.lp-section-header {
  margin-bottom: 40px;
}

.lp-section-header--center {
  text-align: center;
}

.lp-section-header--center .lp-section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ═══ 3 KI-Agents ═══ */
.lp-agent-card {
  position: relative;
  overflow: hidden;
}

.lp-agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.lp-agent-card--voice::before { background: linear-gradient(90deg, var(--lp-accent), var(--lp-blue)); }
.lp-agent-card--task::before { background: linear-gradient(90deg, var(--lp-purple), var(--lp-blue)); }
.lp-agent-card--assistant::before { background: linear-gradient(90deg, var(--lp-orange), var(--lp-success)); }

.lp-agent-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.lp-agent-tag--voice { background: rgba(0, 194, 209, 0.15); color: var(--lp-accent); }
.lp-agent-tag--task { background: rgba(139, 92, 246, 0.15); color: var(--lp-purple); }
.lp-agent-tag--assistant { background: rgba(245, 158, 11, 0.15); color: var(--lp-orange); }

/* ═══ Pain Points ═══ */
.lp-pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: rgba(239, 68, 68, 0.1);
}

/* ═══ Features List ═══ */
.lp-features-list {
  list-style: none;
  padding: 0;
}

.lp-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--lp-border);
  font-size: 15px;
  color: var(--lp-text-secondary);
}

.lp-features-list li:last-child {
  border-bottom: none;
}

.lp-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--lp-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

/* ═══ Voice Demo Embed ═══ */
.lp-demo-box {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-accent);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-demo-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--lp-accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.lp-demo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.lp-demo-text {
  color: var(--lp-text-secondary);
  margin-bottom: 24px;
  position: relative;
}

/* ═══ Stats / Social Proof ═══ */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lp-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--lp-white-alpha-06);
  border-radius: 12px;
  border: 1px solid var(--lp-border);
}

.lp-stat-value {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  font-weight: 800;
  color: var(--lp-accent);
  line-height: 1.2;
}

.lp-stat-label {
  font-size: 13px;
  color: var(--lp-text-muted);
  margin-top: 4px;
}

/* ═══ Pricing Teaser ═══ */
.lp-pricing-card {
  text-align: center;
  padding: 32px 24px;
}

.lp-pricing-card.lp-pricing-popular {
  border-color: var(--lp-accent);
  box-shadow: var(--ahlin-4), 0 0 40px var(--lp-accent-glow);
  position: relative;
}

.lp-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--lp-text);
}

.lp-price-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--lp-text-muted);
}

.lp-pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.lp-pricing-features li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--lp-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-pricing-features li::before {
  content: '\2713';
  color: var(--lp-success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══ FAQ ═══ */
.lp-faq-item {
  border-bottom: 1px solid var(--lp-border);
  padding: 0;
}

.lp-faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--lp-text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color 0.2s;
}

.lp-faq-q:hover {
  color: var(--lp-accent);
}

.lp-faq-q:focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: -2px;
  border-radius: 4px;
}

.lp-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--spring-smooth);
  color: var(--lp-text-muted);
}

.lp-faq-item.open .lp-faq-chevron {
  transform: rotate(180deg);
}

.lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--spring-smooth), padding 0.3s;
  font-size: 15px;
  color: var(--lp-text-secondary);
  line-height: 1.7;
}

.lp-faq-item.open .lp-faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ═══ Business Agent Teaser (Messenger Style) ═══ */
.lp-messenger {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 420px;
}

.lp-messenger-header {
  background: rgba(245, 158, 11, 0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--lp-border);
}

.lp-messenger-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-orange), var(--lp-success));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

.lp-messenger-name {
  font-size: 14px;
  font-weight: 600;
}

.lp-messenger-status {
  font-size: 11px;
  color: var(--lp-success);
}

.lp-messenger-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  animation: msgSlideIn 0.4s var(--spring-smooth) both;
}

.lp-msg--user {
  align-self: flex-end;
  background: var(--lp-accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.lp-msg--bot {
  align-self: flex-start;
  background: var(--lp-white-alpha-10);
  color: var(--lp-text);
  border-bottom-left-radius: 4px;
}

.lp-msg:nth-child(2) { animation-delay: 0.15s; }
.lp-msg:nth-child(3) { animation-delay: 0.3s; }
.lp-msg:nth-child(4) { animation-delay: 0.45s; }
.lp-msg:nth-child(5) { animation-delay: 0.6s; }

/* ═══ Footer CTA ═══ */
.lp-footer-cta {
  text-align: center;
  padding: 80px 0 64px;
  position: relative;
}

.lp-footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-accent), transparent);
}

.lp-footer-cta h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-footer-cta p {
  color: var(--lp-text-secondary);
  margin-bottom: 28px;
  font-size: 16px;
}

/* ═══ Trust Badges ═══ */
.lp-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--lp-text-muted);
}

.lp-trust-icon {
  font-size: 16px;
}

/* ═══ Footer ═══ */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--lp-text-muted);
}

.lp-footer a {
  color: var(--lp-text-muted);
  margin: 0 8px;
}

.lp-footer a:hover {
  color: var(--lp-accent);
}

/* ═══ Animations ═══ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes msgSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Intersection Observer driven — add .lp-visible via JS */
.lp-animate {
  opacity: 0;
  transform: translateY(24px);
}

.lp-animate.lp-visible {
  animation: fadeSlideUp 0.6s var(--spring-smooth) both;
}

/* ═══ Responsive ═══ */
@media (min-width: 640px) {
  .lp-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .lp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lp-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .lp-section { padding: 80px 0; }
  .lp-hero { padding: 100px 0 80px; }
}

@media (min-width: 1024px) {
  .lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ═══ Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
