/* ============================================
   LIAISON OS — LANDING PAGE STYLES
   ============================================ */

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

:root {
  --bg:          #0a0c10;
  --bg-2:        #0f1117;
  --bg-3:        #141720;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(59,130,246,0.25);
  --blue:        #3b82f6;
  --blue-light:  #60a5fa;
  --blue-dark:   #1d4ed8;
  --blue-glow:   rgba(59,130,246,0.15);
  --text:        #e2e8f0;
  --text-2:      #94a3b8;
  --text-3:      #64748b;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
  --shadow-glow: 0 0 40px rgba(59,130,246,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-2); }

.text-accent { color: var(--blue-light); }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-right: auto;
}

.nav__logo strong { font-weight: 800; }

.logo-mark {
  color: var(--blue);
  font-size: 1.4rem;
  line-height: 1;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--sm { padding: 8px 16px; font-size: 0.8rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; border-radius: 14px; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(59,130,246,0);
}
.btn--primary:hover {
  background: var(--blue-light);
  box-shadow: 0 0 24px rgba(59,130,246,0.4);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--border-glow);
  color: var(--blue-light);
  background: rgba(59,130,246,0.05);
}
.btn--outline:hover {
  background: rgba(59,130,246,0.12);
  border-color: var(--blue);
}

.btn--ghost {
  color: var(--text-2);
  border-color: var(--border);
  background: rgba(255,255,255,0.03);
}
.btn--ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-light);
  background: rgba(59,130,246,0.08);
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero__headline { max-width: 720px; }
.hero__sub {
  font-size: 1.15rem;
  max-width: 560px;
  color: var(--text-2);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.stat__label { font-size: 0.75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-hint span {
  display: block;
  width: 20px;
  height: 34px;
  border: 2px solid var(--border);
  border-radius: 10px;
  position: relative;
}

.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%   { top: 5px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section__header p { font-size: 1.05rem; }

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  align-self: center;
}

/* ============================================
   WAT WE BOUWEN — CARDS
   ============================================ */
.wat-we-bouwen {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), 0 4px 24px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 { color: var(--white); }
.card p { font-size: 0.925rem; line-height: 1.65; flex: 1; }

.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.card__list li {
  font-size: 0.85rem;
  color: var(--text-3);
  padding-left: 16px;
  position: relative;
}

.card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.75rem;
  top: 1px;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  padding: 32px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
  border: 1px solid transparent;
}

.feature:hover {
  background: var(--bg-3);
  border-color: var(--border-glow);
}

.feature__icon {
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 4px;
}

.feature__icon svg { width: 20px; height: 20px; }
.feature h4 { color: var(--white); }
.feature p { font-size: 0.875rem; line-height: 1.6; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(29,78,216,0.15) 0%, rgba(59,130,246,0.1) 100%);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-banner__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { max-width: 480px; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-item__icon svg { width: 18px; height: 18px; }

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.contact-item span {
  font-size: 0.925rem;
  color: var(--text-2);
}

.contact-tagline {
  margin-top: 16px;
  padding: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}

.contact-tagline p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.925rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-3);
  text-align: center;
  margin-top: -4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__logo { margin-right: auto; }

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--text-2); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.delay-1 { transition-delay: 0.08s; }
.scroll-reveal.delay-2 { transition-delay: 0.16s; }
.scroll-reveal.delay-3 { transition-delay: 0.24s; }
.scroll-reveal.delay-4 { transition-delay: 0.32s; }
.scroll-reveal.delay-5 { transition-delay: 0.40s; }
.scroll-reveal.delay-6 { transition-delay: 0.48s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav__links { display: none; }
  .nav .btn--outline { display: none; }

  .hero__stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .stat__divider { display: none; }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer__logo { margin-right: 0; }

  .hide-mobile { display: none; }

  .hero__scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }
}
