/* =====================================================
   ALMOKI – Schwarz/Gold Premium Design
   ===================================================== */

:root {
  --gold: #c8a84e;
  --gold-light: #d4b962;
  --gold-dark: #b89a3e;
  --gold-glow: rgba(200, 168, 78, 0.25);
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --bg-alt: #0e0e0e;
  --bg-section-dark: #080808;
  --text: #f5f5f5;
  --text-muted: #999999;
  --text-dim: #666666;
  --border: #222222;
  --border-light: #2a2a2a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 32px rgba(200, 168, 78, 0.15);
  --max-w: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ===== SECTION BASE ===== */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-section-dark); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(200, 168, 78, 0.2);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 168, 78, 0.3);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  transition: all var(--transition);
}

.nav::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  z-index: -1;
  transition: border-color var(--transition);
}

.nav.scrolled::before {
  border-bottom-color: var(--border);
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-login {
  color: var(--gold) !important;
  font-weight: 600 !important;
}
.nav-login:hover { color: var(--gold-light) !important; }

.nav-links .btn-gold {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  padding: 8rem 1.5rem 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.gold { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Chat Demo */
.hero-chat-demo { perspective: 1200px; }

.demo-window {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(200, 168, 78, 0.05);
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.demo-window:hover { transform: rotateY(0) rotateX(0); }

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-section-dark);
  border-bottom: 1px solid var(--border);
}

.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.demo-messages {
  padding: 1.25rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-msg {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 85%;
  opacity: 0;
  transform: translateY(10px);
  animation: msgIn 0.4s forwards;
}

.demo-msg-bot {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
}

.demo-msg-user {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  align-self: flex-end;
  font-weight: 500;
}

@keyframes msgIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Demo file preview + approve button */
.demo-file {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  background: rgba(200, 168, 78, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 0.6rem;
}

.demo-file-icon {
  width: 32px;
  height: 32px;
  background: rgba(200, 168, 78, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-file-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
}

.demo-file-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.demo-file-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.demo-file-size {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.demo-approve-btn {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.demo-approve-btn:hover {
  box-shadow: 0 4px 12px rgba(200, 168, 78, 0.3);
}

.demo-approve-btn.demo-approved {
  background: #16a34a;
  color: #fff;
  cursor: default;
}

.demo-input {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  gap: 0.5rem;
}

.demo-input span {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-dim);
  min-height: 1.2em;
}

.demo-send-btn {
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: #0a0a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card-highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.05), transparent);
}
.feature-card-highlight:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 168, 78, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== STEPS / HOW IT WORKS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

.step-line {
  width: 60px;
  height: 2px;
  background: var(--border-light);
  margin-top: 2.75rem;
  flex-shrink: 0;
}

/* ===== KI DEMO (BEFORE / AFTER) ===== */
.comparison-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
}

.demo-before, .demo-after {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.demo-after {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.04), var(--bg-card));
}

.demo-label {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-label-gold {
  background: rgba(200, 168, 78, 0.1);
  color: var(--gold);
}

.demo-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.demo-step-item {
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-chat-example {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.demo-chat-example .demo-msg-user,
.demo-chat-example .demo-msg-bot {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.demo-chat-example .demo-msg-user {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  align-self: flex-end;
  max-width: 90%;
  font-weight: 500;
}

.demo-chat-example .demo-msg-bot {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  max-width: 90%;
}

.demo-time {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.demo-time-gold { color: var(--gold); }

.demo-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dim);
  padding: 0 0.5rem;
}

/* ===== COMPARISON TABLE ===== */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-section-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.compare-highlight {
  background: rgba(200, 168, 78, 0.06) !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
}

.compare-table th.compare-highlight {
  color: var(--gold) !important;
  font-size: 0.9rem;
}

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

.check { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.cross { color: #555; font-size: 1.1rem; }

/* ===== PRICING ===== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.toggle-label.active { color: var(--text); }

.toggle-save {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(200, 168, 78, 0.15);
  color: var(--gold);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input { display: none; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-light);
  border-radius: 100px;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(200, 168, 78, 0.3);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 168, 78, 0.06), var(--bg-card));
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
}

.pricing-card-popular:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: var(--gold-light);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  transition: all 0.4s ease;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-left: 0.25rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features .check {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== MITARBEITER APP ===== */
.app-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.app-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.app-feature-icon {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.app-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(200, 168, 78, 0.05);
}

.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
}

.phone-header {
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.phone-item {
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background var(--transition);
}

.phone-item:hover { background: var(--bg-card); }

.phone-item-active {
  background: rgba(200, 168, 78, 0.08);
  color: var(--gold);
  font-weight: 600;
}

.phone-arrow { color: var(--text-dim); font-size: 1.2rem; }

/* ===== TRUST BADGES ===== */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-icon {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-badge strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-badge span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--gold); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ===== CTA ===== */
.cta-section { padding: 4rem 0 6rem; }

.cta-box {
  background: linear-gradient(135deg, #151510 0%, #1a1a14 50%, #151510 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(200, 168, 78, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  position: relative;
}

.cta-box .btn { position: relative; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg-section-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== SCROLL ANIMATIONS ===== */
/* .fade-in alone does NOT hide content — JS adds .fade-in-ready when loaded */
.fade-in {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.fade-in-ready {
  opacity: 0;
  transform: translateY(24px);
}

.fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== AUTH FORMS (preserved for /signup, /login) ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 1.5rem;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-card > p { color: var(--text-muted); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.15);
}

.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.alert-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== ONBOARDING (preserved) ===== */
.onboarding-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.onboarding-header {
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.onboarding-header h1 { font-size: 1.125rem; font-weight: 600; }

.chat-container {
  flex: 1;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.875rem 1.125rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.chat-bubble.user {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  align-self: flex-end;
}

.chat-input-area {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
}

.chat-input-area input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.15);
}

.chat-input-area .btn { flex-shrink: 0; }

/* Progress Bar */
.progress-bar { height: 4px; background: var(--border); width: 100%; }
.progress-fill { height: 100%; width: 0%; background: var(--gold); transition: width 0.4s ease; }
.progress-text { text-align: center; font-size: 0.8rem; color: var(--text-muted); padding: 0.5rem 1rem 0; }

/* Thinking Indicator */
.thinking-bubble { color: var(--text-muted); font-style: italic; font-size: 0.9rem; }
.thinking-text { transition: opacity 0.2s; }
.thinking-dots { display: inline; letter-spacing: 1px; }

/* Provisioning Spinner */
.provisioning-msg { display: flex; align-items: center; gap: 0.75rem; }

.provisioning-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Success Box */
.success-box {
  background: rgba(200, 168, 78, 0.08);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.success-box h3 { color: var(--gold); margin-bottom: 0.5rem; font-size: 1.125rem; }
.success-box p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }

.credentials {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.credentials code {
  background: var(--bg-card);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gold);
}

/* ===== SIMPLE NAVBAR (legal pages) ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 6rem 0 4rem;
  min-height: 80vh;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gold);
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-page p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-page ul li {
  margin-bottom: 0.3rem;
}

.legal-page a {
  color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    min-height: auto;
    gap: 3rem;
  }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .demo-window { transform: none; }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-card { text-align: center; }
  .feature-icon { margin-left: auto; margin-right: auto; }

  .comparison-demo {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .demo-vs {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .pricing-card-popular {
    transform: none;
  }
  .pricing-card-popular:hover {
    transform: translateY(-4px);
  }

  .app-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .app-features { align-items: center; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .section { padding: 4rem 0; }

  .hero {
    padding: 6rem 1.5rem 3rem;
    text-align: center;
  }
  .hero h1 { font-size: 2rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 1rem; }

  .steps { flex-direction: column; align-items: center; text-align: center; }
  .step { text-align: center; }
  .step-line {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { text-align: center; }
  .feature-icon { margin-left: auto; margin-right: auto; margin-bottom: 1.25rem; }

  .compare-table { font-size: 0.75rem; }
  .compare-table th,
  .compare-table td { padding: 0.6rem 0.5rem; }

  .pricing-grid { max-width: 100%; }

  .app-section { text-align: center; }
  .app-text { text-align: center; }
  .app-features { align-items: center; }

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trust-badge { text-align: center; flex-direction: column; }

  .faq-question { font-size: 0.95rem; text-align: left; }

  .cta-box { padding: 2.5rem 1.5rem; }
  .cta-box h2 { font-size: 1.5rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-col { align-items: center; }
  .footer-brand { text-align: center; }

  .auth-card { padding: 1.5rem; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }
}
