/* Desktop refinement. The accepted mobile stylesheet is kept unchanged. */
@media screen and (min-width: 1041px) {
  .container { max-width: 1440px; }
  .site-header { background: #080e18fa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner { column-gap: 24px; }
  .desktop-nav { column-gap: 24px; }
  .desktop-nav a { white-space: nowrap; }
  .hero-main {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    column-gap: 40px; min-height: 700px; padding-block: 64px;
  }
  .hero h1 { font-size: clamp(3rem, 4.7vw, 4.5rem); line-height: 1.12; }
  .hero-description { max-width: 34rem; line-height: 1.8; }
  .hero-actions { gap: 20px 28px; }
  .hero-notes { gap: 14px 24px; }
  .hero-copy, .hero-system { animation: none; transform: none; opacity: 1; }
  .hero-system { max-width: 600px; justify-self: end; }
  .system-art { height: 540px; }
  .system-visual { display: block; position: relative; width: 100%; height: 100%; isolation: isolate; }
  .system-core, .system-orbit { top: 52%; }
  .system-core { width: 280px; height: 280px; z-index: 1; }
  .core-inner img { filter: none; }
  .orbit-one { width: 280px; }
  .orbit-two { width: 380px; }
  .orbit-three { width: 490px; }
  .system-orbit::after { will-change: transform; transform-origin: center; }
  .orbit-one::after { animation: desktop-orbit 30s linear infinite; }
  .orbit-two::after {
    content: ""; position: absolute; inset: -1px; border: 1px solid transparent;
    border-right-color: #2499c7; border-radius: 50%; opacity: .6;
    animation: desktop-orbit 42s linear infinite reverse;
  }
  .connection-lines { stroke: #2674a152; }
  /* Keep the connecting paths static. Small independent lights move above them. */
  .connection-glow { animation: none; stroke-dasharray: none; opacity: .26; }
  .system-node {
    padding: 14px 16px; gap: 12px; border-radius: 7px; border-color: #426683;
    box-shadow: 0 12px 30px #0003; backface-visibility: hidden;
    will-change: transform; animation: desktop-drift 10s cubic-bezier(.45, 0, .55, 1) infinite;
  }
  .node-it { left: 0; top: 22px; animation-delay: -1.25s; }
  .node-web { right: 0; top: 96px; animation-duration: 12s; animation-delay: -6.4s; }
  .node-ai { left: 8px; bottom: 26px; animation-duration: 11s; animation-delay: -3.7s; }
  .orbit-point { will-change: opacity; animation: desktop-beacon 5s ease-in-out infinite; }
  .point-two { animation-delay: -1.7s; }
  .point-three { animation-delay: -3.4s; }
  .desktop-signal {
    position: absolute; top: 0; left: 0; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
    border-radius: 50%; background: #7fdcff; box-shadow: 0 0 10px #25b3ff99;
    pointer-events: none; will-change: transform, opacity; z-index: 0;
  }
  .desktop-signal-it { animation: desktop-packet-it 5.5s linear -1.3s infinite; }
  .desktop-signal-web { animation: desktop-packet-web 7s linear -3.2s infinite; }
  .desktop-signal-ai { animation: desktop-packet-ai 6s linear -2.1s infinite; }
  .hero-system[data-desktop-motion="paused"] .system-node,
  .hero-system[data-desktop-motion="paused"] .system-orbit::after,
  .hero-system[data-desktop-motion="paused"] .orbit-point,
  .hero-system[data-desktop-motion="paused"] .desktop-signal { animation-play-state: paused; }
  .reading-progress { transform-origin: left center; transition: none; }

  .section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
  .section-heading > p { max-width: 31rem; }
  .service-explorer { grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 48px; align-items: start; }
  .service-tab, .service-tab.is-active { padding-inline: 16px; }
  .service-tab strong { line-height: 1.5; }
  .service-panel { padding: 36px 32px 0; }
  .service-panel h3 { font-size: clamp(2rem, 2.7vw, 2.5rem); line-height: 1.25; }
  .service-list { gap: 30px; }
  .service-list > div { gap: 14px; }
  .js .service-panel:not([hidden]) { animation: desktop-panel-entry .2s ease-out both; }
  .benefits-layout, .about-layout, .faq-layout { gap: 72px; }
  .contact-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .contact-form { padding: 36px; }

  @keyframes desktop-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -9px, 0); }
  }
  @keyframes desktop-orbit {
    from { transform: rotate(0deg) translateZ(0); }
    to { transform: rotate(360deg) translateZ(0); }
  }
  @keyframes desktop-beacon {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
  }
  @keyframes desktop-panel-entry {
    from { opacity: .65; }
    to { opacity: 1; }
  }
  /* Coordinates match the existing SVG's 600 × 500 viewBox. Only transforms
     and opacity change during playback; geometry updates happen on resize. */
  @keyframes desktop-packet-it {
    0% { transform: translate3d(calc(var(--scene-width, 600px) * .183333), calc(var(--scene-height, 540px) * .236), 0); opacity: 0; }
    8%, 82% { opacity: .95; }
    40% { transform: translate3d(calc(var(--scene-width, 600px) * .35), calc(var(--scene-height, 540px) * .236), 0); }
    100% { transform: translate3d(calc(var(--scene-width, 600px) * .5), calc(var(--scene-height, 540px) * .476), 0); opacity: 0; }
  }
  @keyframes desktop-packet-web {
    0% { transform: translate3d(calc(var(--scene-width, 600px) * .813333), calc(var(--scene-height, 540px) * .342), 0); opacity: 0; }
    8%, 82% { opacity: .95; }
    46% { transform: translate3d(calc(var(--scene-width, 600px) * .653333), calc(var(--scene-height, 540px) * .342), 0); }
    100% { transform: translate3d(calc(var(--scene-width, 600px) * .5), calc(var(--scene-height, 540px) * .476), 0); opacity: 0; }
  }
  @keyframes desktop-packet-ai {
    0% { transform: translate3d(calc(var(--scene-width, 600px) * .275), calc(var(--scene-height, 540px) * .802), 0); opacity: 0; }
    8%, 82% { opacity: .95; }
    27% { transform: translate3d(calc(var(--scene-width, 600px) * .275), calc(var(--scene-height, 540px) * .676), 0); }
    100% { transform: translate3d(calc(var(--scene-width, 600px) * .5), calc(var(--scene-height, 540px) * .476), 0); opacity: 0; }
  }

  @media (min-width: 1280px) {
    .hero-main { column-gap: 64px; padding-block: 72px 64px; }
    .service-explorer { gap: 64px; }
    .service-panel { padding-inline: 40px; }
    .benefits-layout, .about-layout, .faq-layout { gap: 88px; }
    .process-steps { gap: 36px; }
  }
  @media (min-width: 1440px) {
    .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  }
  @media (min-width: 1280px) and (min-height: 850px) {
    .service-tabs { position: sticky; top: 120px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .system-node, .system-orbit::after, .orbit-point, .desktop-signal { animation: none !important; will-change: auto; }
    .desktop-signal { display: none; }
  }
}
