@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700&f[]=satoshi@400,500,600&display=swap');

* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: 'Satoshi', 'Space Grotesk', system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(128, 71, 224, 0.3), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(102, 215, 255, 0.25), transparent 45%),
    linear-gradient(180deg, #05020f 0%, #01010a 100%);
  color: #f4f7ff;
  min-height: 100vh;
  scroll-behavior: smooth;
  background-attachment: fixed;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  padding: 5rem clamp(1.5rem, 3vw, 4rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(36px) scale(0.99);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 40%, rgba(118, 68, 200, 0.25), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(102, 215, 255, 0.25), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 620px;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  --parallax-offset: 0px;
  transform: translate3d(0, var(--parallax-offset), 0);
  transition: transform 0.2s linear;
  will-change: transform;
}

.hero__logo {
  width: 144px;
  height: 144px;
  margin: 0 auto 1.25rem;
  background: transparent;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: none;
  position: relative;
  animation: logoReveal 0.8s ease 0.2s both;
}

.hero__logo::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 120, 255, 0.35) 0%, rgba(130, 210, 255, 0.22) 45%, transparent 72%);
  filter: blur(14px);
  z-index: -1;
}

.hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero h1 {
  font-family: 'Clash Display', 'Space Grotesk', sans-serif;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background: linear-gradient(110deg, #a362ff, #7f5dff, #66d7ff, #ff8d6b);
  -webkit-background-clip: text;
  color: transparent;
  animation: heroTextReveal 1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.3s both;
}

.hero h1 span {
  display: block;
}

.subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: rgba(244, 247, 255, 0.85);
  animation: heroTextReveal 1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.42s both;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  animation: heroTextReveal 1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.55s both;
}

.btn,
.ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.35s ease, transform 0.35s ease;
}

.btn {
  background: linear-gradient(135deg, #7d55ff, #66d7ff, #ff8d6b);
  border: none;
  color: #01020a;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.ghost {
  color: #f4f7ff;
}

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

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(118, 68, 200, 0.75), transparent 45%),
    radial-gradient(circle at 70% 0%, rgba(99, 215, 255, 0.4), transparent 45%);
  filter: blur(40px);
  opacity: 0.9;
  --parallax-offset: 0px;
  transform: translate3d(0, var(--parallax-offset), 0);
  transition: transform 0.2s linear;
  will-change: transform;
}

main {
  flex: 1;
  padding: 2rem clamp(1.5rem, 4vw, 3rem) 4rem;
}

.content-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

main h2 {
  text-align: center;
}

.section {
  margin-bottom: 3.5rem;
  opacity: 0;
  --parallax-offset: 0px;
  --reveal-offset: 42px;
  transform: translate3d(0, calc(var(--reveal-offset) + var(--parallax-offset)), 0);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform;
}

.section.is-visible {
  opacity: 1;
  --reveal-offset: 0px;
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.section__header h2 {
  margin: 0.2rem 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section__header p {
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
  color: rgba(246, 250, 253, 0.85);
}

.video-wrapper {
  margin-top: 1.8rem;
  position: relative;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.timeline__grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline__grid article {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(118, 68, 200, 0.35), rgba(102, 215, 255, 0.18));
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 180px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.timeline__grid article::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.timeline__grid article:hover::after {
  opacity: 1;
}

.timeline__grid h3 {
  margin-top: 0;
}

.timeline__grid .article__pulse {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #a362ff, rgba(102, 215, 255, 0));
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.contact__card {
  padding: 1.75rem;
  background: rgba(2, 7, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  min-width: 280px;
  position: relative;
  overflow: hidden;
}

.contact__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(118, 68, 200, 0.35), rgba(102, 215, 255, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(246, 250, 253, 0.6);
}

.footer {
  padding: 2.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.scrollbar-indicator {
  position: fixed;
  top: 12px;
  right: 14px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(159, 94, 255, 0.95), rgba(103, 186, 255, 0.9));
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 20;
  pointer-events: auto;
  cursor: ns-resize;
  box-shadow: 0 0 14px rgba(90, 60, 150, 0.7);
}

.scrollbar-indicator.active,
.scrollbar-indicator.visible,
.scrollbar-indicator:hover {
  opacity: 1;
  background: linear-gradient(180deg, rgba(170, 123, 255, 1), rgba(120, 180, 255, 1));
}

body::-webkit-scrollbar {
  display: none;
}

body {
  scrollbar-color: transparent transparent;
}

@media (max-width: 640px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero__content {
    padding: 1.25rem;
  }

  .hero__logo {
    width: 120px;
    height: 120px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .contact {
    flex-direction: column;
  }
}
