/* ─── Integraties pagina ──────────────────────────────────────────── */

/* Hero */
.integ-hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
}
.integ-hero .eyebrow { margin-bottom: 16px; display: inline-block; }
.integ-hero h1 {
  font-size: clamp(42px, 5.8vw, 72px);
  margin: 14px 0 24px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.028em;
  max-width: 740px;
}
.integ-hero h1 em { font-style: normal; color: var(--accent-ink); }
.integ-hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.6;
  margin: 0 0 32px;
}
.integ-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Kaartgrid ───────────────────────────────────────────────────── */
.integ-section { padding: 96px 0 80px; }
@media (max-width: 768px) { .integ-section { padding: 64px 0; } }

.integ-section-head { margin-bottom: 48px; }
.integ-section-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin: 12px 0 14px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.022em;
}
.integ-section-head p {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 560px;
  line-height: 1.6;
}

.integ-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .integ-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .integ-card-grid { grid-template-columns: 1fr; } }

.integ-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.integ-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.integ-card-top {
  padding: 24px 24px 20px;
  flex: 1;
}
.integ-card-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.integ-logo-ph {
  height: 36px;
  min-width: 100px;
  max-width: 140px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, rgba(28,37,32,.09) 0 1px, transparent 1px 6px), var(--bg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  padding: 0 12px;
}
.integ-logo-img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
.integ-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.integ-status.available {
  background: var(--accent-tint);
  color: var(--accent-2);
}
.integ-status.building {
  background: #FEF3C7;
  color: #92400E;
}
.integ-status.roadmap {
  background: var(--primary-tint);
  color: var(--primary);
}
.integ-status.custom {
  background: var(--bg-2);
  color: var(--ink-3);
  border: 1px solid var(--line);
}
.integ-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  flex: none;
}
.integ-status.available::before { background: var(--accent-2); }
.integ-status.building::before  { background: #D97706; }
.integ-status.roadmap::before   { background: var(--primary); }
.integ-status.custom::before    { background: var(--ink-3); }

.integ-card-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-bottom: 6px;
  display: block;
}
.integ-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.integ-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.integ-card-foot {
  padding: 14px 24px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.integ-card-connects {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0 0 4px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.integ-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.integ-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}

/* ─── Wegiz sectie ────────────────────────────────────────────────── */
.wegiz-section {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}
.wegiz-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .wegiz-grid { grid-template-columns: 1fr; gap: 40px; } }

.wegiz-section .eyebrow {
  color: var(--accent);
}
.wegiz-section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 12px 0 18px;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.12;
}
.wegiz-section h2 em { font-style: normal; color: var(--accent); }
.wegiz-section p {
  font-size: 15.5px;
  color: rgba(251,248,242,.75);
  line-height: 1.65;
  margin: 0 0 16px;
}
.wegiz-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.wegiz-fact {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 18px 20px;
}
.wegiz-fact .fact-label {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 5px;
  display: block;
}
.wegiz-fact p {
  font-size: 14.5px;
  color: rgba(251,248,242,.85);
  margin: 0;
  line-height: 1.5;
}

/* ─── Open API kaart ──────────────────────────────────────────────── */
.open-api-card {
  margin-top: 18px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  color: var(--paper);
}
@media (max-width: 860px) {
  .open-api-card { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
}
.open-api-card .integ-card-cat { color: var(--accent); }
.open-api-card h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  margin: 6px 0 14px;
  letter-spacing: -.018em;
  line-height: 1.2;
}
.open-api-card p {
  font-size: 15px;
  color: rgba(251,248,242,.75);
  line-height: 1.65;
  margin: 0 0 20px;
}
.open-api-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.open-api-tags .integ-tag {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: rgba(251,248,242,.7);
}

/* API mock terminal */
.api-mock {
  background: #0E1621;
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: var(--shadow-lg);
}
.api-mock-bar {
  background: #1A2535;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.api-mock-dot { width: 10px; height: 10px; border-radius: 99px; flex: none; }
.api-mock-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.api-line { display: block; line-height: 1.7; }
.api-key    { color: #79B8FF; }
.api-colon  { color: rgba(255,255,255,.5); }
.api-str    { color: #9ECE6A; }
.api-num    { color: #E5C07B; }
.api-comma  { color: rgba(255,255,255,.4); }
.api-comment{ color: rgba(255,255,255,.3); font-style: italic; }

/* ─── Closer ──────────────────────────────────────────────────────── */
.integ-closer {
  text-align: center;
  padding: 100px 0;
}
.integ-closer h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 14px 0 22px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.025em;
}
.integ-closer h2 em { font-style: normal; color: var(--accent-ink); }
.integ-closer p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.integ-closer .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.integ-closer .reassure {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.integ-closer .reassure>span::before {
  content: "✓";
  color: var(--primary);
  margin-right: 6px;
  font-weight: 600;
}
