/*
  VAUDI – Verwaltungsaußendienst digital
  Landing Page Stylesheet — Light Theme

  THESIS: Verwaltung trifft digitale Moderne.
  Verwaltungscloud.SH-Brandfarben: Marineblau + Krebsrot auf Weiß.
  Präzise, seriös, klar – für Entscheider:innen in deutschen Kommunen.

  OWN-WORLD: Weiß/Hellgrau als Grund. Marineblau (#152347) für Text
  und CTAs. Krebsrot (#c01930) als Highlight-Akzent. Bricolage
  Grotesque (Display), Epilogue (Body).
*/

/* ─────────────────────────────────────────
   1. Custom Properties
   ───────────────────────────────────────── */
:root {
  /* verwaltungscloud.sh brand */
  --navy:          #152347;
  --crimson:       #c01930;

  /* Surfaces */
  --bg:            #ffffff;
  --bg-surface:    #f5f6fa;
  --bg-elevated:   #eceff6;
  --bg-card:       #ffffff;

  /* Accent = crimson (highlights, labels, links) */
  --accent:        #c01930;
  --accent-dim:    rgba(192, 25, 48, 0.08);
  --accent-border: rgba(192, 25, 48, 0.22);
  --accent-hover:  #a51628;

  /* CTA button = navy */
  --cta:           #152347;
  --cta-hover:     #0f1a35;
  --cta-active:    #090f1f;
  --cta-text:      #ffffff;

  /* Completion / check state = navy */
  --checked:       #152347;

  /* Status */
  --success:        #16a34a;
  --success-dim:    rgba(22, 163, 74, 0.1);
  --success-border: rgba(22, 163, 74, 0.28);
  --error:          #dc2626;
  --error-dim:      rgba(220, 38, 38, 0.08);
  --error-border:   rgba(220, 38, 38, 0.28);

  /* Text */
  --text-primary:   #0f1d3c;
  --text-secondary: #4b5e7c;
  --text-muted:     #8b9bb6;

  /* Borders */
  --border:         rgba(15, 29, 60, 0.09);
  --border-strong:  rgba(15, 29, 60, 0.16);

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Epilogue', system-ui, sans-serif;

  /* Spacing */
  --space-1:   8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  40px;
  --space-6:  48px;
  --space-8:  64px;
  --space-12: 96px;
  --space-16: 128px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  22px;
  --radius-full: 9999px;

  /* Layout */
  --max-width:       1240px;
  --content-padding: clamp(20px, 5vw, 56px);

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 140ms;
  --duration-base: 240ms;
  --duration-slow: 420ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
strong { font-weight: 600; }

/* ─────────────────────────────────────────
   3. Accessibility
   ───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─────────────────────────────────────────
   4. Layout
   ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* ─────────────────────────────────────────
   5. Navigation
   ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0);
  transition:
    background-color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(15, 29, 60, 0.06);
}

/* Force white background on non-hero pages */
.site-header.always-white {
  background-color: var(--bg);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(15, 29, 60, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  transition: opacity var(--duration-fast);
}
.nav-brand:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  padding: 8px 18px;
  background-color: var(--cta) !important;
  color: var(--cta-text) !important;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background-color var(--duration-fast), transform var(--duration-fast) !important;
}
.nav-cta:hover {
  background-color: var(--cta-hover) !important;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────
   6. Hero
   ───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 var(--space-12);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
}


/* Navy glow behind the mockup area */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at 70% 40%, rgba(21, 35, 71, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.hero-label-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 3s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.headline-accent {
  color: var(--accent);
}

.hero-subline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}

/* Form */
.signup-form-wrapper { margin-bottom: var(--space-4); }

.form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.form-row {
  display: flex;
  gap: var(--space-2);
}

.form-field { flex: 1; min-width: 0; }

input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  background-color: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color var(--duration-fast),
    box-shadow var(--duration-fast);
}
input[type="email"]::placeholder { color: var(--text-muted); }
input[type="email"]:hover { border-color: rgba(15, 29, 60, 0.28); }
input[type="email"]:focus {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(21, 35, 71, 0.1);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background-color: var(--cta);
  color: var(--cta-text);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition:
    background-color var(--duration-fast),
    transform var(--duration-fast) var(--ease-spring),
    box-shadow var(--duration-fast);
}
.btn-cta:hover:not(:disabled) {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 29, 60, 0.2);
}
.btn-cta:active:not(:disabled) {
  background-color: var(--cta-active);
  transform: translateY(0);
  box-shadow: none;
}
.btn-cta:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-cta svg { flex-shrink: 0; }

.form-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.form-message {
  display: none;
  font-size: 0.875rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-2);
  line-height: 1.5;
}
.form-message.success {
  display: block;
  background: var(--success-dim);
  border: 1px solid var(--success-border);
  color: #15803d;
}
.form-message.error {
  display: block;
  background: var(--error-dim);
  border: 1px solid var(--error-border);
  color: #b91c1c;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px var(--space-3);
  margin-top: var(--space-4);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────
   7. Device Mockup (Hero Visual)
   ───────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Subtle accent shape behind the card */
.mockup-glow {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(ellipse at 60% 55%, rgba(21, 35, 71, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.device-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 390px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(15, 29, 60, 0.08),
    0 20px 52px rgba(15, 29, 60, 0.12),
    0 0 0 1px rgba(15, 29, 60, 0.04);
  /* Float animation intentionally removed */
}

.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.device-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.device-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--success);
}

.status-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.device-form { padding: 18px 20px 20px; }

.form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.form-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    background-color var(--duration-base);
}
.check-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.check-item.checked {
  background: rgba(21, 35, 71, 0.05);
}

.check-box {
  width: 19px; height: 19px;
  min-width: 19px;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition:
    background-color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}
.check-item.checked .check-box {
  background: var(--checked);
  border-color: var(--checked);
}

.check-mark {
  width: 10px; height: 10px;
  opacity: 0;
  transform: scale(0.3) rotate(-15deg);
  transition:
    opacity 0.18s var(--ease-out),
    transform 0.25s var(--ease-spring);
}
.check-mark path { stroke: #ffffff; } /* white mark on navy bg */
.check-item.checked .check-mark {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.check-content { flex: 1; min-width: 0; }
.check-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}
.check-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.check-note.typing::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 0.85em;
  background: var(--checked);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cursor-blink 1.1s ease-in-out infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--border-strong);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 100%;
  background: var(--checked);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.progress-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.form-save-btn {
  width: 100%;
  padding: 10px;
  background: var(--cta);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  transition: opacity var(--duration-fast), background-color var(--duration-fast);
}
.form-save-btn:disabled { opacity: 0.3; cursor: default; }
.form-save-btn:not(:disabled):hover { background: var(--cta-hover); }

/* ─────────────────────────────────────────
   8. Section: Problem
   ───────────────────────────────────────── */
.section-problem {
  padding: var(--space-12) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-8);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.problem-card.in-view { opacity: 1; transform: translateY(0); }

.problem-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.09);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  color: #c2410c;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   9. Section: Solution
   ───────────────────────────────────────── */
.section-solution {
  padding: var(--space-12) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-intro {
  text-align: center;
  margin-bottom: var(--space-8);
}
.solution-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.solution-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.solution-components {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
}

.component-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.component-card:last-of-type { transition-delay: 0.15s; }
.component-card.in-view { opacity: 1; transform: translateY(0); }

.component-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}
.component-icon.web {
  background: var(--accent-dim);
  color: var(--accent);
}
.component-icon.app {
  background: rgba(21, 35, 71, 0.08);
  color: var(--navy);
}

.component-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}
.component-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.component-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.feature-list li::before {
  content: '';
  width: 14px; height: 14px;
  min-width: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='%23152347' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.component-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-2);
}
.connector-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: var(--border-strong);
}
.connector-plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   10. Section: Use Cases
   ───────────────────────────────────────── */
.section-uses {
  padding: var(--space-12) 0;
  background: var(--bg);
}

.uses-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-8);
}
.uses-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.uses-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 10px;
}

.use-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition:
    border-color var(--duration-fast),
    background-color var(--duration-fast),
    transform var(--duration-fast);
  opacity: 0;
  transform: translateY(14px);
}
.use-card.in-view { opacity: 1; transform: translateY(0); }
.use-card:hover {
  border-color: var(--accent-border);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.use-dept {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.use-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
}
.use-card--more {
  border-style: dashed;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80px;
}
.use-card--more:hover { border-style: dashed; }
.use-card--more .use-title {
  color: var(--text-secondary);
  font-style: italic;
}

/* ─────────────────────────────────────────
   11. Section: Trust / Open Source
   ───────────────────────────────────────── */
.section-trust {
  padding: var(--space-12) 0;
  background: var(--navy);
  color: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.trust-block {
  text-align: center;
  padding: var(--space-4);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.trust-block.in-view { opacity: 1; transform: translateY(0); }

.trust-icon-large {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.trust-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: var(--space-2);
}
.trust-block p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  max-width: 30ch;
  margin: 0 auto;
}
.trust-block strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}
.trust-block a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}
.trust-block a:hover { color: #ffffff; }

/* ─────────────────────────────────────────
   12. Section: Final CTA
   ───────────────────────────────────────── */
.section-cta {
  padding: var(--space-16) 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(192, 25, 48, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.cta-block > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.signup-form--large .form-row {
  max-width: 480px;
  margin: 0 auto;
}
.signup-form--large input[type="email"] {
  padding: 14px 18px;
  font-size: 1rem;
  background: var(--bg);
}
.signup-form--large .btn-cta {
  padding: 14px 24px;
  font-size: 1rem;
}
.signup-form--large .form-hint {
  text-align: center;
  margin-top: 10px;
}
.signup-form--large .form-message {
  max-width: 480px;
  margin: var(--space-2) auto 0;
  text-align: left;
}

/* ─────────────────────────────────────────
   13. Footer
   ───────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand .nav-brand { margin-bottom: var(--space-2); font-size: 1rem; }
.footer-tagline {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 34ch;
}
.footer-desc a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}
.footer-desc a:hover { color: var(--text-primary); }

.footer-links h3,
.footer-legal h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a,
.footer-legal a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}
.footer-links a:hover,
.footer-legal a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   14. Legal Pages
   ───────────────────────────────────────── */
.legal-page {
  padding: calc(64px + var(--space-8)) 0 var(--space-12);
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-3);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}
.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--accent-hover); }

.legal-placeholder {
  display: inline-block;
  background: rgba(245, 166, 35, 0.12);
  border: 1px dashed rgba(245, 166, 35, 0.5);
  color: #92400e;
  border-radius: var(--radius-sm);
  padding: 1px 6px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: help;
}
.legal-placeholder::before { content: '['; }
.legal-placeholder::after  { content: ']'; }

/* ─────────────────────────────────────────
   15. Responsive
   ───────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .solution-components {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .component-connector { display: none; }

  .trust-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
    gap: var(--space-4);
  }
  .trust-block { text-align: left; padding: var(--space-3) 0; }
  .trust-icon-large { justify-content: flex-start; }
  .trust-block p { margin: 0; max-width: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links > a:not(.nav-cta) { display: none; }

  .hero { padding: 80px 0 var(--space-8); }
  .hero-content { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-visual { display: none; }

  .hero-headline { font-size: clamp(2.5rem, 8vw, 3.6rem); }
  .hero-subline { font-size: 1rem; }

  .form-row { flex-direction: column; }
  .btn-cta { width: 100%; justify-content: center; }

  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

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

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }

  .signup-form--large .form-row { flex-direction: column; }
  .signup-form--large .btn-cta { width: 100%; justify-content: center; }

  .section-cta { padding: var(--space-12) 0; }
}

/* Inline text links (hero trust, CTA paragraph) */
.hero-trust a,
.cta-block p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--duration-fast);
}
.hero-trust a:hover,
.cta-block p a:hover {
  color: var(--accent-hover);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
