:root {
  --bg-dark: #060817;
  --bg-mid: #0f1839;
  --text: #eef3ff;
  --muted: #a8b7df;
  --primary: #39c6ff;
  --secondary: #8f6bff;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-line: rgba(255, 255, 255, 0.22);
  --glow: 0 0 45px rgba(57, 198, 255, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 10% 20%, #132052 0%, #070b1f 45%, #05060f 100%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -6;
  filter: saturate(1.1) contrast(1.08) brightness(0.45);
}

.video-tint {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(91, 141, 255, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(10, 16, 45, 0.72), rgba(7, 10, 27, 0.84));
  z-index: -5;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -3;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-one {
  width: 380px;
  height: 380px;
  background: rgba(60, 140, 255, 0.35);
  top: -120px;
  left: -100px;
}

.orb-two {
  width: 340px;
  height: 340px;
  background: rgba(151, 92, 255, 0.3);
  right: -90px;
  bottom: 5%;
  animation-delay: -4s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: -2;
}

.hero {
  color: #fff;
  padding: 1.25rem 1.5rem 1rem;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: rgba(10, 18, 45, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand span {
  color: #8fcbff;
}

.logo-mark {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-block;
}

.logo-core,
.logo-ring {
  position: absolute;
  border-radius: 50%;
  inset: 0;
}

.logo-core {
  width: 0.4rem;
  height: 0.4rem;
  margin: auto;
  background: radial-gradient(circle, #b5ecff, #45d0ff 65%, #3e8fff);
  box-shadow: 0 0 18px rgba(69, 208, 255, 0.8);
}

.logo-ring {
  border: 1px solid rgba(140, 225, 255, 0.8);
  animation: spin 6s linear infinite;
}

.logo-ring-two {
  inset: 0.18rem;
  border-color: rgba(148, 130, 255, 0.75);
  animation-direction: reverse;
  animation-duration: 4.5s;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #c8d8ff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-content {
  max-width: 1120px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-left {
  padding: 1rem 0.2rem;
}

.eyebrow {
  display: inline-flex;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 204, 255, 0.6);
  background: rgba(57, 198, 255, 0.16);
  box-shadow: var(--glow);
  animation: pulse 3s ease-in-out infinite;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  text-wrap: balance;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.lead {
  max-width: 620px;
  font-size: 1.1rem;
  color: #cfdbff;
  margin-bottom: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta {
  display: inline-block;
  background: linear-gradient(100deg, var(--primary), #89e2ff 70%);
  color: #061425;
  text-decoration: none;
  padding: 0.82rem 1.3rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: var(--glow);
  transition: transform 0.2s ease;
}

.ghost {
  display: inline-block;
  text-decoration: none;
  color: #eaf1ff;
  border: 1px solid var(--glass-line);
  padding: 0.82rem 1.3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover,
.ghost:hover {
  transform: translateY(-2px);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mini-stats {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.6rem;
}

.mini-stat {
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.7rem 0.75rem;
}

.mini-stat span {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.mini-stat p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.glass {
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(9px);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  padding: 0.7rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.visual-chip {
  position: absolute;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ecf4ff;
  border: 1px solid rgba(255, 255, 255, 0.33);
  background: rgba(7, 15, 37, 0.62);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.chip-top {
  top: 1.35rem;
  right: 1.3rem;
}

.chip-bottom {
  bottom: 1.35rem;
  left: 1.3rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  --section-progress: 0;
  opacity: calc(0.35 + var(--section-progress) * 0.9);
  transform: perspective(900px) rotateX(calc((1 - var(--section-progress)) * 6deg))
    translateY(calc((1 - var(--section-progress)) * 30px));
  transition: opacity 0.35s linear, transform 0.35s linear;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(7, 9, 24, 0.32);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(137, 204, 255, 0.6);
  box-shadow: 0 14px 35px rgba(21, 40, 120, 0.34);
}

.card h2 {
  margin-top: 0;
}

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

.section h2 {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  margin: 0 0 0.6rem;
}

.manifesto {
  border-radius: 16px;
}

.manifesto p {
  max-width: 860px;
}

.contact {
  border-radius: 16px;
  margin-bottom: 2rem;
}

.contact a {
  color: #9adfff;
  font-weight: 700;
  text-decoration: none;
}

.footer {
  padding: 1.5rem;
  text-align: center;
  color: #8ea2d3;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 25px rgba(57, 198, 255, 0.32);
  }
  50% {
    box-shadow: 0 0 45px rgba(57, 198, 255, 0.55);
  }
}

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

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .bg-video {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .section {
    opacity: 1;
    transform: none;
  }
}
