/* Feat AI Services page — extends styles.css, same tokens and type */

/* Poppins for the page; monospace labels keep their own font stack */
body.services-page { font-family: "Poppins", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.services-page button, .services-page input { font-family: inherit; }

.services-page .site-header:not(.scrolled) .primary-nav > a:not(.button) { color: rgba(255,255,255,.82); }
.services-page .site-header:not(.scrolled) .primary-nav > a:not(.button):hover { color: #ff977d; }
.services-page .site-header:not(.scrolled) .menu-toggle span:not(.sr-only) { background: #fff; }

/* Hero */
.svc-hero {
  position: relative; overflow: hidden; padding: 168px 0 96px; color: #fff;
  background-color: #080d1e;
  background-image: radial-gradient(ellipse 70% 80% at 72% 40%, rgba(49,91,232,.32), transparent 60%), linear-gradient(160deg, #111a37, #080d1e 70%);
}
.svc-hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 75%); }
.svc-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.svc-crumb { display: inline-flex; gap: 8px; margin-bottom: 26px; color: #aab1c2; font-size: 13px; font-weight: 650; }
.svc-crumb:hover { color: #ff977d; }
.svc-hero .eyebrow { color: #aab1c2; }
.svc-hero h1 { margin: 0; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.045em; }
.svc-hero h1 em { color: #ff977d; }
.svc-lead { max-width: 620px; margin: 26px 0 0; color: #c9cfdd; font-size: clamp(18px, 2vw, 21px); }
.svc-link-light { color: #fff; border-color: rgba(255,255,255,.4); }
.svc-link-light:hover { color: #ff977d; border-color: #ff977d; }

.svc-hero-stat { position: relative; padding: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 90px rgba(0,0,0,.3); }
.svc-avatars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-bottom: 26px; }
.svc-avatars i { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, currentColor 24%, transparent 26%), radial-gradient(ellipse at 50% 112%, currentColor 46%, transparent 48%); color: #ff977d; opacity: .9; animation: pop .5s var(--d) both; }
.svc-avatars i:nth-child(5n+2) { color: #b8a5ff; }
.svc-avatars i:nth-child(5n+3) { color: #7fe3f0; }
.svc-avatars i:nth-child(5n+4) { color: #fff; }
.svc-avatars i:nth-child(5n) { color: #ffb36b; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
.svc-hero-stat strong { display: block; color: var(--orange); font-size: clamp(72px, 9vw, 120px); line-height: .95; letter-spacing: -.05em; }
.svc-hero-stat > span { display: block; margin-top: 6px; font-size: 24px; font-weight: 800; }
.svc-ready { display: inline-block; margin-top: 18px; padding: 9px 16px; border-radius: 99px; color: #04202a; background: #3ddc97; font-size: 14px; }

/* Film: dark top band behind the upper part of the frame, white below */
.svc-film {
  position: relative;
  margin-top: -1px; /* overlaps hero by 1px so no seam shows */
  padding: 0 0 96px;
  background: linear-gradient(180deg, #080d1e 0, #080d1e 120px, #fff 120px);
}
.svc-film-frame { overflow: hidden; border-radius: 26px; background: #000; box-shadow: 0 40px 100px rgba(15,23,48,.35); }
.svc-film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.svc-film-caption { display: flex; justify-content: space-between; gap: 16px; margin: 16px 4px 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Challenge */
.svc-problem { padding-top: 40px; background: #fff; }
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.svc-step { display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(20,30,60,.06); }
.svc-step-num { color: var(--orange-deep); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.svc-step h3 { margin: 10px 0 8px; font-size: 21px; line-height: 1.2; }
.svc-step p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.svc-chips, .svc-queue { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.svc-chips i, .svc-queue span { padding: 6px 10px; border-radius: 99px; font-size: 11px; font-style: normal; font-weight: 700; }
.svc-chips i { color: #9b3a1e; background: #fff1ec; }
.svc-queue span { color: #b42c2c; background: #ffe9e6; border: 1px solid #f7c6bf; }
.svc-seats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: auto; }
.svc-seats i { display: grid; place-items: center; height: 34px; border: 1.5px dashed #c3c9d6; border-radius: 10px; color: var(--orange-deep); font-style: normal; font-weight: 900; }
.svc-gap { width: 100%; height: auto; margin-top: auto; }
.svc-gap text { font: 800 11px Poppins, sans-serif; fill: var(--muted); }

/* How it works */
.svc-model { color: #fff; background: var(--ink); overflow: hidden; }
.svc-bridge { position: relative; display: grid; gap: 22px; padding: 46px 30px 30px; border: 2px dashed rgba(61,220,151,.7); border-radius: 30px; background: radial-gradient(ellipse at 50% 50%, rgba(255,121,88,.12), transparent 60%); }
.svc-env-label { position: absolute; left: 26px; top: -17px; padding: 6px 14px; border-radius: 99px; color: #04202a; background: #3ddc97; font-size: 13px; font-weight: 800; }
.svc-row small { display: block; margin-bottom: 10px; color: #aab1c2; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.svc-row-items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.svc-row-items span { padding: 14px 12px; border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--orange); border-radius: 12px; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 750; text-align: center; }
.svc-row-items--tools span { border-top-color: rgba(255,255,255,.14); border-radius: 99px; color: #d4d8e2; font-weight: 650; }
.svc-band { position: relative; display: grid; place-items: center; min-height: 64px; border-radius: 40px; background: linear-gradient(90deg, rgba(255,121,88,.15), var(--orange) 22%, var(--orange-deep) 78%, rgba(237,90,50,.15)); box-shadow: 0 0 60px rgba(255,121,88,.45); }
.svc-band span { font-size: 16px; font-weight: 900; letter-spacing: .32em; text-transform: uppercase; }
.svc-env-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.svc-env-chips span { padding: 8px 14px; border: 1px solid #3ddc97; border-radius: 99px; color: #bdf5dc; background: rgba(61,220,151,.12); font-size: 13px; font-weight: 700; }

/* Skills */
.svc-skills { background: #f7f8fb; }
.svc-skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-skill { padding: 26px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(20,30,60,.06); }
.svc-skill::before { content: ""; display: block; width: 42px; height: 5px; margin-bottom: 16px; border-radius: 4px; background: var(--orange); }
.svc-skill h3 { margin: 0 0 16px; font-size: 21px; }
.svc-skill ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.svc-skill li { padding: 7px 11px; border: 1px solid #e1e3ee; border-radius: 9px; background: #f1f2f8; font-size: 13px; font-weight: 650; }
.svc-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

/* Work reference */
.svc-work { color: #fff; background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(49,91,232,.22), transparent 60%), var(--ink); }
.svc-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-case { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); transition: transform .25s ease, box-shadow .25s ease; }
.svc-case:hover { transform: translateY(-5px); box-shadow: 0 0 0 3px var(--orange), 0 30px 80px rgba(0,0,0,.35); }
.svc-case-head { display: flex; justify-content: space-between; align-items: center; }
.svc-model-tag { padding: 7px 13px; border-radius: 99px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 750; }
.svc-live { color: #1d9b66; font-size: 13px; font-weight: 800; }
.svc-case h3 { margin: 18px 0 6px; font-size: 23px; line-height: 1.2; }
.svc-case > p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.svc-case dl { display: flex; justify-content: space-between; gap: 18px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-case dl div:last-child { text-align: right; }
.svc-case dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.svc-case dd { margin: 4px 0 0; font-size: 15px; font-weight: 750; }

/* CTA */
.svc-cta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 34px; }
.svc-cta-pills span { padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 1060px) {
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-hero-stat { max-width: 520px; }
  .svc-steps, .svc-skill-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row-items { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .services-page .site-header:not(.scrolled) .primary-nav > a:not(.button) { color: #41495c; }
  .svc-hero { padding: 120px 0 70px; }
  .svc-film { padding-bottom: 70px; background: linear-gradient(180deg, #080d1e 0, #080d1e 60px, #fff 60px); }
  .svc-film-frame { border-radius: 16px; }
  .svc-film-caption { flex-direction: column; gap: 4px; }
  .svc-steps, .svc-skill-grid, .svc-work-grid { grid-template-columns: 1fr; }
  .svc-bridge { padding: 40px 16px 20px; }
  .svc-row-items { grid-template-columns: repeat(2, 1fr); }
  .svc-case { padding: 22px; }
  .svc-case dl { flex-direction: column; }
  .svc-case dl div:last-child { text-align: left; }
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .svc-avatars i { animation: none; }
  .svc-case { transition: none; }
  .svc-case:hover { transform: none; }
}