/* --------- Basis --------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --red: #c5131c;
  --red-dark: #8e0e15;
  --red-soft: #fbe7e8;
  --white: #ffffff;
  --bg: #f5f5f7;
  --text: #222222;
  --muted: #777777;
  --border: #e0e0e0;
  --shadow-soft: 0 8px 20px rgba(0,0,0,0.06);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --max-width: 1120px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
}

/* --------- Layout --------- */

.page {
  max-width: var(--max-width);
  margin: 90px auto 40px;
  padding: 0 20px 40px;
}

/* --------- Topbar / Navigatie --------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 20;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 16px;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  gap: 14px;
}

.nav-link {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}

.nav-link.active {
  background: var(--red);
  color: var(--white);
}

/* --------- Hero --------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}

.hero-content h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
              box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--red-dark);
  border-color: var(--red-soft);
}

.btn-secondary:hover {
  background: var(--red-soft);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 110px;
}

.stat-value {
  font-weight: 700;
  font-size: 16px;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
}

.hero-image {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-tag {
  align-self: flex-end;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--red-soft);
  color: var(--red-dark);
}

/* --------- Secties --------- */

.section {
  margin-top: 40px;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.section-alt {
  background: linear-gradient(135deg, #ffffff, #fdf1f2);
}

.section > h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 22px;
}

.page-header {
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-header h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.page-header p {
  color: var(--muted);
  font-size: 14px;
}

/* --------- Grids / kolommen --------- */

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.col h2,
.col h3 {
  margin-top: 0;
}

/* --------- Lijsten --------- */

.key-list,
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.key-list li,
.feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 14px;
}

.key-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.feature-list span {
  display: inline-block;
}

/* --------- Cards --------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px 16px 14px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 15px;
}

.card ul {
  padding-left: 18px;
  margin: 0;
}

.card p {
  font-size: 13px;
}

.highlight {
  margin-top: 10px;
  font-size: 14px;
  color: var(--red-dark);
}

.highlight.center {
  text-align: center;
}

/* --------- VIDEO --------- */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 18px auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}


/* --------- Timeline --------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.timeline-item {
  padding: 14px 14px 10px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--red);
  background: rgba(255,255,255,0.9);
}

.timeline-item h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 15px;
}

.timeline-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* --------- Afbeeldingen / gallery --------- */

.image-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  font-size: 12px;
  color: var(--muted);
}

.image-card.large {
  max-width: 480px;
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.image-caption {
  display: block;
  padding: 6px 10px 8px;
}

.prototype-gallery {
  display: grid;
  gap: 14px;
}

/* --------- Product hero --------- */

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.5fr);
  gap: 26px;
  align-items: center;
}

/* --------- CODE BLOCKS & SMALL TEXT --------- */

.code-block {
  background: #111111;
  color: #f5f5f5;
  font-family: "Fira Code", "Consolas", "Courier New", monospace;
  font-size: 12px;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  line-height: 1.4;
  overflow-x: auto;
  border: 1px solid #333333;
}

.small-muted {
  font-size: 12px;
  color: var(--muted);
  margin-top: 0;
}

/* --------- Footer --------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  margin-top: 10px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.footer-separator {
  opacity: 0.7;
}

/* --------- Responsiveness --------- */

@media (max-width: 840px) {
  .topbar {
    padding: 0 14px;
    height: auto;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .page {
    margin-top: 96px;
    padding: 0 14px 32px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .section {
    padding: 18px 16px;
  }
}
