/* ===== AIGIS PRO Marketing Website – Redesign ===== */

:root {
  --bg: #faf9f7;
  --bg-white: #ffffff;
  --bg-warm: #f5f4f2;
  --text: #1a1a1a;
  --text-body: #3d3d3d;
  --text-muted: #6b6b6b;
  --accent: #0263c2;
  --accent-dark: #1a4a8a;
  --accent-soft: #e8f0fa;
  --success: #0d9488;
  --border: #e5e3e0;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 1.0625rem;
}

/* Typography */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--text); }
.headline { letter-spacing: -0.02em; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--text-muted); }

/* Layout – passt sich dem Fenster an, dehnt Inhalt aber nicht unnötig */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* Two-column layout */
.split-section {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-section.reverse .split-content { order: 2; }
  .split-section.reverse .split-visual { order: 1; }
}

/* Card */
.card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.site-header.scrolled { background: rgba(250,249,247,0.98); }

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-link img { height: 48px; width: auto; display: block; }

.nav-links { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.125rem;
  padding: 0.75rem;
  border-radius: 8px;
}
.mobile-nav a:hover { background: var(--bg-warm); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--bg-white);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-warm); border-color: #d4d2ce; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
}
.hero-content { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-visual {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
}

/* Product mockup */
.product-mockup {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.product-mockup .mockup-header {
  background: var(--bg-warm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.product-mockup .mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.product-mockup .mockup-dot.red { background: #f87171; }
.product-mockup .mockup-dot.amber { background: #fbbf24; }
.product-mockup .mockup-dot.green { background: #34d399; }
.product-mockup .mockup-body { padding: 1.5rem; }
.product-mockup .chat-bubble {
  max-width: 85%;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}
.product-mockup .chat-bubble.user {
  margin-left: auto;
  background: var(--accent);
  color: white;
}
.product-mockup .chat-bubble.anon {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: ui-monospace, monospace;
}
.product-mockup .chat-bubble.bot {
  background: var(--bg-warm);
  border: 1px solid var(--border);
}

/* Prose */
.prose {
  max-width: 60ch;
}
.prose p { margin-bottom: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }

/* Section headers */
.section-header { margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section-header .lead { margin-bottom: 0; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.feature-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border-radius: 6px;
  margin-top: 0.2rem;
}
.feature-list li.filled::before {
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Persona cards */
.persona-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
.persona-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.persona-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.persona-card p { color: var(--text-muted); font-size: 0.9375rem; margin: 0; }

/* Footer */
.site-footer {
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  background: var(--bg-white);
}
.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 0.8125rem; }

/* Page hero */
.page-hero {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 1rem; }
.page-hero .lead { max-width: 40rem; margin: 0 auto; }

/* Illustration */
.illustration-block {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #f0f4f8 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.illustration-block svg { max-width: 100%; height: auto; }

/* Pricing cards */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-card .badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pricing-card .price { font-size: 2rem; font-weight: 700; color: var(--text); }
.pricing-card .price span { font-size: 0.9375rem; font-weight: 500; color: var(--text-muted); }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-card li { padding: 0.5rem 0; color: var(--text-muted); font-size: 0.9375rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-card li::before { content: '✓'; color: var(--success); font-weight: 600; }

/* CTA block */
.cta-block {
  background: var(--accent);
  color: white;
  padding: 4rem 1.5rem;
  border-radius: 20px;
  text-align: center;
}
.cta-block h2 { color: white; margin-bottom: 0.75rem; }
.cta-block p { opacity: 0.9; margin-bottom: 1.5rem; }
.cta-block .btn-primary {
  background: white;
  color: var(--accent);
}
.cta-block .btn-primary:hover { background: var(--bg); }

/* Demo form */
.demo-form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  max-width: 420px;
  margin: 0 auto;
}
.demo-form input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.demo-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
