/* ═══════════════════════════════════════════════
   lexmcp.365tec.de — Landing Page styles
   Brand Colors (from 365tec.de):
   - Primary gradient:  #1a56db → #3b82f6
   - Accent purple:     #8b5cf6
   - Dark bg:           #1e1e28
   - Dark surface:      #2a2a3a
   ═══════════════════════════════════════════════ */

:root {
  --c-primary: #2563eb;
  --c-primary-from: #1a56db;
  --c-primary-to: #3b82f6;
  --c-accent: #8b5cf6;
  --c-accent-light: #a78bfa;

  --c-dark: #1e1e28;
  --c-dark-surface: #2a2a3a;
  --c-dark-border: #3a3a4a;

  --c-text: #1a1a2e;
  --c-text-muted: #5a5a6e;
  --c-text-on-dark: #f3f4f6;
  --c-text-on-dark-muted: #9ca3af;

  --c-bg: #ffffff;
  --c-bg-soft: #f7f7fb;
  --c-border: #e5e7eb;

  --c-success: #10b981;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.08);
  --shadow: 0 4px 20px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 20px 50px rgb(26 86 219 / 0.15);

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Header ─────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo-svg { height: 32px; width: auto; }
.nav {
  display: none;
  gap: 32px;
}
.nav a {
  color: var(--c-text);
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: var(--c-primary); text-decoration: none; }
@media (min-width: 768px) {
  .nav { display: flex; }
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary-from), var(--c-primary-to));
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  background: radial-gradient(ellipse at top left, rgba(26, 86, 219, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.08), transparent 60%),
    var(--c-bg);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 968px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--c-primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--c-primary-from), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--c-text-muted);
  margin: 0 0 36px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-muted);
  font-weight: 500;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* ─── Hero Code Window ─────────────────────────── */
.hero-code {
  perspective: 1200px;
}
.code-window {
  background: var(--c-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(26, 86, 219, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.2deg) rotateY(-3deg);
  transition: transform 0.4s;
}
.code-window:hover { transform: rotate(0) rotateY(0); }

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--c-dark-surface);
  border-bottom: 1px solid var(--c-dark-border);
}
.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-title {
  margin-left: 12px;
  color: var(--c-text-on-dark-muted);
  font-size: 13px;
  font-family: var(--font-mono);
}

.code-body {
  padding: 24px;
  color: var(--c-text-on-dark);
  font-size: 14.5px;
  line-height: 1.6;
}
.msg {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
}
.msg-user {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.msg-claude {
  background: linear-gradient(
    135deg,
    rgba(26, 86, 219, 0.15),
    rgba(139, 92, 246, 0.1)
  );
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.msg-meta {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.msg-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--c-accent-light);
}
.code-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}
.highlight {
  color: var(--c-accent-light);
  font-weight: 600;
}

/* ─── Sections ────────────────────────────────── */
.section {
  padding: 90px 0;
}
.section-light {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 14px 0 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--c-text-muted);
  margin: 0;
}

/* ─── Features ───────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.feature {
  padding: 32px;
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.feature:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 700;
}
.feature p {
  color: var(--c-text-muted);
  font-size: 15px;
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  padding: 40px;
  background: linear-gradient(135deg, var(--c-primary-from), var(--c-accent));
  border-radius: var(--radius-lg);
  color: white;
  text-align: center;
}
.stat-num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 6px;
}

/* ─── Steps ───────────────────────────────────── */
.steps {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-from), var(--c-primary-to));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}
.step-body h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 700;
}
.step-body p {
  color: var(--c-text-muted);
  margin: 0 0 16px;
}

/* ─── Pricing ────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.pricing-card-featured {
  border-color: var(--c-primary);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-primary-from), var(--c-accent));
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pricing-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}
.pricing-desc {
  color: var(--c-text-muted);
  font-size: 14.5px;
  margin: 0 0 24px;
  min-height: 42px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-border);
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-unit {
  color: var(--c-text-muted);
  font-size: 15px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--c-text);
}
.pricing-features li.muted {
  color: var(--c-text-muted);
  font-size: 14px;
}

.pricing-note {
  text-align: center;
  color: var(--c-text-muted);
  margin-top: 40px;
  font-size: 14.5px;
}

/* ─── FAQ ──────────────────────────────────────── */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq details[open] {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--c-primary);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--c-text-muted);
}

/* ─── CTA Section ─────────────────────────────── */
.cta-section {
  background: var(--c-dark);
  color: var(--c-text-on-dark);
  padding: 90px 0;
  text-align: center;
  background-image: radial-gradient(
      ellipse at top,
      rgba(26, 86, 219, 0.3),
      transparent 60%
    ),
    radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.2), transparent 60%);
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 18px;
  color: var(--c-text-on-dark-muted);
  margin: 0 0 32px;
}
.cta-section .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}
.cta-section .btn-ghost {
  color: var(--c-text-on-dark);
  border-color: rgba(255, 255, 255, 0.2);
}
.cta-section .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

/* ─── Footer ──────────────────────────────────── */
.footer {
  background: var(--c-dark);
  color: var(--c-text-on-dark-muted);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: 8px;
}
.footer a {
  color: var(--c-text-on-dark-muted);
}
.footer a:hover {
  color: white;
}
.footer-muted {
  color: var(--c-text-on-dark-muted);
  margin: 12px 0 0;
  max-width: 360px;
  font-size: 14px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--c-text-on-dark-muted);
}
