/* ITF — Custom Development (light page, loaded after style.css). Measured from the 1440px mockup. */

:root { --container: 1220px; --cd-blue: #1688f3; --cd-navy: #0c1a3a; --cd-text: #4a5b74; --cd-line: #e3ecf6; }
body { background: #fff; }

/* ---------- Shared bits ---------- */
.cd-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: #33415a; }
.cd-eyebrow.light { color: #dbe6f3; }
.cd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cd-head h2 { font-family: var(--head); font-size: 29px; font-weight: 800; letter-spacing: -.015em; color: var(--cd-navy); }
.cd-head p { max-width: 760px; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--cd-text); }
.cd-link { flex: none; display: flex; align-items: center; gap: 8px; padding-bottom: 26px; font-size: 13.5px; font-weight: 600; color: #1260c9; }
.cd-link .ic, .proj-btn .ic, .s-go .ic { transition: transform .2s; }
.cd-link:hover .ic, .proj-btn:hover .ic { transform: translateX(3px); }
.cd-ghost { color: #1260c9; background: #fff; border: 1px solid #bcd6f3; box-shadow: 0 6px 16px rgba(22, 136, 243, .08); }
.cd-ghost .ic { font-size: 22px; color: var(--cd-blue); }
.cd-ghost:hover { border-color: #7fb8f5; }
.cd-ghost:hover .ic { transform: none; }
.cd-white { height: 50px; min-width: 270px; background: #fff; color: #0b5bc4; }
.cd-white:hover { transform: translateY(-1px); }

/* ---------- Hero ---------- */
.cd-hero { min-height: 0; background: #eaf3fd; color: var(--cd-navy); }
.cd-hero-bg { background: url("../assets/hero-light.svg?v=20261008171438") center bottom / cover no-repeat; }
.cd-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 250, 255, .96), rgba(246, 250, 255, .85) 40%, rgba(246, 250, 255, .2) 62%, transparent), linear-gradient(0deg, #fff, transparent 22%); }
.cd-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 600px; gap: 20px; align-items: center; padding: 18px 0 48px; }
.cd-hero .hero-copy { padding: 0; }
.cd-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 28px; font-size: 12px; color: #6b7a90; }
.cd-crumbs .ic { font-size: 13px; opacity: .6; }
.cd-crumbs a:hover { color: #1260c9; }
.cd-crumbs span { color: var(--cd-navy); font-weight: 500; }
.cd-hero h1 { margin: 12px 0 14px; font-family: var(--head); font-size: 54px; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--cd-navy); text-shadow: none; }
.cd-hero .hero-copy > p { max-width: 560px; font-size: 18px; line-height: 1.45; color: #33415a; }
.cd-hero .hero-actions { margin: 28px 0 0; gap: 18px; }
.cd-hero .btn-primary { min-width: 250px; }
.cd-hero .cd-ghost { min-width: 160px; }
.cd-feats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 40px; }
.cd-feats > div { display: flex; align-items: center; gap: 14px; }
.f-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--cd-blue); font-size: 22px; box-shadow: 0 6px 16px rgba(22, 136, 243, .12); }
.cd-feats p { font-size: 11.5px; color: #6b7a90; white-space: nowrap; }
.cd-feats b { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--cd-navy); }

.cd-visual { position: relative; height: 470px; perspective: 1200px; }
.cd-monitor { position: absolute; right: -14px; bottom: -14px; width: 540px; filter: drop-shadow(0 30px 40px rgba(12, 40, 90, .18)); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-8px); } }
.cd-float { position: absolute; left: 0; top: 0; z-index: 2; width: 252px; padding: 18px 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 22px 44px rgba(12, 40, 90, .16); transform: rotate(-4deg); }
.cd-float.tiltable { transform: perspective(1000px) rotate(-4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.cd-float > b { display: block; font-family: var(--head); font-size: 17px; font-weight: 800; line-height: 1.2; color: var(--cd-navy); }
.cd-float ul { display: grid; gap: 9px; margin-top: 14px; font-size: 12px; color: #33415a; }
.cd-float li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.cd-float .ic { font-size: 16px; color: var(--cd-blue); }

/* ---------- Services ---------- */
.cd-services { padding: 30px 0 34px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; perspective: 1400px; }
.svc-card { position: relative; overflow: hidden; min-height: 290px; padding: 22px 22px 20px; border-radius: 12px; background: #fff; border: 1px solid #e8eff7; box-shadow: 0 12px 30px rgba(20, 60, 120, .06); }
.svc-card:hover { box-shadow: 0 20px 40px rgba(20, 60, 120, .12); }
.svc-top { position: relative; z-index: 1; display: grid; grid-template-columns: 52px 1fr 24px; gap: 16px; }
.s-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #eaf4ff; color: var(--cd-blue); font-size: 28px; }
.svc-top h3 { margin-top: 2px; font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--cd-navy); }
.svc-top p { max-width: 240px; margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--cd-text); }
.s-go { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; color: #1260c9; font-size: 18px; }
.s-go:hover .ic { transform: translateX(3px); }
.svc-card ul { position: relative; z-index: 1; display: grid; gap: 10px; margin-top: 24px; font-size: 13px; color: #33415a; }
.svc-card li { display: flex; align-items: center; gap: 10px; }
.svc-card li::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%; background: #1688f3 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.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc-art { position: absolute; right: 16px; bottom: 16px; width: 140px; height: 110px; pointer-events: none; }
.svc-art svg { width: 100%; height: 100%; }
.art-bell { display: grid; place-items: center; right: 26px; bottom: 70px; width: 64px; height: 64px; }
.art-bell span { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: #fff; color: var(--cd-blue); font-size: 32px; box-shadow: 0 12px 26px rgba(22, 136, 243, .2); animation: bellSwing 3.2s ease-in-out infinite; transform-origin: 50% 20%; }
.art-bell i { position: absolute; right: 13px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px #fff; }
@keyframes bellSwing { 0%, 60%, 100% { rotate: 0deg; } 66% { rotate: 12deg; } 72% { rotate: -10deg; } 78% { rotate: 6deg; } 84% { rotate: -3deg; } }
.art-dash { right: 14px; bottom: 18px; width: 116px; height: 88px; }
.mini-dash { width: 100%; height: 100%; padding: 6px; border-radius: 6px; background: #fff; border: 1px solid #e3ecf6; box-shadow: 0 12px 24px rgba(20, 60, 120, .12); transform: perspective(400px) rotateY(-14deg); }
.md-bar { display: block; height: 6px; border-radius: 2px; background: #dbe8f8; }
.md-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 5px; }
.md-grid span { height: 16px; border-radius: 3px; background: linear-gradient(180deg, #eaf4ff, #d4e7fb); }
.md-grid span:nth-child(2) { background: linear-gradient(180deg, #e3f8ed, #c4efd8); }
.md-rows { display: grid; gap: 4px; margin-top: 6px; }
.md-rows i { height: 6px; border-radius: 2px; background: linear-gradient(90deg, #e9eff6 60%, #22c55e 60% 72%, #e9eff6 72%); }
.md-rows i:nth-child(2n) { background: linear-gradient(90deg, #e9eff6 60%, #ef4444 60% 70%, #e9eff6 70%); }
.art-server { right: 6px; bottom: 6px; width: 130px; height: 110px; }
.art-doc { right: 22px; bottom: 26px; width: 80px; height: 80px; }
.art-doc .doc { position: absolute; left: 0; top: 0; display: grid; align-content: start; gap: 6px; width: 54px; height: 68px; padding: 14px 10px; border-radius: 6px; background: linear-gradient(180deg, #e6f1fd, #bcd8f7); box-shadow: 0 10px 20px rgba(22, 136, 243, .15); }
.art-doc .doc i { height: 4px; border-radius: 2px; background: #5d9de8; }
.art-doc .doc i:nth-child(2n) { width: 70%; }
.art-doc .gear { position: absolute; right: 0; bottom: 0; font-size: 40px; color: #1d6fe0; animation: spin 9s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Process ---------- */
.cd-process { padding: 30px 0 40px; background: linear-gradient(180deg, #e9f3fd, #f2f8fe); }
.cd-slider { position: relative; margin-top: 12px; }
.sl-btn { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 1px solid #e3ecf6; border-radius: 50%; background: #fff; color: #33415a; font-size: 18px; box-shadow: 0 8px 18px rgba(20, 60, 120, .1); transition: color .2s, opacity .2s; }
.sl-btn:hover { color: #1260c9; }
.sl-btn:disabled { opacity: .4; cursor: default; }
.sl-btn.prev { left: -64px; } .sl-btn.next { right: -64px; }
.proc-track { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 30px; margin: 0; padding: 14px 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.proc-track::-webkit-scrollbar, .proj-track::-webkit-scrollbar { display: none; }
.proc-track li { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; padding: 30px 14px 22px; border-radius: 10px; background: #fff; text-align: center; box-shadow: 0 10px 24px rgba(20, 60, 120, .06); }
.proc-track li:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 50%; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%231688f3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.proc-track .n { position: absolute; top: -12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 14px rgba(20, 60, 120, .18); }
.proc-track li > .ic { font-size: 30px; color: var(--c); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.proc-track li:hover > .ic { transform: rotateY(360deg); }
.proc-track b { margin-top: 14px; font-size: 14px; color: var(--cd-navy); }
.proc-track p { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--cd-text); }

/* ---------- Projects ---------- */
.cd-projects { padding: 30px 0 34px; }
.proj-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 26px) / 3); gap: 26px; padding: 12px 2px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.proj-card { scroll-snap-align: start; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid #e8eff7; box-shadow: 0 12px 30px rgba(20, 60, 120, .07); }
.proj-cover { position: relative; height: 190px; background: #061633 center / cover no-repeat; }
.proj-cover .kind { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 5px; background: rgba(5, 12, 26, .7); color: #fff; font-size: 11px; font-weight: 500; }
.proj-cover .tags { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.proj-cover .tags i { padding: 5px 10px; border-radius: 5px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 11px; font-style: normal; backdrop-filter: blur(4px); }
.proj-body { padding: 16px 22px 22px; }
.proj-body h3 { font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--cd-navy); }
.proj-body p { min-height: 40px; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--cd-text); }
.proj-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin-top: 14px; padding: 0 16px; border: 1px solid #bcd6f3; border-radius: 6px; font-size: 13px; font-weight: 600; color: #1260c9; transition: background .2s, border-color .2s; }
.proj-btn:hover { background: #eef6ff; border-color: #7fb8f5; }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.sl-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #c9d9ec; transition: width .3s, background .3s; }
.sl-dots button[aria-selected="true"] { width: 20px; background: var(--cd-blue); }

/* ---------- Platforms ---------- */
.cd-platforms { overflow: hidden; padding: 34px 0 0; background: linear-gradient(180deg, #f2f8fe, #e8f2fd); }
.cd-plat-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: end; }
.cd-plat-grid > div:first-child { padding-bottom: 34px; }
.mt-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 22px; }
.mt-card { display: flex; gap: 22px; align-items: center; padding: 22px 26px; border-radius: 10px; background: #fff; border: 1px solid #e8eff7; box-shadow: 0 12px 30px rgba(20, 60, 120, .06); }
.mt-ball { flex: none; width: 76px; height: 76px; filter: drop-shadow(0 8px 12px rgba(20, 60, 120, .2)); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.mt-card:hover .mt-ball { transform: rotateY(360deg); }
.mt-card h3 { font-family: var(--head); font-size: 16px; font-weight: 700; color: var(--cd-navy); }
.mt-card p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--cd-text); }
.mt-card .proj-btn { margin-top: 12px; }
.mt-visual { position: relative; height: 290px; }
.mt-word { position: absolute; left: 0; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 40px; font-weight: 800; letter-spacing: -.01em; color: #c3d5ea; }
.mt-word .ic { font-size: 40px; color: #c3d5ea; }
.mt-visual img { position: absolute; left: 60px; bottom: -4px; width: 360px; max-width: none; transform: perspective(900px) rotateY(-12deg); transform-origin: left bottom; }

/* ---------- Why ---------- */
.cd-why { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.why-media { position: relative; overflow: hidden; min-height: 400px; color: #fff; clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
.why-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 14, 27, .9), rgba(7, 14, 27, .5) 55%, rgba(7, 14, 27, .1)), url("../assets/cta-back.svg?v=20261008171438") 70% center / cover no-repeat; }
.why-laptop { position: absolute; right: 30px; bottom: 30px; width: 260px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.why-copy { position: relative; z-index: 1; max-width: 460px; padding: 40px 0 44px; margin-left: max(24px, calc((100vw - var(--container)) / 2)); }
.why-copy h2 { margin-top: 12px; font-family: var(--head); font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.why-copy p { max-width: 400px; margin-top: 16px; font-size: 16px; line-height: 1.5; color: #e1e8f2; }
.why-copy .btn { margin-top: 26px; }
.why-list { display: grid; align-content: center; padding: 30px max(24px, calc((100vw - var(--container)) / 2)) 30px 46px; }
.why-list li { display: flex; align-items: center; gap: 26px; padding: 18px 0; }
.why-list li + li { border-top: 1px solid #edf2f8; }
.w-ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #eef6ff; color: var(--cd-blue); font-size: 26px; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.why-list li:hover .w-ic { transform: rotateY(360deg); }
.why-list p { font-size: 13.5px; color: var(--cd-text); }
.why-list b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--cd-navy); }

/* ---------- FAQ ---------- */
.cd-faq { padding: 34px 0 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; align-items: start; margin-top: 8px; }
.faq-grid details { border-radius: 8px; background: #fff; border: 1px solid #e3ecf6; box-shadow: 0 6px 16px rgba(20, 60, 120, .04); transition: border-color .2s, box-shadow .2s; }
.faq-grid details[open] { border-color: #bcd6f3; box-shadow: 0 12px 26px rgba(20, 60, 120, .08); }
.faq-grid summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 0 20px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--cd-navy); }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2333415a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s; }
.faq-grid details[open] summary::after { transform: rotate(180deg); }
.faq-grid details p { padding: 0 20px 16px; font-size: 13.5px; line-height: 1.6; color: var(--cd-text); }

/* ---------- CTA ---------- */
.cd-cta { position: relative; overflow: hidden; padding: 40px 0 70px; background: #eef5fd; }
.cd-cta .cta-scene { position: absolute; inset: 0; }
.cd-cta .cta-layer { position: absolute; inset: -30px 0; background: url("../assets/cd-snow.svg?v=20261008171438") center bottom / cover no-repeat; will-change: transform; }
.cd-cta .container { position: relative; z-index: 1; }
.cd-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 36px; border-radius: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); box-shadow: 0 24px 50px rgba(12, 40, 90, .14); }
.cd-cta-card h2 { font-family: var(--head); font-size: 29px; font-weight: 800; letter-spacing: -.015em; color: var(--cd-navy); }
.cd-cta-card p { max-width: 620px; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--cd-text); }
.cd-cta-btns { flex: none; display: flex; gap: 18px; }
.cd-cta-btns .btn-primary { min-width: 270px; }
.cd-cta-btns .cd-ghost { min-width: 170px; }
.cd-cta-btns .cd-ghost .ic { font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .sl-btn.prev { left: -8px; } .sl-btn.next { right: -8px; }
}
@media (max-width: 1240px) {
  .cd-hero-inner { grid-template-columns: 1fr 470px; }
  .cd-hero h1 { font-size: 46px; }
  .cd-monitor { width: 440px; right: -20px; }
  .cd-float { left: 0; }
  .cd-feats { gap: 24px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-track { grid-template-columns: repeat(5, 210px); }
  .cd-plat-grid { grid-template-columns: 1fr; }
  .mt-visual { display: none; }
  .cd-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1000px) {
  .cd-hero-inner { grid-template-columns: 1fr; }
  .cd-visual { height: 400px; max-width: 560px; }
  .cd-feats { grid-template-columns: 1fr; }
  .proj-track { grid-auto-columns: calc((100% - 26px) / 2); }
  .cd-why { grid-template-columns: 1fr; }
  .why-media { clip-path: none; }
  .why-copy { margin-left: 24px; }
  .why-list { padding: 20px 24px; }
}
@media (max-width: 760px) {
  .cd-hero h1 { font-size: 34px; }
  .cd-hero h1 br { display: none; }
  .cd-hero .hero-copy > p { font-size: 15px; }
  .cd-hero .hero-actions { flex-direction: column; }
  .cd-visual { height: 330px; }
  .cd-monitor { width: 340px; right: -10px; }
  .cd-float { width: 210px; padding: 14px; }
  .cd-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cd-head h2 { font-size: 23px; }
  .cd-link { padding-bottom: 0; }
  .svc-grid, .mt-cards, .faq-grid { grid-template-columns: 1fr; }
  .svc-art { opacity: .35; }
  .proc-track { grid-template-columns: repeat(5, 78%); gap: 22px; }
  .proj-track { grid-auto-columns: 86%; }
  .sl-btn { display: none; }
  .mt-card { padding: 18px; }
  .why-copy h2 { font-size: 30px; }
  .why-laptop { width: 170px; opacity: .5; }
  .cd-cta-card { padding: 22px 18px; }
  .cd-cta-card h2 { font-size: 23px; }
  .cd-cta-btns { flex-direction: column; width: 100%; }
  .cd-cta-btns .btn { width: 100%; min-width: 0; }
}
