/* ── CSS CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  --bg:        #0b0e1a;
  --bg2:       #0f1527;
  --surface:   #131929;
  --surface2:  #182035;
  --violet:    #7c3aed;
  --violet2:   #6d28d9;
  --indigo:    #4f46e5;
  --grad:      linear-gradient(135deg, #7c3aed, #4f46e5);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(79,70,229,0.15));
  --text:      #f1f5f9;
  --muted:     #8892a4;
  --subtle:    #4a5568;
  --border:    rgba(124,58,237,0.18);
  --border2:   rgba(255,255,255,0.06);
}

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

::selection { background: rgba(124,58,237,0.4); color: #fff; }

a { color: #a78bfa; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 30px;
  height: 30px;
  background: var(--grad);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.nav-brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 0.15rem; list-style: none; }
.nav-links a {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #7c3aed; background: rgba(124,58,237,0.07); text-decoration: none; }

.btn-cta {
  background: var(--grad);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-cta:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

/* ── HAMBURGER ──────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
  flex-shrink: 0;
  min-width: 40px;
  min-height: 40px;
}
.nav-hamburger:hover { background: rgba(124,58,237,0.08); }
.nav-hamburger-bar {
  width: 22px;
  height: 2px;
  background: #475569;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ──────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.5rem 1.5rem;
  z-index: 199;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  display: block;
}
.mobile-nav a:hover { color: #7c3aed; background: rgba(124,58,237,0.07); }
.mobile-nav-divider { height: 1px; background: #f1f5f9; margin: 0.5rem 0; }
.mobile-nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 600 !important;
  margin-top: 0.25rem;
}
.mobile-nav-cta:hover { opacity: 0.88; background: var(--grad) !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 8rem 2.5rem 7rem;
  overflow: hidden;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  top: -120px; left: -150px;
}
.hero::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.14) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  padding: 0.3rem 1rem 0.3rem 0.4rem;
  margin-bottom: 2rem;
}

.hero-pill-dot {
  width: 20px; height: 20px;
  background: var(--grad);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

.hero-pill-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 760px;
}

.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.78rem 1.8rem;
  border-radius: 9px;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  letter-spacing: 0.01em;
  display: inline-block;
  text-align: center;
}

.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; box-shadow: 0 8px 24px rgba(124,58,237,0.35); }

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-secondary:hover { border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.12); text-decoration: none; }

.hero-metrics {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border2);
  flex-wrap: wrap;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.metric-value span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }

/* ── SECTIONS ─────────────────────────────────────────────── */
section { padding: 6rem 2.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 100px;
  padding: 0.22rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.section-title .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc { color: var(--muted); font-size: 0.975rem; max-width: 560px; line-height: 1.75; margin-bottom: 3.5rem; }

/* ── ABOUT (light) ────────────────────────────────────────── */
#about {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.about-copy p { color: #475569; font-size: 0.975rem; line-height: 1.8; margin-bottom: 1.1rem; }
.about-copy p:last-child { margin-bottom: 0; }

#about .section-title { color: #0f172a; }
#about .label-chip { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.2); color: #7c3aed; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.stat-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stat-tile:hover { border-color: rgba(124,58,237,0.35); box-shadow: 0 4px 20px rgba(124,58,237,0.08); }
.stat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(79,70,229,0.05));
  opacity: 0;
  transition: opacity 0.2s;
}
.stat-tile:hover::before { opacity: 1; }

.stat-tile-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.stat-tile-label { font-size: 0.8rem; color: #64748b; margin-top: 0.3rem; position: relative; }

/* ── SERVICES ─────────────────────────────────────────────── */
#services { background: var(--bg); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.service-card:hover { border-color: rgba(124,58,237,0.45); transform: translateY(-4px); }
.service-card:hover::after { opacity: 1; }

.service-card-top { position: relative; z-index: 1; }

.service-icon-wrap {
  width: 50px; height: 50px;
  background: var(--grad);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card > p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; flex: 1; position: relative; z-index: 1; }

.service-divider { height: 1px; background: var(--border2); margin: 1.4rem 0; position: relative; z-index: 1; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; position: relative; z-index: 1; }
.service-features li {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.service-features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 0.6rem;
}

/* ── WHY US (light) ───────────────────────────────────────── */
#why {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.why-layout { display: grid; grid-template-columns: 360px 1fr; gap: 6rem; align-items: start; }

#why .label-chip { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.2); color: #7c3aed; }
#why .section-title { color: #0f172a; }
.why-lead p { color: #64748b; font-size: 0.975rem; line-height: 1.75; margin-top: 0.75rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-card:hover { border-color: rgba(124,58,237,0.35); box-shadow: 0 4px 20px rgba(124,58,237,0.07); }

.why-icon { font-size: 1.2rem; margin-bottom: 0.7rem; }
.why-card h3 { font-size: 0.9rem; font-weight: 700; color: #0f172a; margin-bottom: 0.4rem; }
.why-card p  { font-size: 0.83rem; color: #64748b; line-height: 1.6; }

/* ── SUCCESS STORIES ─────────────────────────────────────── */
#success {
  background: #050f0a;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(16,185,129,0.12);
  border-bottom: 1px solid rgba(16,185,129,0.12);
}

#success::before {
  content: '';
  position: absolute;
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#success .label-chip {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.25);
  color: #34d399;
}

#success .section-title .grad-text {
  background: linear-gradient(135deg, #34d399, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#success .section-desc { color: #94a3b8; }

#success .service-card {
  background: #071a12;
  border-color: rgba(16,185,129,0.14);
  position: relative;
}

#success .service-card::before {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(5,150,105,0.06));
}

#success .service-card:hover {
  border-color: rgba(16,185,129,0.45);
  box-shadow: 0 8px 32px rgba(16,185,129,0.08);
}

#success .service-icon-wrap {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
  color: #34d399;
}

#success .service-divider {
  background: rgba(16,185,129,0.1);
}

#success .service-features li::before {
  background: linear-gradient(135deg, #34d399, #059669);
}

#success .service-card h3 { color: #ecfdf5; }
#success .service-card p  { color: #94a3b8; }
#success .service-features li { color: #a7f3d0; }

/* ── CERTIFICATIONS ───────────────────────────────────────── */
#certifications {
  background: #06131a;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(6,182,212,0.1);
  border-bottom: 1px solid rgba(6,182,212,0.1);
}

#certifications::before {
  content: '';
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#certifications .label-chip {
  background: rgba(6,182,212,0.08);
  border-color: rgba(6,182,212,0.22);
  color: #22d3ee;
}

#certifications .section-title .grad-text {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.cert-card {
  background: #0b1e26;
  border: 1px solid rgba(6,182,212,0.12);
  border-radius: 14px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cert-card:hover {
  border-color: rgba(6,182,212,0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6,182,212,0.08);
}

.cert-card--deprecated {
  opacity: 0.55;
  filter: grayscale(0.6);
  position: relative;
}

.cert-card--deprecated:hover {
  opacity: 0.65;
  border-color: rgba(100,116,139,0.35);
  box-shadow: none;
}

.cert-deprecated-tag {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(100,116,139,0.15);
  border: 1px solid rgba(100,116,139,0.3);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

.cert-logo-wrap {
  width: 90px; height: 90px; margin: 0 auto 0.9rem;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: rgba(6,182,212,0.08);
  border: 1.5px dashed rgba(6,182,212,0.3);
}
.cert-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.cert-logo-ph { display: none; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cert-logo-initial { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(103,232,249,0.5); text-align: center; padding: 0.3rem; }

.cert-badge {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.cert-card h3 { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; line-height: 1.45; }
.cert-card p  { font-size: 0.75rem; color: var(--muted); line-height: 1.55; }
.cert-issuer  { display: inline-block; margin-top: 0.75rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #67e8f9; }

/* ── METHODOLOGY (light) ──────────────────────────────────── */
#methodology {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

#methodology .label-chip { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.2); color: #7c3aed; }
#methodology .section-title { color: #0f172a; }
#methodology .section-desc { color: #64748b; }

.methodology-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }

.steps { display: flex; flex-direction: column; }

.step { display: flex; gap: 1.2rem; }
.step-col { display: flex; flex-direction: column; align-items: center; }

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(124,58,237,0.25);
}

.step-line { width: 1px; flex: 1; background: #e2e8f0; margin: 6px 0; min-height: 28px; }
.step:last-child .step-line { display: none; }

.step-body { padding-bottom: 2rem; }
.step-body h3 { font-size: 0.97rem; font-weight: 700; color: #0f172a; margin-bottom: 0.3rem; }
.step-body p  { font-size: 0.875rem; color: #64748b; line-height: 1.65; }

.methodology-aside { display: flex; flex-direction: column; gap: 1.2rem; }

.aside-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.aside-tile:hover { border-color: rgba(124,58,237,0.3); box-shadow: 0 4px 18px rgba(124,58,237,0.07); }

.aside-tile-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}

.aside-tile-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.18);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.aside-tile h3 { font-size: 0.9rem; font-weight: 700; color: #0f172a; margin-bottom: 0.4rem; }
.aside-tile p  { font-size: 0.84rem; color: #64748b; line-height: 1.65; }

/* ── CONTACT (light) ──────────────────────────────────────── */
#contact {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

#contact .label-chip { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.2); color: #7c3aed; }
#contact .section-title { color: #0f172a; }

.contact-grid { display: grid; grid-template-columns: 400px 1fr; gap: 6rem; align-items: start; }

.contact-info p { color: #64748b; font-size: 0.97rem; line-height: 1.75; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: #475569;
  word-break: break-word;
}

.contact-detail-icon {
  width: 38px; height: 38px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label { font-size: 0.8rem; font-weight: 600; color: #0f172a; }

.form-group input,
.form-group textarea,
.form-group select {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.75rem 1rem;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }

.form-group select option { background: #ffffff; color: #0f172a; }

.form-group textarea { min-height: 120px; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-note { font-size: 0.78rem; color: #94a3b8; }

/* ── ALTCHA widget theming ────────────────────────────────── */
altcha-widget {
  --altcha-color-base:        #ffffff;
  --altcha-color-text:        #0f172a;
  --altcha-color-text-verify: #7c3aed;
  --altcha-color-border:      #e2e8f0;
  --altcha-color-focus-ring:  rgba(124,58,237,0.1);
  --altcha-color-footer-bg:   #f8fafc;
  --altcha-color-link:        #7c3aed;
  border-radius: 9px;
  display: block;
  border: 1px solid #e2e8f0;
}

/* ── FOOTER (dark) ────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand-icon { width: 28px; height: 28px; background: var(--grad); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 900; color: #fff; }
.footer-brand-name { font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }

.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: #c4b5fd; text-decoration: none; }

.footer-copy { font-size: 0.78rem; color: var(--subtle); }

/* ── MEET OUR TEAM ────────────────────────────────────────── */
#team {
  background: #070a1c;
  border-top: 1px solid rgba(99,102,241,0.12);
  border-bottom: 1px solid rgba(99,102,241,0.12);
  overflow: hidden;
}

#team .label-chip {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.25);
  color: #818cf8;
}

#team .section-title .grad-text {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-card {
  max-width: 900px;
  margin: 3rem auto 0;
  background: #0c0f24;
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  display: flex;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.founder-card:hover {
  border-color: rgba(99,102,241,0.45);
  box-shadow: 0 24px 60px rgba(6,8,30,0.5), 0 0 0 1px rgba(99,102,241,0.15);
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
}

.founder-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 65%);
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Avatar column */
.founder-avatar-col {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(99,102,241,0.45);
  overflow: hidden;
}

.founder-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.founder-avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.founder-avatar-ring {
  position: absolute;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  border: 2px solid rgba(99,102,241,0.25);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.06); opacity: 0.2; }
}

/* Body */
.founder-body { flex: 1; min-width: 0; }

.founder-meta { margin-bottom: 1.2rem; }

.founder-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.founder-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-bio {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.6rem;
}

.founder-divider {
  height: 1px;
  background: rgba(99,102,241,0.12);
  margin-bottom: 1.6rem;
}

.founder-highlights {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.founder-highlight-value {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-highlight-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.founder-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.founder-cert-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #a5b4fc;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.28);
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  transition: background 0.15s, border-color 0.15s;
}

.founder-cert-badge:hover {
  background: rgba(99,102,241,0.22);
  border-color: rgba(99,102,241,0.55);
}

.founder-links {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.75rem;
}

.founder-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
  flex-shrink: 0;
}

.founder-social-link svg {
  flex-shrink: 0;
}

.founder-social-link--linkedin,
.founder-social-link--github,
.founder-social-link--email,
.founder-social-link--certificate {
  color: #a5b4fc;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.28);
}

.founder-social-link--linkedin:hover,
.founder-social-link--github:hover,
.founder-social-link--email:hover,
.founder-social-link--certificate:hover {
  background: rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.6);
  color: #c7d2fe;
  transform: translateY(-2px);
}

/* ── RESPONSIVE: 1024px ───────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .why-layout        { grid-template-columns: 1fr; gap: 3rem; }
  .methodology-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid     { grid-template-columns: 1fr 1fr; }
  .certs-grid        { grid-template-columns: repeat(3, 1fr); }
}

/* ── RESPONSIVE: 768px ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 1.25rem; }
  .nav-links  { display: none; }
  .btn-cta    { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 4rem 1.25rem; }
  .hero   { padding: 5.5rem 1.25rem 4.5rem; }

  .services-grid       { grid-template-columns: 1fr; }
  .why-grid            { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }
  .certs-grid          { grid-template-columns: 1fr 1fr; }

  .hero-metrics        { gap: 1.75rem; }

  .founder-card        { flex-direction: column; align-items: center; text-align: center; padding: 2.5rem 2rem; gap: 2rem; }
  .founder-body        { text-align: left; }
  .founder-highlights  { justify-content: flex-start; }

  .footer-inner        { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links        { display: none; }

  .form-footer         { flex-direction: column; align-items: stretch; text-align: center; }
  .form-footer .btn    { width: 100%; }
}

/* ── RESPONSIVE: 480px (small phones) ────────────────────── */
@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }

  .hero { padding: 4.5rem 1rem 3.5rem; }
  .hero-sub { font-size: 0.95rem; }

  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; }

  .hero-metrics { flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; }

  section { padding: 3.5rem 1rem; }

  .stats-grid  { grid-template-columns: 1fr; }
  .certs-grid  { grid-template-columns: 1fr; }
  .why-grid    { grid-template-columns: 1fr; }

  .contact-grid { gap: 2rem; }

  .founder-card        { padding: 2rem 1.25rem; gap: 1.5rem; }
  .founder-avatar      { width: 100px; height: 100px; font-size: 1.4rem; }
  .founder-avatar-ring { width: 120px; height: 120px; }
  .founder-name        { font-size: 1.35rem; }
  .founder-highlights  { gap: 1.5rem; }

  .aside-tile  { padding: 1.25rem; }
  .stat-tile   { padding: 1.25rem; }

  .footer-inner { padding: 2rem 1rem; }
}
