/* ═══════════════════════════════════════════════════════════════
   LightWatch — Corporate Website
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --orange:      #F08020;
  --orange-dark: #C86010;
  --orange-light:#FEF0E0;
  --text-1:      #1C1C1E;
  --text-2:      #6B6B6B;
  --text-3:      #AEAEB2;
  --surface:     #FFFFFF;
  --bg:          #FFF5EB;
  --bg-doodle:   url('../images/achtergrond_doodle.png');
  --radius:      20px;
  --radius-sm:   14px;
  --shadow:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
  --max-w:       1100px;
  --header-h:    68px;

  /* Bordeaux — primaire actieknop (overeenkomt met app) */
  --brd-bg:     rgba(155, 28, 28, 0.25);
  --brd-text:   rgba(155, 28, 28, 0.90);
  --brd-border: rgba(155, 28, 28, 0.12);
  --brd-hover:  rgba(155, 28, 28, 0.32);
  --brd-shadow: 0 4px 16px rgba(149, 28, 28, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text-1);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn.primary {
  background: var(--brd-bg);
  color: var(--brd-text);
  border: 1px solid var(--brd-border);
  box-shadow: var(--brd-shadow);
}

.btn.primary:hover { background: var(--brd-hover); box-shadow: var(--brd-shadow); transform: translateY(-1px); }

.btn.ghost {
  background: var(--bg);
  color: var(--text-2);
  border: 1.5px solid rgba(0,0,0,0.12);
}

.btn.ghost:hover { background: rgba(0,0,0,0.04); }

.btn.large { padding: 16px 36px; font-size: 16px; }

/* ── Logo ────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--text-1); }

.btn-nav-cta {
  background: var(--brd-bg);
  color: var(--brd-text) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--brd-border);
  transition: background 0.15s, transform 0.15s;
  box-shadow: var(--brd-shadow);
}

.btn-nav-cta:hover { background: var(--brd-hover); transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-1);
  margin-left: auto;
  padding: 4px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 8px 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav a:last-child { border-bottom: none; }

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

/* ── Section commons ─────────────────────────────────────────── */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 52px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
    var(--bg-doodle) repeat;
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-bottom: 80px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  background: var(--orange-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-illus {
  flex: 0 0 400px;
  max-width: 400px;
}

.hero-illus-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-wave {
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ── How it works ────────────────────────────────────────────── */
.how-it-works {
  background: var(--bg);
  padding: 88px 0;
  text-align: center;
}

.how-it-works .section-sub {
  margin: 0 auto 52px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 280px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-icon .material-icons-round {
  font-size: 26px;
  color: var(--orange-dark);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(224,90,32,0.3);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

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

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  padding-top: 28px;
  color: var(--orange);
  opacity: 0.5;
}

.step-arrow .material-icons-round {
  font-size: 28px;
}

/* ── App CTA ─────────────────────────────────────────────────── */
.app-cta {
  background: linear-gradient(135deg, #F49030 0%, #E87018 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.app-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-doodle) repeat;
  opacity: 0.08;
}

.app-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

.app-cta-text {
  flex: 1;
}

.app-cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.app-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 28px;
}

.app-cta .btn.primary {
  background: #fff;
  color: var(--orange-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.app-cta .btn.primary:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.20);
  transform: translateY(-1px);
}

.pwa-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  backdrop-filter: blur(8px);
  max-width: 320px;
}

.pwa-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.pwa-badge strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.pwa-badge span {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact {
  padding: 88px 0;
  background: var(--surface);
}

.contact-inner {
  max-width: 680px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
}

.form-group input,
.form-group textarea {
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-1);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,128,32,0.12);
}

.form-error {
  font-size: 14px;
  color: #C03030;
  background: #FEF0F0;
  border: 1px solid rgba(192,48,48,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.form-success {
  font-size: 14px;
  color: #1A6B30;
  background: #EDF7F0;
  border: 1px solid rgba(26,107,48,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-1);
  padding: 48px 0;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.footer-nav a:hover { color: #fff; }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
  }

  .hero-sub { margin: 0 auto 36px; }

  .hero-actions { justify-content: center; }

  .hero-illus {
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .step { max-width: 100%; width: 100%; }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
    padding-left: 14px;
  }

  .app-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .app-cta-sub { margin-left: auto; margin-right: auto; }

  .pwa-badge { max-width: 100%; }

  .form-row { flex-direction: column; }

  .site-nav { display: none; }

  .hamburger { display: flex; }

  .how-it-works .section-sub,
  .contact-inner { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding-top: 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
