:root {
  --bg: #05050a;
  --bg-soft: #0b0c14;
  --graphite: #151621;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f7fb;
  --muted: #a8adbe;
  --violet: #8b5cf6;
  --violet-hot: #c026d3;
  --blue: #1fb6ff;
  --cyan: #5eead4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 92, 246, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(31, 182, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, #030306 0%, #090912 45%, #0d0b16 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
  animation: ambientShift 12s ease-in-out infinite alternate;
}

.ambient-one {
  top: 9%;
  left: -12rem;
  background: var(--violet);
}

.ambient-two {
  right: -14rem;
  bottom: 12%;
  background: var(--blue);
  animation-delay: -4s;
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 66%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 250ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 9, 17, 0.72);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transition:
    border-color 250ms ease,
    background 250ms ease,
    transform 250ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: rgba(94, 234, 212, 0.2);
  background: rgba(8, 9, 17, 0.86);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: clamp(90px, 10.4vw, 123px);
  height: auto;
  display: block;
}

.footer-brand img {
  width: 86px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(246, 247, 251, 0.78);
  font-size: 0.92rem;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(31, 182, 255, 0.86));
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.32);
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.96), rgba(31, 182, 255, 0.92));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

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

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

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  min-height: calc(92svh - 88px);
  padding: 72px 0 64px;
  gap: 54px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 13px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 999px;
  color: #d5fff8;
  background: rgba(94, 234, 212, 0.07);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.btn::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(110deg, var(--violet), var(--blue), var(--violet-hot), var(--cyan));
  background-size: 240% 240%;
  opacity: 0;
  content: "";
  transition: opacity 220ms ease;
  animation: gradientFlow 7s ease infinite;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 44px rgba(31, 182, 255, 0.18);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 18px 50px rgba(139, 92, 246, 0.34);
}

.btn-secondary,
.btn-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.hero-visual {
  position: relative;
  min-height: min(640px, 72vh);
  perspective: 1100px;
}

.glass-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(9, 10, 19, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.dashboard-panel {
  position: absolute;
  inset: 9% 5% auto auto;
  width: min(440px, 86%);
  padding: 22px;
  border-radius: var(--radius-lg);
  transform: rotateX(8deg) rotateY(-14deg);
}

.dashboard-panel::before,
.access-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.34), transparent 35%, rgba(31, 182, 255, 0.22));
  opacity: 0;
  content: "";
  transition: opacity 280ms ease;
  pointer-events: none;
}

.dashboard-panel:hover::before,
.access-card:hover::before {
  opacity: 1;
}

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

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.panel-header span:first-child {
  background: var(--violet-hot);
}

.panel-header span:nth-child(2) {
  background: var(--blue);
}

.panel-header span:last-child {
  background: var(--cyan);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.signal-grid span {
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 50% 20%, rgba(94, 234, 212, 0.22), transparent 48%);
  animation: tilePulse 3.8s ease-in-out infinite;
}

.signal-grid span:nth-child(2n) {
  animation-delay: -1.2s;
}

.signal-grid span:nth-child(3n) {
  animation-delay: -2.1s;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.metric-row strong {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(31, 182, 255, 0.82));
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.42);
  font-size: 1.55rem;
}

.metric-row div {
  flex: 1;
}

.metric-row span {
  display: block;
  height: 12px;
  margin: 10px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.86), rgba(139, 92, 246, 0.28));
}

.metric-row span:last-child {
  width: 70%;
  background: linear-gradient(90deg, rgba(31, 182, 255, 0.78), rgba(192, 38, 211, 0.22));
}

.mini-card {
  position: absolute;
  right: 0;
  bottom: 17%;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(310px, 68%);
  padding: 16px;
  border-radius: var(--radius-md);
}

.mini-card-alt {
  top: 13%;
  right: auto;
  bottom: auto;
  left: 3%;
}

.mini-card strong {
  display: block;
  margin-bottom: 2px;
}

.mini-card small {
  color: var(--muted);
}

.pulse-dot,
.pulse-ring {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--cyan), rgba(94, 234, 212, 0.16) 58%, transparent 60%);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.34);
}

.pulse-ring {
  border: 1px solid rgba(31, 182, 255, 0.8);
  background: radial-gradient(circle, rgba(31, 182, 255, 0.32), transparent 58%);
}

.neural-core {
  position: absolute;
  left: 17%;
  bottom: 9%;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 14%),
    radial-gradient(circle, rgba(139, 92, 246, 0.32), transparent 52%);
  box-shadow:
    inset 0 0 44px rgba(31, 182, 255, 0.16),
    0 0 70px rgba(139, 92, 246, 0.22);
  animation: softSpin 18s linear infinite;
}

.neural-core span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(94, 234, 212, 0.8);
}

.neural-core span:first-child {
  top: 22%;
  left: 16%;
}

.neural-core span:nth-child(2) {
  top: 58%;
  right: 12%;
  background: var(--blue);
}

.neural-core span:last-child {
  right: 32%;
  bottom: 14%;
  background: var(--violet-hot);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: softSpin 24s linear infinite;
}

.orbit-one {
  inset: 8% 1% 6% 7%;
}

.orbit-two {
  inset: 18% 13% 15% 0;
  animation-direction: reverse;
}

.about {
  padding: 76px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.about-copy {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.quick-access {
  padding: 72px 0 104px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.access-card {
  position: relative;
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.access-card:hover {
  border-color: rgba(94, 234, 212, 0.28);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.48),
    0 0 52px rgba(139, 92, 246, 0.16);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(31, 182, 255, 0.72)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.32);
  font-weight: 900;
}

.contact-icon {
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.82), rgba(192, 38, 211, 0.8)),
    rgba(255, 255, 255, 0.06);
}

.access-card p {
  max-width: 510px;
  min-height: 56px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.06rem;
}

.btn-card {
  min-height: 50px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 10, 0.62);
  backdrop-filter: blur(16px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 96px;
  margin: 0 auto;
  gap: 20px;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

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

.floating {
  animation: floating 6.5s ease-in-out infinite;
}

.floating.slow {
  animation-duration: 8s;
  animation-delay: -2s;
}

.floating.fast {
  animation-duration: 5.2s;
  animation-delay: -1.4s;
}

@keyframes floating {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

@keyframes ambientShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(7%, -4%, 0) scale(1.12);
  }
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes tilePulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .nav-shell {
    padding: 10px 10px 10px 14px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 12px;
    left: 12px;
    display: grid;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(8, 9, 17, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    backdrop-filter: blur(22px);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    justify-content: center;
    min-height: 48px;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    gap: 32px;
    padding: 52px 0 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

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

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .dashboard-panel {
    inset: 7% auto auto 50%;
    width: min(390px, 96%);
    transform: translateX(-50%) rotateX(7deg) rotateY(-10deg);
  }

  .signal-grid span {
    min-height: 62px;
  }

  .mini-card {
    right: 3%;
    bottom: 10%;
    width: min(300px, 82%);
  }

  .mini-card-alt {
    top: 4%;
    left: 0;
    width: min(280px, 78%);
  }

  .neural-core {
    left: 4%;
    bottom: 2%;
    width: 150px;
    height: 150px;
  }

  .about,
  .quick-access {
    padding: 54px 0;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-card {
    min-height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .hero-visual {
    min-height: 420px;
  }

  .dashboard-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .signal-grid {
    gap: 8px;
  }

  .signal-grid span {
    min-height: 48px;
    border-radius: 14px;
  }

  .metric-row strong {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .mini-card {
    padding: 13px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.logo {
    width: 500px;
    height: auto;
}
