/* ============================================================
   DDe Waal RD LLC — Global Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary:    #080c14;
  --bg-secondary:  #0d1422;
  --bg-card:       #111827;
  --bg-card-hover: #151e2e;
  --accent:        #00c8ff;
  --accent-2:      #7b5cfa;
  --accent-grad:   linear-gradient(135deg, #00c8ff 0%, #7b5cfa 100%);
  --text-primary:  #f0f4ff;
  --text-muted:    #8892a4;
  --border:        rgba(255,255,255,0.07);
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 8px 40px rgba(0,0,0,0.5);
  --transition:    0.3s cubic-bezier(.4,0,.2,1);
  --nav-h:         72px;
  --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ---------- Typography helpers ---------- */
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 1px;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--text-muted); }

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,200,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,255,.4);
}
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(0,200,255,.1);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,12,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.nav-logo-text span { display: block; font-size: .65rem; font-weight: 500; color: var(--text-muted); letter-spacing: .05em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-grad);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,12,20,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  gap: 20px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 600; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { color: var(--accent); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Card ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0,200,255,.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,200,255,.15), rgba(123,92,250,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid rgba(0,200,255,.2);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 72px;
}
.stat-item {
  background: var(--bg-card);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-item:hover { background: var(--bg-card-hover); }
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ---------- Tag pill ---------- */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(0,200,255,.1);
  color: var(--accent);
  border: 1px solid rgba(0,200,255,.2);
}

/* ---------- Glowing orb BG element ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 500px; height: 500px; background: rgba(0,200,255,.05); top: -80px; right: -120px; }
.orb-2 { width: 400px; height: 400px; background: rgba(123,92,250,.05); bottom: -60px; left: -100px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 300px; }
.footer-col h4 { margin-bottom: 18px; color: var(--text-primary); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  transition: var(--transition);
  font-weight: 700;
}
.social-btn:hover { background: rgba(0,200,255,.12); border-color: var(--accent); color: var(--accent); }

/* ---------- Form ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,200,255,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-card); }

/* ---------- Process steps ---------- */
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h3 { margin-bottom: 8px; }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--text-primary); }
.legal-content h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text-primary); }
.legal-content p { margin-bottom: 16px; font-size: .95rem; }
.legal-content ul { margin: 12px 0 16px 20px; list-style: disc; }
.legal-content ul li { color: var(--text-muted); font-size: .95rem; margin-bottom: 8px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.legal-box p { margin: 0; font-size: .9rem; }

/* ---------- Tech badge strip ---------- */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.tech-badge {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.tech-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(0,200,255,.2);
  transform: translateY(-4px);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: .92rem; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}
.author-info .name { font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.author-info .role { font-size: .78rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
  transition: var(--transition);
}
.faq-q.open .faq-icon { background: var(--accent-grad); border-color: transparent; color: #fff; transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-bottom: 20px;
  font-size: .92rem;
}
.faq-a.open { display: block; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,200,255,.08), rgba(123,92,250,.08));
  border: 1px solid rgba(0,200,255,.15);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(0,200,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { font-size: 1rem; max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Icon SVG helpers ---------- */
.icon { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cta-banner { padding: 40px 24px; }
  .section { padding: 72px 0; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
