@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Elyts — 3 kleuren: Off-White, Near-Black, Deep Navy (dark theme) */
:root {
  --offwhite: #f7f5f0;
  --black: #0b0b0d;
  --navy: #102a43;
  --text: var(--offwhite);
  --muted: rgba(247, 245, 240, 0.58);
  --border: rgba(247, 245, 240, 0.12);
  --border-strong: rgba(247, 245, 240, 0.22);
  --surface: rgba(247, 245, 240, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }
.brand-bar { display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 44px; width: auto; display: block; }
.brand__logo--footer { height: 36px; }
.brand-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.brand-back:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
}
.brand-back::before {
  content: "←";
  font-size: 12px;
  opacity: 0.7;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 0.65; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn--active {
  background: var(--navy);
  color: var(--offwhite);
}
.login-link { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; opacity: 0.85; }
.login-link:hover { opacity: 1; }
.btn-talk {
  display: inline-flex;
  align-items: center;
  background: var(--offwhite);
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-talk:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-talk--full { width: 100%; justify-content: center; padding: 13px 20px; font-size: 15px; }

/* ---------- Shared ---------- */
.kicker { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kicker--light { color: rgba(247, 245, 240, 0.55); }
h1 { font-family: "Inter", sans-serif; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.07; letter-spacing: -0.03em; margin: 16px 0 0; font-weight: 700; color: var(--text); }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 22px 0 0; }
.cta-main {
  display: inline-flex;
  align-items: center;
  background: var(--offwhite);
  color: var(--black);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cta-main:hover { opacity: 0.88; transform: translateY(-1px); }
.cta-main--inverse {
  background: transparent;
  color: var(--offwhite);
  border: 1px solid var(--border-strong);
}
.cta-main--inverse:hover {
  opacity: 1;
  background: var(--surface);
}
.cta-ghost { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.85; }
.cta-ghost:hover { opacity: 1; }

.section { padding: 88px 0; }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 10px 0 0; font-weight: 700; color: var(--text); }
.section-sub { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 16px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 24px; background: var(--black); }
.hero__grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 48px; align-items: center; }
.hero__sub { color: var(--muted); font-size: 20px; line-height: 1.6; margin: 18px 0 0; font-weight: 500; }
.hero__points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.hero__points li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.hero__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--offwhite);
  font-weight: 700;
}
.hero__actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__visual img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  border-radius: 20px;
  transform: scale(1.06);
  transform-origin: center center;
}

/* ---------- Stats ---------- */
.section--stats {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--stats .disclaimer { color: rgba(247, 245, 240, 0.45); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
}
.stat__value { font-size: 46px; font-weight: 700; letter-spacing: -0.02em; color: var(--offwhite); line-height: 1; }
.stat__label { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 12px; }
.disclaimer { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 18px; max-width: 760px; }

/* ---------- Integration ---------- */
.section--integration { background: var(--black); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--navy); color: var(--offwhite); font-weight: 700; font-size: 16px;
  border: 1px solid var(--border);
}
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 0; color: var(--text); }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 10px 0 0; }

/* ---------- Pricing ---------- */
.section--pricing { background: var(--black); }
.pricing-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  margin-top: 36px; background: var(--navy);
  color: var(--offwhite); border: 1px solid var(--border);
  border-radius: 22px; padding: 44px;
}
.pricing-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.pricing-card p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 14px 0 0; }
.pricing-card__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.pricing-card__list li { position: relative; padding-left: 26px; color: rgba(247, 245, 240, 0.88); font-size: 15px; }
.pricing-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.pricing-card__cta { display: flex; justify-content: flex-end; }

/* ---------- Contact ---------- */
.section--contact { background: var(--black); border-top: 1px solid var(--border); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__intro h2 { color: var(--text); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 12px 0 0; font-weight: 700; }
.contact__intro p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 16px 0 0; max-width: 480px; }
.contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
.contact__actions .cta-light { margin-top: 0; }
.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact-social:hover { color: var(--offwhite); }
.contact-social__icon { width: 20px; height: 20px; flex-shrink: 0; }
.cta-light {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--offwhite); text-decoration: none;
  border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 14px 28px; font-weight: 600; font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-light:hover { background: var(--surface); transform: translateY(-1px); }
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--text); }
.contact-form__note { color: var(--muted); font-size: 12.5px; text-align: center; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 30px 0; background: var(--black); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer__inner .brand__logo { height: 30px; }
.site-footer span { color: var(--muted); font-size: 13px; }

/* ---------- Forms (shared with auth pages) ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--text); }
.field.full { grid-column: 1 / -1; }
input, textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 13px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: rgba(11, 11, 13, 0.5);
  color: var(--text);
}
input::placeholder, textarea::placeholder { color: rgba(247, 245, 240, 0.35); }
input:focus, textarea:focus { border-color: var(--border-strong); }
.btn {
  border: none;
  border-radius: 999px;
  background: var(--offwhite);
  color: var(--black);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.88; }

/* ---------- Auth + dashboard ---------- */
.wordmark { font-family: "Inter", sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.wordmark .dot { color: var(--muted); }
.header { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--black); }
.auth-brand { display: inline-flex; text-decoration: none; margin-bottom: 4px; }
.auth-brand__logo { height: 52px; width: auto; display: block; }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.auth-lang { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.auth-title { font-family: "Inter", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 0; color: var(--text); }
.muted { color: var(--muted); }
.row { margin-top: 14px; }
.text-link { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; opacity: 0.85; }
.text-link:hover { opacity: 1; text-decoration: underline; }
.status { margin-top: 10px; font-size: 14px; }
.status.error { color: var(--muted); }
.status.success { color: var(--text); }
.dash-box { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; margin-top: 12px; }
.dash-title { font-family: "Inter", sans-serif; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 0; color: var(--text); }
.account-box { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; margin-top: 20px; }
.account-title { font-family: "Inter", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--text); }

/* ---------- Dashboard ---------- */
.label { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dash-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.status-toggle { display: flex; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); }
.badge--active { background: var(--surface); color: var(--text); }
.badge--paused { background: transparent; color: var(--muted); }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; transition: background 0.2s ease; }
.slider::before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 2px; background: var(--offwhite); border-radius: 50%; transition: transform 0.2s ease; }
.switch input:checked + .slider { background: var(--navy); border-color: var(--navy); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.kpi-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.kpi-card--usage { background: var(--navy); color: var(--offwhite); border-color: var(--border); }
.kpi-label { font-size: 13px; font-weight: 600; letter-spacing: .01em; opacity: 0.85; }
.kpi-value { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-top: 12px; color: var(--text); }
.kpi-card--usage .kpi-value { color: var(--offwhite); }
.kpi-of { font-size: 20px; font-weight: 600; opacity: 0.8; }
.kpi-card--usage .kpi-label, .kpi-card--usage .muted { color: rgba(247, 245, 240, 0.72); }

.progress { height: 8px; border-radius: 999px; background: rgba(247, 245, 240, 0.12); overflow: hidden; margin-top: 16px; }
.progress__bar { height: 100%; width: 0; background: var(--offwhite); border-radius: 999px; transition: width 0.4s ease; }
.progress__bar--full { opacity: 0.45; }

.snippet {
  background: rgba(11, 11, 13, 0.6); color: var(--offwhite); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.6; overflow-x: auto; margin: 14px 0 0;
  white-space: pre; tab-size: 2;
}

/* ---------- Dashboard charts ---------- */
.chart-box__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.chart-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(11, 11, 13, 0.35);
}
.chart-toggle__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.chart-toggle__btn:hover { color: var(--text); }
.chart-toggle__btn--active {
  background: var(--navy);
  color: var(--offwhite);
}
.chart-period-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(11, 11, 13, 0.35);
  margin-bottom: 16px;
}
.chart-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.chart-nav--week {
  margin-bottom: 16px;
}
.chart-nav__btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(11, 11, 13, 0.35);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.chart-nav__btn:hover:not(:disabled) { background: var(--navy); color: var(--offwhite); }
.chart-nav__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.chart-nav__label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  min-width: 140px;
  text-align: center;
}
.chart-summary {
  font-size: 13px;
  margin-bottom: 16px;
  min-height: 18px;
}
.chart-bars {
  display: grid;
  gap: 6px;
  align-items: end;
  min-height: 180px;
  padding-top: 8px;
  overflow-x: auto;
}
.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 180px;
  gap: 6px;
  position: relative;
}
.chart-bar__fill {
  width: 100%;
  max-width: 36px;
  min-height: 4px;
  background: rgba(247, 245, 240, 0.35);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.35s ease;
}
.chart-bar--peak .chart-bar__fill {
  background: var(--offwhite);
}
.chart-bar__val {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  min-height: 14px;
}
.chart-bar__label {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- Legal page (privacy & terms) ---------- */
.legal { padding: 56px 0 72px; }
.legal__container { max-width: 820px; }
.legal__head { margin-bottom: 28px; }
.legal__head h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 12px 0 10px; }
.legal__meta { color: var(--muted); font-size: 13px; margin: 0; }
.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.legal__toc a {
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.legal__toc a:hover { border-color: var(--border-strong); background: rgba(247, 245, 240, 0.06); }
.legal__section { margin: 0 0 48px; scroll-margin-top: 100px; }
.legal__section h2 {
  font-size: 24px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.legal__section h3 { font-size: 16px; margin: 26px 0 8px; }
.legal__section p { color: rgba(247, 245, 240, 0.78); font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.legal__section ul { margin: 0 0 14px; padding-left: 20px; }
.legal__section li { color: rgba(247, 245, 240, 0.78); font-size: 15px; line-height: 1.7; margin-bottom: 6px; }
.legal__section strong { color: var(--text); font-weight: 600; }
.legal__section a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* footer links */
.site-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.site-footer__links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: -1; }
  .hero__visual img { transform: none; max-width: 100%; }
  .stats, .steps, .kpi-grid { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr; padding: 32px; }
  .pricing-card__cta { justify-content: flex-start; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .form { grid-template-columns: 1fr; }
  .chart-toggle { width: 100%; justify-content: stretch; }
  .chart-toggle__btn { flex: 1; text-align: center; padding: 8px 8px; font-size: 11px; }
  .chart-bars { min-width: 100%; }
  .chart-bar { min-width: 28px; }
  .header-actions { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .header-actions .login-link { display: none; }
  .lang-switch { order: -1; }
}
