/* ===================================================
   DeepXLogic — Main Stylesheet
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #f7f5f2;
  --bg-card: #ffffff;
  --bg-muted: #eeebe6;
  --border: rgba(0,0,0,0.09);
  --border-hover: rgba(109,40,217,0.3);

  --fg: #1a1a2e;
  --fg-muted: #52525b;
  --fg-subtle: #a1a1aa;

  --violet: #6d28d9;
  --violet-light: #7c3aed;
  --violet-400: #6d28d9;
  --indigo: #4f46e5;
  --cyan: #0284c7;
  --emerald: #059669;
  --amber: #d97706;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-violet: 0 8px 32px rgba(109,40,217,0.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1152px;
  --header-h: 64px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }
:focus-visible { outline: 2px solid var(--violet-400); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c4bfb8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}
.text-center { text-align: center; }
.gradient-text {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan) 60%, var(--violet-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-emerald { color: var(--emerald); }
.text-violet { color: var(--violet-400); }
.w-full { width: 100%; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1); opacity: 0.18; }
  50% { transform: scale(1.08); opacity: 0.25; }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.animate-slide-left {
  opacity: 0;
  animation: slideLeft 0.65s ease forwards;
}
.animate-slide-right {
  opacity: 0;
  animation: slideRight 0.65s ease forwards;
}
/* Intersection observer will toggle .is-visible */
.is-visible.animate-fade-up,
.is-visible.animate-slide-left,
.is-visible.animate-slide-right {
  opacity: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover {
  background: var(--violet-light);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(124,58,237,0.35);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--fg);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--border-hover);
  background: rgba(124,58,237,0.06);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ---------- Section headers ---------- */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-400);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.section-desc {
  font-size: 16px;
  color: var(--fg-muted);
  margin-top: 12px;
  max-width: 560px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-header.text-center {
  flex-direction: column;
  align-items: center;
}
.section-header .section-desc { margin-inline: auto; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(247,245,242,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.logo-icon { flex-shrink: 0; }
.logo-text { color: var(--fg); }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: all var(--transition);
}
.nav-link:hover { background: var(--bg-muted); color: var(--fg); }
.nav-link.active { color: var(--fg); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--fg);
  transition: all var(--transition);
}
.mobile-menu-btn:hover { background: var(--bg-muted); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: all var(--transition);
}
.mobile-nav-link:hover { background: var(--bg-muted); color: var(--fg); }
.mobile-cta { margin-top: 8px; }

/* ===================================================
   HERO (FULL-WIDTH BANNER WITH OVERLAYED TEXT)
   =================================================== */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(64px, 10vh, 120px);
}

/* Full-width background banner */
.hero-bg-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-bg-banner picture,
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 36%;
  display: block;
}

/* Elegant vignette overlay so the laptop person in center is bright & clearly visible */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 48% 40%,
    rgba(10, 12, 22, 0.32) 0%,
    rgba(10, 12, 22, 0.58) 55%,
    rgba(10, 12, 22, 0.80) 82%,
    var(--bg) 100%
  );
}

/* Hero text content placed on top */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: 16px;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #c084fc 0%, #60a5fa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.92);
  max-width: 660px;
  line-height: 1.68;
  margin-bottom: 32px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.hero .btn-primary {
  background: var(--violet);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45);
}
.hero .btn-primary:hover {
  background: var(--violet-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(109, 40, 217, 0.6);
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===================================================
   STATS
   =================================================== */
.stats-section {
  border-block: 1px solid var(--border);
  background: var(--bg-card);
  padding-block: 48px 56px;
}
.stats-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 40px;
  margin-top: 6px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-violet);
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(124,58,237,0.12);
  color: var(--violet-400);
  flex-shrink: 0;
}
.stat-value {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.stat-value span { font-size: 0.65em; color: var(--violet-400); }
.stat-label { font-size: 13px; color: var(--fg-muted); font-weight: 500; }

/* ===================================================
   WHAT WE DO
   =================================================== */
.what-we-do {
  padding-block: clamp(72px, 10vw, 100px);
}
.two-col-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .two-col-grid { grid-template-columns: 1fr 1fr; } }

.col-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.col-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 40px rgba(109,40,217,0.1);
}
.col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(124,58,237,0.12);
  color: var(--violet-400);
}
.col-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.col-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  flex: 1;
}

/* ===================================================
   SERVICES
   =================================================== */
.services-section {
  padding-block: clamp(72px, 10vw, 100px);
  background: var(--bg-muted);
}
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(109,40,217,0.12), 0 0 0 1px rgba(109,40,217,0.12);
}
.service-card-featured { grid-column: span 2; }
@media (max-width: 639px) { .service-card-featured { grid-column: span 1; } }

.service-image {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-muted);
}
.service-card-featured .service-image {
  aspect-ratio: 16 / 7;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-image img {
  transform: scale(1.06);
}
.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(124,58,237,0.12);
  color: var(--violet-400);
  margin-bottom: 4px;
}
.service-title { font-size: 18px; font-weight: 700; }
.service-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* ===================================================
   WHY US
   =================================================== */
.why-us-section {
  padding-block: clamp(72px, 10vw, 100px);
}
.compare-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .compare-grid { grid-template-columns: 1fr 1fr; } }

.compare-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}
.compare-yes {
  border-color: rgba(109,40,217,0.25);
  background: linear-gradient(160deg, rgba(109,40,217,0.05) 0%, var(--bg-card) 60%);
}
.compare-no { background: #f1ede8; }

.compare-header { display: flex; align-items: center; gap: 16px; }
.compare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.compare-icon-yes { background: rgba(124,58,237,0.15); color: var(--violet-400); }
.compare-icon-no  { background: var(--bg-muted); color: var(--fg-muted); }
.compare-title { font-size: 18px; font-weight: 700; }
.compare-subtitle { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }

.compare-items { display: flex; flex-direction: column; gap: 10px; }
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  transition: border-color var(--transition);
}
.compare-item:hover { border-color: rgba(109,40,217,0.2); }
.compare-item-no {
  align-items: center;
  background: rgba(0,0,0,0.02);
}
.item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.item-icon-yes { background: rgba(124,58,237,0.12); color: var(--violet-400); }
.item-icon-no  { background: rgba(239,68,68,0.1); color: #ef4444; }
.item-title { font-size: 14px; font-weight: 600; }
.item-desc { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.item-desc-no { font-size: 14px; color: var(--fg-muted); }

/* ===================================================
   WORK
   =================================================== */
.work-section {
  padding-block: clamp(72px, 10vw, 100px);
  background: var(--bg-muted);
}
.work-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.work-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(109,40,217,0.12);
}
.work-image {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: var(--bg-muted);
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-image img {
  transform: scale(1.06);
}

.work-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(124,58,237,0.1);
  color: var(--violet-400);
  letter-spacing: 0.03em;
}
.work-title { font-size: 17px; font-weight: 700; }
.work-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ===================================================
   ABOUT US & APPROACH (Full-Width Open Windows)
   =================================================== */
.about-section {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--bg-muted);
}
.about-windows-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-window {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  width: 100%;
}
.about-window:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-hover);
}
.about-window-featured {
  background: linear-gradient(170deg, rgba(109,40,217,0.04) 0%, var(--bg-card) 45%);
  border-color: rgba(109,40,217,0.22);
}
.about-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.about-window-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(0,0,0,0.04);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.about-window-badge.badge-violet {
  color: var(--violet);
  background: rgba(109,40,217,0.08);
  border-color: rgba(109,40,217,0.2);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}
.about-window-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}
.about-window-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-window-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.25;
}
.about-window-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--fg);
  line-height: 1.7;
}
.about-window-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
}
.about-quote-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(109,40,217,0.08) 0%, rgba(79,70,229,0.04) 100%);
  border-left: 4px solid var(--violet);
  margin-top: 10px;
}
.quote-icon {
  font-size: 38px;
  line-height: 1;
  color: var(--violet);
  font-family: serif;
  font-weight: 900;
  opacity: 0.6;
}
.quote-text {
  font-size: 15.5px;
  font-style: italic;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.65;
}

/* Partnership block */
.about-partnership-banner {
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #f7f5f2;
  border: 1px solid var(--border);
  margin-top: 8px;
}
@media (min-width: 860px) {
  .about-partnership-banner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}
.partnership-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.partnership-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.capabilities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(109,40,217,0.09);
  color: var(--violet);
  border: 1px solid rgba(109,40,217,0.22);
}
.cap-pill svg {
  color: var(--violet);
  flex-shrink: 0;
}

/* Approach Intro */
.approach-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.approach-lead-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  background: rgba(109,40,217,0.1);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(109,40,217,0.2);
  letter-spacing: 0.02em;
}

/* Approach Steps Grid */
.approach-steps-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .approach-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .approach-steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.step-card {
  position: relative;
  background: #f7f5f2;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-slow);
}
.step-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card);
  border-color: rgba(109,40,217,0.3);
  box-shadow: var(--shadow-violet);
}
.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.step-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--violet);
  background: rgba(109,40,217,0.12);
  padding: 3px 9px;
  border-radius: 999px;
}
.step-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(109,40,217,0.1);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
}
.step-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===================================================
   PRICING
   =================================================== */
.pricing-section {
  padding-block: clamp(72px, 10vw, 100px);
}
.pricing-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pricing-card-popular {
  border-color: rgba(109,40,217,0.35);
  background: linear-gradient(180deg, rgba(109,40,217,0.06) 0%, var(--bg-card) 40%);
  box-shadow: var(--shadow-violet);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  white-space: nowrap;
}
.pricing-header { display: flex; flex-direction: column; gap: 8px; }
.plan-name { font-size: 20px; font-weight: 800; }
.plan-desc { font-size: 13px; color: var(--fg-muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.price-amount { font-size: 36px; font-weight: 900; letter-spacing: -0.04em; }
.price-period { font-size: 14px; color: var(--fg-muted); }

.plan-features { display: flex; flex-direction: column; gap: 11px; flex: 1; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.45;
}
.feature-item strong { color: var(--fg); font-weight: 600; }
.feature-check { color: var(--violet-400); flex-shrink: 0; margin-top: 2px; }
.feature-divider {
  height: 1px;
  background: var(--border);
  margin-block: 4px;
  list-style: none;
}
.feature-badge-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(109,40,217,0.15);
  color: var(--violet-300);
  border: 1px solid rgba(109,40,217,0.3);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials-section {
  padding-block: clamp(72px, 10vw, 100px);
  background: var(--bg-muted);
}
.testimonials-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.stars { font-size: 16px; color: var(--amber); letter-spacing: 2px; }
.testimonial-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; }
.author-role { font-size: 12px; color: var(--fg-muted); }

/* ===================================================
   CONTACT
   =================================================== */
.contact-section {
  padding-block: clamp(72px, 10vw, 100px);
}
.contact-inner {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(109,40,217,0.2);
  background: linear-gradient(145deg, rgba(109,40,217,0.05) 0%, var(--bg-card) 50%);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 48px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) { .contact-inner { grid-template-columns: 1fr 1.4fr; } }

.cta-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.contact-text { display: flex; flex-direction: column; gap: 16px; }
.contact-title { font-size: clamp(24px, 4vw, 38px) !important; }
.contact-info { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition);
}
.contact-link:hover { color: var(--violet-400); }
.contact-link div,
.contact-link.no-hover { cursor: default; color: var(--fg-muted); }

/* Footer plain-text list items */
.footer-links li:not(:has(a)) {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--fg); }
.form-input {
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f7f5f2;
  color: var(--fg);
  font-size: 14px;
  transition: all var(--transition);
  width: 100%;
}
.form-input::placeholder { color: var(--fg-subtle); }
.form-input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-card); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 12px;
  color: var(--fg-subtle);
  text-align: center;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: #eeebe6;
  padding-top: 64px;
}
.footer-top {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

.social-links { display: flex; gap: 10px; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--border-hover);
  color: var(--violet-400);
  background: rgba(124,58,237,0.1);
}

.footer-links-title { font-size: 13px; font-weight: 700; color: var(--fg); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--violet-400); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 13px; color: var(--fg-subtle); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--fg-subtle); transition: color var(--transition); }
.footer-legal a:hover { color: var(--fg-muted); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 767px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  #header-cta { display: none; }

  .col-card { padding: 28px; }
  .compare-card { padding: 24px; }
  .hero {
    min-height: clamp(460px, 82vh, 600px);
    padding-block: 56px 40px;
  }
  .hero-bg-img {
    object-position: 48% 30%;
  }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .service-card-featured { grid-column: span 2; }
}

/* ===================================================
   SCROLL-TRIGGERED ANIMATION (JS activates these)
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
