/* ===========================================
   Sicherheitstechnik Uckermark — Design Tokens
   Dark, technical, trustworthy
   =========================================== */

@import url('./base.css');

/* --- Type Scale (fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* --- Spacing (4px base) --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- Fonts --- */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ===========================================
   Color Palette — Security / Dark Theme
   Slate-charcoal base, cyan accent, warm amber secondary
   =========================================== */

:root, [data-theme="dark"] {
  --color-bg:             #0c0f14;
  --color-surface:        #121620;
  --color-surface-2:      #181d2a;
  --color-surface-offset: #1e2436;
  --color-surface-dynamic: #252c40;
  --color-divider:        #2a3148;
  --color-border:         #343d58;

  --color-text:           #e2e4ea;
  --color-text-muted:     #8b91a3;
  --color-text-faint:     #565d73;
  --color-text-inverse:   #0c0f14;

  /* Primary: Cyan / Security Blue */
  --color-primary:        #00b4d8;
  --color-primary-hover:  #0096b7;
  --color-primary-active: #007a96;
  --color-primary-highlight: #002a35;

  /* Secondary: Amber / Warning */
  --color-secondary:      #f0a500;
  --color-secondary-hover:#d49200;

  /* Success */
  --color-success:        #3ddc84;
  --color-success-hover:  #2cb86d;

  /* Error */
  --color-error:          #ef4444;
  --color-error-hover:    #dc2626;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
}

[data-theme="light"] {
  --color-bg:             #f4f5f7;
  --color-surface:        #ffffff;
  --color-surface-2:      #f8f9fb;
  --color-surface-offset: #ebedf2;
  --color-surface-dynamic: #dfe1e8;
  --color-divider:        #d0d3dc;
  --color-border:         #bcc0cc;

  --color-text:           #121620;
  --color-text-muted:     #5c6378;
  --color-text-faint:     #9098ad;
  --color-text-inverse:   #f4f5f7;

  --color-primary:        #0077b6;
  --color-primary-hover:  #005f92;
  --color-primary-active: #004a72;
  --color-primary-highlight: #d4eef9;

  --color-secondary:      #d49200;
  --color-secondary-hover:#b07a00;

  --color-success:        #2e8b57;
  --color-success-hover:  #246d45;

  --color-error:          #dc2626;
  --color-error-hover:    #b91c1c;

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 250 / 0.08);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 250 / 0.1);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 250 / 0.14);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f4f5f7;
    --color-surface:        #ffffff;
    --color-surface-2:      #f8f9fb;
    --color-surface-offset: #ebedf2;
    --color-surface-dynamic: #dfe1e8;
    --color-divider:        #d0d3dc;
    --color-border:         #bcc0cc;
    --color-text:           #121620;
    --color-text-muted:     #5c6378;
    --color-text-faint:     #9098ad;
    --color-text-inverse:   #f4f5f7;
    --color-primary:        #0077b6;
    --color-primary-hover:  #005f92;
    --color-primary-active: #004a72;
    --color-primary-highlight: #d4eef9;
    --color-secondary:      #d49200;
    --color-secondary-hover:#b07a00;
    --color-success:        #2e8b57;
    --color-success-hover:  #246d45;
    --color-error:          #dc2626;
    --color-error-hover:    #b91c1c;
    --shadow-sm: 0 1px 2px oklch(0.2 0.01 250 / 0.08);
    --shadow-md: 0 4px 12px oklch(0.2 0.01 250 / 0.1);
    --shadow-lg: 0 12px 32px oklch(0.2 0.01 250 / 0.14);
  }
}

/* ===========================================
   Global Styles
   =========================================== */

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

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* ===========================================
   Header / Navigation
   =========================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header__logo svg {
  width: 40px;
  height: 40px;
}

.header__brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.header__brand span {
  color: var(--color-primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: nowrap;
}

.header__nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header__nav a:hover {
  color: var(--color-text);
}

.header__cta {
  background: var(--color-primary);
  color: var(--color-text-inverse) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  flex-shrink: 0;
}
.header__cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse) !important;
}

/* Mobile nav */
.header__menu-btn {
  display: none;
  color: var(--color-text);
  padding: var(--space-2);
}

.header__mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--color-bg);
  z-index: 90;
  padding: var(--space-6) var(--space-4);
  padding-top: calc(60px + var(--space-8));
  flex-direction: column;
  gap: var(--space-1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.header__mobile-nav.active {
  display: flex;
}
.header__mobile-nav a {
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu-btn { display: block; }
}

/* Mobile theme toggle inside mobile nav */
.mobile-theme-toggle {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.mobile-theme-toggle .theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  width: 100%;
  text-align: left;
}

.mobile-theme-toggle .theme-toggle span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Theme toggle */
.theme-toggle {
  color: var(--color-text-muted);
  padding: var(--space-1);
  border-radius: var(--radius-md);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* ===========================================
   Hero Section
   =========================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, oklch(0.45 0.12 210 / 0.12), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, oklch(0.45 0.08 210 / 0.06), transparent);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-16) var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-muted);
}

/* Hero visual — Camera / Shield illustration area */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
}

.hero__illustration svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    padding-block: var(--space-12);
    text-align: left;
  }
  .hero__visual { display: none; }
  .hero { min-height: 70vh; }
}

/* ===========================================
   Stats bar
   =========================================== */

.stats {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-4);
}

.stats__grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

/* ===========================================
   Section base
   =========================================== */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
}

.section__header {
  max-width: var(--content-wide);
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  line-height: 1.7;
}

/* ===========================================
   Services
   =========================================== */

.services__grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary),
              0 8px 24px oklch(from var(--color-primary) l c h / 0.08);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.service-card__features {
  list-style: none;
  padding: 0;
}

.service-card__features li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.service-card__features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Klickbare Service-Cards */
a.service-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
a.service-card--link:hover .service-card__link-hint {
  color: var(--color-primary);
}
.service-card__link-hint {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ===========================================
   Camera Monitor Grid (KI-Erkennung)
   =========================================== */

.cam-monitor {
  background: #0a0c10;
  border: 2px solid #1a2030;
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px oklch(0 0 0 / 0.6), inset 0 0 30px oklch(0 0 0 / 0.3);
}

/* Subtle scanline overlay */
.cam-monitor::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    oklch(0 0 0 / 0.03) 2px,
    oklch(0 0 0 / 0.03) 4px
  );
  pointer-events: none;
  z-index: 5;
}

.cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.cam-feed {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #0d0f14;
  aspect-ratio: 4/3;
}

.cam-feed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) brightness(0.85);
}

/* Camera label — bottom-left HUD text */
.cam-label {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  color: oklch(1 0 0 / 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  background: oklch(0 0 0 / 0.55);
  border-radius: 2px;
  z-index: 4;
}

/* REC indicator — blinking red dot top-right */
.cam-rec {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-error);
  z-index: 4;
  animation: rec-blink 1.5s infinite;
  box-shadow: 0 0 6px var(--color-error);
}

.cam-rec::after {
  content: 'REC';
  position: absolute;
  right: 14px;
  top: -1px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.55rem;
  color: var(--color-error);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

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

/* AI detection bounding boxes */
.cam-ai-box {
  position: absolute;
  border: 1.5px solid transparent;
  z-index: 3;
  pointer-events: none;
}

.cam-ai-box--person {
  border-color: var(--color-success);
  box-shadow: 0 0 8px oklch(from var(--color-success) l c h / 0.25);
  animation: ai-box-pulse-green 2.5s ease-in-out infinite;
}

.cam-ai-box--vehicle {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px oklch(from var(--color-primary) l c h / 0.25);
  animation: ai-box-pulse-cyan 2.5s ease-in-out infinite;
}

.cam-ai-box--animal {
  border-color: var(--color-secondary);
  box-shadow: 0 0 8px oklch(from var(--color-secondary) l c h / 0.25);
  animation: ai-box-pulse-amber 2.5s ease-in-out infinite;
}

@keyframes ai-box-pulse-green {
  0%, 100% { border-color: var(--color-success); box-shadow: 0 0 8px oklch(from var(--color-success) l c h / 0.25); }
  50% { border-color: oklch(from var(--color-success) l c h / 0.5); box-shadow: 0 0 4px oklch(from var(--color-success) l c h / 0.1); }
}

@keyframes ai-box-pulse-amber {
  0%, 100% { border-color: var(--color-secondary); box-shadow: 0 0 8px oklch(from var(--color-secondary) l c h / 0.25); }
  50% { border-color: oklch(from var(--color-secondary) l c h / 0.5); box-shadow: 0 0 4px oklch(from var(--color-secondary) l c h / 0.1); }
}

@keyframes ai-box-pulse-cyan {
  0%, 100% { border-color: var(--color-primary); box-shadow: 0 0 8px oklch(from var(--color-primary) l c h / 0.25); }
  50% { border-color: oklch(from var(--color-primary) l c h / 0.5); box-shadow: 0 0 4px oklch(from var(--color-primary) l c h / 0.1); }
}

/* AI detection label tags */
.cam-ai-tag {
  position: absolute;
  top: -1px;
  left: -1px;
  transform: translateY(-100%);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  white-space: nowrap;
  line-height: 1.4;
}

.cam-ai-tag--green {
  background: var(--color-success);
  color: #000;
}

.cam-ai-tag--cyan {
  background: var(--color-primary);
  color: #000;
}

.cam-ai-tag--amber {
  background: var(--color-secondary);
  color: #000;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .cam-grid {
    grid-template-columns: 1fr;
  }
  .cam-monitor {
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .cam-feed {
    border-radius: 0;
  }
  .cam-label { font-size: 0.55rem; }
  .cam-ai-tag { font-size: 0.45rem; }
}

/* ===========================================
   Feature highlight (alternating)
   =========================================== */

.feature {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-4);
}

.feature__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.feature--reverse .feature__inner {
  direction: rtl;
}
.feature--reverse .feature__inner > * {
  direction: ltr;
}

.feature__visual {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature__visual svg {
  width: 80%;
  height: auto;
  color: var(--color-primary);
  opacity: 0.9;
}

.feature__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.feature__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.feature__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.feature__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.feature__list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .feature__inner { grid-template-columns: 1fr; }
  .feature--reverse .feature__inner { direction: ltr; }
  .feature__visual { aspect-ratio: 16/9; }
}

/* ===========================================
   Use cases / Industries
   =========================================== */

.industries__grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  transition: border-color var(--transition-interactive);
}

.industry-card:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.4);
}

.industry-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.industry-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.industry-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .industries__grid { grid-template-columns: 1fr; }
}

/* ===========================================
   Process / How-it-works
   =========================================== */

.process__grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + var(--space-3));
  right: calc(12.5% + var(--space-3));
  height: 2px;
  background: linear-gradient(90deg, var(--color-divider), var(--color-primary), var(--color-divider));
  opacity: 0.5;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .process__grid::before { display: none; }
  .process-step { text-align: left; display: flex; gap: var(--space-4); align-items: flex-start; }
  .process-step__number { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
}

/* ===========================================
   CTA Section
   =========================================== */

.cta-section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
}

.cta__inner {
  max-width: var(--content-default);
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, oklch(0.45 0.12 210 / 0.08), transparent);
}

.cta__inner > * { position: relative; z-index: 1; }

.cta__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.cta__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 45ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.cta__contacts {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.cta__contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.cta__contact svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

/* ===========================================
   Footer
   =========================================== */

.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) var(--space-4) var(--space-8);
}

.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}
.footer__brand-name span {
  color: var(--color-primary);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 40ch;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-text);
}

.footer__bottom {
  max-width: var(--content-wide);
  margin-inline: auto;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__attribution {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__attribution a {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===========================================
   Animations
   =========================================== */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 80ms; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 160ms; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 240ms; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 320ms; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 400ms; }

/* ===========================================
   Responsive typography override
   =========================================== */

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.75rem, 1rem + 4vw, 2.5rem); }
  .section__title { font-size: clamp(1.5rem, 1rem + 2.5vw, 2rem); }
  .cta__title { font-size: clamp(1.5rem, 1rem + 2.5vw, 2rem); }
}
