:root {
  --bg: #020309;
  --surface: rgba(10, 12, 27, 0.74);
  --surface-strong: rgba(12, 14, 31, 0.94);
  --line: rgba(132, 110, 255, 0.22);
  --line-bright: rgba(142, 104, 255, 0.6);
  --violet: #8b54ff;
  --violet-2: #6b2fff;
  --blue: #28b9ff;
  --cyan: #57e9ff;
  --green: #28e8a1;
  --text: #f8f9ff;
  --muted: #9aa0ba;
  --font-display: "Orbitron", "Arial Black", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(77, 49, 193, .16), transparent 35%),
    radial-gradient(circle at 20% 42%, rgba(41, 69, 180, .06), transparent 30%),
    linear-gradient(180deg, #020309, #050611 45%, #020309);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}

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

.cursor-glow {
  position: fixed;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(95, 56, 255, .12), rgba(36, 115, 255, .04) 38%, transparent 72%);
  filter: blur(4px);
  transition: opacity .3s ease;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 50%;
  width: min(calc(100% - 56px), 1480px);
  height: 94px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font: 600 14px/1 var(--font-display);
  letter-spacing: .32em;
}
.brand img { width: 38px; filter: drop-shadow(0 0 12px rgba(107, 65, 255, .8)); }

.contact-button {
  min-width: 152px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(134, 82, 255, .55);
  border-radius: 999px;
  background: rgba(7, 8, 19, .46);
  color: #cdaeff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: .3s ease;
}
.contact-button span { vertical-align: middle; }
.contact-button i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  vertical-align: middle;
}
.contact-button:hover { border-color: #a67aff; box-shadow: 0 0 24px rgba(113, 60, 255, .25); transform: translateY(-2px); }

main, .site-footer { position: relative; z-index: 2; }
.hero {
  position: relative;
  min-height: 970px;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 33%, rgba(68, 47, 196, .20), transparent 30%),
    linear-gradient(90deg, rgba(2, 3, 9, .93) 0%, transparent 24%, transparent 76%, rgba(2, 3, 9, .93) 100%),
    linear-gradient(180deg, transparent 70%, #050611 98%);
  z-index: -1;
}

.hero-grid {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 1150px;
  height: 700px;
  transform: translate(-50%, -50%) perspective(760px) rotateX(69deg);
  opacity: .18;
  background-image:
    linear-gradient(rgba(90, 75, 216, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 75, 216, .22) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle, #000 20%, transparent 69%);
  animation: grid-drift 12s linear infinite;
}
@keyframes grid-drift { to { background-position: 0 52px, 52px 0; } }

.energy {
  position: absolute;
  bottom: 130px;
  width: 48%;
  height: 180px;
  opacity: .48;
  filter: blur(1px) drop-shadow(0 0 12px rgba(101, 48, 255, .45));
  background:
    radial-gradient(ellipse at 50% 100%, rgba(99, 52, 255, .32), transparent 55%),
    repeating-linear-gradient(165deg, transparent 0 13px, rgba(73, 72, 255, .18) 14px 15px, transparent 16px 27px);
  mask-image: linear-gradient(to top, black, transparent);
}
.energy-left { left: -3%; transform: skewY(-9deg); }
.energy-right { right: -3%; transform: scaleX(-1) skewY(-9deg); }

.market-panel {
  position: absolute;
  top: 270px;
  width: 370px;
  min-height: 285px;
  padding: 22px;
  overflow: hidden;
  color: #69718e;
  border: 1px solid rgba(83, 72, 191, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8, 9, 21, .69), rgba(4, 6, 15, .22));
  box-shadow: inset 0 0 50px rgba(52, 39, 142, .07), 0 0 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(9px);
  opacity: .62;
  z-index: -1;
}
.market-panel-left { left: -76px; transform: perspective(900px) rotateY(12deg) rotateZ(2deg); }
.market-panel-right { right: -70px; transform: perspective(900px) rotateY(-12deg) rotateZ(-2deg); }
.panel-topline { display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: .18em; }
.panel-topline b { color: #7c67db; }
.market-panel svg { width: 100%; overflow: visible; }
.chart-grid-lines path { stroke: rgba(115, 108, 178, .13); fill: none; stroke-width: 1; }
.chart-line { fill: none; stroke: url(#chartGradient); stroke-width: 3; filter: drop-shadow(0 0 8px #613dff); stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw-chart 3.5s ease forwards .5s; }
.chart-fill { fill: url(#chartFill); }
.blue-chart { fill: none; stroke: #22b7ff; stroke-width: 3; filter: drop-shadow(0 0 8px #169cff); stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw-chart 4s ease forwards .8s; }
@keyframes draw-chart { to { stroke-dashoffset: 0; } }
.signal-card { width: 145px; margin-top: -35px; margin-left: 142px; padding: 12px; border: 1px solid rgba(120, 90, 255, .18); background: rgba(9, 10, 26, .78); border-radius: 8px; }
.signal-card span, .signal-card small { display: block; font-size: 7px; letter-spacing: .1em; }
.signal-card strong { display: block; color: var(--green); font: 700 20px var(--font-display); margin: 6px 0; }
.signal-card div { height: 4px; background: #10152b; border-radius: 10px; overflow: hidden; margin-top: 8px; }
.signal-card div i { display: block; width: 92%; height: 100%; background: linear-gradient(90deg, var(--violet), var(--blue)); box-shadow: 0 0 8px var(--violet); }
.performance-value { margin: 24px 0 4px; color: var(--green); font: 500 35px var(--font-display); text-shadow: 0 0 14px rgba(40, 232, 161, .35); }
.market-panel-right small { font-size: 8px; letter-spacing: .12em; }
.balance-row { display: flex; justify-content: space-between; padding: 13px; margin-top: -4px; background: rgba(5, 8, 20, .7); border-radius: 7px; font-size: 8px; }
.balance-row b { color: #b8c0e3; font-size: 14px; }

.hero-content { width: 100%; max-width: 900px; padding: 105px 24px 110px; text-align: center; }
.logo-stage {
  position: relative;
  width: clamp(220px, 25vw, 320px);
  aspect-ratio: 1;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
}
.logo-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 65, 255, .22), transparent 67%);
  box-shadow: inset 0 0 80px rgba(91, 54, 255, .13), 0 0 85px rgba(73, 70, 255, .12);
}
.logo-halo {
  position: absolute;
  inset: 12%;
  border: 2px solid rgba(112, 92, 255, .92);
  border-radius: 50%;
  box-shadow:
    0 0 8px #6c5cff,
    0 0 22px rgba(62, 107, 255, .9),
    0 0 58px rgba(123, 46, 255, .65),
    inset 0 0 23px rgba(92, 66, 255, .32);
  animation: halo-pulse 3.8s ease-in-out infinite;
}
.logo-halo::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(162, 76, 255, .43);
  border-radius: inherit;
  filter: blur(1px);
}
@keyframes halo-pulse { 50% { transform: scale(1.025); box-shadow: 0 0 13px #6c5cff, 0 0 35px rgba(62, 107, 255, .95), 0 0 75px rgba(123, 46, 255, .8), inset 0 0 26px rgba(92, 66, 255, .44); } }
.hero-logo { position: relative; width: 58%; z-index: 4; filter: drop-shadow(0 15px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 18px rgba(98, 81, 255, .5)); animation: logo-float 5s ease-in-out infinite; }
@keyframes logo-float { 50% { transform: translateY(-8px) rotateY(7deg); } }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(95, 83, 255, .17); }
.orbit-one { inset: 2%; animation: orbit-spin 12s linear infinite; border-top-color: #3bbcff; border-right-color: #773cff; }
.orbit-two { inset: 18%; animation: orbit-spin 8s linear infinite reverse; border-left-color: #bc4cff; }
.orbit-three { inset: -5%; border-style: dashed; opacity: .28; animation: orbit-spin 22s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.flare { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: white; box-shadow: 0 0 8px 3px #6fcfff, 0 0 26px 8px #673fff; z-index: 8; }
.flare-one { top: 12%; left: 49%; animation: flare 2.8s ease-in-out infinite; }
.flare-two { top: 62%; right: 12%; animation: flare 3.6s ease-in-out infinite .7s; }
.flare-three { bottom: 10%; left: 23%; animation: flare 4.3s ease-in-out infinite 1.2s; }
@keyframes flare { 50% { transform: scale(2.1); opacity: .55; } }

.hero h1 {
  margin: 0;
  font: 800 clamp(48px, 7.6vw, 106px)/.95 var(--font-display);
  letter-spacing: .17em;
  text-indent: .17em;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #d5e4ff 35%, #7c86bc 64%, #f6f8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 11px rgba(90, 89, 255, .45)) drop-shadow(0 15px 8px rgba(0, 0, 0, .55));
}
.hero-subtitle { margin: 19px 0 0; color: #f2f4ff; font: 500 clamp(10px, 1.1vw, 14px)/1.5 var(--font-display); letter-spacing: .42em; }
.development-status { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #c478ff; font: 600 11px var(--font-display); letter-spacing: .28em; }
.development-status span { width: 4px; height: 4px; border-radius: 50%; background: #934cff; box-shadow: 0 0 9px #934cff; }
.countdown { margin: 31px auto 0; display: flex; align-items: center; justify-content: center; gap: 28px; }
.countdown div { min-width: 74px; }
.countdown strong { display: block; font: 400 clamp(28px, 3vw, 44px)/1 var(--font-display); letter-spacing: .05em; }
.countdown span { display: block; margin-top: 9px; color: #a2a7bb; font-size: 9px; letter-spacing: .14em; }
.countdown i { width: 1px; height: 56px; background: linear-gradient(transparent, rgba(137, 87, 255, .5), transparent); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; gap: 8px; color: #656b83; text-decoration: none; font: 600 8px var(--font-display); letter-spacing: .24em; }
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(#8f55ff, transparent); animation: scroll-pulse 1.7s ease-in-out infinite; }
@keyframes scroll-pulse { 50% { transform: scaleY(.45); transform-origin: top; opacity: .4; } }

.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.solutions { padding: 84px 0 42px; }
.section-heading { text-align: center; }
.section-heading > span { color: #a770ff; font: 600 10px var(--font-display); letter-spacing: .55em; }
.section-heading h2 { margin: 20px 0 44px; color: #e4e7f3; font: 500 clamp(24px, 3.2vw, 41px)/1.22 var(--font-display); letter-spacing: .12em; }
.section-heading h2 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #b04cff, #7077ff 50%, #27c6ff); -webkit-background-clip: text; background-clip: text; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 355px;
  padding: 18px 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(128, 126, 180, .2);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(15, 17, 36, .85), rgba(5, 6, 16, .76));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 24px 50px rgba(0, 0, 0, .16);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(116, 63, 255, .18), transparent 35%); transition: opacity .25s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(135, 84, 255, .52); box-shadow: 0 30px 70px rgba(0, 0, 0, .32), 0 0 35px rgba(99, 61, 255, .10); }
.service-card:hover::before { opacity: 1; }
.card-visual { position: relative; height: 195px; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at center, rgba(62, 48, 161, .18), transparent 68%); }
.card-visual::after { content: ""; position: absolute; inset: auto 5% 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(97, 70, 255, .32), transparent); }
.card-visual img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s; filter: drop-shadow(0 15px 18px rgba(0, 0, 0, .45)); }
.service-card:hover .card-visual img { transform: scale(1.05) translateY(-3px); filter: drop-shadow(0 20px 25px rgba(0, 0, 0, .5)) saturate(1.2); }
.card-copy { position: relative; z-index: 2; }
.card-copy h3 { margin: 18px 0 10px; font: 500 15px var(--font-display); letter-spacing: .025em; }
.card-copy p { margin: 0; max-width: 92%; color: #a7aabe; font-size: 13px; line-height: 1.72; }
.card-arrow { position: absolute; right: 18px; bottom: 18px; z-index: 2; color: #a160ff; font-size: 19px; transition: .3s ease; }
.service-card:hover .card-arrow { transform: translate(3px, -3px); color: #4bd7ff; }

.stats {
  margin-top: 34px;
  min-height: 174px;
  padding: 32px 35px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(119, 117, 170, .21);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 13, 30, .9), rgba(7, 8, 20, .75));
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}
.stat-item { display: flex; align-items: center; justify-content: center; gap: 20px; }
.stat-icon { width: 70px; aspect-ratio: 1; border: 1px solid rgba(139, 80, 255, .46); border-radius: 50%; display: grid; place-items: center; color: #8b5cff; font: 600 20px var(--font-display); background: radial-gradient(circle, rgba(86, 55, 209, .2), transparent 64%); box-shadow: inset 0 0 25px rgba(100, 56, 255, .08), 0 0 18px rgba(100, 56, 255, .08); }
.stat-item strong { display: block; font: 400 30px var(--font-display); white-space: nowrap; }
.stat-item small { display: block; margin-top: 7px; color: #a4a8ba; font-size: 9px; line-height: 1.6; letter-spacing: .15em; }
.stat-divider { width: 1px; height: 72px; background: linear-gradient(transparent, rgba(128, 103, 218, .3), transparent); }

.closing { padding: 72px 0 52px; text-align: center; }
.closing p { color: #b265ff; font: 600 11px var(--font-display); letter-spacing: .55em; }
.closing h2 { margin: 18px 0 25px; font: 500 16px var(--font-display); letter-spacing: .65em; text-indent: .65em; }
.closing-line { width: min(510px, 70%); height: 1px; margin: auto; background: linear-gradient(90deg, transparent, rgba(110, 88, 207, .25), transparent); }
.closing-line i { display: block; width: 80px; height: 2px; margin: auto; background: linear-gradient(90deg, #2aaeff, #9f3eff, #2aaeff); box-shadow: 0 0 10px #754eff; animation: line-travel 4s ease-in-out infinite; }
@keyframes line-travel { 50% { transform: scaleX(1.65); } }

.site-footer { width: min(calc(100% - 48px), var(--max)); min-height: 86px; margin: auto; border-top: 1px solid rgba(115, 105, 175, .12); display: flex; align-items: center; justify-content: space-between; color: #686f88; font-size: 10px; letter-spacing: .13em; }
.site-footer button { border: 0; background: transparent; color: #a477ff; font-size: 9px; letter-spacing: .17em; cursor: pointer; }
.site-footer button:hover { color: white; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease var(--delay, 0ms), transform .85s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: .3s ease; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1, 2, 8, .8); backdrop-filter: blur(18px); }
.modal-card { position: relative; width: min(100%, 570px); padding: 42px; border: 1px solid rgba(137, 91, 255, .4); border-radius: 20px; background: linear-gradient(145deg, rgba(15, 17, 38, .98), rgba(5, 6, 17, .98)); box-shadow: 0 50px 120px rgba(0, 0, 0, .7), 0 0 70px rgba(88, 49, 255, .16); transform: translateY(20px) scale(.98); transition: .35s ease; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; right: 18px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #959bb5; background: rgba(255,255,255,.04); font-size: 24px; cursor: pointer; }
.modal-eyebrow { color: #a861ff; font: 600 9px var(--font-display); letter-spacing: .35em; }
.modal-card h2 { margin: 15px 0; font: 600 30px/1.25 var(--font-display); }
.modal-card > p { color: #9da2b8; line-height: 1.7; }
.modal form { display: grid; gap: 15px; margin-top: 26px; }
.modal label span { display: block; margin-bottom: 7px; color: #aeb2c6; font-size: 10px; letter-spacing: .11em; }
.modal input, .modal textarea { width: 100%; border: 1px solid rgba(112, 105, 165, .25); border-radius: 9px; outline: 0; background: rgba(3, 5, 15, .62); color: white; padding: 14px 15px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.modal input:focus, .modal textarea:focus { border-color: #7d51ff; box-shadow: 0 0 0 3px rgba(125, 81, 255, .09); }
.submit-button { height: 49px; margin-top: 5px; border: 1px solid rgba(137, 83, 255, .65); border-radius: 999px; color: white; background: linear-gradient(90deg, #5226cc, #6e36ef); font: 600 10px var(--font-display); letter-spacing: .15em; cursor: pointer; box-shadow: 0 10px 30px rgba(88, 43, 204, .25); }
.submit-button i { display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: #51eaff; box-shadow: 0 0 10px #51eaff; }

@media (max-width: 1100px) {
  .market-panel { width: 300px; opacity: .42; }
  .market-panel-left { left: -150px; }
  .market-panel-right { right: -150px; }
  .hero h1 { font-size: clamp(48px, 8vw, 82px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .stat-item { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 30px); height: 74px; }
  .brand { font-size: 11px; letter-spacing: .22em; }
  .brand img { width: 31px; }
  .contact-button { min-width: auto; height: 37px; padding: 0 14px; font-size: 8px; }
  .hero { min-height: 850px; height: auto; }
  .hero-content { padding-top: 120px; }
  .market-panel { display: none; }
  .logo-stage { width: 235px; }
  .hero h1 { font-size: clamp(42px, 13.5vw, 68px); letter-spacing: .10em; text-indent: .10em; }
  .hero-subtitle { font-size: 8px; letter-spacing: .27em; }
  .development-status { font-size: 8px; letter-spacing: .2em; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 58px; }
  .countdown strong { font-size: 25px; }
  .countdown i { height: 46px; }
  .section-shell { width: min(calc(100% - 30px), var(--max)); }
  .solutions { padding-top: 60px; }
  .section-heading h2 { font-size: 24px; letter-spacing: .07em; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 338px; }
  .stats { grid-template-columns: 1fr; padding: 28px; }
  .stat-item { justify-content: flex-start; }
  .stat-icon { width: 62px; }
  .closing p { font-size: 8px; letter-spacing: .32em; line-height: 1.8; }
  .closing h2 { font-size: 13px; }
  .site-footer { width: calc(100% - 30px); padding: 24px 0; flex-direction: column; gap: 15px; text-align: center; }
  .modal-card { padding: 34px 22px 24px; }
  .modal-card h2 { font-size: 24px; }
}

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