:root {
  --ink: #101217;
  --muted: #69707d;
  --line: rgba(12, 18, 30, 0.11);
  --blue: #087cff;
  --blue-deep: #0056d8;
  --paper: #f5f7fb;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
#particle-field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; z-index: 0; }
main, .site-header { position: relative; z-index: 1; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  height: 64px;
  margin: 14px auto 0;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(247,249,252,.72);
  box-shadow: 0 18px 50px rgba(28,45,76,.08), inset 0 0 0 1px rgba(255,255,255,.35);
  backdrop-filter: blur(20px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  overflow: hidden; background: var(--ink);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { letter-spacing: -.6px; }
nav { display: flex; gap: 36px; color: #565d68; font-size: 14px; }
nav a { transition: color .2s; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 16px; border-radius: 12px; color: #fff; background: var(--ink); font-size: 13px; }
.nav-cta span { color: #7bbcff; margin-left: 8px; }

.hero {
  min-height: 880px;
  padding: 145px 24px 55px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 58%, rgba(0,113,227,.13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f5f7fb 52%, #eef2f8 100%);
  overflow: hidden;
}
.eyebrow { display: inline-flex; gap: 10px; align-items: center; color: #66707f; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(8,124,255,.1); }
h1 { margin: 22px auto 18px; max-width: 820px; font-size: clamp(54px, 6.6vw, 88px); line-height: .94; letter-spacing: -.064em; font-weight: 710; }
h1 em, .contact h2 em { font-style: normal; color: var(--blue); }
.hero-copy { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; }
.hero-actions { margin-top: 26px; display: flex; justify-content: center; gap: 10px; }
.button { padding: 13px 18px; border-radius: 13px; font-size: 13px; font-weight: 650; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 14px 28px rgba(0,113,227,.2); }
.button.primary span { margin-left: 12px; }
.button.ghost { background: rgba(255,255,255,.7); border: 1px solid rgba(22,30,44,.1); }

.scene { width: min(560px, 80vw); aspect-ratio: 1.7; margin: 20px auto 0; position: relative; perspective: 950px; transform-style: preserve-3d; will-change: transform; }
.scene-glow { position: absolute; width: 58%; aspect-ratio: 1; left: 21%; top: 7%; border-radius: 50%; background: radial-gradient(circle, rgba(0,127,255,.23), rgba(90,147,255,.06) 45%, transparent 70%); filter: blur(24px); }
.core {
  position: absolute; width: 158px; aspect-ratio: 1; left: calc(50% - 79px); top: calc(50% - 72px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 38%; color: white; overflow: hidden;
  background: radial-gradient(circle at 30% 18%, #75c2ff, #087cff 38%, #053fbd 78%, #001f69);
  box-shadow: 0 38px 80px rgba(0,78,190,.32), inset -20px -30px 55px rgba(0,15,80,.35), inset 20px 18px 30px rgba(255,255,255,.22);
  transform: rotate(-8deg) translateZ(70px);
  transition: transform .18s ease-out;
}
.core::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.23); border-radius: 38%; }
.core-shine { position: absolute; width: 80%; height: 50%; left: 8%; top: -8%; border-radius: 50%; background: rgba(255,255,255,.2); filter: blur(18px); transform: rotate(-20deg); }
.core-logo { position: relative; z-index: 2; width: 65px; height: 65px; border-radius: 18px; object-fit: cover; box-shadow: 0 14px 28px rgba(0,24,75,.26); }
.core small { margin-top: 12px; letter-spacing: .23em; text-transform: uppercase; font-size: 6px; opacity: .68; }
.orbit { position: absolute; inset: 8% 4%; border: 1px solid rgba(13,86,176,.15); border-radius: 50%; transform: rotateX(63deg) rotateZ(-8deg); }
.orbit-two { inset: 17% 14%; transform: rotateX(68deg) rotateZ(32deg); border-color: rgba(13,86,176,.2); }
.orbit i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 18px rgba(0,113,227,.5); }
.orbit-one i:nth-child(1) { left: 12%; top: 18%; }.orbit-one i:nth-child(2) { right: 4%; top: 47%; }.orbit-one i:nth-child(3) { left: 40%; bottom: -5px; }
.orbit-two i:nth-child(1) { left: 0; top: 53%; }.orbit-two i:nth-child(2) { right: 17%; top: 13%; }
.floating-label { position: absolute; padding: 8px 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 9px; background: rgba(255,255,255,.56); backdrop-filter: blur(10px); color: #4f5968; font-size: 9px; box-shadow: 0 12px 30px rgba(30,50,80,.08); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.floating-label b { color: var(--blue); margin-left: 13px; }
.label-one { left: 8%; top: 34%; }.label-two { right: 5%; top: 27%; }.label-three { right: 13%; bottom: 12%; }
.scroll-note { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 9px; color: #818998; letter-spacing: .12em; text-transform: uppercase; }
.scroll-note span { display: inline-block; width: 25px; height: 1px; background: #9ba3af; vertical-align: middle; margin-right: 8px; }

.intro, .manifesto { padding: 95px max(24px, calc((100vw - 1120px)/2)); }
.section-index { margin: 0 0 46px; font-size: 9px; font-weight: 700; letter-spacing: .17em; color: var(--blue); }
.intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 65px; align-items: end; }
.intro h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -.05em; }
.intro-grid > p { max-width: 450px; margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.dimensions { padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: #e9edf3; }
.dimension { min-height: 430px; padding: 22px; border-radius: 20px; position: relative; display: flex; flex-direction: column; justify-content: space-between; background: #f8f9fb; overflow: hidden; cursor: pointer; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.dimension:hover { transform: translateY(-7px); box-shadow: 0 22px 46px rgba(24,40,70,.12); z-index: 2; }
.dimension-top { display: flex; justify-content: space-between; color: #8b929d; font-size: 12px; }
.arrow { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; color: var(--ink); transition: all .3s; }
.dimension:hover .arrow, .dimension:focus .arrow { color: white; background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.dimension p { margin: 0 0 9px; color: #7c8490; font-size: 13px; }
.dimension h3 { margin: 0; font-size: clamp(35px, 3.4vw, 52px); letter-spacing: -.065em; line-height: .94; }
.dimension h3 span { color: var(--blue); }
.visual { position: relative; align-self: center; width: min(210px, 76%); aspect-ratio: 1.3; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.dimension:hover .visual { transform: scale(1.08) rotate(-2deg); }
.visual-graph i { position: absolute; border-radius: 35%; mix-blend-mode: multiply; }
.visual-graph i:nth-child(1) { width: 58%; aspect-ratio: 1; left: 4%; top: 17%; background: #0a7cff; transform: rotate(23deg); box-shadow: 0 25px 45px rgba(0,113,227,.22); }
.visual-graph i:nth-child(2) { width: 52%; aspect-ratio: 1; right: 2%; top: 5%; background: #9ed2ff; transform: rotate(-17deg); }
.visual-graph i:nth-child(3) { width: 48%; aspect-ratio: 1; right: 22%; bottom: 0; border: 2px solid rgba(0,67,180,.32); transform: rotate(42deg); }
.viddix { background: #101216; color: white; }
.viddix .arrow { color: #fff; border-color: rgba(255,255,255,.22); }
.visual-video { display: flex; gap: 8px; align-items: center; justify-content: center; transform: perspective(600px) rotateY(-12deg); }
.visual-video i { width: 22%; height: 70%; border-radius: 18px; background: linear-gradient(160deg, #777, #20242b); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), 0 25px 40px rgba(0,0,0,.25); }
.visual-video i:nth-child(2) { height: 92%; background: linear-gradient(160deg, #9bcfff, #075ee5); }.visual-video i:nth-child(3) { height: 80%; }.visual-video i:nth-child(4) { height: 56%; background: linear-gradient(160deg, #449cff, #003da2); }
.codedix { background: #edf3fc; }
.visual-code { display: flex; align-items: center; justify-content: center; gap: 13px; color: var(--blue); font: 700 32px ui-monospace, monospace; }
.visual-code span { padding: 18px 22px; color: #28405e; background: rgba(255,255,255,.65); border: 1px solid white; border-radius: 14px; font-size: 13px; box-shadow: 0 18px 42px rgba(30,78,140,.12); }
.audix { background: #fff; }
.visual-audio { height: 220px; background: repeating-linear-gradient(90deg, transparent 0 8px, var(--blue) 8px 11px, transparent 11px 18px); mask: radial-gradient(ellipse at center, black 12%, transparent 70%); -webkit-mask: radial-gradient(ellipse at center, black 12%, transparent 70%); animation: audioPulse 3s ease-in-out infinite; }
@keyframes audioPulse { 50% { transform: scaleY(.55) scaleX(1.08); filter: hue-rotate(24deg); } }

.manifesto { min-height: 610px; color: white; background: #0f1115; overflow: hidden; position: relative; }
.manifesto-copy { position: relative; z-index: 2; max-width: 1050px; font-size: clamp(30px, 4vw, 54px); line-height: 1.16; letter-spacing: -.045em; }
.manifesto-copy p { margin: .1em 0; }.manifesto-copy .muted { color: #555b64; }
.signal { height: 180px; display: flex; align-items: center; gap: 12px; position: absolute; left: 50%; right: -5%; bottom: 55px; opacity: .65; }
.signal span { flex: 1; max-width: 12px; height: 18%; border-radius: 10px; background: linear-gradient(#48a6ff, #075ddc); animation: equalize 1.7s ease-in-out infinite alternate; }
.signal span:nth-child(2n) { animation-delay: -.6s; }.signal span:nth-child(3n) { animation-delay: -1.1s; }.signal span:nth-child(5n) { animation-delay: -.2s; }
@keyframes equalize { to { height: 100%; } }

.contact { min-height: 610px; padding: 95px max(24px, calc((100vw - 1120px)/2)) 35px; position: relative; background: #fff; overflow: hidden; }
.contact h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(56px, 7.2vw, 100px); line-height: .9; letter-spacing: -.068em; }
.contact-link { position: relative; z-index: 2; display: inline-flex; gap: 30px; align-items: center; margin-top: 60px; padding-bottom: 9px; border-bottom: 1px solid #aab0b8; font-size: 20px; }
.contact-link span { color: var(--blue); }
.contact-orb { position: absolute; width: 390px; height: 390px; right: 2%; top: 65px; border-radius: 46%; background: radial-gradient(circle at 32% 20%, #cceaff, #1689ff 38%, #0347b8 77%, #011942); box-shadow: 0 55px 100px rgba(0,87,205,.22), inset 20px 25px 40px rgba(255,255,255,.22); transform: rotate(25deg); will-change: transform; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
footer { position: absolute; left: max(24px, calc((100vw - 1200px)/2)); right: max(24px, calc((100vw - 1200px)/2)); bottom: 30px; padding-top: 24px; display: flex; justify-content: space-between; color: #8a9099; font-size: 12px; border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .site-header { width: calc(100% - 24px); height: 64px; margin-top: 10px; border-radius: 18px; }
  nav { display: none; }.brand-name { display: none; }.nav-cta { padding: 12px 15px; }
  .hero { min-height: 790px; padding-top: 116px; }
  h1 { font-size: clamp(49px, 15vw, 72px); }.hero-copy { max-width: 360px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .scene { margin-top: 18px; width: 100%; }.core { width: 132px; left: calc(50% - 66px); top: calc(50% - 60px); }.core-logo { width: 55px; height: 55px; border-radius: 16px; }
  .floating-label { display: none; }.scroll-note { display: none; }
  .intro, .manifesto, .contact { padding-left: 24px; padding-right: 24px; }
  .intro-grid { grid-template-columns: 1fr; gap: 35px; }
  .dimensions { padding: 10px; grid-template-columns: 1fr; }.dimension { min-height: 390px; padding: 24px; }
  .contact { min-height: 620px; }.contact-orb { width: 300px; height: 300px; right: -165px; top: 180px; opacity: .78; }
  footer { left: 24px; right: 24px; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #particle-field { display: none; }
}
