/* ── Covexio Landing · Design System ────────────────────────── */
:root {
  --bg-primary:    #FAFBFA;
  --bg-secondary:  #F2F5F4;
  --bg-tertiary:   #E8EDEB;
  --accent-base:   #0B7D62;
  --accent-bright: #0E9E7A;
  --accent-dim:    rgba(14, 158, 122, 0.08);
  --accent-mid:    rgba(14, 158, 122, 0.18);
  --border-light:  #E2E8E5;
  --border-mid:    #CBD5D1;
  --text-primary:  #0F1A17;
  --text-secondary:#475A52;
  --text-muted:    #889F94;
  --warning:       #D97706;
  --danger:        #DC2626;
  --info:          #2563EB;
  --max-width:     1040px;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

/* ── Custom Styled Scrollbar ────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-base);
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.65; color: var(--text-secondary); }

/* ── Typography helpers ─────────────────────────────────── */
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.muted { color: var(--text-muted); }
.teal { color: var(--accent-bright); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(250, 251, 250, 0.82);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-left {
  display: flex; align-items: baseline; gap: 12px;
}

.brand {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: 1px;
}

.brand-sub {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
}

.nav-links a:not(.button) {
  font-size: 13px; color: var(--text-secondary);
  padding: 6px 14px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}

.nav-links a:not(.button):hover {
  color: var(--accent-bright);
  background: var(--accent-dim);
}

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 16px;
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
}

.button.large {
  min-height: 48px; padding: 0 28px; font-size: 15px;
}

.button.accent {
  background: var(--accent-base); border-color: var(--accent-base);
  color: #fff;
}

.button.accent:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 158, 122, 0.25);
}

.button.ghost {
  background: transparent; border-color: transparent;
  color: var(--text-secondary);
}

.button.ghost:hover { color: var(--accent-bright); }

.button.outline {
  background: transparent; border-color: var(--border-mid);
  color: var(--text-secondary);
}

.button.outline:hover {
  border-color: var(--accent-bright); color: var(--accent-bright);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 420px);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: 56px clamp(20px, 5vw, 64px) 72px;
  background: radial-gradient(circle at 90% 10%, rgba(14, 158, 122, 0.05) 0%, transparent 60%);
}

.hero-content { max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}

.eyebrow.accent { color: var(--accent-bright); }
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent-bright); margin-right: 12px;
  vertical-align: middle;
}

.headline {
  margin: 20px 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92; font-weight: 800;
  letter-spacing: -1px;
}

.lead {
  margin: 22px 0 0; max-width: 560px;
  font-size: 17px; line-height: 1.7;
  padding-left: 20px;
  border-left: 2px solid var(--border-mid);
}

.lead strong { color: var(--text-primary); font-weight: 500; }

.hero-actions { margin-top: 30px; display: flex; gap: 12px; }

.hero-badges { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Hero panel ─────────────────────────────────────────── */
.hero-panel {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 32px 80px rgba(15, 26, 23, 0.06);
  overflow: hidden;
}

.panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
}

.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-bright);
}

.panel-title {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; color: var(--text-muted); letter-spacing: 1px;
}

.panel-body { padding: 18px; }

.panel-metric {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.panel-metric:last-child { border-bottom: none; }

.metric-label { font-size: 13px; color: var(--text-secondary); }

.metric-value {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: -0.5px;
}

/* ── Section common ─────────────────────────────────────── */
.section { padding: 80px clamp(20px, 5vw, 64px); }

.section.alt { background: var(--bg-secondary); }

.section-inner {
  max-width: var(--max-width); margin: 0 auto;
}

.section-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; color: var(--text-muted);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}

.section-label::before { content: "// "; }
.section-label::after {
  content: ""; flex: 1; height: 0.5px;
  background: var(--border-mid);
}

.section-title {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 0.96; font-weight: 700;
  color: var(--accent-base);
}

/* ── Danger zone (Not a Marketplace) ────────────────────── */
.danger-zone { padding-top: 48px; padding-bottom: 0; }

.danger-box {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-left: 3px solid var(--danger);
}

.danger-icon { font-size: 20px; line-height: 1; }

.danger-title {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  color: var(--danger); text-transform: uppercase;
}

.danger-text {
  margin: 4px 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; line-height: 1.6; letter-spacing: 0.3px;
  color: #991B1B;
}

.danger-text strong { font-weight: 500; }

/* ── Stats ──────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

.stat-card {
  background: var(--bg-primary);
  padding: 24px;
}

.stat-value {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 38px; font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.5; font-weight: 300;
}

/* ── Pillars ────────────────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.pillar-card {
  padding: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
  border-color: var(--accent-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 125, 98, 0.08);
}

.pillar-num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; color: var(--accent-bright); }

.pillar-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 19px; font-weight: 700; letter-spacing: 1px;
  margin: 14px 0;
}

.pillar-items { display: grid; gap: 6px; }

.pillar-item {
  font-size: 12px; color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.pillar-item::before {
  content: "—"; position: absolute; left: 0;
  color: var(--border-mid);
}

/* ── Features ───────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.feature-card {
  display: flex; gap: 14px;
  padding: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: var(--accent-bright);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 125, 98, 0.06);
}

.feature-icon { font-size: 20px; line-height: 1; }

.feature-title { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }

.feature-desc {
  margin: 0;
  font-size: 12px; line-height: 1.55; color: var(--text-muted);
}

/* ── Trust / Security ───────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 420px);
  gap: 36px;
  margin-top: 24px;
}

.split-content { display: grid; gap: 12px; }

.proof-block {
  padding: 18px;
  background: var(--bg-primary);
  border-left: 3px solid var(--accent-bright);
}

.proof-title {
  font-size: 14px; font-weight: 500; margin-bottom: 4px;
}

.proof-block p { margin: 0; font-size: 13px; color: var(--text-muted); }

.key-diagram {
  padding: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
}

.key-layer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px; margin-bottom: 6px;
  background: var(--bg-secondary);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.key-layer.accent { background: var(--accent-dim); color: var(--accent-bright); }

.key-arrow { color: var(--text-muted); font-size: 11px; }

.key-children {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px 0;
}

.key-note { font-size: 11px; text-align: center; margin-top: 10px; }

/* ── Compliance ─────────────────────────────────────────── */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.compliance-card {
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}

.compliance-card:hover {
  border-color: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 125, 98, 0.06);
}

.compliance-number {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.compliance-card p { margin: 0; font-size: 12px; line-height: 1.55; }

/* ── Tech Stack ─────────────────────────────────────────── */
.stack-box {
  padding: 28px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  margin-top: 24px;
}

.stack-group {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px;
}

.stack-group.secondary { margin-bottom: 0; }

.stack-chip {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
}

.stack-chip.primary {
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  color: var(--accent-bright);
}

.stack-chip:not(.primary) {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-mid);
  color: var(--text-secondary);
}

/* ── Roadmap ────────────────────────────────────────────── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  margin-top: 24px;
}

.roadmap-card {
  background: var(--bg-primary);
  padding: 20px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}

.roadmap-card:hover {
  border-color: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 125, 98, 0.06);
}

.roadmap-phase {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px; color: var(--accent-bright);
  letter-spacing: 2px; text-transform: uppercase;
}

.roadmap-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 0.5px;
  margin: 10px 0;
}

.roadmap-card p { margin: 0; font-size: 12px; line-height: 1.5; }

/* ── Grants ─────────────────────────────────────────────── */
.grants-list { display: grid; gap: 8px; margin-top: 24px; }

.grant-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}

.grant-row:hover {
  border-color: var(--accent-bright);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(11, 125, 98, 0.05);
}

.grant-name { font-size: 14px; font-weight: 500; }
.grant-source { font-size: 10px; letter-spacing: 1px; margin-top: 3px; }

.grant-amount { text-align: right; }

.grant-value {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--accent-bright);
  line-height: 1;
}

.grant-sub { font-size: 9px; letter-spacing: 1px; display: block; margin-top: 4px; }

/* ── Chips ──────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
}

.chip.accent {
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  color: var(--accent-bright);
}

.chip.muted {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

/* ── CTA section ────────────────────────────────────────── */
.cta-section { padding-bottom: 80px; }

.cta-box {
  text-align: center;
  padding: 48px 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-bright);
  border-top: 3px solid var(--accent-bright);
}

.cta-heading {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 32px; font-weight: 800; letter-spacing: 1px;
}

.cta-text {
  margin: 12px auto 0; max-width: 600px;
  font-size: 15px; color: var(--text-muted);
}

.cta-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-pricing { margin-top: 24px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 32px clamp(20px, 5vw, 64px);
  background: var(--accent-base);
  color: #fff;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-brand { font-size: 14px; }
.footer-brand strong { color: #fff; }
.footer-brand span { opacity: .7; }

.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin: 14px 0;
  font-size: 13px;
}

.footer-links a { opacity: .75; transition: opacity .15s; }
.footer-links a:hover { opacity: 1; }

.footer-meta {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 12px; opacity: .7;
}

.domain-badge {
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 1px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel { max-width: 480px; }

  .nav-links a:not(.button) { display: none; }

  .stats-row,
  .pillar-grid,
  .compliance-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

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

  .split-layout {
    grid-template-columns: 1fr;
  }

  .grant-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .grant-amount { text-align: left; }

  .footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 640px) {
  .nav-left .brand-sub { display: none; }

  .headline { font-size: clamp(36px, 10vw, 48px); }

  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }

  .cta-box { padding: 32px 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }

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

/* ── Language Switcher ────────────────────────────────────── */
html[lang="nl"] .lang-en {
  display: none !important;
}
html[lang="en"] .lang-nl {
  display: none !important;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-btn {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background-color 0.15s;
}

.lang-btn:hover {
  color: var(--accent-bright);
}

.lang-btn.active {
  color: var(--accent-bright);
  background: var(--accent-dim);
}

.lang-divider {
  opacity: 0.3;
}

