/* ========================================
   StudioBuddy — Design System
   Farben: Grün + Weiß + Grau
   Typo: Plus Jakarta Sans + IBM Plex Mono
   Stil: Linear / Vercel / Stripe
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

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

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --risk-red: #ef4444;
  --risk-amber: #f59e0b;
  --streak-orange: #f97316;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

p {
  color: var(--gray-600);
  font-size: 1.065rem;
  line-height: 1.7;
}

.mono {
  font-family: var(--font-mono);
}

.label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-600);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

section:nth-child(even) {
  background: var(--gray-50);
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  display: flex;
  align-items: center;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--green-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gray-900);
}

.nav-links .btn-nav {
  background: var(--green-600);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-links .btn-nav:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green-600);
  color: white;
}

.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.065rem;
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero h1 .highlight {
  color: var(--green-600);
}

.hero .subline {
  font-size: 1.2rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Problem Section --- */
.problem {
  background: var(--gray-50);
}

.problem .section-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  margin-bottom: 32px;
}

.problem .stats-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.stat-card .stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--risk-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.features .section-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Trust Section --- */
.trust {
  text-align: center;
  padding: 64px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-weight: 600;
  font-size: 1rem;
}

.trust-logo .logo-pill {
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  background: var(--gray-50);
}

/* --- Contact Form --- */
.contact {
  background: var(--gray-50);
  padding: 80px 0;
}

.contact .section-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.contact .subline {
  color: var(--gray-500);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-800);
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* --- Product Page: Demo --- */
.demo-section {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 64px;
  background: var(--gray-50);
}

.demo-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.demo-section .section-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.demo-section .section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.demo-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.demo-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.demo-browser-dot:first-child { background: #ff5f57; }
.demo-browser-dot:nth-child(2) { background: #febc2e; }
.demo-browser-dot:nth-child(3) { background: #28c840; }

.demo-browser-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-400);
  background: var(--white);
  padding: 6px 16px;
  border-radius: 6px;
  margin-left: 8px;
}

/* --- Demo Dashboard --- */
.demo-app {
  display: flex;
  min-height: 600px;
}

.demo-sidebar {
  width: 220px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 20px 0;
  flex-shrink: 0;
}

.demo-sidebar-logo {
  padding: 0 20px;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-sidebar-logo .dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

.demo-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.15s;
}

.demo-nav-item:hover {
  background: var(--gray-50);
  color: var(--gray-700);
}

.demo-nav-item.active {
  color: var(--green-700);
  background: var(--green-50);
  border-right: 2px solid var(--green-600);
}

.demo-nav-item .nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.demo-main {
  flex: 1;
  padding: 24px;
  background: var(--gray-50);
  overflow-y: auto;
}

.demo-main h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.demo-main .demo-subtitle {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.kpi-card .kpi-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.kpi-card .kpi-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900);
}

.kpi-card .kpi-value.risk {
  color: var(--risk-red);
}

.kpi-card .kpi-value.good {
  color: var(--green-600);
}

.kpi-card .kpi-change {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* Demo Tables */
.demo-table-section {
  margin-bottom: 24px;
}

.demo-table-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-700);
}

.demo-table {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border-collapse: collapse;
}

.demo-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.demo-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.demo-table tr:last-child td {
  border-bottom: none;
}

.demo-table tr:hover td {
  background: var(--gray-50);
}

.risk-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.risk-badge.high {
  background: #fef2f2;
  color: var(--risk-red);
}

.risk-badge.medium {
  background: #fffbeb;
  color: var(--risk-amber);
}

.risk-badge.low {
  background: var(--green-50);
  color: var(--green-700);
}

.trend-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* WhatsApp Message Preview */
.wa-preview {
  background: #e8f5e9;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 8px 0;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.5;
  max-width: 380px;
  position: relative;
}

.wa-preview::before {
  content: '💬';
  position: absolute;
  top: -10px;
  left: -4px;
  font-size: 16px;
}

.btn-approve {
  background: var(--green-600);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s;
}

.btn-approve:hover {
  background: var(--green-700);
}

/* Streak badges */
.streak-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.streak-badge.bronze { background: #fef3c7; color: #92400e; }
.streak-badge.silver { background: #f3f4f6; color: #374151; }
.streak-badge.gold { background: #fef9c3; color: #854d0e; }
.streak-badge.platinum { background: #ede9fe; color: #5b21b6; }
.streak-badge.diamond { background: #ecfdf5; color: #065f46; }

/* Message log */
.msg-type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.msg-type-badge.churn { background: #fef2f2; color: var(--risk-red); }
.msg-type-badge.upsell { background: #eff6ff; color: #2563eb; }
.msg-type-badge.milestone { background: #fefce8; color: #a16207; }
.msg-type-badge.streak { background: var(--green-50); color: var(--green-700); }

.msg-result {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.msg-result.success { background: var(--green-50); color: var(--green-700); }
.msg-result.pending { background: var(--gray-100); color: var(--gray-500); }

/* --- Product Features Detail --- */
.features-detail {
  padding: 80px 0;
}

.feature-detail-block {
  display: flex;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail-block:last-child {
  margin-bottom: 0;
}

.feature-detail-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-detail-text {
  flex: 1;
}

.feature-detail-text .label {
  margin-bottom: 12px;
}

.feature-detail-text h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-detail-text p {
  margin-bottom: 16px;
}

.feature-detail-visual {
  flex: 1;
}

.feature-example-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-example-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-avatar {
  width: 40px;
  height: 40px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.feature-example-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.feature-example-meta {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* Streak tiers */
.streak-tiers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.streak-tier {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
}

.streak-tier-days {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-800);
  min-width: 60px;
}

.streak-tier-reward {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --- CTA Section (Product page) --- */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--gray-900);
  color: white;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray-400);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* --- Book a Call Page --- */
.call-page {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  min-height: 100vh;
}

.call-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.call-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}

.call-content .subline {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pilot-benefits {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  text-align: left;
  flex-wrap: wrap;
}

.pilot-benefit {
  flex: 1;
  min-width: 180px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.pilot-benefit .benefit-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.pilot-benefit h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.pilot-benefit p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.calendly-placeholder {
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin-top: 40px;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.scarcity-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-800);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.scarcity-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Footer --- */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .footer-text {
  font-size: 0.85rem;
  color: var(--gray-400);
}

footer .footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

footer .footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--gray-600);
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gray-900);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 24px;
    gap: 8px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn-nav {
    text-align: center;
    display: block;
  }

  .nav-hamburger {
    display: flex;
  }

  section {
    padding: 64px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    flex-direction: column;
  }

  .feature-detail-block,
  .feature-detail-block:nth-child(even) {
    flex-direction: column;
    gap: 32px;
  }

  .demo-sidebar {
    display: none;
  }

  .demo-app {
    flex-direction: column;
  }

  .demo-mobile-nav {
    display: flex !important;
    overflow-x: auto;
    gap: 4px;
    padding: 8px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
  }

  .demo-mobile-nav button {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-500);
    cursor: pointer;
    white-space: nowrap;
  }

  .demo-mobile-nav button.active {
    background: var(--green-50);
    border-color: var(--green-300);
    color: var(--green-700);
  }

  .pilot-benefits {
    flex-direction: column;
  }

  .problem .stats-row {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    max-width: 100%;
  }

  footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.demo-mobile-nav {
  display: none;
}
