/* ── Videotapr Website — Dark Minimalist ── */

:root {
  --bg: #081021;
  --bg-alt: #101b33;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1a2235;
  --text-primary: #f6f6f6;
  --text-secondary: #dde0e8;
  --text-muted: #7a8294;
  --accent: #feec5a;
  --accent-dim: rgba(254, 236, 90, 0.12);
  --border: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --bg-nav: #1a1f2e;
  --radius: 25px;
  --font-sans: 'SF Pro Display', 'Helvetica Neue', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', monospace;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg) url('bg.jpg') center top / cover no-repeat fixed;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ── Layout ── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* ── Navigation ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8, 16, 33, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(254, 236, 90, 0.2);
  opacity: 1;
}

@media (max-width: 480px) {
  .nav-cta {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* ── Hero ── */

.hero {
  padding: 160px 0 96px;
  text-align: center;
}

.hero-logo {
  width: clamp(240px, 40vw, 360px);
  height: auto;
  margin-bottom: 12px;
}

.hero-slogan {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-bullets {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  text-align: left;
}

.hero-bullets li {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.hero-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23feec5a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13L9 18L20 7'/%3E%3C/svg%3E") no-repeat center;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #111;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(254, 236, 90, 0.2);
  opacity: 1;
}

.hero-cta:active {
  transform: scale(0.98);
}

/* ── Features ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 32px;
  background: rgba(65, 81, 102, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s;
}

.feature-card:hover {
  background: rgba(65, 81, 102, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How it works ── */

.how-it-works {
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-dim);
  margin-bottom: 16px;
}

.step-icon img {
  width: 36px;
  height: 36px;
}

.step {
  padding: 28px;
  background: rgba(65, 81, 102, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Gratis vs Pro ── */

.pro-section {
  text-align: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.compare-card {
  padding: 32px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.compare-free {
  background: rgba(65, 81, 102, 0.5);
  border: 1px solid var(--border);
}

.compare-pro {
  background: rgba(65, 81, 102, 0.7);
  border: 2px solid var(--accent);
}

.compare-header {
  margin-bottom: 24px;
}

.compare-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 9999px;
}

.badge-free {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.badge-pro {
  background: var(--accent);
  color: #111;
}

.compare-price {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  margin-top: 12px;
}

.compare-pro .compare-price {
  color: var(--accent);
}

.compare-price-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.compare-features {
  list-style: none;
  margin-bottom: 8px;
}

.compare-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-features li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.compare-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.compare-features li.disabled::before {
  content: "\2717";
  color: var(--text-muted);
}

.compare-cta {
  display: block;
  text-align: center;
  padding: 12px 24px;
  margin-top: 16px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.compare-cta:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  opacity: 1;
}

.compare-cta-pro {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.compare-cta-pro:hover {
  color: #111;
  box-shadow: 0 4px 12px rgba(254, 236, 90, 0.2);
}

.compare-trial-sub {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Hero image ── */

.hero-image {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Concept uitleg ── */

.concept-image {
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.concept-image img {
  width: 100%;
  height: auto;
  display: block;
}

.concept-grid {
  max-width: 640px;
  margin: 0 auto;
}

.concept-timeline {
  padding: 40px 32px;
  background: rgba(65, 81, 102, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.timeline-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  margin-bottom: 16px;
}

.timeline-buffer {
  position: absolute;
  left: 0;
  top: 0;
  width: 70%;
  height: 100%;
  background: var(--text-muted);
  border-radius: 4px;
  animation: bufferGrow 3s ease-in-out infinite;
}

.timeline-tap {
  position: absolute;
  right: 20%;
  top: 50%;
  transform: translate(50%, -50%);
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  animation: tapPulse 3s ease-in-out infinite;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-tap-label {
  color: var(--accent);
  font-weight: 700;
}

@keyframes bufferGrow {
  0%, 100% { width: 50%; }
  50% { width: 85%; }
}

@keyframes tapPulse {
  0%, 100% { transform: translate(50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(50%, -50%) scale(1.3); opacity: 0.7; }
}

.concept-point {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.concept-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.concept-point h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.concept-point p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Toepassingen ── */

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.sport-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: rgba(65, 81, 102, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.3s, background 0.3s;
}

.sport-card:hover {
  border-color: var(--accent);
  background: rgba(65, 81, 102, 0.7);
}

.sport-icon {
  width: 40px;
  height: 40px;
}

.sports-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Externe camera ── */

.ext-cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ext-cam-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.ext-cam-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ext-cam-text .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.ext-cam-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.ext-cam-sub {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.ext-cam-text .hero-badge {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .concept-grid,
  .ext-cam-grid {
    grid-template-columns: 1fr;
  }

  .ext-cam-image {
    order: -1;
  }
}

/* ── Footer ── */

footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ── Scroll animations ── */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    gap: 20px;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Hamburger ── */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 16, 33, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-cta-desktop {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* ── Privacy Policy page ── */

.policy-page {
  padding: 120px 0 64px;
}

.policy-page h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.policy-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.policy-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--accent);
}

.policy-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.policy-page p,
.policy-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  table-layout: fixed;
}

.policy-page th,
.policy-page td {
  text-align: left;
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.policy-page th {
  color: var(--text-primary);
  font-weight: 600;
}

.policy-page td {
  color: var(--text-secondary);
}

.policy-page td code,
.policy-page th code {
  font-family: var(--font-mono);
  font-size: 12px;
  word-break: break-all;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 4px;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .policy-page h1 {
    font-size: 28px;
  }
  .policy-page h2 {
    font-size: 18px;
    margin-top: 32px;
  }
  .policy-page p,
  .policy-page li {
    font-size: 14px;
  }

  /* Tabellen: stack als cards op smal scherm */
  .policy-page table,
  .policy-page tbody {
    display: block;
    width: 100%;
  }
  .policy-page thead {
    display: none;
  }
  .policy-page tr {
    display: block;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
  }
  .policy-page td {
    display: block;
    padding: 4px 0;
    border-bottom: none;
    font-size: 13px;
    line-height: 1.5;
  }
  .policy-page td:first-child {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .policy-page td code,
  .policy-page th code {
    font-size: 12px;
    display: inline-block;
    margin: 1px 2px;
  }
}
