:root { color-scheme: dark; }

* { box-sizing: border-box; }
body { overflow-x: hidden; }
a, button { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.pointer-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: .11;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #8ef7c3 0%, transparent 67%);
  transition: opacity .3s;
}

.header-scrolled { background: rgba(8, 13, 12, .82); backdrop-filter: blur(18px); border-color: rgba(255,255,255,.1) !important; }
.nav-link { position: relative; transition: color .25s; }
.nav-link:hover { color: white; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: #c8ff3d; transition: right .3s; }
.nav-link:hover::after { right: 0; }

.hero-grid {
  opacity: .38;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 8vw 8vw;
  mask-image: linear-gradient(to bottom, black, transparent 87%);
}
.hero-orb { background: radial-gradient(circle at 40% 40%, rgba(200,255,61,.22), rgba(142,247,195,.06) 38%, transparent 70%); filter: blur(12px); }
.hero-line > span { transform: translateY(115%); animation: line-up .85s cubic-bezier(.16,1,.3,1) forwards; }
.hero-line:nth-child(2) > span { animation-delay: .1s; }
.hero-line:nth-child(3) > span { animation-delay: .2s; }
.hero-item { animation: fade-up .8s .55s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes line-up { to { transform: translateY(0); } }
@keyframes fade-up { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8ef7c3; box-shadow: 0 0 0 0 rgba(142,247,195,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(142,247,195,0); } 100% { box-shadow: 0 0 0 0 rgba(142,247,195,0); } }

.ticker-wrap { overflow: hidden; }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span { padding: 0 2rem; }
.ticker-track i { color: #c8ff3d; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-kicker { font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: #8ef7c3; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.filter-btn { border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: .7rem 1rem; color: rgba(255,255,255,.55); font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; transition: .25s; }
.filter-btn:hover, .filter-btn.active { color: #080d0c; background: #c8ff3d; border-color: #c8ff3d; }

.service-card { position: relative; min-height: 410px; padding: 2rem; background: #101715; transition: background .35s, opacity .35s, transform .35s; }
.service-card:hover { background: #151f1c; }
.service-card::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: #c8ff3d; transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover::after { transform: scaleX(1); }
.service-card.is-hidden { display: none; }
.service-number { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.3); }
.service-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-top: 2.5rem; border: 1px solid rgba(200,255,61,.35); border-radius: 50%; color: #c8ff3d; font-family: 'DM Mono', monospace; font-size: 13px; transition: .35s; }
.service-card:hover .service-icon { background: #c8ff3d; color: #080d0c; transform: rotate(-8deg); }
.service-card h3 { margin-top: 2rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.service-card p { margin-top: 1rem; color: rgba(255,255,255,.5); font-size: .93rem; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: .4rem; position: absolute; bottom: 2rem; left: 2rem; right: 2rem; }
.service-tags span { border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: .35rem .6rem; font-family: 'DM Mono', monospace; font-size: 9px; text-transform: uppercase; color: rgba(255,255,255,.4); }

.system-visual { position: relative; aspect-ratio: 1; max-width: 620px; width: 100%; margin-inline: auto; }
.orbit { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border: 1px solid rgba(8,13,12,.25); border-radius: 50%; }
.orbit-1 { width: 38%; height: 38%; }
.orbit-2 { width: 66%; height: 66%; }
.orbit-3 { width: 94%; height: 94%; }
.orbit-label { position: absolute; top: -8px; left: 50%; translate: -50%; padding-inline: .5rem; background: #c8ff3d; font-family: 'DM Mono', monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: rgba(8,13,12,.6); }
.core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 20%; aspect-ratio: 1; border-radius: 50%; background: #080d0c; color: white; box-shadow: 0 0 0 8px rgba(8,13,12,.08); }
.core span { font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 800; }
.core small { font-family: 'DM Mono', monospace; font-size: 7px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.node { position: absolute; z-index: 2; display: grid; place-items: center; width: 13%; aspect-ratio: 1; border: 1px solid rgba(8,13,12,.35); border-radius: 50%; background: #c8ff3d; font-family: 'DM Mono', monospace; font-size: clamp(8px, 1.5vw, 11px); color: #080d0c; transition: .3s; }
.node:hover, .node.active { background: #080d0c; color: #c8ff3d; transform: scale(1.12); }
.node-ai { left: 7%; top: 24%; }
.node-web { right: 4%; top: 45%; }
.node-app { left: 29%; bottom: 5%; }
.node-cloud { right: 22%; top: 10%; }

.process-row { display: grid; grid-template-columns: 50px 1fr auto; gap: 1rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); padding: 2rem 0; }
.process-row > span { font-family: 'DM Mono', monospace; font-size: 10px; color: #8ef7c3; }
.process-row h3 { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.process-row p { grid-column: 2 / 4; max-width: 480px; color: rgba(255,255,255,.5); line-height: 1.65; }
.process-row i { font-size: 1.5rem; color: rgba(255,255,255,.25); font-style: normal; transition: .25s; }
.process-row:hover i { color: #c8ff3d; transform: rotate(-45deg); }

.cta-panel { background: #101715; }
.cta-grid { 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: 55px 55px; mask-image: radial-gradient(circle at 70% 50%, black, transparent 75%); }

@media (min-width: 768px) {
  .process-row { grid-template-columns: 80px minmax(200px, .8fr) 1fr 40px; gap: 2rem; padding: 2.6rem 0; }
  .process-row p { grid-column: auto; }
  .process-row h3 { font-size: 2.6rem; }
}

@media (max-width: 767px) {
  .pointer-glow { display: none; }
  .hero-grid { background-size: 72px 72px; }
  .mobile-menu.open { pointer-events: auto; opacity: 1; }
  #menu-button.open .menu-line:first-child { transform: rotate(45deg); }
  #menu-button.open .menu-line:last-child { transform: rotate(-45deg); }
  .system-visual { min-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-line > span, .hero-item, .reveal { transform: none; opacity: 1; }
}
