/* ============================================
   AMAI.online — Shared Design System
   Geldt voor: amai-online.html, diensten.html, ai-puzzel.html
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg:           #0A1628;
  --color-bg-card:      #111D35;
  --color-bg-light:     #162040;
  --color-accent:       #2563EB;
  --color-accent-hover: #1D4ED8;
  --color-purple:       #7C3AED;
  --color-teal:         #0EA5E9;
  --color-white:        #F8FAFC;
  --color-muted:        #94A3B8;
  --color-border:       rgba(255,255,255,0.08);
  --color-green:        #10B981;
  --color-yellow:       #F59E0B;
  --color-coral:        #FF6B6B;
  --font-display:       'Space Grotesk', sans-serif;
  --font-body:          'Inter', sans-serif;
  --max-width:          1200px;
  --nav-height:         72px;
  --radius-sm:          6px;
  --radius-md:          12px;
  --radius-lg:          20px;
  --radius-full:        9999px;
  --transition-base:    250ms ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* LAYOUT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent);
  display: block; margin-bottom: 1rem;
}
.text-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead { font-size: 1.1rem; color: var(--color-muted); line-height: 1.7; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  padding: 0.875rem 2rem; border-radius: var(--radius-full);
  border: none; cursor: pointer; transition: all 0.25s; white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent); color: white;
  box-shadow: 0 4px 24px rgba(37,99,235,0.4);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 32px rgba(37,99,235,0.5);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent; color: white;
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 1000;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
}
.nav__logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; }
.nav__logo em { color: var(--color-accent); font-style: normal; }
.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__link { font-size: 0.875rem; font-weight: 500; color: var(--color-muted); transition: color 0.2s; }
.nav__link:hover { color: var(--color-white); }
.nav__cta {
  font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 1.25rem; background: var(--color-accent);
  border-radius: var(--radius-full); transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--color-white); border-radius: 2px; }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(10,22,40,0.98); backdrop-filter: blur(20px);
  padding: 2rem 1.5rem; z-index: 999;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column; gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.1rem; font-weight: 500; color: var(--color-muted); }
.mobile-menu .nav__cta { color: white; text-align: center; padding: 0.75rem; }

/* SECTION HEADER */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 1rem; }
.section-header p { color: var(--color-muted); font-size: 1.1rem; line-height: 1.7; }

/* CARDS */
.info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-color, var(--color-accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.info-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.12); }
.info-card__icon { margin-bottom: 0.75rem; display: flex; align-items: center; }
.info-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.info-card__desc { font-size: 0.85rem; color: var(--color-muted); line-height: 1.65; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 2rem; }

/* CTA BOX */
.cta-box {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.06));
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem;
}
.cta-box h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.cta-box p { font-size: 0.875rem; color: var(--color-muted); }

/* TAGS */
.tag {
  font-size: 0.7rem; font-weight: 600;
  padding: 0.25rem 0.6rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border); color: var(--color-muted);
}

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem; background: var(--color-bg-card);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}
.step:hover { border-color: rgba(255,255,255,0.12); }
.step__num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.step__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.step__desc { font-size: 0.85rem; color: var(--color-muted); line-height: 1.65; }
.section-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem; margin-top: 2rem;
}
.section-title:first-child { margin-top: 0; }

/* FOOTER */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--color-border); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand p { color: var(--color-muted); font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer__col-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links a { font-size: 0.875rem; color: var(--color-muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--color-white); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--color-border);
  font-size: 0.875rem; color: var(--color-muted);
}

/* CONTACT FORM */
.contact-section {
  background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(124,58,237,0.04) 100%);
  border-top: 1px solid var(--color-border);
}
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-size: 0.875rem; font-weight: 500; color: var(--color-muted); }
input, select, textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--color-white);
  background: var(--color-bg-light); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 0.75rem 1rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(148,163,184,0.4); }
input:focus, select:focus, textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
select option { background: var(--color-bg-card); }
textarea { resize: vertical; min-height: 130px; }
.form-submit { align-self: center; margin-top: 0.5rem; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
