@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #131313;
  color: #e5e2e1;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #131313; }
::-webkit-scrollbar-thumb { background: #7C4DFF; border-radius: 3px; }
::selection { background: rgba(124,77,255,0.4); color: #e5e2e1; }

/* ============================================================
   ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124,77,255,0.3); }
  50%       { box-shadow: 0 0 40px rgba(124,77,255,0.6); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(124,77,255,0.3); }
  50%       { border-color: rgba(124,77,255,0.8); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Reveal on scroll — initial state set by JS so content shows without JS */
.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Gradient animated text */
.gradient-animated {
  background: linear-gradient(270deg, #7C4DFF, #FF8C42, #cdbdff, #ffb68d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Scroll progress */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #7C4DFF, #FF8C42);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.heading-hero {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.heading-xl {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.heading-lg {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.heading-md { font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 700; }
.heading-sm { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 700; }
.text-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #b0adac;
  line-height: 1.7;
}
.text-gradient {
  background: linear-gradient(135deg, #7C4DFF 0%, #FF8C42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-soft {
  background: linear-gradient(135deg, #cdbdff 0%, #ffb68d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C4DFF;
  background: rgba(124,77,255,0.1);
  border: 1px solid rgba(124,77,255,0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header p { color: #9e9b9a; margin-top: 0.75rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb--purple {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,77,255,0.25) 0%, transparent 70%);
}
.orb--orange {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,140,66,0.2) 0%, transparent 70%);
}
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn span { position: relative; z-index: 1; }
.btn--primary {
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  color: #fff;
  border: none;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF8C42, #7C4DFF);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,77,255,0.4); }
.btn--outline {
  background: transparent;
  color: #e5e2e1;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline:hover {
  border-color: rgba(124,77,255,0.6);
  background: rgba(124,77,255,0.08);
  transform: translateY(-2px);
}
.btn--ghost { background: transparent; color: #9e9b9a; padding: 0.5rem 1rem; }
.btn--ghost:hover { color: #e5e2e1; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}
.card:hover {
  border-color: rgba(124,77,255,0.3);
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.card__icon {
  width: 56px; height: 56px;
  background: rgba(124,77,255,0.12);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #cdbdff;
  transition: all 0.3s;
}
.card:hover .card__icon {
  background: rgba(124,77,255,0.2);
  border-color: rgba(124,77,255,0.5);
}
.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.card__text { color: #9e9b9a; font-size: 0.95rem; line-height: 1.65; }

/* Stat */
.stat { text-align: center; }
.stat__number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat__label { color: #9e9b9a; font-size: 0.85rem; margin-top: 0.35rem; }

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.badge--purple {
  background: rgba(124,77,255,0.15);
  border: 1px solid rgba(124,77,255,0.3);
  color: #cdbdff;
}
.badge--orange {
  background: rgba(255,140,66,0.15);
  border: 1px solid rgba(255,140,66,0.3);
  color: #ffb68d;
}
.badge--green {
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.3);
  color: #6ee7b7;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: #b0adac; }
.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #e5e2e1;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: rgba(124,77,255,0.6);
  background: rgba(124,77,255,0.06);
  box-shadow: 0 0 0 3px rgba(124,77,255,0.1);
}
.form-control::placeholder { color: #555; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
  appearance: none;
  cursor: pointer;
  background-color: #1c1c2a; /* solid — prevents white dropdown on transparent bg */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9b9a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
select.form-control option {
  background-color: #1c1c2a;
  color: #e5e2e1;
}
select.form-control option:disabled {
  color: #666;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(19,19,19,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #e5e2e1;
}
.logo__text span {
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;
  margin-left: auto;
}
.nav__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #9e9b9a;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.nav__link:hover { color: #e5e2e1; background: rgba(255,255,255,0.05); }
.nav__link.active { color: #e5e2e1; }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: linear-gradient(90deg, #7C4DFF, #FF8C42);
  border-radius: 1px;
}
.nav-cta { flex-shrink: 0; display: none; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #e5e2e1;
  border-radius: 1px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem;
  color: #9e9b9a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}
.mobile-menu__close:hover { color: #e5e2e1; }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.mobile-menu__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #9e9b9a;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}
.mobile-menu__link:hover { color: #e5e2e1; }
.mobile-menu__actions { margin-top: 1.5rem; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-cta { display: block; }
  .menu-toggle { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: #9e9b9a; font-size: 0.9rem; margin-top: 0.75rem; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e9b9a;
  transition: all 0.2s;
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover {
  border-color: rgba(124,77,255,0.4);
  color: #cdbdff;
  background: rgba(124,77,255,0.1);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e2e1;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: #9e9b9a; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: #e5e2e1; }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; color: #9e9b9a; font-size: 0.9rem; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-contact-item a { color: #9e9b9a; transition: color 0.2s; }
.footer-contact-item a:hover { color: #e5e2e1; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: #666;
}
.footer-bottom__links { display: flex; gap: 1.5rem; }
.footer-bottom__links a { color: #666; transition: color 0.2s; }
.footer-bottom__links a:hover { color: #9e9b9a; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,19,19,0) 0%, #131313 100%);
  z-index: 1;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: blur(2px);
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9e9b9a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero__eyebrow-dot { width: 6px; height: 6px; background: #7C4DFF; border-radius: 50%; }

/* Stats strip */
.stats-strip {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .stats-strip__grid { grid-template-columns: repeat(4, 1fr); } }

/* Services bento (legacy) */
.services-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .services-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .services-bento { grid-template-columns: repeat(3, 1fr); }
  .services-bento .card:first-child { grid-column: span 2; }
}

/* ── Services Bento v2 (reference-style layout) ─────────────────────────── */
.services-bento-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Base bento card */
.bento-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  border-color: rgba(124,77,255,0.35);
  background: rgba(255,255,255,0.06);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.32);
}

/* Tall cards (row 2) flex column so stat sticks to bottom */
.bento-card--tall {
  display: flex;
  flex-direction: column;
}
.bento-card--tall .card__icon { margin-bottom: 1.25rem; }
.bento-card--tall .card__title { margin-bottom: 0.6rem; }
.bento-card--tall .card__text  { flex: 1; }

/* Wide card — spans 2 columns, split layout */
.bento-card--wide {
  grid-column: span 2;
  display: flex;
  padding: 0;
  gap: 0;
}
.bento-card__visual {
  width: 38%;
  min-height: 260px;
  background: rgba(255,255,255,0.025);
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
  border-radius: 20px 0 0 20px;
}
.bento-card--wide:hover .bento-card__visual {
  background: rgba(255,140,66,0.06);
}
.bento-card__body {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bento-card__body .badge { width: fit-content; margin-bottom: 0.65rem; }
.bento-card__body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}
.bento-card__body p {
  font-size: 0.9rem;
  color: #9e9b9a;
  line-height: 1.65;
  flex: 1;
}

/* Stat box inside bento card */
.bento-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.bento-card:hover .bento-stat {
  border-color: rgba(124,77,255,0.25);
  background: rgba(124,77,255,0.05);
}
.bento-stat--dark {
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.06);
}
.bento-stat__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7C4DFF;
  margin-bottom: 0.3rem;
}
.bento-stat__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.bento-stat__desc { font-size: 0.78rem; color: #9e9b9a; }

/* Accent card (big stat) */
.bento-card--accent {
  background: linear-gradient(145deg, rgba(124,77,255,0.18), rgba(255,140,66,0.08));
  border-color: rgba(124,77,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}
.bento-card--accent:hover {
  background: linear-gradient(145deg, rgba(124,77,255,0.28), rgba(255,140,66,0.14));
  border-color: rgba(124,77,255,0.5);
}
.bento-big-stat {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* Social icon row */
.bento-social-icons {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.bento-social-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e9b9a;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.bento-card:hover .bento-social-icon {
  border-color: rgba(124,77,255,0.35);
  color: #cdbdff;
  background: rgba(124,77,255,0.08);
}
.bento-card:hover .bento-social-icon:nth-child(1) { transform: translateY(-3px); transition-delay: 0s; }
.bento-card:hover .bento-social-icon:nth-child(2) { transform: translateY(-3px); transition-delay: 0.05s; }
.bento-card:hover .bento-social-icon:nth-child(3) { transform: translateY(-3px); transition-delay: 0.1s; }

/* Responsive */
@media (max-width: 767px) {
  .services-bento-v2 { grid-template-columns: 1fr; }
  .bento-card--wide { flex-direction: column; grid-column: span 1; }
  .bento-card__visual { width: 100%; min-height: 140px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 20px 20px 0 0; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .services-bento-v2 { grid-template-columns: repeat(2, 1fr); }
  .bento-card--wide { grid-column: span 2; }
}

/* Industries — premium 3-card layout */
.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px)  { .industry-cards { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1023px) { .industry-cards { grid-template-columns: repeat(2, 1fr); } }

.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.industry-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}
.industry-card--purple::after { background: linear-gradient(90deg, #7C4DFF, #a78bfa); }
.industry-card--orange::after { background: linear-gradient(90deg, #FF8C42, #fbbf24); }
.industry-card--teal::after   { background: linear-gradient(90deg, #34d399, #06b6d4); }

.industry-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
}
.industry-card--purple:hover { border-color: rgba(124,77,255,0.4); }
.industry-card--orange:hover { border-color: rgba(255,140,66,0.4); }
.industry-card--teal:hover   { border-color: rgba(52,211,153,0.4); }
.industry-card:hover::after  { opacity: 1; }

.industry-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: transform 0.3s ease;
}
.industry-card:hover .industry-card__icon { transform: scale(1.1); }
.industry-card__icon--purple { background: rgba(124,77,255,0.12); border: 1px solid rgba(124,77,255,0.25); color: #cdbdff; }
.industry-card__icon--orange { background: rgba(255,140,66,0.12); border: 1px solid rgba(255,140,66,0.25); color: #ffb68d; }
.industry-card__icon--teal   { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.25); color: #6ee7b7; }

.industry-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.industry-card--purple .industry-card__label { color: #a78bfa; }
.industry-card--orange .industry-card__label { color: #FF8C42; }
.industry-card--teal   .industry-card__label { color: #34d399; }

.industry-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: #e5e2e1;
  margin-bottom: 0.9rem;
}
.industry-card__desc {
  font-size: 0.9rem;
  color: #9e9b9a;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.75rem;
}
.industry-card__stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.industry-card__stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.industry-card--purple .industry-card__stat-value { background: linear-gradient(135deg, #7C4DFF, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.industry-card--orange .industry-card__stat-value { background: linear-gradient(135deg, #FF8C42, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.industry-card--teal   .industry-card__stat-value { background: linear-gradient(135deg, #34d399, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.industry-card__stat-label { font-size: 0.75rem; color: #9e9b9a; line-height: 1.4; }

/* Industry rows — 2-row layout */
.ind-row {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}
.ind-row--top    { grid-template-columns: repeat(3, 1fr); margin-bottom: 1.25rem; }
.ind-row--bottom { grid-template-columns: repeat(5, 1fr); }

/* Base ind-card — matches process-step style */
.ind-card {
  position: relative;
  padding: 1.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ind-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(124,77,255,0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.ind-card h4 { font-size: 1rem; font-weight: 700; color: #e5e2e1; margin: 0; }
.ind-card p  { font-size: 0.85rem; color: #9e9b9a; line-height: 1.65; margin: 0; }

/* Icon */
.ind-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.ind-card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,77,255,0.1);
  border: 1px solid rgba(124,77,255,0.15);
  color: #cdbdff;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 0.85rem;
}
.ind-card:hover .ind-card__icon { transform: scale(1.1); background: rgba(124,77,255,0.18); border-color: rgba(124,77,255,0.3); }

/* Core industry tag */
.ind-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* Colour variants for top-row featured cards */
.ind-card--purple { border-color: rgba(124,77,255,0.18); }
.ind-card--orange { border-color: rgba(255,140,66,0.18); }
.ind-card--teal   { border-color: rgba(52,211,153,0.18); }

.ind-card--purple::before,
.ind-card--orange::before,
.ind-card--teal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.ind-card--purple::before { background: linear-gradient(90deg, #7C4DFF, #a78bfa); }
.ind-card--orange::before { background: linear-gradient(90deg, #FF8C42, #fbbf24); }
.ind-card--teal::before   { background: linear-gradient(90deg, #34d399, #06b6d4); }

.ind-card--purple:hover { border-color: rgba(124,77,255,0.4); }
.ind-card--orange:hover { border-color: rgba(255,140,66,0.4); }
.ind-card--teal:hover   { border-color: rgba(52,211,153,0.4); }
.ind-card--purple:hover::before,
.ind-card--orange:hover::before,
.ind-card--teal:hover::before { opacity: 1; }

.ind-card__icon--purple { background: rgba(124,77,255,0.12); border-color: rgba(124,77,255,0.2); color: #cdbdff; }
.ind-card__icon--orange { background: rgba(255,140,66,0.12); border-color: rgba(255,140,66,0.2); color: #ffb68d; }
.ind-card__icon--teal   { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.2); color: #6ee7b7; }

.ind-card--purple .ind-card__tag { background: rgba(124,77,255,0.12); border: 1px solid rgba(124,77,255,0.25); color: #cdbdff; }
.ind-card--orange .ind-card__tag { background: rgba(255,140,66,0.12); border: 1px solid rgba(255,140,66,0.25); color: #ffb68d; }
.ind-card--teal   .ind-card__tag { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.25); color: #6ee7b7; }

.ind-card--purple:hover .ind-card__icon { background: rgba(124,77,255,0.22); border-color: rgba(124,77,255,0.4); }
.ind-card--orange:hover .ind-card__icon { background: rgba(255,140,66,0.22); border-color: rgba(255,140,66,0.4); }
.ind-card--teal:hover   .ind-card__icon { background: rgba(52,211,153,0.22); border-color: rgba(52,211,153,0.4); }

/* Responsive */
@media (max-width: 767px) {
  .ind-row--top    { grid-template-columns: 1fr; }
  .ind-row--bottom { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ind-row--top    { grid-template-columns: repeat(3, 1fr); }
  .ind-row--bottom { grid-template-columns: repeat(3, 1fr); }
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}
.process-step__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(124,77,255,0.3), rgba(255,140,66,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: #9e9b9a; }

/* Testimonials */
.testimonials-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  /* hide scrollbar visually but keep it functional */
  scrollbar-width: thin;
  scrollbar-color: rgba(124,77,255,.3) transparent;
}
.testimonials-grid::-webkit-scrollbar { height: 4px; }
.testimonials-grid::-webkit-scrollbar-track { background: transparent; }
.testimonials-grid::-webkit-scrollbar-thumb { background: rgba(124,77,255,.35); border-radius: 2px; }
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
  flex: 0 0 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px)  { .testimonial { flex: 0 0 360px; } }
.testimonial:hover {
  border-color: rgba(124,77,255,0.25);
  transform: translateY(-4px);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(124,77,255,0.3), rgba(255,140,66,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}
.testimonial-stars { color: #f59e0b; font-size: .9rem; margin-bottom: .75rem; position: relative; z-index: 1; }
.testimonial-text { font-size: 0.95rem; color: #b0adac; line-height: 1.7; position: relative; z-index: 1; flex: 1; margin-bottom: 1.25rem; }
.testimonial p { font-size: 0.95rem; color: #b0adac; line-height: 1.7; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: #fff; letter-spacing: .02em;
}
.testimonial-name { font-size: .9rem; font-weight: 600; color: #e5e2e1; line-height: 1.3; }
.testimonial-role { font-size: .78rem; color: #9e9b9a; line-height: 1.4; }

/* ── Clients section (full section treatment) ────────────────── */
.clients-section {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.018);
}
.clients-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.clients-section__headline {
  margin: .75rem 0 1rem;
}
.clients-section__sub {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto;
}
.clients-marquee {
  margin-bottom: 2.5rem;
}
.clients-section__industries {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-top: .25rem;
}
.cs-industry {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: .7;
  letter-spacing: .02em;
}
.cs-sep {
  color: var(--text-secondary);
  opacity: .3;
  font-size: .75rem;
}

/* Legacy strip styles (kept for any other pages) */
.clients-strip__logos { display: flex; gap: 3rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.clients-strip__logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #444;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.clients-strip__logo:hover { color: #9e9b9a; }

/* CTA section */
.cta-section {
  background: rgba(124,77,255,0.05);
  border-top: 1px solid rgba(124,77,255,0.15);
  border-bottom: 1px solid rgba(124,77,255,0.15);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .services-full-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-full-grid { grid-template-columns: repeat(3, 1fr); } }
.service-process-card {
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  transition: all 0.3s;
}
.service-process-card:hover {
  border-color: rgba(124,77,255,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}
.service-process-card .process-step__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(124,77,255,0.4), rgba(255,140,66,0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.service-process-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-process-card p { font-size: 0.9rem; color: #9e9b9a; }

/* ============================================================
   DM ACCELERATOR
   ============================================================ */
.accelerator-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
  text-align: center;
}
.week-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}
.week-card:hover {
  border-color: rgba(124,77,255,0.3);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}
.week-card__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7C4DFF;
  background: rgba(124,77,255,0.1);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.week-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.week-card p { font-size: 0.9rem; color: #9e9b9a; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  background: rgba(124,77,255,0.08);
  border-color: rgba(124,77,255,0.4);
  box-shadow: 0 0 40px rgba(124,77,255,0.15);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__label { font-size: 0.85rem; font-weight: 600; color: #9e9b9a; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-card__period { font-size: 0.8rem; color: #666; margin-bottom: 2rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.pricing-card__features li {
  font-size: 0.9rem;
  color: #b0adac;
  padding-left: 1.5rem;
  position: relative;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7C4DFF;
  font-weight: 700;
}
@media (max-width: 767px) {
  .certificate-section > .container > div {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .case-studies-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s;
}
.case-card:hover {
  border-color: rgba(124,77,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.case-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.case-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-card__img img { transform: scale(1.05); }
.case-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(19,19,19,0.6) 100%);
}
.case-card__body { padding: 2rem; }
.case-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0; }
.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.case-card__metric { text-align: center; }
.case-card__metric-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.case-card__metric-label { font-size: 0.75rem; color: #9e9b9a; margin-top: 0.2rem; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-search {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}
.blog-search__icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: #666;
}
.blog-search__icon svg { width: 16px; height: 16px; }
.blog-search input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  color: #e5e2e1;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
}
.blog-search input:focus {
  outline: none;
  border-color: rgba(124,77,255,0.5);
  background: rgba(124,77,255,0.06);
}
.blog-search input::placeholder { color: #555; }
.blog-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.blog-filters__btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #9e9b9a;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.blog-filters__btn:hover,
.blog-filters__btn.active {
  background: rgba(124,77,255,0.15);
  border-color: rgba(124,77,255,0.4);
  color: #cdbdff;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(124,77,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.blog-card__img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: rgba(124,77,255,0.1);
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__category { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.blog-card__date { font-size: 0.8rem; color: #9e9b9a; }
.blog-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; flex: 1; }
.blog-card__excerpt { font-size: 0.875rem; color: #9e9b9a; line-height: 1.6; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: #666;
}
.blog-card__author { display: flex; align-items: center; gap: 0.5rem; }
.blog-card__read-time { display: flex; align-items: center; gap: 0.35rem; }
.blog-card__read-time svg { width: 13px; height: 13px; }
.blog-card__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

/* Newsletter */
.newsletter {
  text-align: center;
  background: rgba(124,77,255,0.06);
  border: 1px solid rgba(124,77,255,0.15);
  border-radius: 24px;
  padding: 3.5rem 2rem;
}
.newsletter h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.newsletter p { color: #9e9b9a; max-width: 46ch; margin: 0 auto 2rem; }
.newsletter__form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter__form input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.75rem 1.25rem;
  color: #e5e2e1;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.newsletter__form input:focus {
  outline: none;
  border-color: rgba(124,77,255,0.5);
}
.newsletter__form input::placeholder { color: #555; }

/* ============================================================
   BLOG POST PAGE
   ============================================================ */
.blog-post__hero {
  height: 420px;
  position: relative;
  overflow: hidden;
}
.blog-post__hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-post__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,19,19,0.3) 0%, #131313 100%);
}
.blog-post__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
}
@media (min-width: 1024px) {
  .blog-post__layout { grid-template-columns: 1fr 340px; }
}
.blog-post__main { max-width: 720px; }
.blog-post__meta { margin-bottom: 1.5rem; }
.blog-post__author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.blog-post__author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.blog-post__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #b0adac;
}
.blog-post__content h2 { font-size: 1.6rem; color: #e5e2e1; margin: 2.5rem 0 1rem; }
.blog-post__content h3 { font-size: 1.25rem; color: #e5e2e1; margin: 2rem 0 0.75rem; }
.blog-post__content p { margin-bottom: 1.25rem; }
.blog-post__content ul, .blog-post__content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-post__content li { color: #b0adac; }
.blog-post__content strong { color: #e5e2e1; font-weight: 700; }
.blog-post__content em { font-style: italic; }
.blog-post__content a { color: #cdbdff; text-decoration: underline; }
.blog-post__content blockquote {
  border-left: 3px solid #7C4DFF;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(124,77,255,0.06);
  border-radius: 0 12px 12px 0;
  color: #cdbdff;
  font-style: italic;
}
.blog-post__content hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 2.5rem 0; }

/* ── In-content image ratio containers ───────────────────── */
.blog-post__content .blog-img {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  margin: 2rem auto;
}
.blog-post__content .blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
/* 1:1 Square */
.blog-img--1-1   { aspect-ratio: 1/1;      max-width: 480px; }
/* 4:5 Portrait */
.blog-img--4-5   { aspect-ratio: 4/5;      max-width: 380px; }
/* 1.91:1 Landscape (OG / widescreen) */
.blog-img--191-1 { aspect-ratio: 1.91/1;   max-width: 100%;  }
/* 9:16 Story / Reel */
.blog-img--9-16  { aspect-ratio: 9/16;     max-width: 260px; }

/* Light mode — add subtle shadow so images lift off white bg */
[data-theme="light"] .blog-post__content .blog-img {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.blog-post__content code {
  font-family: monospace;
  background: rgba(124,77,255,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: #cdbdff;
}
.blog-post__share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.blog-post__share-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e9b9a;
  cursor: pointer;
  transition: all 0.2s;
}
.blog-post__share-btn:hover {
  border-color: rgba(124,77,255,0.4);
  color: #cdbdff;
  background: rgba(124,77,255,0.1);
}
.blog-post__sidebar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.75rem;
}
@media (min-width: 1024px) {
  .blog-post__sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

/* ── Blog sidebar podcast video embed ────────────────────── */
.blog-sidebar__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7C4DFF;
  margin-bottom: 0.9rem;
}
.blog-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.blog-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* ── Blog post — bottom newsletter CTA ───────────────────── */
.blog-newsletter-cta {
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.blog-newsletter-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(124,77,255,0.07);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  flex-wrap: wrap;
}
.blog-newsletter-cta__text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.blog-newsletter-cta__text p {
  color: #9e9b9a;
  font-size: 0.95rem;
  max-width: 420px;
}
.blog-newsletter-cta__form {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.blog-newsletter-cta__form input[type="email"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: #e5e2e1;
  font-size: 0.9rem;
  outline: none;
  width: 220px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.blog-newsletter-cta__form input[type="email"]:focus {
  border-color: rgba(124,77,255,0.6);
}
.blog-newsletter-cta__form input[type="email"]::placeholder { color: #9e9b9a; }
@media (max-width: 768px) {
  .blog-newsletter-cta__inner { flex-direction: column; padding: 2rem 1.5rem; text-align: center; }
  .blog-newsletter-cta__text p { max-width: 100%; }
  .blog-newsletter-cta__form { width: 100%; justify-content: center; }
  .blog-newsletter-cta__form input[type="email"] { width: 100%; }
  .blog-newsletter-cta__form .btn { width: 100%; justify-content: center; }
}
[data-theme="light"] .blog-newsletter-cta { border-top-color: rgba(0,0,0,0.07); }
[data-theme="light"] .blog-newsletter-cta__inner {
  background: rgba(124,77,255,0.05);
  border-color: rgba(124,77,255,0.2);
}
[data-theme="light"] .blog-newsletter-cta__form input[type="email"] {
  background: #fff;
  border-color: rgba(0,0,0,0.15);
  color: #1a1a2e;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-info { position: sticky; top: 100px; }
}
.contact-info h3 { font-size: 1.4rem; font-weight: 800; }
.contact-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.5rem;
}
.contact-form-card h3 { font-size: 1.4rem; font-weight: 800; }

/* FAQ */
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
}
.faq-item:hover { border-color: rgba(124,77,255,0.2); }
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #e5e2e1;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #7C4DFF;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: #9e9b9a; font-size: 0.9rem; line-height: 1.7; margin-top: 0.75rem; }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.why-join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px)  { .why-join-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-join-grid { grid-template-columns: repeat(3, 1fr); } }
.roles-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.role-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.3s;
}
.role-card:hover {
  border-color: rgba(124,77,255,0.3);
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
}
.role-card__icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: rgba(124,77,255,0.1);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cdbdff;
}
.role-card__body { flex: 1; }
.role-card__body h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.role-card__meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.role-card__meta span {
  font-size: 0.78rem;
  color: #9e9b9a;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.role-card__arrow {
  color: #9e9b9a;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
}
.role-card:hover .role-card__arrow { color: #7C4DFF; transform: translateX(4px); }

/* File upload zone */
.application-form__upload {
  position: relative;
  border: 2px dashed rgba(124,77,255,0.3);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.application-form__upload:hover {
  border-color: rgba(124,77,255,0.6);
  background: rgba(124,77,255,0.04);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(30,30,30,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  backdrop-filter: blur(20px);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s ease;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { border-color: rgba(52,211,153,0.4); color: #6ee7b7; }
.toast--error { border-color: rgba(239,68,68,0.4); color: #fca5a5; }

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,77,255,0.08) 0%, transparent 70%);
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
}

/* ============================================================
   UTILITY / MISC
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 2rem 0;
}
.img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* ============================================================
   HERO VISUAL — full-width centered layout
   ============================================================ */
.hero__full {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero__copy {
  flex: 1;
  min-width: 0;
  max-width: 600px;
}
.hero__visual {
  flex: 0 0 auto;
  width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Dashboard card */
.hero__dashboard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 1.75rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,77,255,0.1);
}
.hero__dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* Chart */
.hero__chart { margin-bottom: 1.25rem; }
.hero__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding-bottom: 4px;
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.hero__bar {
  flex: 1;
  background: rgba(124,77,255,0.35);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: barGrow 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}
.hero__bar--hi { background: linear-gradient(180deg, #7C4DFF, #FF8C42); }
.hero__bar:nth-child(1) { animation-delay: 0.6s; }
.hero__bar:nth-child(2) { animation-delay: 0.7s; }
.hero__bar:nth-child(3) { animation-delay: 0.75s; }
.hero__bar:nth-child(4) { animation-delay: 0.8s; }
.hero__bar:nth-child(5) { animation-delay: 0.85s; }
.hero__bar:nth-child(6) { animation-delay: 0.9s; }
.hero__bar:nth-child(7) { animation-delay: 0.95s; }
.hero__bar:nth-child(8) { animation-delay: 1s; }
.hero__chart-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  margin-top: 0.5rem;
}

/* Metric pills */
.hero__metrics {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero__metric {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.6rem 0.875rem;
}
.hero__metric-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Channel chips */
.hero__chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #9e9b9a;
}
.hero__chip--purple {
  background: rgba(124,77,255,0.15);
  border-color: rgba(124,77,255,0.3);
  color: #cdbdff;
}

/* Floating badge */
.hero__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(19,19,19,0.85);
  border: 1px solid rgba(124,77,255,0.35);
  border-radius: 14px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Hero stats row */
.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero__stat { text-align: center; }
.hero__stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero__stat-label { font-size: 0.78rem; color: #9e9b9a; margin-top: 0.25rem; }

/* Float animation helper */
.float-1 { animation: float 3.5s ease-in-out infinite; }
.float-2 { animation: float 4s ease-in-out 0.5s infinite; }

/* Responsive: stack hero on smaller screens */
@media (max-width: 1023px) {
  .hero__inner { flex-direction: column; gap: 3rem; align-items: flex-start; }
  .hero__visual { width: 100%; max-width: 460px; }
  .hero__badge { right: 0; }
}
@media (max-width: 639px) {
  .hero__visual { max-width: 100%; }
  .hero__stats { gap: 1.25rem; }
}

/* ============================================================
   Responsive helpers
   ============================================================ */
@media (max-width: 639px) {
  .form-row { grid-template-columns: 1fr; }
  .case-card__metrics { grid-template-columns: 1fr; gap: 0.5rem; }
  .blog-post__hero { height: 260px; }
  .contact-form-card { padding: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 7rem 0 3.5rem; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e9b9a;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(124,77,255,0.4);
  color: #e5e2e1;
  transform: rotate(20deg);
}
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] body {
  background: #f5f4f2;
  color: #1a1a1a;
}
[data-theme="light"] ::-webkit-scrollbar-track { background: #f5f4f2; }

/* Header */
[data-theme="light"] .site-header.scrolled {
  background: rgba(245,244,242,0.92);
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
[data-theme="light"] .logo__text { color: #1a1a1a; }
[data-theme="light"] .nav__link { color: #555; }
[data-theme="light"] .nav__link:hover { color: #1a1a1a; background: rgba(0,0,0,0.05); }
[data-theme="light"] .nav__link.active { color: #1a1a1a; }
[data-theme="light"] .menu-toggle span { background: #1a1a1a; }
[data-theme="light"] .mobile-menu { background: rgba(245,244,242,0.98); }
[data-theme="light"] .mobile-menu__link { color: #555; }
[data-theme="light"] .mobile-menu__link:hover { color: #1a1a1a; }
[data-theme="light"] .mobile-menu__close { color: #555; }
[data-theme="light"] .mobile-menu__close:hover { color: #1a1a1a; }

/* Theme toggle in light mode */
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.14);
  color: #555;
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.1);
  border-color: rgba(124,77,255,0.4);
  color: #1a1a1a;
}
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Typography */
[data-theme="light"] .text-lead { color: #555; }
[data-theme="light"] .section-header p { color: #666; }
[data-theme="light"] .card__text { color: #666; }
[data-theme="light"] .card__title { color: #1a1a1a; }
[data-theme="light"] .stat__label { color: #666; }
[data-theme="light"] .hero__stat-label { color: #666; }

/* Cards */
[data-theme="light"] .card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .card:hover {
  background: rgba(0,0,0,0.05);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Section backgrounds */
[data-theme="light"] .testimonial {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .process-step {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .process-step:hover {
  border-color: rgba(124,77,255,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .ind-card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .ind-card:hover {
  border-color: rgba(124,77,255,0.28);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
[data-theme="light"] .bento-card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .bento-card:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(124,77,255,0.25);
}
[data-theme="light"] .bento-card--accent {
  background: linear-gradient(135deg, rgba(124,77,255,0.08), rgba(255,140,66,0.06));
  border-color: rgba(124,77,255,0.2);
}
[data-theme="light"] .bento-stat { background: rgba(0,0,0,0.05); }
[data-theme="light"] .bento-card__visual { background: rgba(0,0,0,0.06); }

/* Industry cards - colored variants keep their accent colors */
[data-theme="light"] .ind-card__tag {
  background: rgba(0,0,0,0.06);
  color: #555;
  border-color: rgba(0,0,0,0.12);
}

/* Forms */
[data-theme="light"] .form-group label { color: #555; }
[data-theme="light"] .form-control {
  background: #fff !important;
  border-color: rgba(0,0,0,0.15) !important;
  color: #1a1a2e !important;
}
[data-theme="light"] .form-control::placeholder { color: #aaa !important; }
[data-theme="light"] .form-control:focus {
  background: #faf9ff !important;
  border-color: rgba(124,77,255,0.5) !important;
  box-shadow: 0 0 0 3px rgba(124,77,255,0.08) !important;
}
[data-theme="light"] select.form-control {
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555555' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  color: #1a1a2e !important;
}
[data-theme="light"] select.form-control option {
  background-color: #fff;
  color: #1a1a2e;
}
[data-theme="light"] select.form-control option:disabled {
  color: #aaa;
}

/* Buttons */
[data-theme="light"] .btn--outline {
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.2);
}
[data-theme="light"] .btn--outline:hover {
  background: rgba(124,77,255,0.08);
  border-color: rgba(124,77,255,0.4);
}
[data-theme="light"] .btn--ghost { color: #555; }
[data-theme="light"] .btn--ghost:hover { color: #1a1a1a; }

/* Grid pattern */
[data-theme="light"] .grid-pattern {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* Orbs — softer in light mode */
[data-theme="light"] .orb--purple {
  background: radial-gradient(circle, rgba(124,77,255,0.1) 0%, transparent 70%);
}
[data-theme="light"] .orb--orange {
  background: radial-gradient(circle, rgba(255,140,66,0.08) 0%, transparent 70%);
}

/* Noise overlay */
[data-theme="light"] .noise-overlay { opacity: 0.01; }

/* Footer socials */
[data-theme="light"] .footer-socials a {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .footer-socials a:hover {
  border-color: rgba(124,77,255,0.4);
}

/* Section label pill */
[data-theme="light"] .section-label {
  background: rgba(124,77,255,0.08);
  border-color: rgba(124,77,255,0.2);
}

/* Hero stats strip */
[data-theme="light"] .hero__stats {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .hero__stat + .hero__stat {
  border-left-color: rgba(0,0,0,0.1);
}

/* Page hero (inner pages) */
[data-theme="light"] .page-hero {
  background: none;
}

/* Case study cards */
[data-theme="light"] .case-card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .case-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
[data-theme="light"] .case-card__metric-label { color: #666; }

/* Blog */
[data-theme="light"] .blog-card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .blog-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
[data-theme="light"] .blog-card__excerpt { color: #666; }
[data-theme="light"] .blog-card__category { color: #666; }

/* FAQ */
[data-theme="light"] .faq-item {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .faq-item summary { color: #1a1a1a; }
[data-theme="light"] .faq-item p { color: #555; }
[data-theme="light"] details.faq-item[open] {
  background: rgba(0,0,0,0.04);
  border-color: rgba(124,77,255,0.2);
}

/* Landing page light overrides */
[data-theme="light"] .lp-header {
  background: rgba(245,244,242,0.95);
  border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .lp-form-card {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}
[data-theme="light"] .lp-offer__card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .lp-offer__card:hover {
  background: rgba(0,0,0,0.05);
}
[data-theme="light"] .lp-service-item {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .lp-service-item:hover {
  background: rgba(124,77,255,0.05);
}
[data-theme="light"] .lp-stats {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .lp-bottom {
  background: rgba(124,77,255,0.04);
  border-top-color: rgba(124,77,255,0.1);
}
[data-theme="light"] .lp-footer {
  background: rgba(0,0,0,0.04);
  border-top-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .lp-benefit { color: #555; }
[data-theme="light"] .lp-form__privacy { color: #888; }
[data-theme="light"] .lp-stat__label { color: #666; }
[data-theme="light"] .lp-service-item p { color: #666; }
[data-theme="light"] .lp-reassurance-item { color: #555; }

/* ── Light theme: additional visibility fixes ─────────────────────────── */

/* Industry card headings — hardcoded #e5e2e1 in dark theme */
[data-theme="light"] .ind-card h4 { color: #1a1a1a; }
[data-theme="light"] .ind-card p  { color: #555; }

/* Colored ind-card tags — light pastel text invisible on light bg */
[data-theme="light"] .ind-card--purple .ind-card__tag { color: #6d3fd4; background: rgba(124,77,255,0.1); border-color: rgba(124,77,255,0.25); }
[data-theme="light"] .ind-card--orange .ind-card__tag { color: #c4610a; background: rgba(255,140,66,0.1); border-color: rgba(255,140,66,0.25); }
[data-theme="light"] .ind-card--teal   .ind-card__tag { color: #0e7f5a; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.25); }

/* Regular ind-card tag */
[data-theme="light"] .ind-card__tag { background: rgba(0,0,0,0.06); color: #555; border-color: rgba(0,0,0,0.12); }

/* Footer — headings, links, contact items all use near-white in dark theme */
[data-theme="light"] .footer-col h4 { color: #1a1a1a; }
[data-theme="light"] .footer-col a { color: #555; }
[data-theme="light"] .footer-col a:hover { color: #1a1a1a; }
[data-theme="light"] .footer-contact-item { color: #555; }
[data-theme="light"] .footer-contact-item a { color: #555; }
[data-theme="light"] .footer-contact-item a:hover { color: #1a1a1a; }
[data-theme="light"] .footer-brand p { color: #666; }
[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.08); color: #888; }
[data-theme="light"] .footer-bottom a { color: #888; }
[data-theme="light"] .footer-bottom a:hover { color: #1a1a1a; }
[data-theme="light"] .site-footer { background: rgba(0,0,0,0.04); border-top-color: rgba(0,0,0,0.06); }

/* Testimonial text and quote icon */
[data-theme="light"] .testimonial p { color: #444; }
[data-theme="light"] .testimonial-text { color: #444; }
[data-theme="light"] .testimonial-name { color: #1a1a1a; }
[data-theme="light"] .testimonial-role { color: #666; }
[data-theme="light"] .testimonial::before {
  background: linear-gradient(135deg, rgba(124,77,255,0.5), rgba(255,140,66,0.5));
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="light"] .testimonial:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

/* Hero eyebrow — border is rgba(255,255,255,0.1), invisible on light bg */
[data-theme="light"] .hero__eyebrow { border-color: rgba(0,0,0,0.12); color: #555; }

/* Stats strip */
[data-theme="light"] .stats-strip {
  background: rgba(0,0,0,0.03);
  border-top-color: rgba(0,0,0,0.07);
  border-bottom-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .stats-strip__divider { background: rgba(0,0,0,0.1); }

/* Bento card internals */
[data-theme="light"] .bento-stat__label { color: #7C4DFF; }
[data-theme="light"] .bento-stat__desc  { color: #666; }
[data-theme="light"] .bento-card__text  { color: #555; }
[data-theme="light"] .bento-card p      { color: #555; }
[data-theme="light"] .bento-social-icon { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); color: #555; }

/* Badge colors — pastel variants invisible on light bg */
[data-theme="light"] .badge--purple { background: rgba(124,77,255,0.1); border-color: rgba(124,77,255,0.25); color: #6d3fd4; }
[data-theme="light"] .badge--orange { background: rgba(255,140,66,0.1); border-color: rgba(255,140,66,0.25); color: #c4610a; }
[data-theme="light"] .badge--green  { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.25); color: #0e7f5a; }

/* Service detail cards (services page) */
[data-theme="light"] .service-detail { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .service-detail h3 { color: #1a1a1a; }
[data-theme="light"] .service-detail p  { color: #555; }
[data-theme="light"] .service-feature   { color: #555; }

/* Hero stats inline strip */
[data-theme="light"] .hero__stats {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .hero__stat-value { color: #1a1a1a; }
[data-theme="light"] .hero__stat-label { color: #666; }

/* CTA section */
[data-theme="light"] .cta-section {
  background: rgba(124,77,255,0.04);
  border-top-color: rgba(124,77,255,0.12);
  border-bottom-color: rgba(124,77,255,0.12);
}
[data-theme="light"] .cta-section p { color: #555; }

/* Process step text */
[data-theme="light"] .process-step h3 { color: #1a1a1a; }
[data-theme="light"] .process-step p  { color: #555; }
[data-theme="light"] .process-step__number { color: rgba(124,77,255,0.25); }

/* Clients section */
[data-theme="light"] .clients-section { background: rgba(0,0,0,.02); border-color: rgba(0,0,0,.07); }
[data-theme="light"] .clients-section__sub { color: #555; }
[data-theme="light"] .cs-industry { color: #777; }
[data-theme="light"] .cs-sep { color: #bbb; }
[data-theme="light"] .clients-strip__logo  { color: #888; }
[data-theme="light"] .clients-strip__logo:hover { color: #555; }

/* Contact page step items */
[data-theme="light"] .contact-step p { color: #555; }

/* ── Contact page — light mode ──────────────────────────────── */
/* "What Happens Next" step circles and text — inline styles need !important */
[data-theme="light"] .contact-info [style*="color:#cdbdff"],
[data-theme="light"] .contact-info [style*="color: #cdbdff"] { color: #7C4DFF !important; }
[data-theme="light"] .contact-info [style*="color:#9e9b9a"],
[data-theme="light"] .contact-info [style*="color: #9e9b9a"] { color: #555 !important; }
[data-theme="light"] .contact-info [style*="color:#e5e2e1"],
[data-theme="light"] .contact-info [style*="color: #e5e2e1"] { color: #1a1a2e !important; }
/* Contact links (email, phone) with hardcoded inline color */
[data-theme="light"] .contact-info a { color: #1a1a2e !important; }
[data-theme="light"] .contact-info a:hover { color: #7C4DFF !important; }
/* "Or reach us directly" divider border */
[data-theme="light"] .contact-info [style*="rgba(255,255,255,.08)"] {
  border-top-color: rgba(0,0,0,0.08) !important;
}
/* Address / location text */
[data-theme="light"] .contact-info span { color: #555; }
/* Form card subheading */
[data-theme="light"] .contact-form-card [style*="color:#9e9b9a"],
[data-theme="light"] .contact-form-card [style*="color: #9e9b9a"] { color: #666 !important; }
/* Contact form card */
[data-theme="light"] .contact-form-card {
  background: #fff;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
[data-theme="light"] .contact-form-card h3 { color: #1a1a2e; }
/* Contact info panel */
[data-theme="light"] .contact-info h3 { color: #1a1a2e; }
[data-theme="light"] .contact-info p   { color: #555; }
/* FAQ items */
[data-theme="light"] .faq-item {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.09);
}
[data-theme="light"] .faq-item:hover { border-color: rgba(124,77,255,0.25); }
[data-theme="light"] .faq-item summary { color: #1a1a2e; }
[data-theme="light"] .faq-item p       { color: #555; }

/* Blog card meta */
[data-theme="light"] .blog-card__meta { color: #888; }
[data-theme="light"] .blog-card h3    { color: #1a1a1a; }

/* Career cards */
[data-theme="light"] .career-card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .career-card h3 { color: #1a1a1a; }
[data-theme="light"] .career-card p  { color: #555; }

/* Mobile menu links in light mode */
[data-theme="light"] .mobile-menu__link { color: #333; }

/* Misc muted text that uses #9e9b9a or #b0adac */
[data-theme="light"] p { color: inherit; }
[data-theme="light"] .section p:not([class]) { color: #555; }

/* ── Blog post page — light mode ────────────────────────────── */
/* Hero overlay — lighten on light bg */
[data-theme="light"] .blog-post__hero-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(245,244,255,0.7) 100%);
}
/* Author row separator */
[data-theme="light"] .blog-post__author-row {
  border-bottom-color: rgba(0,0,0,0.08);
}
/* Post heading */
[data-theme="light"] #post-heading { color: #1a1a2e; }
/* Post meta (date, author, read-time) */
[data-theme="light"] #post-date,
[data-theme="light"] #post-read-time { color: #777; }
[data-theme="light"] #post-author    { color: #333; }
/* Content body */
[data-theme="light"] .blog-post__content         { color: #333; }
[data-theme="light"] .blog-post__content h1,
[data-theme="light"] .blog-post__content h2,
[data-theme="light"] .blog-post__content h3,
[data-theme="light"] .blog-post__content h4,
[data-theme="light"] .blog-post__content h5,
[data-theme="light"] .blog-post__content h6      { color: #1a1a2e; }
[data-theme="light"] .blog-post__content p        { color: #444; }
[data-theme="light"] .blog-post__content li       { color: #444; }
[data-theme="light"] .blog-post__content strong   { color: #1a1a2e; }
[data-theme="light"] .blog-post__content a        { color: #6B3EE8; }
[data-theme="light"] .blog-post__content blockquote {
  background: rgba(124,77,255,0.05);
  border-left-color: #7C4DFF;
  color: #5a3db8;
}
[data-theme="light"] .blog-post__content hr       { border-top-color: rgba(0,0,0,0.1); }
[data-theme="light"] .blog-post__content code     { background: rgba(124,77,255,0.08); color: #5a3db8; }
[data-theme="light"] .blog-post__content pre      { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #333; }
/* Share section */
[data-theme="light"] .blog-post__share            { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .blog-post__share > span     { color: #777; }
[data-theme="light"] .blog-post__share-btn {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: #555;
}
[data-theme="light"] .blog-post__share-btn:hover  {
  background: rgba(124,77,255,0.08);
  border-color: rgba(124,77,255,0.3);
  color: #6B3EE8;
}
/* Sidebar cards */
[data-theme="light"] .blog-post__sidebar-card {
  background: #fff;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-post__sidebar-card h4  { color: #1a1a2e; }
[data-theme="light"] .blog-post__sidebar-card p   { color: #666; }
/* Newsletter form inside sidebar card */
[data-theme="light"] .blog-post__sidebar-card input[type="email"] {
  background: #f5f4ff;
  border-color: rgba(0,0,0,0.15);
  color: #1a1a2e;
}
/* "More posts" section heading */
[data-theme="light"] #more-posts-section h3 { color: #1a1a2e; }

/* ─── TH5 Framework Section ─────────────────────────────────────────────── */
.th5-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.th5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.th5-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.th5-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(124,77,255,0.32);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}

@media (hover: none) {
  .th5-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
  }
}

.th5-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(124,77,255,0.75);
  background: rgba(124,77,255,0.09);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  width: fit-content;
  margin-bottom: 0.15rem;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.th5-card:hover .th5-label {
  color: #cdbdff;
  background: rgba(124,77,255,0.16);
  border-color: rgba(124,77,255,0.35);
}

.th5-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e5e2e1;
  line-height: 1.35;
  margin: 0;
}

.th5-card p {
  font-size: 0.85rem;
  color: #9e9b9a;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Responsive */
@media (max-width: 767px) {
  .th5-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .th5-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Light theme */
[data-theme="light"] .th5-section {
  border-top-color: rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .th5-card {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .th5-card:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(124,77,255,0.28);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
[data-theme="light"] .th5-card h4 { color: #1a1a1a; }
[data-theme="light"] .th5-card p  { color: #555; }
[data-theme="light"] .th5-label {
  color: #6B3EE8;
  background: rgba(124,77,255,0.07);
  border-color: rgba(124,77,255,0.18);
}
[data-theme="light"] .th5-card:hover .th5-label {
  color: #5B2ED8;
  background: rgba(124,77,255,0.12);
  border-color: rgba(124,77,255,0.3);
}

/* ─── TH5 card accent top borders (per-card colour cycling) ─────────────── */
.th5-card {
  /* Bump up base background slightly so cards read as proper surfaces */
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.1);
}
.th5-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 18px 18px 0 0;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.th5-card:hover::before { opacity: 1; }

/* T1 – T5 each get a distinct accent drawn from the brand palette */
.th5-card:nth-child(1)::before { background: linear-gradient(90deg, #7C4DFF, #a78bfa); }
.th5-card:nth-child(2)::before { background: linear-gradient(90deg, #FF8C42, #fbbf24); }
.th5-card:nth-child(3)::before { background: linear-gradient(90deg, #34d399, #06b6d4); }
.th5-card:nth-child(4)::before { background: linear-gradient(90deg, #7C4DFF, #FF8C42); }
.th5-card:nth-child(5)::before { background: linear-gradient(90deg, #FF6B35, #7C4DFF); }

/* Label badge — accent colour matches the card's top border */
.th5-card:nth-child(1) .th5-label { color: #cdbdff; background: rgba(124,77,255,0.12); border-color: rgba(124,77,255,0.25); }
.th5-card:nth-child(2) .th5-label { color: #ffb68d; background: rgba(255,140,66,0.12); border-color: rgba(255,140,66,0.25); }
.th5-card:nth-child(3) .th5-label { color: #6ee7b7; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.25); }
.th5-card:nth-child(4) .th5-label { color: #cdbdff; background: rgba(124,77,255,0.12); border-color: rgba(124,77,255,0.25); }
.th5-card:nth-child(5) .th5-label { color: #ffb68d; background: rgba(255,107,53,0.12); border-color: rgba(255,107,53,0.25); }

/* Hover: card border colour picks up the per-card accent */
.th5-card:nth-child(1):hover { border-color: rgba(124,77,255,0.4); box-shadow: 0 20px 52px rgba(124,77,255,0.12); }
.th5-card:nth-child(2):hover { border-color: rgba(255,140,66,0.35); box-shadow: 0 20px 52px rgba(255,140,66,0.1); }
.th5-card:nth-child(3):hover { border-color: rgba(52,211,153,0.35); box-shadow: 0 20px 52px rgba(52,211,153,0.1); }
.th5-card:nth-child(4):hover { border-color: rgba(124,77,255,0.4); box-shadow: 0 20px 52px rgba(124,77,255,0.12); }
.th5-card:nth-child(5):hover { border-color: rgba(255,107,53,0.35); box-shadow: 0 20px 52px rgba(255,107,53,0.1); }

/* Light theme — keep accent colours readable */
[data-theme="light"] .th5-card { background: rgba(0,0,0,0.025); }
[data-theme="light"] .th5-card:nth-child(1) .th5-label { color: #6B3EE8; }
[data-theme="light"] .th5-card:nth-child(2) .th5-label { color: #c4610a; }
[data-theme="light"] .th5-card:nth-child(3) .th5-label { color: #0e7f5a; }
[data-theme="light"] .th5-card:nth-child(4) .th5-label { color: #6B3EE8; }
[data-theme="light"] .th5-card:nth-child(5) .th5-label { color: #c4610a; }

/* ─── Hero stat hover ───────────────────────────────────────────────────── */
.hero__stat {
  text-align: center;
  cursor: default;
  transition: transform 0.25s ease;
}
.hero__stat:hover { transform: translateY(-3px); }
.hero__stat:hover .hero__stat-value { filter: brightness(1.15); }
.hero__stat-value { transition: filter 0.25s ease; }

/* ─── Clients-strip logo hover — more visible ───────────────────────────── */
.clients-strip__logo {
  transition: color 0.2s ease, transform 0.2s ease;
}
.clients-strip__logo:hover {
  color: #e5e2e1;
  transform: translateY(-2px);
}

/* ─── Client logo figures (mock brand lockups) ──────────────────────────── */
/* ── Marquee wrapper ───────────────────────────────────────── */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0.25rem 0;
  /* soft fade on left + right edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── Individual logo item ──────────────────────────────────── */
.client-logo {
  display: flex;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Logo image — greyscale + dim by default */
.client-logo img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  /* brightness(2) lifts dark logos so they're visible on dark bg */
  filter: grayscale(1) brightness(2) opacity(0.45);
  transition: filter 0.4s ease, transform 0.3s ease;
}

/* Hover — dissolve to original colour, slight brightness lift keeps
   dark logos readable on dark bg without any box or container */
@media (hover: hover) {
  .client-logo:hover img {
    filter: grayscale(0) brightness(1.15) opacity(1);
    transform: scale(1.05);
  }
}

/* Light theme */
[data-theme="light"] .client-logo img {
  filter: grayscale(1) brightness(0.6) opacity(0.55);
}
[data-theme="light"] .client-logo:hover img {
  filter: grayscale(0) brightness(0.95) opacity(1);
}

/* ── Light theme visibility fixes ──────────────────────────────
   Darken elements that used dark-mode pastel/transparent values.
   Dark theme is untouched — all rules are scoped to [data-theme="light"].
   ─────────────────────────────────────────────────────────────── */

/* Clients strip — light theme refinements */
[data-theme="light"] .clients-strip__label { color: #777; }
[data-theme="light"] .clients-strip__logo  { color: #555; }

/* Service card icons — pastel #cdbdff invisible on light bg */
[data-theme="light"] .card__icon {
  color: #7C4DFF;
  background: rgba(124,77,255,0.1);
  border-color: rgba(124,77,255,0.3);
}
[data-theme="light"] .card:hover .card__icon {
  background: rgba(124,77,255,0.18);
  border-color: rgba(124,77,255,0.45);
}

/* Industry / ind-card icons — pastel colors invisible on light bg */
[data-theme="light"] .ind-card__icon          { color: #7C4DFF; background: rgba(124,77,255,0.1); border-color: rgba(124,77,255,0.25); }
[data-theme="light"] .ind-card__icon--purple { color: #6B3EE8; background: rgba(124,77,255,0.1); border-color: rgba(124,77,255,0.28); }
[data-theme="light"] .ind-card__icon--orange { color: #c4610a; background: rgba(255,140,66,0.1); border-color: rgba(255,140,66,0.28); }
[data-theme="light"] .ind-card__icon--teal   { color: #0e7f5a; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.3); }
[data-theme="light"] .industry-card__icon--purple { color: #6B3EE8; }
[data-theme="light"] .industry-card__icon--orange { color: #c4610a; }
[data-theme="light"] .industry-card__icon--teal   { color: #0e7f5a; }

/* Process step numbers — 0.3 opacity gradient barely visible on light bg */
[data-theme="light"] .process-step__number {
  background: linear-gradient(135deg, #7C4DFF, #FF8C42);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Bento accent card — inline text was hardcoded near-white (#e5e2e1/#9e9b9a) */
[data-theme="light"] .bento-card--accent > div:not(.bento-big-stat) {
  color: #1a1a2e !important;
}

/* Bento social icon buttons — borders/bg too faint */
[data-theme="light"] .bento-social-icon {
  background: rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.2);
  color: #444;
}
[data-theme="light"] .bento-social-icon:hover {
  background: rgba(124,77,255,0.1);
  border-color: rgba(124,77,255,0.35);
  color: #6B3EE8;
}

/* General text — push #666 → #444 for better contrast in light mode */
[data-theme="light"] .section-header p   { color: #444; }
[data-theme="light"] .card__text         { color: #444; }
[data-theme="light"] .text-lead          { color: #444; }
[data-theme="light"] .stat__label        { color: #555; }
[data-theme="light"] .hero__stat-label   { color: #555; }
[data-theme="light"] .process-step p     { color: #444; }
[data-theme="light"] .ind-card p         { color: #444; }
[data-theme="light"] .bento-card__text   { color: #444; }
[data-theme="light"] .bento-card p       { color: #444; }
[data-theme="light"] .bento-stat__desc   { color: #555; }
[data-theme="light"] .footer-brand p     { color: #555; }
[data-theme="light"] .footer-bottom      { color: #666; }
[data-theme="light"] .footer-bottom a    { color: #666; }
[data-theme="light"] .section p:not([class]) { color: #444; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-group__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C4DFF;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(124,77,255,0.2);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-item:last-child { border-bottom: none; }

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e5e2e1;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #7C4DFF;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}
.faq-item__question:hover { color: #a78bfa; }

.faq-item__answer {
  padding: 0 0 1.25rem 0;
  color: #9e9b9a;
  line-height: 1.75;
  font-size: 0.95rem;
}
.faq-item__answer p { margin-bottom: 0.75rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer ul {
  list-style: none;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.faq-item__answer ul li::before {
  content: '→ ';
  color: #7C4DFF;
  font-weight: 600;
}
.faq-item__answer a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-item__answer a:hover { color: #7C4DFF; }

/* ── Standalone FAQ list (services, dm-accelerator pages) ────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-list .faq-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 0 1.5rem;
  transition: border-color .2s;
}
.faq-list .faq-item:hover {
  border-color: rgba(124,77,255,.25);
}
.faq-list .faq-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.faq-list .faq-item__question {
  padding: 1.1rem 0;
}
.faq-list .faq-item__answer {
  padding-bottom: 1.1rem;
}

/* Light theme */
[data-theme="light"] .faq-group__title { color: #6B3EE8; border-bottom-color: rgba(107,62,232,0.15); }
[data-theme="light"] .faq-item { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .faq-item__question { color: #1a1a2e; }
[data-theme="light"] .faq-item__question:hover { color: #6B3EE8; }
[data-theme="light"] .faq-item__answer { color: #555; }
[data-theme="light"] .faq-item__answer a { color: #6B3EE8; }

/* ============================================
   LEAD-GEN POPUP (bottom bar)
   ============================================ */
.lead-popup {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  transform: translateY(110%);
  transition: transform .42s cubic-bezier(.22,.68,0,1.2);
  pointer-events: none;
  background: #13101e;
  border-top: 1.5px solid rgba(124,77,255,.35);
  box-shadow: 0 -6px 40px rgba(124,77,255,.15), 0 -1px 0 rgba(255,255,255,.04);
}
.lead-popup.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.lead-popup__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lead-popup__text {
  flex: 0 0 auto;
  min-width: 0;
}
.lead-popup__text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #e5e2e1;
  line-height: 1.3;
  white-space: nowrap;
}
.lead-popup__text span {
  font-size: .78rem;
  color: #9e9b9a;
  line-height: 1.4;
  margin-top: .15rem;
  display: block;
  white-space: nowrap;
}
.lead-popup__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}
.lead-popup__form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.lead-popup__input {
  flex: 1;
  min-width: 0;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(124,77,255,.35);
  background: rgba(255,255,255,.05);
  color: #e5e2e1;
  font-size: .875rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.lead-popup__input::placeholder { color: #555; }
.lead-popup__input:focus { border-color: #7C4DFF; background: rgba(124,77,255,.06); }
.lead-popup__btn {
  white-space: nowrap;
  height: 2.5rem;
  padding: 0 1.2rem;
  font-size: .855rem;
  flex-shrink: 0;
}
.lead-popup__close {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  color: #6b6870;
  font-size: .95rem;
  cursor: pointer;
  line-height: 1;
  transition: color .15s, background .15s, border-color .15s;
  margin-left: .25rem;
}
.lead-popup__close:hover { color: #e5e2e1; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }

/* Success state */
.lead-popup__success {
  display: none;
  flex: 1;
  font-size: .9rem;
  color: #a78bfa;
  font-weight: 600;
  align-items: center;
  gap: .5rem;
}
.lead-popup.is-submitted .lead-popup__form { display: none; }
.lead-popup.is-submitted .lead-popup__success { display: flex; }

/* Light theme */
[data-theme="light"] .lead-popup {
  background: #fff;
  border-top-color: rgba(107,62,232,.2);
  box-shadow: 0 -6px 30px rgba(107,62,232,.1);
}
[data-theme="light"] .lead-popup__text strong { color: #1a1a2e; }
[data-theme="light"] .lead-popup__text span { color: #666; }
[data-theme="light"] .lead-popup__divider { background: rgba(0,0,0,.1); }
[data-theme="light"] .lead-popup__input {
  background: #f5f4ff;
  border-color: rgba(107,62,232,.3);
  color: #1a1a2e;
}
[data-theme="light"] .lead-popup__input:focus { background: #eeecff; }
[data-theme="light"] .lead-popup__input::placeholder { color: #bbb; }
[data-theme="light"] .lead-popup__close { color: #999; background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); }
[data-theme="light"] .lead-popup__close:hover { color: #1a1a2e; background: rgba(0,0,0,.08); }

/* Mobile */
@media (max-width: 640px) {
  .lead-popup__inner { padding: .9rem 1rem; gap: .75rem; flex-wrap: wrap; }
  .lead-popup__text strong { white-space: normal; font-size: .9rem; }
  .lead-popup__text span { display: none; }
  .lead-popup__divider { display: none; }
  .lead-popup__text { flex: 1 1 auto; }
  .lead-popup__close { margin-left: auto; }
  .lead-popup__form { flex: 1 1 100%; gap: .5rem; }
  .lead-popup__input { height: 2.6rem; }
  .lead-popup__btn { height: 2.6rem; flex: 1; justify-content: center; }
}
