/* --- Tokens --- */
:root {
  --accent: #09b1ba;
  --accent-hover: #07969e;
  --accent-soft: #e8f8f9;
  --accent-soft-border: rgba(9, 177, 186, 0.25);
  --ink: #111418;
  --ink-muted: #5a6169;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --yellow-2dh: #ffc800;
  --blue-mp: #004699;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Nav --- */
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.brand-name { letter-spacing: -0.01em; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  font-size: 13px;
  color: var(--ink-muted);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.lang-switch a { color: var(--ink-muted); font-weight: 600; }
.lang-switch a.active { color: var(--accent); }
.lang-switch a:hover { color: var(--accent); text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.12s, background 0.12s, color 0.12s, border-color 0.12s;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--ink-muted); color: var(--ink); }

/* --- Hero --- */
.hero {
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 60px 28px 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.subheadline {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--ink-muted);
  margin: 18px auto 14px;
  max-width: 640px;
}
.hero-note {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 auto 28px;
  max-width: 580px;
  opacity: 0.8;
}
#hero-install { margin-bottom: 18px; }

/* "Works with" sits on its own line right under the CTA as a subtle footnote.
   Block-level flex (not inline-flex) forces it onto a new row, otherwise the
   button and this row collapse together under the hero's text-align: center. */
.works-with {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-top: 4px;
}
.works-with-label { margin-right: 2px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.pill-vinted   { background: var(--accent);    color: #fff; }
.pill-2dehands { background: var(--yellow-2dh); color: #1a1a1a; }
.pill-marktplaats { background: var(--blue-mp); color: #fff; }

/* --- Sections --- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 28px;
}
.section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-align: center;
}
.section-subtitle {
  color: var(--ink-muted);
  text-align: center;
  font-size: 15px;
  margin-bottom: 40px;
}

/* --- Screenshots --- */
.screenshot-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
/* Screenshots keep their natural aspect ratios — a popup square, a popup
   wide-ish, a full-form card. Cap width so the tall one doesn't tower
   while small ones sit centred in their column. */
.screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  background: #fff;
}
.screenshot-caption {
  color: var(--ink-muted);
  font-size: 14px;
  text-align: center;
}

/* --- Features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
  border-color: var(--accent-soft-border);
  box-shadow: var(--shadow-md);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--ink-muted);
  font-size: 14px;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  position: relative;
}
.pricing-card-pro {
  border-color: var(--accent-soft-border);
  background: var(--accent-soft);
}
.pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 20px rgba(9, 177, 186, 0.12);
}
.plan-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pricing-card-pro .plan-name { color: var(--accent); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.plan-price-value {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan-price-period { color: var(--ink-muted); font-size: 14px; }
.plan-subprice {
  color: var(--ink-muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.pricing-card:not(.pricing-card-featured) .plan-price { margin-bottom: 20px; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 24px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.15s;
}
.faq-list details[open] { border-color: var(--accent-soft-border); }
.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--ink-muted);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.15s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p {
  padding: 0 20px 16px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left, .footer-right {
  font-size: 14px;
  color: var(--ink-muted);
}
.footer-right { text-align: right; }
.footer-right p { margin-bottom: 6px; }
.brand-small {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--ink);
}
.brand-small .brand-mark {
  width: 22px;
  height: 22px;
  font-size: 12px;
  border-radius: 6px;
}
.footer-copy { font-size: 13px; }

/* --- Legal pages --- */
.legal {
  max-width: 780px;
  margin: 40px auto;
  padding: 0 28px 40px;
}
.legal h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-meta { color: var(--ink-muted); font-size: 14px; margin-bottom: 24px; }
.legal-intro { color: var(--ink); margin-bottom: 32px; }
.legal section { margin-bottom: 28px; }
.legal section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal section p {
  color: var(--ink-muted);
  font-size: 15px;
}

/* --- Responsive --- */
@media (max-width: 780px) {
  .section { padding: 44px 20px; }
  .nav { padding: 16px 20px; }
  .hero { padding: 40px 20px 12px; margin-bottom: 40px; }
  .screenshot-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid { max-width: 420px; }
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
}
