/* ITF — Services page (loaded after style.css). Measured from the 1440px mockup. */

/* ---------- Hero ---------- */
.svc-hero { min-height: 650px; }
.svc-hero .layer-back { background-position: 40% 42%; }
.svc-hero .hero-shade { background:
  linear-gradient(180deg, transparent 75%, rgba(5, 11, 22, .6)),
  linear-gradient(90deg, rgba(6, 13, 25, .88), rgba(6, 13, 25, .5) 32%, rgba(6, 13, 25, .1) 55%, rgba(6, 13, 25, .35)); }
.svc-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 640px; gap: 10px; align-items: start; min-height: 570px; }
.svc-hero .hero-copy { padding: 66px 0 40px 12px; }
.svc-hero .hero-copy > p { max-width: 560px; }
.svc-hero .hero-actions .btn-primary { min-width: 250px; }
.svc-hero .hero-actions .btn-outline { min-width: 212px; }
.svc-hero .hero-meta { gap: 0; }
.svc-hero .hero-meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #4d6582; margin: 0 22px; }
.svc-hero .hero-meta .ic { color: #2aa8ff; font-size: 17px; }

/* 3D stage */
.stage-wrap { position: relative; height: 560px; margin-right: -40px; perspective: 1500px; perspective-origin: 40% 40%; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--srx, 6deg)) rotateY(var(--sry, -10deg)); transition: transform .9s cubic-bezier(.2, .8, .2, 1); animation: stageIn 1.4s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
@keyframes stageIn { from { opacity: 0; transform: rotateX(18deg) rotateY(-32deg) translateZ(-160px); } }
.stage.is-live { transition-duration: .25s; }

.floor { position: absolute; left: -30px; right: -40px; bottom: -20px; height: 150px; transform: translateZ(-40px); pointer-events: none; }
.floor i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px solid rgba(60, 170, 255, .35); transform: translate(-50%, -50%); box-shadow: 0 0 18px rgba(40, 150, 255, .25), inset 0 0 18px rgba(40, 150, 255, .15); }
.floor i:nth-child(1) { width: 92%; height: 70%; }
.floor i:nth-child(2) { width: 68%; height: 48%; border-style: dashed; border-color: rgba(60, 170, 255, .28); animation: spinFloor 40s linear infinite; }
.floor i:nth-child(3) { width: 42%; height: 28%; border-color: rgba(90, 200, 255, .45); }
@keyframes spinFloor { to { transform: translate(-50%, -50%) rotate(360deg); } }

.screen, .laptop-screen { position: absolute; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #0a1a33, #050e1d); border: 1px solid rgba(90, 160, 230, .35); box-shadow: 0 0 30px rgba(30, 120, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .03); }
.screen svg, .laptop-screen svg { width: 100%; height: 100%; }
.scr-left { left: 0; top: 178px; width: 120px; height: 254px; transform: translateZ(-30px) rotateY(26deg); }
.laptop { position: absolute; left: 60px; top: 160px; width: 590px; height: 370px; transform-style: preserve-3d; transform: translateZ(0); }
.laptop-screen { left: 168px; top: 0; width: 420px; height: 292px; border: 6px solid #1a2433; border-radius: 10px; }
.laptop-base { position: absolute; left: 0; right: 0; top: 292px; height: 70px; background: linear-gradient(180deg, #8e99a8, #4b5564 40%, #262e3a); clip-path: polygon(30% 0, 100% 0, 96% 100%, 0 100%); }
.laptop-base::after { content: ""; position: absolute; left: 34%; right: 8%; top: 8px; height: 40px; background: repeating-linear-gradient(90deg, #1c232e 0 16px, #2b3341 16px 18px); clip-path: polygon(4% 0, 100% 0, 98% 100%, 0 100%); opacity: .9; }

.glass {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; border-radius: 14px; color: #fff; text-align: center;
  background: linear-gradient(160deg, rgba(70, 130, 210, .38), rgba(12, 32, 66, .62));
  border: 1.5px solid rgba(130, 205, 255, .65);
  box-shadow: 0 0 34px rgba(40, 150, 255, .4), inset 0 0 24px rgba(80, 180, 255, .18);
  backdrop-filter: blur(6px);
  transform: translateZ(var(--z, 60px)) rotateY(var(--gy, -12deg)) rotateZ(var(--gz, -4deg)) translateY(var(--float, 0px));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.glass small { position: absolute; left: 14px; top: 10px; font-size: 9px; letter-spacing: .08em; color: rgba(200, 230, 255, .45); }
.glass .g-ic { width: 62px; height: 62px; color: #3fb8ff; filter: drop-shadow(0 0 10px rgba(63, 184, 255, .7)); }
.glass b { font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1.12; letter-spacing: .01em; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.g-copy { left: 104px; top: 6px; width: 182px; height: 226px; --z: 70px; --gy: -14deg; --gz: -5deg; }
.g-bots { left: 322px; top: 30px; width: 218px; height: 246px; --z: 50px; --gy: -10deg; --gz: -6deg; }
.g-dev { left: 165px; top: 276px; width: 212px; height: 226px; --z: 110px; --gy: -8deg; --gz: -2deg; }
.g-dev .g-ic { color: #3fa9ff; }
.g-bots .g-ic { width: 70px; height: 70px; }

/* ---------- Light zone ---------- */
.svc-light { background:
  radial-gradient(900px 300px at 85% 4%, rgba(198, 216, 236, .55), transparent 70%),
  linear-gradient(180deg, #f2f6fb, #eef3f9); }
.svc-light .eyebrow { color: #5d7fa8; }
.svc-light .h-xl { font-size: 42px; letter-spacing: -.025em; }

.core { padding: 48px 0 0; }
.core-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.core-head p { padding: 34px 0 0 30px; font-size: 15px; line-height: 1.55; color: #4f6178; max-width: 590px; }
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.core-card {
  position: relative; height: 520px; padding: 28px 26px; border-radius: 10px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 70% at 80% 100%, rgba(30, 110, 230, .35), transparent 60%), linear-gradient(180deg, #0c2850 0%, #0a1f42 45%, #061430 100%);
  box-shadow: 0 18px 40px rgba(10, 30, 70, .2);
}
.core-card:hover { box-shadow: 0 28px 50px rgba(10, 30, 70, .32); }
.core-card > :not(.core-art):not(.glare) { position: relative; z-index: 2; }
.core-num { display: block; font-family: var(--head); font-size: 23px; font-weight: 700; color: #4cc3ff; }
.core-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.core-title h3 { font-family: var(--head); font-size: 25px; font-weight: 700; letter-spacing: -.01em; }
.core-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #fff; background: linear-gradient(180deg, #3cc0ff, #129af2); box-shadow: 0 6px 18px rgba(30, 160, 255, .45); transition: transform .25s; }
.core-go:hover { transform: scale(1.1) rotate(-8deg); }
.core-card > p { margin-top: 14px; max-width: 290px; font-size: 14.5px; line-height: 1.55; color: #dce6f2; }
.checks { display: grid; gap: 13px; margin-top: 24px; font-size: 14.5px; color: #f1f5fa; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks li::before { content: ""; flex: none; width: 19px; height: 19px; border-radius: 50%; background: #2bb3ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 10px rgba(43, 179, 255, .5); }
.core-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px)) scale(1.02); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.core-card.is-tilting .core-art { transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px)) scale(1.06); transition-duration: .15s; }

.benefits { padding: 44px 0 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 22px; }
.benefit-grid article { padding: 14px 6px 22px; text-align: center; border-radius: 10px; background: rgba(255, 255, 255, .75); border: 1px solid #e6edf5; box-shadow: 0 8px 22px rgba(19, 41, 75, .04); }
.b-ic { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto; border-radius: 12px; font-size: 34px; color: #1690f2; background: linear-gradient(180deg, #eef6ff, #e3f0fd); box-shadow: 0 6px 16px rgba(22, 144, 242, .12); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.b-ic .ic { filter: drop-shadow(0 0 6px rgba(22, 144, 242, .35)); }
.benefit-grid article:hover .b-ic { transform: rotateY(360deg); }
.benefit-grid h4 { margin-top: 18px; font-family: var(--head); font-size: 14px; white-space: nowrap; font-weight: 700; }
.benefit-grid p { margin-top: 10px; font-size: 13px; line-height: 1.45; color: #718198; }

.how { padding: 48px 0 0; }
.how .title-row .link-more { margin-bottom: 22px; font-size: 14px; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 20px; }
.how-card { position: relative; display: flex; gap: 18px; align-items: flex-start; min-height: 157px; padding: 16px 14px; border-radius: 10px; background: rgba(255, 255, 255, .8); border: 1px solid #e6edf5; box-shadow: 0 8px 22px rgba(19, 41, 75, .04); }
.how-card:not(:last-child)::after { content: ""; position: absolute; right: -27px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%231a9bf0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.h-ic { flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 12px; font-size: 34px; color: #1690f2; background: linear-gradient(180deg, #eef6ff, #e3f0fd); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.h-ic .ic { filter: drop-shadow(0 0 7px rgba(22, 144, 242, .45)); }
.how-card:hover .h-ic { transform: rotateY(360deg); }
.how-card div > span { font-size: 14px; font-weight: 700; color: #1a8ff0; }
.how-card h4 { margin-top: 6px; font-family: var(--head); font-size: 15.5px; font-weight: 700; }
.how-card p { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #718198; }

.platforms { padding: 50px 0 44px; }
.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 24px; }
.plat { display: flex; align-items: center; justify-content: center; gap: 8px; height: 86px; border-radius: 10px; background: rgba(255, 255, 255, .8); border: 1px solid #e6edf5; box-shadow: 0 8px 22px rgba(19, 41, 75, .04); color: #1d3150; white-space: nowrap; }
.plat svg { height: 32px; width: auto; }
.plat.p-mt { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.plat.p-mt b { font-weight: 600; font-size: 21px; }
.plat.p-tv { font-size: 21px; font-weight: 600; }
.plat.p-tv svg { height: 20px; }
.plat.p-ct { font-family: var(--head); font-style: italic; font-weight: 800; font-size: 28px; letter-spacing: -.03em; }
.plat.p-dx { font-size: 28px; font-weight: 500; gap: 4px; }
.plat.p-dx b { font-family: var(--head); font-weight: 800; letter-spacing: -.04em; }

/* ---------- CTA ---------- */
.svc-cta { position: relative; overflow: hidden; color: #fff; background: #08111f; min-height: 492px; }
.cta-scene { position: absolute; inset: 0; }
.cta-layer { position: absolute; inset: -30px 0; background: right center / cover no-repeat; will-change: transform; }
.cta-back { background-image: url("../assets/cta-back.svg?v=20261008171438"); }
.cta-front { background-image: url("../assets/cta-front.svg?v=20261008171438"); }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 14, 27, .96) 0%, rgba(7, 14, 27, .85) 30%, rgba(7, 14, 27, .2) 55%, transparent 70%); }
.cta-body { position: relative; z-index: 2; padding: 52px 0 56px; }
.svc-cta .eyebrow { color: #2fb8ff; font-weight: 600; }
.svc-cta .h-xl { font-size: 40px; margin-top: 10px; }
.svc-cta p { margin-top: 16px; font-size: 16px; line-height: 1.5; color: #dde6f1; }
.svc-cta .hero-actions { margin: 30px 0 0; }
.svc-cta .btn-primary { min-width: 250px; }
.svc-cta .btn-outline { min-width: 192px; }
.cta-stats { display: flex; gap: 70px; margin-top: 52px; }
.cta-stats > div { display: flex; align-items: center; gap: 18px; }
.cta-stats .ic { font-size: 38px; color: #2fb8ff; filter: drop-shadow(0 0 8px rgba(47, 184, 255, .5)); }
.cta-stats strong { display: block; font-family: var(--head); font-size: 27px; font-weight: 700; line-height: 1.1; }
.cta-stats strong span { font-size: inherit; color: inherit; }
.cta-stats span { font-size: 14.5px; color: #c9d5e3; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .svc-hero-inner { grid-template-columns: 1fr 560px; }
  .stage-wrap { transform: scale(.88); transform-origin: right top; }
  .benefit-grid { gap: 14px; }
}

@media (max-width: 1180px) {
  .svc-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .svc-hero .hero-copy { padding: 40px 0 0; }
  .stage-wrap { width: 640px; max-width: 100%; margin: 0 auto 30px; transform: none; }
  .core-head { grid-template-columns: 1fr; gap: 10px; }
  .core-head p { padding: 0; }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .how-card:nth-child(2)::after { display: none; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-shade { background: linear-gradient(90deg, rgba(7, 14, 27, .95), rgba(7, 14, 27, .7) 60%, rgba(7, 14, 27, .35)); }
}

@media (max-width: 760px) {
  .svc-hero .hero-meta { flex-wrap: wrap; gap: 10px 0; }
  .svc-hero .hero-meta li + li::before { margin: 0 12px; }
  .svc-hero h1 { font-size: 35px; }
  .stage-wrap { height: 330px; margin: 0 -16px 10px; overflow: hidden; }
  .stage { width: 640px; transform: scale(.58) rotateX(6deg) rotateY(-10deg); transform-origin: 0 0; left: 4px; }
  .svc-light .h-xl, .svc-cta .h-xl { font-size: 30px; }
  .core-grid, .how-grid { grid-template-columns: 1fr; }
  .core-card { height: 500px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .how-card::after { display: none; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .plat { height: 70px; }
  .how-card { min-height: 0; }
  .plat.p-mt { font-size: 15px; }
  .plat.p-mt b { font-size: 16px; }
  .plat.p-tv { font-size: 17px; }
  .plat svg { height: 24px; }
  .plat.p-tv svg { height: 15px; }
  .plat.p-ct, .plat.p-dx { font-size: 22px; }
  .cta-stats { flex-direction: column; gap: 18px; margin-top: 36px; }
  .cta-body .hero-actions { flex-direction: column; }
}
