/* ==========================================================================
   AI Development Services — Hero
   Page-specific styles for page-ai-development-services.php. Kept out of
   main.css/style.css so this page's styles ship only where they're used.
   ========================================================================== */

.ai-dev-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 80px;
  background: #04070d;
}

/* ---- Background: grid + glow blobs + drifting particles ---- */

.ai-dev-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ai-dev-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

.ai-dev-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: aiDevHeroDrift 16s ease-in-out infinite;
}

.ai-dev-hero-glow--cyan {
  top: -12%;
  left: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.24) 0%, transparent 70%);
}

.ai-dev-hero-glow--violet {
  bottom: -18%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  animation-delay: -8s;
}

@keyframes aiDevHeroDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.ai-dev-hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00c2ff;
  box-shadow: 0 0 8px 2px rgba(0, 194, 255, 0.6);
  opacity: 0;
  animation: aiDevHeroParticlePulse 4.5s ease-in-out infinite;
}

.ai-dev-hero-particle:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.ai-dev-hero-particle:nth-child(2) { top: 62%; left: 6%; animation-delay: 0.8s; }
.ai-dev-hero-particle:nth-child(3) { top: 30%; left: 46%; animation-delay: 1.6s; }
.ai-dev-hero-particle:nth-child(4) { top: 78%; left: 40%; animation-delay: 2.4s; }
.ai-dev-hero-particle:nth-child(5) { top: 12%; left: 88%; animation-delay: 1.1s; }
.ai-dev-hero-particle:nth-child(6) { top: 55%; left: 92%; animation-delay: 3s; }

@keyframes aiDevHeroParticlePulse {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.8); }
  50% { opacity: 1; transform: translateY(-14px) scale(1); }
}

.ai-dev-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.4) 0%, rgba(4, 7, 13, 0.15) 35%, rgba(4, 7, 13, 0.75) 100%);
}

/* ---- Layout ---- */

.ai-dev-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.ai-dev-hero-content {
  max-width: 620px;
}

.ai-dev-hero-title {
  margin: 20px 0 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  color: #ffffff;
}

.ai-dev-hero-description {
  max-width: 540px;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.78);
}

.ai-dev-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.ai-dev-hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 49px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.ai-dev-hero-btn-outline:hover {
  border-color: rgba(0, 194, 255, 0.5);
  background: rgba(0, 194, 255, 0.08);
}

.ai-dev-hero-btn-outline svg {
  width: 16px;
  height: 16px;
}

/* ---- Right-side illustration ---- */

.ai-dev-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.ai-dev-hero-orbit {
  position: absolute;
  border: 1px dashed rgba(0, 194, 255, 0.22);
  border-radius: 50%;
  animation: aiDevHeroSpin 40s linear infinite;
}

.ai-dev-hero-orbit--outer {
  width: 118%;
  height: 118%;
}

.ai-dev-hero-orbit--inner {
  width: 92%;
  height: 92%;
  border-color: rgba(124, 58, 237, 0.2);
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes aiDevHeroSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-dev-hero-frame {
  position: relative;
  z-index: 2;
  width: min(420px, 82%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  padding: 10px;
  background: rgba(4, 7, 13, 0.6);
  border: 1px solid rgba(0, 194, 255, 0.28);
  box-shadow: 0 30px 80px -20px rgba(0, 194, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: aiDevHeroFloat 6s ease-in-out infinite;
}

.ai-dev-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

@keyframes aiDevHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.ai-dev-hero-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(4, 7, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: aiDevHeroFloat 5s ease-in-out infinite;
}

.ai-dev-hero-card--top {
  top: 6%;
  right: -4%;
  animation-delay: -1.5s;
}

.ai-dev-hero-card--bottom {
  bottom: 8%;
  left: -6%;
  animation-delay: -3s;
}

.ai-dev-hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(0, 194, 255, 0.12);
  color: #00c2ff;
}

.ai-dev-hero-card-icon svg {
  width: 18px;
  height: 18px;
}

.ai-dev-hero-card-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.6);
  white-space: nowrap;
}

.ai-dev-hero-card-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .ai-dev-hero {
    min-height: 100svh;
  }
}

@media (max-width: 1024px) {
  .ai-dev-hero-inner {
    grid-template-columns: 1fr;
    gap: 64px;
    text-align: center;
  }

  .ai-dev-hero-content {
    max-width: none;
    margin: 0 auto;
  }

  .ai-dev-hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .ai-dev-hero-cta {
    justify-content: center;
  }

  .ai-dev-hero-visual {
    min-height: 360px;
  }

  .ai-dev-hero-frame {
    width: min(340px, 70%);
  }
}

@media (max-width: 560px) {
  .ai-dev-hero {
    padding: 130px 0 64px;
  }

  .ai-dev-hero-card {
    padding: 10px 12px;
  }

  .ai-dev-hero-card--top {
    top: 2%;
    right: 0;
  }

  .ai-dev-hero-card--bottom {
    bottom: 4%;
    left: 0;
  }

  .ai-dev-hero-card-label,
  .ai-dev-hero-card-value {
    font-size: 10px;
  }

  .ai-dev-hero-card-value {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-dev-hero-glow,
  .ai-dev-hero-particle,
  .ai-dev-hero-orbit,
  .ai-dev-hero-frame,
  .ai-dev-hero-card {
    animation: none;
  }
}

/* ==========================================================================
   Capabilities + Recognition
   A sticky intro column paired with a normally-scrolling list of capability
   cards, followed by an awards strip and two supporting photos.

   The sticky column uses native CSS `position: sticky` — never a GSAP
   `pin` — so it can't desync from the site's Lenis smooth scroll (same
   reasoning as the Honest Experiences testimonial stack). Because the
   right column (.ai-dev-cap-track) is taller than the left column's sticky
   content, the browser keeps the left column fixed for exactly as long as
   the right column has more cards to show, then un-sticks it automatically
   once `.ai-dev-cap-inner` runs out of height — no bespoke "release" logic
   needed, and no risk of the two ever falling out of sync. GSAP
   ScrollTrigger is layered on top only for the card entrance reveal
   (sitewide `.scroll-reveal-item` system, see main.js) and the "active
   card" highlight (see ai-development-services.js) — neither of which
   touches layout/positioning.
   ========================================================================== */

.ai-dev-capabilities {
  /* No `overflow: hidden` here — it would establish a scroll container that
     breaks `position: sticky` on the intro column below (same reason
     the site's existing testimonial stack section omits it). */
  position: relative;
  padding: 80px 0;
  background: #04070d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-dev-cap-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 64px;
}

.ai-dev-cap-intro {
  position: sticky;
  top: 140px;
}

.ai-dev-cap-heading {
  margin: 20px 0 18px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #ffffff;
}

.ai-dev-cap-desc {
  max-width: 480px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.ai-dev-cap-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-left: 38px;
  color: #00c2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-dev-cap-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(0, 194, 255, 0.7), transparent);
}

/* ---- Capability list (normal flow — scrolls past the sticky intro) ---- */

.ai-dev-cap-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-dev-cap-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

/* Toggled by ScrollTrigger (ai-development-services.js) on whichever card
   currently sits in the center of the viewport — ties the moving right
   column back to the fixed left column without moving anything. */
.ai-dev-cap-card.is-active {
  border-color: rgba(0, 194, 255, 0.45);
  background: linear-gradient(160deg, rgba(0, 194, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(0, 194, 255, 0.1),
    0 0 60px -12px rgba(0, 194, 255, 0.35),
    0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

.ai-dev-cap-card-num {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  transition: color 320ms ease;
}

.ai-dev-cap-card.is-active .ai-dev-cap-card-num {
  color: rgba(0, 194, 255, 0.16);
}

.ai-dev-cap-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 194, 255, 0.12);
  color: #00c2ff;
  transition: background 320ms ease, box-shadow 320ms ease;
}

.ai-dev-cap-card.is-active .ai-dev-cap-card-icon {
  background: rgba(0, 194, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.3), 0 0 24px rgba(0, 194, 255, 0.22);
}

.ai-dev-cap-card-icon svg {
  width: 24px;
  height: 24px;
}

.ai-dev-cap-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ai-dev-cap-card-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ai-dev-cap-card-text {
  color: rgba(226, 232, 240, 0.78);
  font-size: 15.5px;
  line-height: 1.75;
}

.ai-dev-cap-card-text a {
  color: #00c2ff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 194, 255, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms ease;
}

.ai-dev-cap-card-text a:hover {
  text-decoration-color: #00c2ff;
}

/* ---- Recognition: awards grid + photos ---- */

.ai-dev-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.ai-dev-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.ai-dev-badge:hover {
  border-color: rgba(0, 194, 255, 0.35);
  background: rgba(0, 194, 255, 0.05);
  transform: translateY(-3px);
}

.ai-dev-badge-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 194, 255, 0.12);
  color: #00c2ff;
}

.ai-dev-badge-icon svg {
  width: 20px;
  height: 20px;
}

.ai-dev-badge-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ai-dev-badge-text strong {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
}

.ai-dev-badge-text span {
  margin-top: 2px;
  color: rgba(226, 232, 240, 0.55);
  font-size: 11.5px;
  font-weight: 600;
}

.ai-dev-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.ai-dev-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-dev-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.ai-dev-photo:hover img {
  transform: scale(1.06);
}

.ai-dev-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 13, 0.9));
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.ai-dev-recognition {
  margin-top: 64px;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .ai-dev-cap-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-dev-cap-intro {
    position: static;
    top: auto;
  }

  .ai-dev-cap-desc {
    max-width: none;
  }
}

@media (max-width: 900px) {

  .ai-dev-cap-card {
    flex-direction: column;
    padding: 30px;
  }

  .ai-dev-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ai-dev-capabilities {
    padding: 72px 0;
  }

  .ai-dev-cap-card {
    padding: 26px;
    border-radius: 20px;
    gap: 16px;
  }

  .ai-dev-cap-card-title {
    font-size: 18px;
  }

  .ai-dev-cap-card-text {
    font-size: 14.5px;
  }

  .ai-dev-badges-grid {
    grid-template-columns: 1fr;
  }

  .ai-dev-photos {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-dev-cap-card,
  .ai-dev-badge,
  .ai-dev-photo img {
    transition: none !important;
  }
}

/* ==========================================================================
   Results — "validated in numbers" stat panel
   A single glass panel: heading top-left, a 3x2 grid of stat cards below.
   Desktop/tablet gets a GSAP-pinned stacking reveal (panel pins, cards fly
   in from a receded/scaled state with parallax); touch/small screens skip
   the pin entirely and just fade cards up on enter — see
   initAiDevResultsStack() in ai-development-services.js. All CSS below is
   the resting/final visual state; the JS only ever animates `opacity`/
   `transform`, so with JS disabled the section still renders correctly.
   ========================================================================== */

.ai-dev-results {
  position: relative;
  padding: 40px 0 130px;
  background: #04070d;
}

.ai-dev-results-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px 56px 48px;
  background: linear-gradient(155deg, #0a1424 0%, #04070d 55%, #05090f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.ai-dev-results-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 90% at 88% 28%, rgba(56, 152, 255, 0.85) 0%, rgba(30, 110, 230, 0.5) 32%, transparent 65%),
    radial-gradient(50% 70% at 80% 78%, rgba(0, 194, 255, 0.45) 0%, transparent 60%),
    radial-gradient(40% 55% at 102% 2%, rgba(124, 58, 237, 0.32) 0%, transparent 60%);
  filter: blur(8px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 32%, #000 58%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 32%, #000 58%, #000 100%);
}

.ai-dev-results-head {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-bottom: 56px;
}

.ai-dev-results-heading {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.ai-dev-results-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  perspective: 1400px;
}

.ai-dev-results-card {
  position: relative;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backface-visibility: hidden;
}

.ai-dev-results-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #00c2ff;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.7);
  transition: width 420ms ease;
}

.ai-dev-results-card:hover::after {
  width: 100%;
}

.ai-dev-results-value {
  display: block;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: text-shadow 320ms ease;
}

.ai-dev-results-card:hover .ai-dev-results-value {
  text-shadow: 0 0 28px rgba(0, 194, 255, 0.45);
}

.ai-dev-results-label {
  display: block;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.68);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .ai-dev-results-panel {
    padding: 44px 36px 40px;
  }

  .ai-dev-results-head {
    margin-bottom: 40px;
  }
}

@media (max-width: 900px) {
  .ai-dev-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }
}

@media (max-width: 640px) {
  .ai-dev-results {
    padding: 24px 0 80px;
  }

  .ai-dev-results-panel {
    padding: 36px 24px 32px;
    border-radius: 24px;
  }

  .ai-dev-results-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ai-dev-results-value {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-dev-results-card::after,
  .ai-dev-results-value {
    transition: none !important;
  }
}

/* ==========================================================================
   Service Slider — numbered list + auto-playing swiper
   Left column is a plain numbered button list (not a swiper); it drives the
   single swiper on the right (visual + description + checklist per slide)
   via `slideToLoop()`/`slideChange` — see the `.ai-dev-services-swiper`
   init in main.js. All motion here (crossfade, autoHeight, autoplay,
   pause-on-hover, loop) is native Swiper behavior, not custom JS.
   ========================================================================== */

.ai-dev-services {
  position: relative;
  padding: 10px 0 0;
  background: #04070d;
}

.ai-dev-services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 48px;
  padding-bottom: 56px;
}

.ai-dev-services-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.ai-dev-services-desc {
  padding-top: 4px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.ai-dev-services-card {
  position: relative;
  display: grid;
  grid-template-columns: 450px minmax(0, 1fr);
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.55);
  margin-bottom: 100px;
}

/* ---- Left: numbered service list ---- */

.ai-dev-services-list {
  border-right: 1px solid rgba(2, 6, 23, 0.08);
  padding: 8px 8px 8px 28px;
}

.ai-dev-services-list-track {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 6, 23, 0.18) transparent;
}

.ai-dev-services-list-track::-webkit-scrollbar {
  width: 4px;
}

.ai-dev-services-list-track::-webkit-scrollbar-thumb {
  background: rgba(2, 6, 23, 0.18);
  border-radius: 999px;
}

.ai-dev-services-list-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 20px 4px;
  border: none;
  border-top: 2px solid rgba(2, 6, 23, 0.08);
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: border-color 220ms ease;
}

.ai-dev-services-list-item.is-active {
  border-top-color: #0b1220;
}

.ai-dev-services-list-num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #2f6fed;
}

.ai-dev-services-list-title {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(2, 6, 23, 0.45);
  transition: color 220ms ease, font-weight 220ms ease;
}

.ai-dev-services-list-item.is-active .ai-dev-services-list-title {
  color: #0b1220;
  font-weight: 700;
}

.ai-dev-services-list-item:hover .ai-dev-services-list-title {
  color: #0b1220;
}

/* ---- Right: swiper (visual + info + checklist) ---- */

.ai-dev-services-main {
  min-width: 0;
}

.ai-dev-services-swiper {
  width: 100%;
}

.ai-dev-services-visual {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: linear-gradient(155deg, #0a1424 0%, #04070d 60%, #05090f 100%);
}

.ai-dev-services-visual-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.08) 1px, transparent 1px),
    radial-gradient(55% 80% at 78% 30%, rgba(56, 152, 255, 0.55) 0%, transparent 65%),
    radial-gradient(45% 60% at 15% 85%, rgba(124, 58, 237, 0.28) 0%, transparent 60%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 55%, transparent 100%);
}

.ai-dev-services-visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: rgba(4, 7, 13, 0.55);
  border: 1px solid rgba(0, 194, 255, 0.3);
  box-shadow: 0 30px 70px -20px rgba(0, 194, 255, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #00c2ff;
}

.ai-dev-services-visual-icon svg {
  width: 48px;
  height: 48px;
}

.ai-dev-services-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.ai-dev-services-info {
  position: relative;
  padding: 40px 44px 36px;
  background: linear-gradient(120deg, #ffffff 0%, #eef4ff 100%);
}

.ai-dev-services-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 12px 30px -14px rgba(2, 6, 23, 0.25);
  color: #2f6fed;
}

.ai-dev-services-info-icon svg {
  width: 24px;
  height: 24px;
}

.ai-dev-services-info-title {
  margin-bottom: 12px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0b1220;
}

.ai-dev-services-info-desc {
  max-width: 40ch;
  color: rgba(15, 23, 42, 0.62);
  font-size: 15px;
  line-height: 1.7;
}

.ai-dev-services-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.ai-dev-services-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, 0.14);
  background: #ffffff;
  color: #0b1220;
  font: inherit;
  cursor: pointer;
  appearance: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.ai-dev-services-arrow svg {
  width: 18px;
  height: 18px;
}

.ai-dev-services-arrow:hover {
  background: #0b1220;
  border-color: #0b1220;
  color: #ffffff;
  transform: translateY(-2px);
}

.ai-dev-services-know-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, 0.5);
  color: #0b1220;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.ai-dev-services-know-more svg {
  width: 14px;
  height: 14px;
}

.ai-dev-services-know-more:hover {
  background: #0b1220;
  color: #ffffff;
  transform: translateY(-2px);
}

.ai-dev-services-checklist {
  padding: 40px;
  background: linear-gradient(155deg, #3d7bff 0%, #1c49c9 100%);
}

.ai-dev-services-checklist ul {
  display: flex;
  flex-direction: column;
}

.ai-dev-services-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}

.ai-dev-services-checklist li:first-child {
  padding-top: 0;
}

.ai-dev-services-checklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ai-dev-services-check {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: #ffffff;
  color: #1c49c9;
}

.ai-dev-services-check svg {
  width: 12px;
  height: 12px;
}

/* ---- Responsive ---- */

@media (max-width: 1200px) {
  .ai-dev-services-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .ai-dev-services-head {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 40px;
  }

  .ai-dev-services-foot {
    grid-template-columns: 1fr;
  }

  .ai-dev-services-checklist {
    padding: 32px 44px 40px;
  }
}

@media (max-width: 860px) {
  .ai-dev-services-card {
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }

  .ai-dev-services-list {
    border-right: none;
    border-bottom: 1px solid rgba(2, 6, 23, 0.08);
    padding: 20px 8px 4px 20px;
  }

  .ai-dev-services-list-track {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
    gap: 8px;
    padding-right: 20px;
    padding-bottom: 12px;
  }

  .ai-dev-services-list-item {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 16px;
    border-top: none;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.04);
    white-space: nowrap;
  }

  .ai-dev-services-list-item.is-active {
    background: #0b1220;
  }

  .ai-dev-services-list-item.is-active .ai-dev-services-list-title {
    color: #ffffff;
  }

  .ai-dev-services-visual {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .ai-dev-services-card {
    border-radius: 22px;
    margin-bottom: 64px;
  }

  .ai-dev-services-info,
  .ai-dev-services-checklist {
    padding: 28px 24px;
  }

  .ai-dev-services-controls {
    flex-wrap: wrap;
  }

  .ai-dev-services-know-more {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .ai-dev-services-visual {
    height: 220px;
  }

  .ai-dev-services-visual-icon {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .ai-dev-services-visual-icon svg {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-dev-services-arrow,
  .ai-dev-services-know-more,
  .ai-dev-services-list-item,
  .ai-dev-services-list-title {
    transition: none !important;
  }
}
