﻿:root {
  --primary: #0a5e9a;
  --accent: #5d6b5e;
  --background: #080e0d;
  --surface: #2c3936;
  --text: #ebf3f7;
  --muted: #b7c3c7;
  --border: #3a4744;
  --font-display: "DM Serif Display", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

body.landing {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 13, var(--overlay-top, 0.45)), rgba(8, 14, 13, var(--overlay-bottom, 0.6)));
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  backdrop-filter: blur(12px);
  background: rgba(8, 14, 13, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text);
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(10, 94, 154, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10, 94, 154, 0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  box-shadow: none;
}

.section {
  position: relative;
  padding: 90px 0;
  z-index: 2;
}

.section .container {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: rgba(44, 57, 54, 0.08);
}

.section-grow {
  transform-origin: center;
}

.hero {
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 16px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.trust-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(44, 57, 54, 0.35);
  border: 1px solid var(--border);
}

.trust-value {
  display: block;
  font-weight: 600;
  font-size: 18px;
}

.trust-label {
  color: var(--muted);
  font-size: 13px;
}

.glass-card {
  background: rgba(44, 57, 54, 0.4);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.badge {
  border: 1px solid var(--primary);
  color: var(--text);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel-metric {
  padding: 12px;
  background: rgba(8, 14, 13, 0.35);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.metric-title {
  color: var(--muted);
  font-size: 12px;
}

.metric-value {
  display: block;
  font-weight: 600;
  margin-top: 6px;
}

.panel-stream {
  display: flex;
  gap: 8px;
  margin: 20px 0 12px;
}

.panel-stream span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.7;
}

.panel-note {
  color: var(--muted);
  font-size: 12px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
}

.cards-grid,
.insight-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card,
.insight-card,
.industry-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(44, 57, 54, 0.35);
  border: 1px solid var(--border);
}

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

.feature-card p,
.insight-card p {
  color: var(--muted);
}

.insight-card span {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--accent);
}

.grid-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(44, 57, 54, 0.35);
  border: 1px solid var(--border);
}

.step-number {
  color: var(--primary);
  font-weight: 600;
  font-size: 20px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.kpi-card {
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  background: rgba(44, 57, 54, 0.4);
}

.kpi-card span {
  color: var(--muted);
  font-size: 12px;
}

.kpi-card strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.dashboard-panel {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(44, 57, 54, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.dashboard-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  height: 140px;
  align-items: end;
  margin-bottom: 20px;
}

.chart-bar {
  width: 100%;
  height: var(--h);
  border-radius: 12px 12px 4px 4px;
  background: var(--accent);
  opacity: 0.85;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 13, 0.3);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px 20px;
  background: rgba(44, 57, 54, 0.35);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  color: var(--muted);
  margin-top: 10px;
}

.cta-final {
  padding-bottom: 120px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.cta-card {
  border-radius: 24px;
  padding: 26px;
  border: 1px solid var(--border);
  background: rgba(44, 57, 54, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cta-note {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: rgba(8, 14, 13, 0.95);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-col {
  min-width: 220px;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-col p {
  color: var(--muted);
  margin-top: 8px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer-sub {
  font-size: 11px;
  color: var(--muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 13, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(860px, 92vw);
  max-height: 86vh;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  flex-direction: column;
  transform: scale(0.98);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal.is-open .modal-card {
  opacity: 1;
  transform: scale(1);
}

.modal-header,
.modal-footer {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(235, 243, 247, 0.08);
}

.modal-footer {
  border-top: 1px solid rgba(235, 243, 247, 0.08);
  border-bottom: none;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal-body {
  padding: 18px 22px;
  overflow: auto;
  color: var(--muted);
}

.modal-body h4 {
  color: var(--text);
  margin: 16px 0 8px;
}

.modal-body ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.modal-block {
  border: 1px dashed rgba(235, 243, 247, 0.2);
  padding: 12px;
  border-radius: 12px;
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px 20px;
  z-index: 60;
  display: none;
}

.cookie-banner.is-open {
  display: block;
}

.cookie-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(235, 243, 247, 0.08);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle span {
  position: absolute;
  inset: 0;
  background: rgba(235, 243, 247, 0.2);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.toggle span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.2s ease;
}

.toggle input:checked + span {
  background: var(--primary);
}

.toggle input:checked + span::after {
  transform: translateX(20px);
}

.modal-open {
  overflow: hidden;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.tilt-card:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.section-grow.visible {
  transform: scale(1);
}

.section-grow {
  transform: scale(0.96);
  transition: transform 0.9s ease;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    row-gap: 6px;
  }

  .brand img {
    height: 90px;
    margin: -24px 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 90px;
  }

  .btn {
    width: 100%;
  }

  .tilt-card:hover {
    transform: translateY(-4px);
  }

  #scene {
    opacity: 0.5;
  }
}
