:root {
  color-scheme: light dark;
  --bg-dark: #05060f;
  --bg-card: rgba(16, 18, 38, 0.76);
  --bg-card-light: rgba(255, 255, 255, 0.85);
  --text-primary: #f8f9ff;
  --text-secondary: #b8c2ff;
  --accent: #6c63ff;
  --accent-soft: rgba(108, 99, 255, 0.22);
  --shadow: 0 24px 48px rgba(12, 16, 60, 0.35);
  --max-width: 1060px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #111433, #02020a 55%);
  color: var(--text-primary);
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(14px, 2vw, 24px);
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(94, 86, 255, 0.32), rgba(20, 244, 212, 0.18));
  filter: blur(0.6px);
  opacity: 0.65;
}

body::before {
  left: clamp(18px, 4vw, 52px);
  box-shadow: 0 0 42px rgba(93, 86, 255, 0.35);
}

body::after {
  right: clamp(18px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.45), rgba(76, 198, 255, 0.18));
  box-shadow: 0 0 42px rgba(52, 177, 238, 0.25);
}

.glow {
  position: fixed;
  inset: -200px 0 auto;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(132, 124, 255, 0.22), transparent 65%);
  filter: blur(0);
  pointer-events: none;
  z-index: -2;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from {
    transform: translate(-15%, -10%) scale(1);
  }
  to {
    transform: translate(5%, 5%) scale(1.1);
  }
}

.section {
  padding: clamp(2.25rem, 3.5vw, 3.75rem) 1.5rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: var(--max-width);
  width: 100%;
  animation: fadeUp 1.4s ease forwards;
  opacity: 0;
}

.hero__icon {
  width: clamp(120px, 20vw, 180px);
  border-radius: 32px;
  box-shadow: 0 24px 48px rgba(12, 16, 60, 0.45);
  transform: rotate(-4deg);
  transition: transform 0.6s ease;
}

.hero__icon:hover {
  transform: rotate(0deg) scale(1.03);
}

.hero__copy h1 {
  font-family: "Urbanist", "Inter", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.hero__copy p {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero__badges {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem 0;
  animation: fadeIn 2s ease 0.8s forwards;
  opacity: 0;
}

.scroll-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 999px;
  animation: scrollBounce 1.9s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(16px);
    opacity: 0.25;
  }
}

.section__header {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
}

.section__header p {
  max-width: 540px;
}

.section__header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
  font-family: "Urbanist", "Inter", sans-serif;
}

.section__header p {
  color: var(--text-secondary);
  margin: 0;
}

.card {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(1.45rem, 2.4vw, 2.15rem);
  border-radius: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  line-height: 1.7;
}

.card p + p {
  margin-top: 1.5rem;
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(28, 30, 70, 0.95), rgba(16, 18, 38, 0.85));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(14, 18, 54, 0.3);
  transform: translateY(0);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

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

.narrative {
  background: linear-gradient(160deg, rgba(104, 97, 255, 0.18), rgba(9, 9, 22, 0.85));
}

.carousel__viewport {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  width: 100%;
  border-radius: 24px;
  position: relative;
  background: rgba(18, 20, 42, 0.55);
  backdrop-filter: blur(12px);
  height: clamp(360px, 60vh, 520px);
}

.carousel__track img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: center;
  border-radius: 16px;
  flex: 0 0 100%;
  transition: transform 0.5s ease;
  background: rgba(6, 8, 26, 0.85);
  padding: 10px 0;
}

.carousel__control {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel__control:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.carousel__control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel__dots button.active {
  background: var(--accent);
  transform: scale(1.25);
}

.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(12, 14, 32, 0.8);
}

.video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding-bottom: 2.5rem;
}

.footer a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero__copy p {
    margin: 0 auto;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__icon {
    transform: rotate(0deg);
  }

  .carousel__viewport {
    flex-direction: column;
    align-items: center;
  }

  .carousel__control {
    order: 1;
  }

  .carousel__track {
    order: 0;
  }
}

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