:root {
  --bg: #10131f;
  --bg-soft: #171b2b;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f1e8;
  --muted: #bbb7aa;
  --line: rgba(255, 255, 255, 0.16);
  --lime: #c8ff5f;
  --cyan: #69e4ff;
  --coral: #ff7a66;
  --violet: #9c7cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

::selection {
  color: #10131f;
  background: var(--lime);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 8% 12%, rgba(105, 228, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(255, 122, 102, 0.2), transparent 24rem),
    linear-gradient(135deg, #10131f 0%, #171321 42%, #18251e 100%);
}

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

#scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(transparent 0 50%, rgba(255, 255, 255, 0.05) 50%),
    linear-gradient(90deg, transparent 0 50%, rgba(255, 255, 255, 0.04) 50%);
  background-size: 4px 4px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.cursor-light {
  position: fixed;
  left: var(--mouse-x, 50vw);
  top: var(--mouse-y, 50vh);
  z-index: 0;
  width: 24rem;
  height: 24rem;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 255, 95, 0.12), transparent 65%);
  transition: opacity 180ms ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--coral));
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 19, 31, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

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

.brand {
  gap: 10px;
  padding-left: 6px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #111419;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-size: 0.78rem;
}

.nav {
  gap: 4px;
}

.nav a,
.header-cta {
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 180ms ease;
}

.nav a:hover,
.header-cta:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.header-cta {
  color: #111419;
  background: var(--lime);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
section,
footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - 78px);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: transparent;
  color: #10131f;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero-dashboard {
  display: grid;
  gap: 16px;
  perspective: 1000px;
}

.status-card,
.command-card,
.metric-card,
.tilt-card,
.feature-card,
.offer-panel,
.proof-item,
.timeline article,
.contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-card,
.metric-card,
.command-card {
  padding: 22px;
}

.status-card div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.status-card p,
.metric-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-card strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 255, 95, 0.65);
  animation: pulse 1.6s infinite;
}

.command-card {
  display: grid;
  gap: 12px;
  min-height: 320px;
  align-content: center;
  overflow: hidden;
}

.command-card::before {
  display: block;
  height: 120px;
  margin: -18px -18px 8px;
  content: "";
  background:
    linear-gradient(135deg, rgba(200, 255, 95, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
  border-bottom: 1px solid var(--line);
}

.command-top {
  display: flex;
  gap: 7px;
}

.command-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.command-top span:nth-child(2) {
  background: var(--lime);
}

.command-top span:nth-child(3) {
  background: var(--cyan);
}

.command-line {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.12);
  font-weight: 750;
}

.command-line b {
  color: var(--lime);
}

.command-line.active {
  color: var(--text);
  border-color: rgba(200, 255, 95, 0.38);
  background: rgba(200, 255, 95, 0.12);
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  color: var(--lime);
  font-size: 4rem;
  line-height: 1;
}

section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.marquee-band {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 16px 0;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  font-weight: 900;
}

.band {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.split-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  align-items: end;
}

.split-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.tilt-card {
  min-height: 230px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  transform-style: preserve-3d;
}

.tilt-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tilt-card:hover {
  border-color: rgba(200, 255, 95, 0.48);
  background: linear-gradient(145deg, rgba(200, 255, 95, 0.14), rgba(255, 255, 255, 0.06));
}

.tilt-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--lime);
  font-weight: 900;
}

.tilt-card p,
.timeline p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.offer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.offer-panel {
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.offer-panel:hover {
  border-color: rgba(200, 255, 95, 0.45);
  transform: translateY(-4px);
}

.offer-panel.is-featured {
  background:
    radial-gradient(circle at 20% 15%, rgba(200, 255, 95, 0.22), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.offer-panel p {
  margin-bottom: 20px;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-panel h3 {
  font-size: clamp(1.45rem, 2.3vw, 2.7rem);
}

.offer-panel ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.55;
  list-style: none;
}

.offer-panel li {
  position: relative;
  padding-left: 24px;
}

.offer-panel li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
}

.timeline article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
}

.timeline article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.timeline article:hover::before {
  transform: scaleX(1);
}

.timeline span {
  display: block;
  margin-bottom: 42px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}

.feature-card {
  min-height: 220px;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card.large {
  grid-row: span 3;
  min-height: 520px;
  background:
    linear-gradient(145deg, rgba(200, 255, 95, 0.2), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 72% 20%, rgba(105, 228, 255, 0.34), transparent 18rem);
}

.feature-card:hover {
  border-color: rgba(105, 228, 255, 0.55);
  transform: translateY(-4px);
}

.feature-card h3 {
  max-width: 660px;
  margin-top: 14px;
  font-size: clamp(1.35rem, 2.6vw, 3.2rem);
  line-height: 1.02;
}

.feature-card:not(.large) h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.9rem);
}

.feature-card a {
  display: inline-flex;
  margin-top: 26px;
  color: var(--lime);
  font-weight: 900;
}

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

.proof-item {
  min-height: 180px;
  padding: 26px;
}

.proof-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.9;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-block: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(200, 255, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 255, 95, 0);
  }
}

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

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

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 24px;
  }

  .nav {
    display: none;
  }

  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .skill-grid,
  .timeline,
  .showcase-grid,
  .offer-layout,
  .proof,
  .split-heading {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card.large {
    grid-row: auto;
    grid-column: span 2;
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 20px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    font-size: 0.82rem;
  }

  .hero,
  section,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .band {
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(2.3rem, 11.8vw, 3.35rem);
    line-height: 1;
  }

  .hero-dashboard,
  .skill-grid,
  .timeline,
  .showcase-grid,
  .offer-layout,
  .proof,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: auto;
    min-height: 320px;
  }

  .contact-actions,
  .button {
    width: 100%;
  }

  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;
  }

  #scene {
    display: none;
  }
}
