:root {
  --hero-gradient: linear-gradient(160deg, #060612 0%, #0a0b1c 42%, #11122a 100%);
  --hero-accent-aqua: #68f9ff;
  --hero-accent-indigo: #7a7cff;
  --hero-accent-magenta: #ff6ad5;
  --hero-text-strong: #f5f7ff;
  --hero-text-muted: #ced2ff;
  --panel-surface: rgba(18, 19, 50, 0.78);
  --panel-border: rgba(122, 124, 255, 0.35);
  --panel-shadow: 0 28px 60px rgba(6, 7, 18, 0.45);
  --panel-blur: blur(16px);
  --transition-base: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  color: var(--hero-text-strong);
  background: #060612;
  background-image: var(--hero-gradient);
  background-attachment: fixed;
  min-height: 100%;
}

body {
  line-height: 1.7;
  letter-spacing: 0.02em;
}

a {
  color: var(--hero-accent-aqua);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 18px;
  background: rgba(6, 7, 18, 0.35);
}

.wrap {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  color: var(--hero-text-strong);
}

.section-header {
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  text-align: center;
  display: grid;
  gap: 1.1rem;
}

.section-header h2 {
  margin: 0;
  font-family: 'Outfit', 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.1rem);
  letter-spacing: 0.02em;
}

.section-header p {
  margin: 0;
  color: var(--hero-text-muted);
}

.section-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(104, 249, 255, 0.75);
}

/* Loading overlay */
.loading {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 26, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 72px;
  text-align: center;
}

.spinner > div {
  width: 16px;
  height: 16px;
  margin: 0 3px;
  display: inline-block;
  background-color: #ffffff;
  border-radius: 50%;
  animation: spinner-bounce 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  animation-delay: -0.16s;
}

@keyframes spinner-bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1.0);
  }
}

/* Hero */
.hero-header {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.hero-surface {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  opacity: 0.96;
}

.hero-pulse {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
}

.hero-pulse--left {
  top: 12vh;
  left: -180px;
  background: radial-gradient(circle at 40% 40%, rgba(104, 249, 255, 0.6), rgba(10, 11, 28, 0));
}

.hero-pulse--right {
  top: 8vh;
  right: -120px;
  background: radial-gradient(circle at 60% 40%, rgba(122, 124, 255, 0.5), rgba(10, 11, 28, 0));
}

.hero-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 5rem);
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--hero-text-strong);
  font-family: 'Outfit', 'Source Sans Pro', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-logo img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(104, 249, 255, 0.55));
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  font-size: 0.95rem;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 249, 255, 0.35);
  color: rgba(104, 249, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.hero-secondary:hover,
.hero-secondary:focus {
  border-color: rgba(104, 249, 255, 0.75);
  background: rgba(104, 249, 255, 0.12);
  color: #ffffff;
}

.hero-visual {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero-content {
  display: flex;
  justify-content: center;
}

.hero-copy {
  width: min(760px, 100%);
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(104, 249, 255, 0.72);
}

.hero-copy h1 {
  margin: 0 0 1.2rem;
  font-family: 'Outfit', 'Source Sans Pro', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 2.2rem;
  color: var(--hero-text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-cta,
.hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-cta {
  background: linear-gradient(120deg, var(--hero-accent-aqua), var(--hero-accent-indigo) 55%, var(--hero-accent-magenta));
  color: #061220;
  box-shadow: 0 20px 40px rgba(20, 40, 100, 0.4);
}

.hero-cta:hover,
.hero-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(20, 40, 100, 0.5);
}

.hero-ghost {
  border: 1px solid rgba(206, 210, 255, 0.45);
  background: rgba(8, 12, 30, 0.4);
  color: var(--hero-text-strong);
}

.hero-ghost:hover,
.hero-ghost:focus {
  border-color: rgba(206, 210, 255, 0.8);
  background: rgba(8, 12, 30, 0.6);
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(122, 124, 255, 0.35);
  box-shadow: 0 42px 90px rgba(6, 7, 18, 0.55);
  background: linear-gradient(145deg, rgba(104, 249, 255, 0.22), rgba(122, 124, 255, 0.15));
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 18, 0), rgba(6, 7, 18, 0.35));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.6rem, 4vw, 2.6rem);
}

.feature-card {
  padding: clamp(1.8rem, 4vw, 2.4rem);
  border-radius: 24px;
  background: var(--panel-surface);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  display: grid;
  gap: 0.9rem;
}

.feature-card h3 {
  margin: 0;
  font-family: 'Outfit', 'Source Sans Pro', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  color: #ffffff;
}

.feature-card p {
  margin: 0;
  color: var(--hero-text-muted);
}

/* Media blocks */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 4vw, 2.5rem);
}

.media-grid--vertical {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-card {
  position: relative;
  padding: clamp(1.6rem, 3.5vw, 2.1rem);
  border-radius: 28px;
  background: rgba(18, 19, 50, 0.72);
  border: 1px solid rgba(122, 124, 255, 0.32);
  box-shadow: 0 24px 48px rgba(6, 7, 18, 0.42);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 1.2rem;
}

.media-tag {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(104, 249, 255, 0.7);
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 7, 18, 0.5);
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2.4rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(104, 249, 255, 0.6), rgba(122, 124, 255, 0));
}

.timeline > li {
  position: relative;
  padding-left: 3.4rem;
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hero-accent-aqua), var(--hero-accent-magenta));
  box-shadow: 0 0 12px rgba(104, 249, 255, 0.65);
}

.timeline time {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(206, 210, 255, 0.75);
}

.timeline-body {
  background: var(--panel-surface);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: clamp(1.6rem, 3.6vw, 2.4rem);
  box-shadow: var(--panel-shadow);
  backdrop-filter: var(--panel-blur);
  display: grid;
  gap: 1rem;
}

.timeline-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 7, 18, 0.5);
}

.timeline-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.timeline-body p {
  margin: 0;
  color: var(--hero-text-muted);
}

/* CTA */
.section-cta {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.cta-panel {
  padding: clamp(2.4rem, 5vw, 3.4rem);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(104, 249, 255, 0.32), rgba(122, 124, 255, 0.24));
  border: 1px solid rgba(122, 124, 255, 0.4);
  box-shadow: 0 24px 60px rgba(6, 7, 18, 0.45);
  display: grid;
  gap: 1.4rem;
  text-align: center;
}

.cta-panel h2 {
  margin: 0;
  font-family: 'Outfit', 'Source Sans Pro', sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
}

.cta-panel p {
  margin: 0;
  color: var(--hero-text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(122, 124, 255, 0.22);
  background: rgba(6, 7, 18, 0.6);
  padding: 2rem 0 3rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: rgba(206, 210, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .hero-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline > li {
    padding-left: 2.6rem;
  }

  .timeline > li::before {
    left: 2px;
  }
}

@media (max-width: 640px) {
  body {
    letter-spacing: 0.01em;
  }

  .wrap {
    width: calc(100% - 2.4rem);
  }

  .hero-wrap {
    padding-block: 2rem 3.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .media-frame,
  .media-frame--portrait {
    aspect-ratio: 16 / 9;
  }
}
