/* ==========================================================================
   TwoTabsWeb — Design System
   Colors: navy #0B0D12 / #12151C · indigo #5B6CF0 / #7D8CFA · light #EEF1F8
   ========================================================================== */

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

:root {
  --navy-950: #07090D;
  --navy-900: #0B0D12;
  --navy-850: #0F121A;
  --navy-800: #12151C;
  --navy-700: #1A1F2B;
  --navy-600: #242B3A;

  --indigo-400: #7D8CFA;
  --indigo-500: #5B6CF0;
  --indigo-600: #4A59D9;

  --light-100: #FFFFFF;
  --light-200: #EEF1F8;
  --light-300: #C7CDDC;
  --muted: #8A93A8;

  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.14);

  --grad-indigo: linear-gradient(135deg, #7D8CFA 0%, #5B6CF0 55%, #4A59D9 100%);
  --grad-text: linear-gradient(120deg, #EEF1F8 0%, #FFFFFF 40%, #7D8CFA 100%);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-indigo: 0 20px 60px rgba(91, 108, 240, 0.35);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--light-200);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(91, 108, 240, 0.18), transparent 60%),
    radial-gradient(50% 50% at 100% 20%, rgba(125, 140, 250, 0.12), transparent 55%),
    radial-gradient(60% 60% at 50% 120%, rgba(74, 89, 217, 0.14), transparent 60%);
  z-index: -2;
  pointer-events: none;
}
/* Subtle grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 10%, #000 30%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; color: var(--light-100); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--light-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--light-300); max-width: 620px; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.indigo { color: var(--indigo-400); }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--indigo-400);
  padding: 7px 14px; border: 1px solid var(--stroke-strong); border-radius: var(--radius-pill);
  background: rgba(125, 140, 250, 0.06);
  backdrop-filter: blur(8px);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-400); box-shadow: 0 0 12px var(--indigo-400); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .kicker { margin-bottom: 18px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --_bg: var(--grad-indigo);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill);
  cursor: pointer; border: 0; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn-primary { background: var(--grad-indigo); color: #fff; box-shadow: var(--shadow-indigo); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px rgba(91,108,240,0.5); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--light-100); border: 1px solid var(--stroke-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* --- Header / Nav ------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--stroke);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--light-300);
  position: relative; transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-indigo); border-radius: 2px; transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--light-100); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--stroke-strong); border-radius: var(--radius-pill); overflow: hidden; background: rgba(255,255,255,0.03); }
.lang-switch button {
  font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--muted);
  background: transparent; border: 0; padding: 7px 13px; cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-switch button.active { color: #fff; background: var(--grad-indigo); }

/* Mobile nav */
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 30px; height: 30px; position: relative; }
.nav-toggle span { position: absolute; left: 3px; right: 3px; height: 2px; background: var(--light-100); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(80px, 10vw, 120px); text-align: center; }
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 15ch; margin: 22px 0 0; }
.hero .lead { margin: 26px auto 0; text-align: center; }
.hero-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: clamp(28px, 5vw, 64px); margin-top: 64px; flex-wrap: wrap; justify-content: center; }
.hero-stats .stat { text-align: center; }
.hero-stats .num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.hero-stats .num .indigo { -webkit-text-fill-color: var(--indigo-400); }
.hero-stats .label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* Floating hero orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: -1; animation: float 14s ease-in-out infinite; }
.orb-1 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(91,108,240,0.55), transparent 70%); top: 6%; left: -6%; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(125,140,250,0.4), transparent 70%); top: 20%; right: -5%; animation-delay: -5s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(18px); } }

/* Logo marquee */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; gap: 56px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee span { color: var(--muted); font-weight: 600; font-size: 0.95rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* --- Cards -------------------------------------------------------------- */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 30px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-indigo);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-8px); background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(125,140,250,0.12); border: 1px solid var(--stroke-strong); margin-bottom: 20px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.card:hover .icon { transform: scale(1.08) rotate(-4deg); background: rgba(125,140,250,0.2); }
.card .icon svg { width: 26px; height: 26px; stroke: var(--indigo-400); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Feature split ------------------------------------------------------ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature.reverse .feature-visual { order: 2; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 18px 0 16px; }
.feature .lead { font-size: 1.06rem; }
.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--light-200); font-size: 0.98rem; }
.feature-list .check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(91,108,240,0.16); display: grid; place-items: center; margin-top: 2px; }
.feature-list .check svg { width: 13px; height: 13px; stroke: var(--indigo-400); }

.feature-visual { position: relative; }

/* Visual: browser mock */
.mock {
  border-radius: var(--radius-lg); border: 1px solid var(--stroke-strong);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  box-shadow: var(--shadow-md); overflow: hidden; transform-style: preserve-3d;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--stroke); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3040; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ff5f57; } .mock-bar i:nth-child(2){ background:#febc2e; } .mock-bar i:nth-child(3){ background:#28c840; }
.mock-bar .url { margin-left: 10px; font-size: 0.78rem; color: var(--muted); background: rgba(255,255,255,0.04); padding: 5px 12px; border-radius: 8px; flex: 1; }
.mock-body { padding: 22px; }

/* Voicemail visual */
.phone-card {
  border-radius: var(--radius-lg); border: 1px solid var(--stroke-strong); padding: 28px;
  background: linear-gradient(180deg, rgba(91,108,240,0.14), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-md);
}
.wave { display: flex; align-items: center; gap: 5px; height: 60px; margin: 20px 0; }
.wave i { flex: 1; background: var(--grad-indigo); border-radius: 4px; animation: wave 1.3s ease-in-out infinite; opacity: 0.85; }
@keyframes wave { 0%,100% { height: 20%; } 50% { height: 100%; } }
.chat-line { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.chat-line .avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-indigo); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: #fff; }
.chat-line .bubble { background: rgba(255,255,255,0.05); border: 1px solid var(--stroke); border-radius: 14px; padding: 11px 15px; font-size: 0.9rem; color: var(--light-200); }
.chat-line.you .bubble { background: rgba(91,108,240,0.16); }

/* Stat / metric visual */
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric {
  border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px;
  background: rgba(255,255,255,0.03);
}
.metric .m-num { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.metric .m-num .indigo { color: var(--indigo-400); }
.metric .m-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.bar-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); margin-top: 14px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: var(--grad-indigo); width: 0; transition: width 1.4s var(--ease); }

/* --- Process steps ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border: 1px solid var(--stroke); border-radius: var(--radius-lg); background: rgba(255,255,255,0.02); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.step:hover { transform: translateY(-6px); border-color: var(--stroke-strong); }
.step .step-num { counter-increment: step; font-size: 0.85rem; font-weight: 700; color: var(--indigo-400); letter-spacing: 0.1em; }
.step .step-num::before { content: "0" counter(step); }
.step h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.step p { font-size: 0.92rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-inner {
  position: relative; border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 84px) 28px;
  background: linear-gradient(135deg, rgba(91,108,240,0.2), rgba(74,89,217,0.08));
  border: 1px solid var(--stroke-strong); overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(125,140,250,0.35), transparent 70%); top: -40%; left: 50%; transform: translateX(-50%); filter: blur(30px); z-index: 0; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner .lead { margin: 0 auto 32px; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--stroke); border-radius: var(--radius); background: rgba(255,255,255,0.02); overflow: hidden; transition: border-color 0.4s var(--ease); }
.faq-item.open { border-color: var(--stroke-strong); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; color: var(--light-100); font: inherit; font-weight: 600; font-size: 1.05rem; padding: 22px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.4s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--indigo-400); border-radius: 2px; left: 50%; top: 50%; }
.faq-q .plus::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .plus::after { width: 2px; height: 14px; transform: translate(-50%,-50%); transition: transform 0.4s var(--ease); }
.faq-item.open .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 24px 22px; font-size: 0.97rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--stroke); padding: 64px 0 32px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--light-300); font-size: 0.95rem; margin-bottom: 11px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--indigo-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--stroke); flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }

/* --- Booking embed ------------------------------------------------------ */
.booking-frame { width: 100%; min-height: 780px; border: 1px solid var(--stroke-strong); border-radius: var(--radius-lg); background: var(--navy-850); box-shadow: var(--shadow-md); }

/* --- Scroll reveal ------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* --- i18n visibility ---------------------------------------------------- */
/* Default: Dutch visible, English hidden — no flash before JS loads */
[data-lang="en"] { display: none; }
html.lang-en [data-lang="en"] { display: inline; }
html.lang-en [data-lang="nl"] { display: none; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: rgba(11,13,18,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke); padding: 12px 24px 24px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
  body.nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--stroke); }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2, .metric-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
