/* ══════════════════════════════════════════════════════
   PAGE VARIABLES — consolidated (was repeated 11×, once per
   section, with identical values). Scoped to #main-content
   (NOT :root/global) so these don't leak into the site-wide
   header, navbar, or footer includes and override their styling.
   ══════════════════════════════════════════════════════ */
#main-content {
  --primary: #2563EB;
  --primary-light: #3B82F6;
  --primary-soft: #EFF6FF;
  --primary-border: #BFDBFE;
  --bg: #FFFFFF;
  --bg-muted: #F8FAFC;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0/0.08), 0 1px 2px -1px rgb(0 0 0/0.06);
  --shadow-md: 0 4px 16px -2px rgb(0 0 0/0.10), 0 2px 8px -2px rgb(0 0 0/0.06);
  --shadow-lg: 0 10px 40px -4px rgb(0 0 0/0.12), 0 4px 16px -4px rgb(0 0 0/0.08);
  --shadow-primary: 0 8px 30px -4px rgba(37,99,235,0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-full: 9999px;
}

/* ══════════════════════════════════════════════════════
   GLOBAL RESET & BASE
   ══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #FFFFFF;
  color: #0F172A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Skip-link (accessibility: keyboard users can bypass repeated nav) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #2563EB;
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Resets for semantic elements introduced during the accessibility
   pass (article/figure/blockquote/ul/ol carry browser default box
   model that the original div-based markup did not have). These
   exist purely to keep the rendered output pixel-identical. */
ul.logos-track,
ul.timeline-grid,
ol.process-steps,
ul.why-features,
ul.feat-list,
ul.case_box__points,
div.tech-grid,
div.metrics-grid { list-style: none; margin: 0; padding: 0; }
figure.why-block,
blockquote.testi-quote,
figure.testi-card { margin: 0; }
li.timeline-step,
li.logo-item,
li.proc-step { list-style: none; }

/* Visible focus states for keyboard navigation (Best Practices / a11y) —
   scoped to our page content only, so header/footer includes (which have
   their own focus styling) are left untouched. */
#main-content a:focus-visible,
#main-content button:focus-visible,
.faq-q:focus-visible,
.testi-dot:focus-visible,
.cs-dot:focus-visible,
.featured-slider-dot:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS (shared across all sections)
   ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s; }
.delay-5 { transition-delay: 0.25s; }
.delay-6 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { transition: opacity .3s ease !important; transform: none !important; opacity: 1; }
}

/* ══════════════════════════════════════════════════════
   SHARED BUTTONS
   ══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(.22,1,.36,1);
  border: 1.5px solid transparent;
  font-family: inherit;
  background-color: #fff!important;
}
.btn:hover{
  color: #1b5ef7!important;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--bg-muted);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover { background: #F0F7FF; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-full); }
.btn-xl { padding: 16px 40px; font-size: 1.05rem; }

/* ══════════════════════════════════════════════════════
   SECTION SHARED (title/label/sub used by every section)
   ══════════════════════════════════════════════════════ */
section { position: relative; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title-white { color: #fff; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; max-width: 600px; }
.section-sub-muted { color: #94A3B8; }

/* ══════════════════════════════════════════════════════
   SECTION: HERO
   ══════════════════════════════════════════════════════ */
.ind-hero {
  --brand: var(--primary);
  --ink: var(--text);
  --sub: var(--text-muted);
  --muted: #64748B;
  --line: #E5EBF3;
  position: relative;
  color: var(--ink);
  background: #fff;
  overflow: hidden;
  padding: 30px;
  -webkit-font-smoothing: antialiased;
}
.ind-hero * { box-sizing: border-box; }
.ind-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,460px),1fr));
  gap: clamp(40px,6vw,76px);
  align-items: center;
}
.ind-hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: #EEF3FF; border: 1px solid #DCE6FB;
}
.ind-hero__badge span.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}
.ind-hero__badge span.txt {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #1E3A8A;
}
.ind-hero h1 {
  font-weight: 800;
  font-size: 2.6rem; line-height: 1.08;
  letter-spacing: -.025em; margin: 22px 0 0; color: var(--ink);
}
.ind-hero h1 em { font-style: normal; color: var(--brand); }
.ind-hero__desc {
  color: var(--sub); font-size: clamp(16px,1.4vw,18px);
  line-height: 1.65; margin: 20px 0 0; max-width: 560px;
}
.ind-hero__cta { display: flex; gap: 14px; margin: 32px 0 0; }
.ind-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 14px; font-weight: 700;
  font-size: 15.5px; text-decoration: none;
  transition: transform .25s,box-shadow .25s,border-color .25s;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.ind-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -10px rgba(37,99,235,.55); }
.ind-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(37,99,235,.62); color: #fff; }
.ind-btn--ghost { background: #fff; color: var(--ink); border-color: #E2E8F0; }
.ind-btn--ghost:hover { transform: translateY(-2px); border-color: #C7D2E5; box-shadow: 0 14px 28px -14px rgba(15,23,42,.18); }
.ind-hero__stats { display: flex; gap: 28px; margin: 42px 0 0; flex-wrap: wrap; align-items: center; }
.ind-hero__stat b { font-weight: 700; font-size: 26px; color: var(--ink); }
.ind-hero__stat b i { color: var(--brand); font-style: normal; }
.ind-hero__stat p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.ind-hero__divider { width: 1px; height: 38px; background: var(--line); }

.ind-visual { position: relative; }
.ind-orbit { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 1/1; }
.ind-orbit__bg {
  position: absolute; inset: 0; border-radius: 30px; background: #FAFCFF;
  border: 1px solid #E9EFF7;
  background-image: radial-gradient(#DCE6F2 1.1px, transparent 1.1px);
  background-size: 26px 26px; overflow: hidden;
}
.ind-orbit__bg span { position: absolute; border-radius: 50%; }
.ind-orbit__bg span:nth-child(1) { left: -12%; top: -16%; width: 70%; height: 60%; background: radial-gradient(circle, rgba(37,99,235,.14), transparent 65%); }
.ind-orbit__bg span:nth-child(2) { right: -10%; bottom: -12%; width: 60%; height: 55%; background: radial-gradient(circle, rgba(8,145,178,.12), transparent 65%); }
.ind-orbit__ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed #D3E0F3; pointer-events: none; }
.ind-orbit__ring::before {
  content: ''; position: absolute; left: -1px; top: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 5px rgba(37,99,235,.16);
}
.ind-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 6; width: 132px; height: 132px; border-radius: 30px; background: #fff;
  border: 1px solid #E3EBF6; box-shadow: 0 26px 54px -18px rgba(37,99,235,.42);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.ind-core__pulse {
  position: absolute; inset: -7px; border-radius: 36px;
  border: 1.5px solid rgba(37,99,235,.3);
  animation: indPulse 3.2s ease-in-out infinite;
}
.ind-core i { font-size: 28px; color: var(--brand); }
.ind-core b { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.ind-core small { font-size: 9.5px; color: #94A3B8; letter-spacing: .14em; text-transform: uppercase; }
@keyframes indPulse { 0%,100% { opacity: .45; transform: scale(1) } 50% { opacity: .8; transform: scale(1.08) } }

.ind-pill { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 5; pointer-events: none; }
.ind-pill__pivot {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform: rotate(var(--ang,180deg));
  transition: transform var(--dur,900ms) cubic-bezier(.45,.05,.35,1);
}
.ind-pill__arm {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform: translateX(var(--rad,0px));
  transition: transform var(--dur,900ms) cubic-bezier(.45,.05,.35,1);
}
.ind-pill__counter {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%,-50%) rotate(calc(var(--ang,180deg) * -1));
  transition: transform var(--dur,900ms) cubic-bezier(.45,.05,.35,1), opacity .45s ease;
  opacity: var(--op,0);
}
.ind-pill.no-anim .ind-pill__pivot,
.ind-pill.no-anim .ind-pill__arm,
.ind-pill.no-anim .ind-pill__counter { transition: none !important; }
.ind-pill__card {
  display: flex; align-items: center; gap: 9px; padding: 9px 14px;
  background: #fff; border: 1px solid #E7EDF6; border-radius: 14px;
  box-shadow: 0 14px 30px -14px rgba(15,23,42,.22); white-space: nowrap;
}
.ind-pill__icon {
  width: 26px; height: 26px; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}
.ind-pill__label { font-size: 13px; font-weight: 600; color: var(--ink); }

@media (max-width: 640px) {
  .ind-orbit { max-width: 380px; }
  .ind-pill__label { font-size: 11.5px; }
  .ind-pill__card { padding: 7px 11px; gap: 7px; }
  .ind-core { width: 104px; height: 104px; border-radius: 24px; }
  .ind-core i { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-pill__pivot,.ind-pill__arm,.ind-pill__counter { transition: opacity .4s ease !important; }
  .ind-core__pulse { animation: none; }
}

/* ══════════════════════════════════════════════════════
   SECTION: LOGO STRIP
   ══════════════════════════════════════════════════════ */
#logos {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-muted);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}
.logos-track-wrap { overflow: hidden; position: relative; }
.logos-track-wrap::before,
.logos-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.logos-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-muted), transparent); }
.logos-track-wrap::after { right: 0; background: linear-gradient(to left, var(--bg-muted), transparent); }
.logos-track { display: flex; gap: 48px; animation: marquee 28s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  display: flex; align-items: center; justify-content: center;
  min-width: 180px; height: 90px; padding: 16px 24px;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 10px; box-shadow: var(--shadow-sm);
}
.logo-item img { width: 100%; height: 45px; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; overflow-x: auto; } }

/* ══════════════════════════════════════════════════════
   SECTION: FEATURED INDUSTRIES
   ══════════════════════════════════════════════════════ */
#featured { padding: 30px 0; background: var(--bg-muted); }
.featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feat-visual {
  aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.feat-visual-inner { position: absolute; inset: 0; background: var(--bg-muted); display: flex; flex-direction: column; padding: 20px; gap: 12px; }
.feat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-bar { height: 10px; border-radius: 6px; background: var(--border); }
.mock-bar.accent { background: rgba(37,99,235,0.15); width: 55%; }
.mock-bar.short { width: 40%; }
.mock-bar.med { width: 70%; }
.mock-area { flex: 1; display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.mock-col { display: flex; flex-direction: column; gap: 8px; }
.mock-block { background: var(--border-light); border-radius: 10px; flex: 1; min-height: 40px; }
.mock-block.blue { background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.12); }
.mock-block.tall { flex: 2; }
.mock-topbar { height: 44px; background: var(--bg-muted); border-bottom: 1px solid var(--border-light); display: flex; align-items: center; padding: 0 16px; gap: 8px; flex-shrink: 0; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-wrap { flex: 1; background: #fff; margin: 16px; border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); display: flex; flex-direction: column; overflow: hidden; }
.feat-pill {
  display: inline-flex; align-items: center; padding: 5px 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 20px;
}
.feat-name { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.feat-desc { color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.feat-col-title { font-size: 0.7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.feat-col-title.primary { color: var(--primary); }
.feat-col-title.muted { color: var(--text-muted); }
.feat-list { display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.feat-list li.sol { color: var(--text); font-weight: 500; }
.feat-list .bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--border); flex-shrink: 0; margin-top: 6px; }
.feat-list .check { color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tech-pill { padding: 5px 14px; background: var(--bg-muted); border: 1px solid var(--border-light); border-radius: var(--radius-full); font-size: 0.77rem; font-weight: 600; color: var(--text-muted); }

/* Slider mechanics (single visible slide, JS toggles [hidden] + .active) */
.featured-slider-viewport { position: relative; overflow: hidden; width: 100%; cursor: grab; user-select: none; margin-top: 40px; }
.featured-slider-viewport:active { cursor: grabbing; }
.featured-slider-track { display: flex; transition: transform 0.5s cubic-bezier(.22,1,.36,1); will-change: transform; }
.featured-slider-slide { flex: 0 0 100%; max-width: 100%; }
.featured-slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.featured-slider-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.featured-slider-btn:hover { background: #F8FAFC; transform: translateY(-1px); }
.featured-slider-btn svg { width: 18px; height: 18px; stroke: var(--text); }
.featured-slider-dots { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.featured-slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(15,23,42,0.18); cursor: pointer; transition: background 0.2s ease, width 0.2s ease; border: none; padding: 0; }
.featured-slider-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ══════════════════════════════════════════════════════
   SECTION: EXPERTISE TIMELINE
   ══════════════════════════════════════════════════════ */
#timeline { padding: 30px 0; background: #fff; }
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 64px;
}
.timeline-grid::before {
  content: ''; position: absolute; top: 30px; left: 20px; right: 20px; height: 2px;
  background: var(--border-light); z-index: 0;
}
.timeline-step { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; position: relative; z-index: 1; }
.tl-icon {
  width: 60px; height: 60px; border-radius: 18px; background: #fff;
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.tl-icon svg, .tl-icon i { color: var(--text-muted); transition: color 0.25s; }
.timeline-step:hover .tl-icon,
.timeline-step.active .tl-icon { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-md); background: var(--primary-soft); }
.timeline-step:hover .tl-icon svg, .timeline-step:hover .tl-icon i,
.timeline-step.active .tl-icon svg, .timeline-step.active .tl-icon i { color: var(--primary); }
.tl-num { font-size: 0.7rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; letter-spacing: 0.5px; }
.tl-name { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tl-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.45; }

/* ══════════════════════════════════════════════════════
   SECTION: TECH CAPABILITIES
   ══════════════════════════════════════════════════════ */
#tech { padding: 30px 0; background: var(--dark); position: relative; overflow: hidden; }
#tech::before {
  content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.18), transparent 70%); border-radius: 50%;
}
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; position: relative; z-index: 1; }
.tech-card {
  padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); backdrop-filter: blur(8px); transition: all 0.25s; cursor: pointer;
}
.tech-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.tech-card-icon { margin-bottom: 14px; display: inline-block; color: #60A5FA; }
.tech-card-icon svg { stroke: #60A5FA; }
.tech-card h3 { font-size: 0.925rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.tech-card p { font-size: 0.8rem; color: #94A3B8; line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   SECTION: WHY CHOOSE US
   ══════════════════════════════════════════════════════ */
#why { padding: 30px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.why-feat {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--bg-muted); border: 1px solid var(--border-light); border-radius: 12px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: all 0.2s; cursor: default;
}
.why-feat:hover { border-color: var(--primary-border); background: var(--primary-soft); color: var(--text); }
.why-feat svg { stroke: var(--primary); flex-shrink: 0; }
.why-visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.why-visual-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; align-items: stretch; }
.why-visual-grid > div { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.why-visual-grid > div:first-child > .why-block:first-child { flex: 1; }
.why-visual-grid > div:first-child > .why-block:last-child { flex: 2; }
.why-visual-grid > div:last-child > .why-block { flex: 1; }
.why-block { border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; position: relative; min-height: 0; }
.why-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-block.accent { background: var(--primary); }
.why-block.accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(37,99,235,0.35), transparent 60%); pointer-events: none; }
.reveal-right { display: flex; flex-direction: column; align-items: stretch; }
.why-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; max-width: 280px; align-self: center; margin-top: 24px;
  padding: 16px 28px; border-radius: var(--radius-full); background: var(--primary); color: #fff;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(37,99,235,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.why-cta-btn:hover { transform: translateY(-2px); background: #1D4ED8; box-shadow: 0 12px 30px -6px rgba(37,99,235,0.5); color: #fff; }
.why-cta-btn i { font-size: 0.85rem; transition: transform 0.25s ease; }
.why-cta-btn:hover i { transform: translateX(4px); }

@media (max-width: 600px) {
  .why-visual { aspect-ratio: auto; border-radius: var(--radius); }
  .why-visual-grid { position: static; display: flex; flex-direction: column; padding: 12px; gap: 12px; }
  .why-visual-grid > div { display: contents; }
  .why-block { border-radius: 14px; aspect-ratio: 4/3; flex: none; }
  .why-grid { gap: 0; }
}

/* ══════════════════════════════════════════════════════
   SECTION: DEV PROCESS
   ══════════════════════════════════════════════════════ */
#process { padding: 30px 0; background: var(--bg-muted); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.process-stepper { position: relative; margin-top: 56px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.process-track { position: absolute; top: 32px; left: 0; right: 0; height: 4px; background: var(--border); border-radius: 2px; }
.process-fill { height: 100%; background: var(--primary); border-radius: 2px; transition: width 0.4s ease; width: 0%; }
.process-steps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; position: relative; }
.proc-step { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; }
.proc-circle {
  width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; z-index: 1; transition: all 0.3s;
}
.proc-circle svg, .proc-circle { color: #94A3B8; }
.proc-circle svg { stroke: currentColor; transition: stroke 0.3s; }
.proc-step.active .proc-circle, .proc-step.past .proc-circle { background: var(--primary); border-color: var(--primary-border); color: #fff; }
.proc-step.active .proc-circle { box-shadow: 0 0 0 8px var(--primary-soft), var(--shadow-primary); }
.proc-name { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; transition: color 0.2s; }
.proc-step.active .proc-name { color: var(--primary); }
.proc-desc { font-size: 0.72rem; color: var(--text-light); line-height: 1.4; }

/* ══════════════════════════════════════════════════════
   SECTION: SUCCESS METRICS
   ══════════════════════════════════════════════════════ */
#metrics { padding: 80px 0; background: var(--bg-muted); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.metric-val { font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 900; color: var(--primary); letter-spacing: -1px; margin-bottom: 6px; display: block; }
.metric-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
@media (max-width: 600px) {
  #metrics { padding: 30px 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .metrics-grid > .metric-item:last-child { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════
   SECTION: TESTIMONIALS
   ══════════════════════════════════════════════════════ */
#testimonials { padding: 30px 0; background: var(--dark); position: relative; overflow: hidden; }
#testimonials::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 400px; background: radial-gradient(ellipse at center, rgba(37,99,235,0.15), transparent 70%); border-radius: 50%;
}
.testi-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; gap: 24px; }
.testi-controls { display: flex; gap: 10px; flex-shrink: 0; }
.testi-btn {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; transition: background 0.2s;
}
.testi-btn:hover { background: rgba(255,255,255,0.12); }
.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(.22,1,.36,1); }
.testi-card {
  flex: 0 0 calc(50% - 12px); padding: 36px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 28px; backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
}
.testi-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.testi-industry {
  padding: 4px 12px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; color: #93C5FD;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.testi-quote { font-size: 1.025rem; color: #CBD5E1; line-height: 1.75; margin-bottom: 32px; flex: 1; font-style: normal; }
.testi-bottom { display: flex; align-items: center; justify-content: space-between; }
.testi-name { font-weight: 800; color: #fff; margin-bottom: 2px; font-size: 0.95rem; }
.testi-title { font-size: 0.8rem; color: #64748B; }
.stars { display: flex; gap: 3px; background: transparent; border: none; box-shadow: none; border-radius: 0; width: auto; height: auto; padding: 0; }
.star { display: inline-block; color: #3B82F6; font-size: 16px; background: none; border: none; border-radius: 0; box-shadow: none; width: auto; height: auto; line-height: 1; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testi-dot { height: 8px; width: 8px; border-radius: 4px; background: rgba(255,255,255,0.15); cursor: pointer; transition: all 0.3s; border: none; }
.testi-dot.active { background: var(--primary); width: 28px; }

/* ══════════════════════════════════════════════════════
   SECTION: FAQ
   ══════════════════════════════════════════════════════ */
#faq { padding: 30px 0; background: #fff; }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-list { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border-light); overflow: hidden; }
.faq-heading { font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 700;
  color: var(--text); text-align: left; transition: color 0.2s; font-family: inherit;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-muted);
  border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.25s;
}
.faq-item.open .faq-icon { background: var(--primary-soft); border-color: var(--primary-border); }
.faq-icon svg { stroke: var(--text-muted); transition: all 0.25s; }
.faq-item.open .faq-icon svg { stroke: var(--primary); transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.22,1,.36,1); }
.faq-body-inner { padding: 0 0 24px; font-size: 0.925rem; color: var(--text-muted); line-height: 1.75; }

/* ══════════════════════════════════════════════════════
   SECTION: FINAL CTA
   ══════════════════════════════════════════════════════ */
#cta { padding: 30px 0; background: var(--primary); position: relative; overflow: hidden; text-align: center; }
#cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.12) 1px, transparent 0);
  background-size: 32px 32px; pointer-events: none;
}
#cta h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; color: #fff; letter-spacing: -0.8px; line-height: 1.15; margin-bottom: 20px; position: relative; z-index: 1; }
#cta p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; position: relative; z-index: 1; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .timeline-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline-grid::before { display: none; }
  .process-steps { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .process-track { display: none; }
}
@media (max-width: 900px) {
  .featured-row { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 85%; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .timeline-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 90%; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════ CASE STUDIES (scoped) ═══════════════════ */
#CaseStudies { background: #07080B; padding: 30px 0; position: relative; overflow: hidden; color: #F3F4F6; }
#CaseStudies::before {
  content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.10) 0%, rgba(139,92,246,0.06) 45%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}
#CaseStudies::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
#CaseStudies .cs-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
#CaseStudies .client-title { font-size: 56px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-align: center; margin: 0 0 16px 0; color: #F3F4F6; }
#CaseStudies .cs-eyebrow { display: block; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; color: #5EE6E0; margin-bottom: 18px; }
#CaseStudies .cs-subtext { text-align: center; max-width: 620px; margin: 0 auto 64px auto; font-size: 18px; font-weight: 300; line-height: 1.55; color: #8A8F9B; }

#CaseStudies .cs-viewport { position: relative; max-width: 1140px; margin: 0 auto; overflow: hidden; }
#CaseStudies .casestudies_slider { position: relative; overflow: hidden; }
#CaseStudies .slider-casestudies { display: flex; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; direction: ltr; }
#CaseStudies .caseStudiesSliderBox { flex: 0 0 100%; max-width: 100%; box-sizing: border-box; padding: 6px; }

#CaseStudies .case_box {
  position: relative; display: flex; align-items: center; gap: 36px; background: #0F1219;
  border-radius: 24px; overflow: hidden; padding: 40px; transition: transform 0.35s ease, background 0.35s ease;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); z-index: 0;
}
#CaseStudies .case_box::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: rgba(255,255,255,0.07);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; transition: opacity 0.35s ease; z-index: 1;
}
#CaseStudies .case_box::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), #22D3EE, #8B5CF6, #5EE6E0, #22D3EE);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0;
  transition: opacity 0.35s ease; animation: cs-rotate 3s linear infinite; z-index: 2;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes cs-rotate { to { --angle: 360deg; } }
#CaseStudies .case_box:hover { transform: translateY(-6px); background: rgba(15, 18, 25, 0.92); box-shadow: 0 24px 60px -20px rgba(56,189,248,0.25), 0 0 40px rgba(56,189,248,0.08); }
#CaseStudies .case_box:hover::before { opacity: 0; }
#CaseStudies .case_box:hover::after { opacity: 1; }

#CaseStudies .case_box__image { flex: 0 0 420px; width: 420px; height: 300px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#CaseStudies .case_box__image img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
#CaseStudies .case_box__content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#CaseStudies .case_box__content h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px 0; color: #F3F4F6; }
#CaseStudies .case_box__content p { font-size: 14px; font-weight: 300; line-height: 1.6; color: #C7CAD1; margin: 0 0 20px 0; }
#CaseStudies .case_box__points { margin: 0 0 28px 0; display: flex; flex-direction: column; gap: 10px; }
#CaseStudies .case_box__points li { position: relative; padding-left: 22px; font-size: 13px; font-weight: 400; color: #8A8F9B; line-height: 1.4; }
#CaseStudies .case_box__points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #22D3EE, #8B5CF6); }

#CaseStudies .viewCaseStudies {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 14px 22px; border-radius: 999px; background: #F3F4F6; color: #07080B; font-size: 14px;
  font-weight: 500; text-decoration: none; transition: transform 0.3s ease, background 0.3s ease, gap 0.3s ease;
}
#CaseStudies .viewCaseStudies::after { content: "\2192"; transition: transform 0.3s ease; }
#CaseStudies .viewCaseStudies:hover { transform: translateY(-3px); background: #22D3EE; }
#CaseStudies .viewCaseStudies:hover::after { transform: translateX(4px); }

#CaseStudies .cs-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; max-width: 700px; margin-left: auto; margin-right: auto; }
#CaseStudies .cs-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); border: none; cursor: pointer; transition: width 0.35s ease, background 0.35s ease; padding: 0; }
#CaseStudies .cs-dot.active { width: 26px; background: linear-gradient(90deg, #22D3EE, #8B5CF6); }

#CaseStudies .caseStudiesBottomArrows { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
#CaseStudies .caseStudiesBottomArrows button {
  width: 48px; height: 48px; border-radius: 999px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07); color: #F3F4F6; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
#CaseStudies .caseStudiesBottomArrows button:hover { border-color: rgba(56,189,248,0.55); background: rgba(56,189,248,0.08); transform: translateY(-2px); }

@media (max-width: 991px) {
  #CaseStudies { padding: 90px 0; }
  #CaseStudies .client-title { font-size: 40px; }
  #CaseStudies .case_box { flex-direction: column; padding: 32px; gap: 24px; }
  #CaseStudies .case_box__image { width: 100%; max-width: 360px; height: 260px; flex: 0 0 260px; }
  #CaseStudies .case_box__content { align-items: center; text-align: center; }
  #CaseStudies .case_box__content h3 { font-size: 24px; }
  #CaseStudies .case_box__points { align-items: flex-start; }
}
@media (max-width: 575px) {
  #CaseStudies { padding: 30px 0; }
  #CaseStudies .cs-container { padding: 0 20px; }
  #CaseStudies .client-title { font-size: 30px; }
  #CaseStudies .cs-subtext { font-size: 15px; margin-bottom: 40px; }
  #CaseStudies .case_box { padding: 24px; }
  #CaseStudies .case_box__image { width: 100%; max-width: 280px; height: 220px; flex: 0 0 220px; }
  #CaseStudies .case_box__content h3 { font-size: 21px; }
  #CaseStudies .case_box__points li { font-size: 12px; }
  #CaseStudies .caseStudiesBottomArrows button { width: 42px; height: 42px; }
}