:root {
  color-scheme: dark;
  --void: #05060a;
  --ink: #f6f7fb;
  --muted: #a5adbc;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.075);
  --cyan: #31f5ff;
  --lime: #b9ff3b;
  --pink: #ff4fd8;
  --orange: #ff9b54;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(49, 245, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 80% 18%, rgba(255, 79, 216, 0.16), transparent 30rem),
    linear-gradient(180deg, #080910 0%, #05060a 46%, #090a12 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

#signalCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  pointer-events: none;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--pink));
  box-shadow: 0 0 24px rgba(49, 245, 255, 0.75);
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(1120px, calc(100% - 28px));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 220px;
  padding-left: 6px;
}

.brand img {
  display: block;
  width: clamp(190px, 17vw, 260px);
  max-height: 62px;
  object-fit: contain;
}

.nav {
  justify-content: center;
  gap: 4px;
}

.nav a {
  padding: 10px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #071014;
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 981px) {
  .menu-toggle {
    display: none;
  }
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 142px clamp(18px, 6vw, 84px) 76px;
}

.hero-copy {
  max-width: 920px;
}

.kicker,
.section-label {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5.6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1;
}

.hero-lead,
.split-heading p,
.ai-copy p,
.contact-card p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.contact-form button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  color: #061014;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-color: transparent;
  box-shadow: 0 12px 42px rgba(49, 245, 255, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.instagram-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 900;
}

.instagram-link:hover {
  color: var(--cyan);
}

.command-center,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.command-center {
  position: relative;
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
}

.command-center::before {
  position: absolute;
  inset: -34%;
  content: "";
  background: conic-gradient(from 180deg, transparent, rgba(49, 245, 255, 0.25), transparent, rgba(255, 79, 216, 0.2), transparent);
  animation: spin 12s linear infinite;
}

.command-center > * {
  position: relative;
}

.panel-header {
  display: flex;
  gap: 8px;
}

.panel-header span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.radar {
  min-height: 300px;
  display: grid;
  place-items: center;
  margin: 28px 0;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px),
    radial-gradient(circle, rgba(49, 245, 255, 0.18), transparent 62%);
  overflow: hidden;
}

.radar strong {
  display: block;
  max-width: 180px;
  font-size: 2rem;
  line-height: 0.95;
}

.radar small {
  max-width: 230px;
  color: var(--muted);
}

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  background: linear-gradient(55deg, rgba(185, 255, 59, 0.42), transparent 62%);
  border-radius: 100% 0 0;
  transform-origin: 100% 100%;
  animation: spin 5s linear infinite;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 4px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.metric-row strong {
  color: var(--ink);
  font-size: 2.2rem;
}

.metric-row strong::after {
  content: "%";
  color: var(--cyan);
  font-size: 1rem;
}

.metric-row:nth-of-type(4) strong::after {
  content: "x";
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  height: 72px;
  align-items: end;
}

.signal-bars i {
  display: block;
  height: calc(22% + var(--h, 32%));
  background: linear-gradient(to top, var(--pink), var(--cyan));
  border-radius: 999px;
  animation: equalize 1.6s ease-in-out infinite alternate;
}

.signal-bars i:nth-child(2) { --h: 54%; animation-delay: 0.1s; }
.signal-bars i:nth-child(3) { --h: 34%; animation-delay: 0.2s; }
.signal-bars i:nth-child(4) { --h: 78%; animation-delay: 0.3s; }
.signal-bars i:nth-child(5) { --h: 44%; animation-delay: 0.4s; }
.signal-bars i:nth-child(6) { --h: 64%; animation-delay: 0.5s; }
.signal-bars i:nth-child(7) { --h: 28%; animation-delay: 0.6s; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 6vw, 84px);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--line);
}

.proof-strip div {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.proof-strip strong {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.proof-strip strong::before {
  content: "+";
  color: var(--cyan);
}

.proof-strip div:last-child strong::before {
  content: "";
}

.proof-strip span {
  color: var(--muted);
}

.section,
.ai-lab,
.timeline,
.showcase,
.faq,
.contact {
  padding: clamp(78px, 11vw, 152px) clamp(18px, 6vw, 84px);
}

.split-heading {
  display: grid;
  gap: 22px;
  max-width: 920px;
}

.service-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 6vw, 84px) clamp(78px, 10vw, 136px);
  perspective: 900px;
}

.service-card {
  min-height: 470px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 24% 10%, rgba(49, 245, 255, 0.12), transparent 20rem);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card.hot {
  background:
    linear-gradient(145deg, rgba(185, 255, 59, 0.16), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 50% 0%, rgba(255, 79, 216, 0.16), transparent 22rem);
}

.service-card:hover {
  border-color: rgba(49, 245, 255, 0.5);
}

.service-index {
  color: var(--cyan);
  font-weight: 900;
}

.service-card p,
.service-card li,
.timeline p,
.footer {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.ai-lab {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  background:
    linear-gradient(rgba(5, 6, 10, 0.68), rgba(5, 6, 10, 0.88)),
    url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.orbit-system {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  max-width: 620px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 72px),
    rgba(0, 0, 0, 0.18);
  animation: float 5s ease-in-out infinite;
}

.orbit-core {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  color: #061014;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 50%;
  font-size: 2.8rem;
  font-weight: 1000;
  box-shadow: 0 0 70px rgba(49, 245, 255, 0.5);
}

.orbit-system span {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 118px;
  padding: 12px 16px;
  text-align: center;
  background: rgba(5, 6, 10, 0.74);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: rotate(var(--angle)) translate(230px) rotate(calc(var(--angle) * -1));
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.timeline-grid article {
  min-height: 330px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.055);
}

.timeline-grid span {
  display: inline-block;
  margin-bottom: 80px;
  color: var(--pink);
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: center;
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-cloud span {
  padding: 14px 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.faq {
  display: grid;
  gap: 30px;
}

.faq-heading {
  max-width: 880px;
}

.faq-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 12% 0%, rgba(185, 255, 59, 0.1), transparent 18rem);
}

.faq-grid p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: 22px;
  align-items: start;
}

.contact-card,
.contact-form {
  padding: clamp(22px, 4vw, 42px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(49, 245, 255, 0.12);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--lime);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 32px clamp(18px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--lime);
  font-weight: 900;
}

.footer a:hover {
  color: var(--cyan);
}

.creator-footer {
  display: flex;
  justify-content: center;
  padding: 16px clamp(18px, 6vw, 84px) 24px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.creator-footer a {
  color: var(--lime);
  font-weight: 900;
}

.creator-footer a:hover {
  color: var(--cyan);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes equalize {
  to {
    height: calc(44% + var(--h, 32%));
  }
}

@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    border-radius: 24px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex !important;
    position: fixed;
    top: 10px;
    right: 26px;
    z-index: 60;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
  }

  .topbar::after {
    content: none;
  }

  .topbar.is-open::after {
    content: none;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 220ms ease, padding 220ms ease;
  }

  .topbar.is-open .nav {
    max-height: 240px;
    padding-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero,
  .split-heading,
  .ai-lab,
  .showcase,
  .faq-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 176px;
  }

  .proof-strip,
  .service-stack,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orbit-system span {
    transform: rotate(var(--angle)) translate(170px) rotate(calc(var(--angle) * -1));
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 32px);
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 10px;
    border-radius: 22px;
  }

  .brand {
    justify-content: flex-start;
    padding-left: 0;
  }

  .brand img {
    width: 188px;
    max-height: 54px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .kicker {
    max-width: 320px;
    font-size: 0.68rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .command-center {
    min-height: 420px;
  }

  .radar {
    min-height: 250px;
  }

  .proof-strip,
  .service-stack,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .orbit-system span {
    min-width: 98px;
    padding: 10px 12px;
    transform: rotate(var(--angle)) translate(122px) rotate(calc(var(--angle) * -1));
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
