/* ============================================================
   AI Medewerker Landing — style.css
   Matching RapidDev.nl design system exactly
   Light theme · Orange accent · Inter font · Mobile-first
   ============================================================ */

:root {
  --bg: #f5f5f5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #f8f9fa;
  --bg-alt: #eef1f5;
  --accent: #e87040;
  --accent-light: #f0a050;
  --accent-dim: rgba(232, 112, 64, 0.08);
  --accent-glow: rgba(232, 112, 64, 0.2);
  --accent-orange: #e87040;
  --navy: #1e1e24;
  --text: #323130;
  --text-secondary: #605e5c;
  --text-muted: #8a8886;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(232, 112, 64, 0.35);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px rgba(232, 112, 64, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --nav-h: 70px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; }
main, .navbar, .footer, .back-to-top, .mobile-menu { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

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

/* ── Gradient text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Sections ── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,0,0,0.04);
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 112, 64, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232, 112, 64, 0.5); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Fade-up animation ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

/* ============================================================
   LOGO BOX
   ============================================================ */
.logo-box {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.navbar.scrolled .logo-text { color: var(--text); }
.navbar.scrolled .logo-text .logo-dev { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--accent); background: var(--accent-dim); }
.navbar.scrolled .nav-links a.active { color: var(--accent); }
.navbar.scrolled .hamburger span { background: var(--text); }
.navbar.scrolled .logo-box { border-color: var(--accent); color: var(--accent); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  -webkit-text-fill-color: unset;
}
.logo-text .logo-dev {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(232, 112, 64, 0.3);
  -webkit-text-fill-color: #fff !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232, 112, 64, 0.5) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: all; }
.mobile-menu ul { padding: 16px 24px 28px; }
.mobile-menu li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.mobile-link { display: block; padding: 16px 0; font-size: 1rem; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.mobile-link:hover { color: var(--accent); }
.mobile-link-cta { color: var(--accent) !important; font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 64px) 20px 64px;
  overflow: hidden;
  text-align: center;
}
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(232,112,64,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,112,64,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}
.hero-dots { display: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(232,112,64,0.07) 0%, transparent 70%); top: -200px; right: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,188,242,0.05) 0%, transparent 70%); bottom: -100px; left: -150px; }

.hero-content {
  position: relative; z-index: 1;
  max-width: 820px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px;
  background: rgba(232, 112, 64, 0.08);
  border: 1px solid rgba(232, 112, 64, 0.22);
  border-radius: 100px;
  font-size: 0.8125rem; font-weight: 500; color: var(--accent);
}
.badge-pulse {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.35); } }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.hero-sub {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0;
  margin-top: 8px;
  width: 100%;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 24px; gap: 6px; }
.stat-value-row { display: flex; align-items: baseline; gap: 2px; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  transition: text-shadow 0.4s ease;
}
.stat-num-text {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-num.counted { animation: statPulse 0.6s ease-out; }
@keyframes statPulse {
  0% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.3) drop-shadow(0 0 8px rgba(232, 112, 64, 0.5)); transform: scale(1.08); }
  100% { filter: brightness(1); transform: scale(1); }
}
.stat-suf { font-size: 1.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.stat-underline {
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}
.stat-underline.animate { width: 100%; }
.stat-sep { width: 1px; height: 52px; background: var(--border); flex-shrink: 0; }

/* ============================================================
   SERVICES / FEATURES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
  transition: all var(--transition);
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(232, 112, 64, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(232, 112, 64, 0.08);
}
.service-glow {
  position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232, 112, 64, 0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.service-glow-featured { background: radial-gradient(circle, rgba(232, 112, 64, 0.14) 0%, transparent 70%); }
.service-card-featured {
  border-color: rgba(232, 112, 64, 0.2);
  background: linear-gradient(135deg, rgba(232, 112, 64, 0.06) 0%, var(--bg-card) 50%);
}
.service-card-featured:hover { border-color: rgba(232, 112, 64, 0.4); }
.service-icon-wrap {
  width: 56px; height: 56px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: all var(--transition);
  flex-shrink: 0;
}
.service-card:hover .service-icon-wrap { background: var(--accent); color: #fff; }
.service-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.service-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   TIMELINE / HOE HET WERKT
   ============================================================ */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 0 0 16px;
}
.timeline-step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  position: relative; padding: 0 12px;
}
.timeline-icon {
  width: 72px; height: 72px;
  background: var(--accent-dim);
  border: 1.5px solid rgba(232, 112, 64, 0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 1; position: relative;
}
.timeline-step:hover .timeline-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}
.timeline-num {
  font-size: 0.6875rem; font-weight: 700; color: var(--accent); letter-spacing: 0.12em;
  background: var(--accent-dim); padding: 3px 10px; border-radius: 6px;
}
.timeline-body h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.timeline-body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.timeline-connector {
  display: flex; align-items: center; justify-content: center; padding-top: 22px;
  color: var(--text-muted); flex-shrink: 0;
}

/* ============================================================
   DEMO EMBED
   ============================================================ */
.demo-embed {
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}
.demo-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid rgba(232, 112, 64, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-card), 0 0 60px rgba(232, 112, 64, 0.08);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-header { margin-bottom: 32px; }
.pricing-plan { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.pricing-amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.pricing-period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}
.pricing-features li svg { color: var(--accent); flex-shrink: 0; }

.pricing-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(232, 112, 64, 0.3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 30px; text-align: left; color: var(--text);
  font-size: 1.0625rem; font-weight: 600;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-chevron { flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease, color var(--transition); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.faq-a p { padding: 0 30px 26px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; }
.faq-item.open .faq-a { max-height: 800px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(232, 112, 64, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700; color: var(--accent);
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 0.8125rem; color: var(--text-muted); }
.testimonials-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAR / CONTACT
   ============================================================ */
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 24px; position: relative; }
.cta-text h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-text p { color: var(--text-secondary); font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; justify-content: center; }
.cta-contact-alt {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.cta-contact-alt a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}
.cta-contact-alt a:hover { color: var(--accent-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: none; }
.footer-main { padding: 72px 0; background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand { max-width: 280px; }
.footer-tagline { font-size: 1rem; font-weight: 700; color: var(--accent-light); margin: 16px 0 8px; }
.footer-desc { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); line-height: 1.75; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.45); text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-light); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.footer-contact-list svg { color: var(--accent-light); flex-shrink: 0; }
.footer-contact-list a { color: rgba(255, 255, 255, 0.6); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--accent-light); }
.footer-contact-list span { color: rgba(255, 255, 255, 0.6); }
.footer-bottom { padding: 20px 0; background: #16161b; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent-light); }
.footer .logo-text { color: #fff; }
.footer .logo-text .logo-dev { color: var(--accent-light); -webkit-text-fill-color: var(--accent-light); }
.footer .logo-box { border-color: var(--accent-light); color: var(--accent-light); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 46px; height: 46px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: all; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0,0,0,0.15);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.06); color: var(--text); }

.modal-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.modal-sub { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }

/* Signup Form */
.signup-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); }
.req { color: var(--accent); }
.opt { color: var(--text-muted); font-weight: 400; font-size: 0.8125rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 13px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 112, 64, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
textarea { resize: vertical; min-height: 100px; }

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.checkbox-wrap input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.checkbox-wrap a { color: var(--accent); text-decoration: underline; }

/* Form notice */
.form-notice {
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.875rem; display: none;
}
.form-notice.success { display: block; background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.25); color: #4ade80; }
.form-notice.error { display: block; background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.25); color: #f87171; }

/* Button spinner */
.btn-spinner { display: none; animation: spin 1s linear infinite; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal success state */
.modal-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  margin-bottom: 24px;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   RESPONSIVE — TABLET (<=1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { max-width: 100%; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .timeline { flex-direction: column; align-items: stretch; gap: 0; }
  .timeline-step { flex-direction: row; text-align: left; gap: 20px; padding: 0 0 32px; align-items: flex-start; }
  .timeline-connector { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (<=768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 40px; }
  .hero-content { gap: 16px; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 16px 12px; gap: 0; }
  .stat { padding: 12px 8px; }
  .stat-sep { display: none; }
  .stat-num, .stat-num-text { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; }
  .faq-q { padding: 20px 22px; font-size: 1rem; }
  .faq-a p { padding: 0 22px 20px; }
  .pricing-card { padding: 40px 24px; }
  .demo-embed iframe { height: 500px; }
  .modal { padding: 28px 20px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (<=480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
  .footer-brand { max-width: 100%; }
  .timeline-step { flex-direction: column; align-items: center; text-align: center; }
  .demo-embed iframe { height: 450px; }
}

/* Demo Phone Mockup */
.demo-mockup { max-width: 400px; margin: 0 auto; }
.demo-phone {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), 0 20px 60px rgba(0,0,0,0.08);
  background: var(--bg-card);
}
.demo-phone-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--orange); color: #fff;
}
.demo-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.demo-phone-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.demo-msg {
  padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5;
  max-width: 85%; animation: fadeInMsg 0.4s ease;
}
.demo-msg-bot { background: #f3f4f6; color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.demo-msg-user { background: var(--orange); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.demo-phone-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--border); background: #fafafa;
}
@keyframes fadeInMsg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-msg:nth-child(2) { animation-delay: 0.3s; }
.demo-msg:nth-child(3) { animation-delay: 0.6s; }
