/* Supapod landing — shonen hero concept, magenta / pitch black */

:root {
  --magenta: #f50cfd;
  --magenta-dark: #c20acc;
  --magenta-deep: #9b0baa;
  --magenta-light: #f4a0f1;
  --pitch: #000000;
  --surface: #141414;
  --elevated: #1e1e1e;
  --hairline: #2a2a2a;
  --off-white: #f8f8fa;
  --muted: rgba(248, 248, 250, 0.62);
  --font-display: "Anton", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--off-white);
  background: var(--pitch);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  position: relative;
  z-index: 4;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  filter: drop-shadow(0 0 12px rgba(245, 12, 253, 0.65));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--magenta);
}

/* Hero — centered ray field + power read */
.hero {
  position: relative;
  min-height: calc(100svh - 4.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4vh 5vw 8vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 105%, rgba(245, 12, 253, 0.35), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(194, 10, 204, 0.16), transparent 70%),
    linear-gradient(180deg, var(--pitch) 0%, var(--surface) 100%);
}

.rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.ray {
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 2px;
  height: 140%;
  background: linear-gradient(
    to top,
    rgba(245, 12, 253, 0.55),
    rgba(245, 12, 253, 0)
  );
  transform-origin: bottom center;
  animation: flicker 2.4s ease-in-out infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.7;
  }
}

.scouter {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--magenta-light);
  text-align: right;
  text-shadow: 0 0 8px rgba(245, 12, 253, 0.65);
  z-index: 3;
  line-height: 1.5;
}

.scouter .value {
  font-size: 1.4rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--magenta);
}

.brandmark {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  letter-spacing: 0.5em;
  color: var(--magenta-light);
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(245, 12, 253, 0.35);
}

.headline-wrap {
  position: relative;
  z-index: 2;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--off-white);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  position: relative;
  display: inline-block;
  transform: skewX(-6deg);
  font-weight: 400;
}

.headline .word {
  display: block;
  position: relative;
}

.headline .glow {
  background: linear-gradient(
    180deg,
    var(--magenta-light) 0%,
    var(--magenta) 55%,
    var(--magenta-deep) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(245, 12, 253, 0.55));
  animation: powerpulse 1.8s ease-in-out infinite;
}

@keyframes powerpulse {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(245, 12, 253, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(244, 160, 241, 0.85));
  }
}

.subline {
  position: relative;
  z-index: 2;
  margin-top: 1.6rem;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(248, 248, 250, 0.75);
  max-width: 36ch;
}

.subline b {
  color: var(--magenta-light);
  font-weight: 700;
}

.cta-row {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-tag {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(248, 248, 250, 0.35);
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 2.3rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(90deg, var(--magenta-light), var(--magenta));
  color: #0a0010;
  box-shadow: 0 0 0 rgba(245, 12, 253, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 12, 253, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(248, 248, 250, 0.35);
}

.btn-ghost:hover {
  border-color: var(--magenta);
  color: var(--magenta-light);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
  transform: none;
}

/* Sections */
.section {
  position: relative;
  padding: 5.5rem 0;
  background: var(--pitch);
}

.section--slash::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--magenta-deep) 12%,
    var(--magenta) 48%,
    var(--magenta-deep) 82%,
    transparent 100%
  );
  box-shadow: 0 0 18px rgba(245, 12, 253, 0.35);
}

.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--magenta);
  margin-bottom: 0.45rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  font-weight: 400;
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Shop panels */
.shop-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  background: linear-gradient(165deg, rgba(245, 12, 253, 0.08), transparent 42%),
    var(--surface);
  border-top: 3px solid var(--magenta);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(245, 12, 253, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  animation: panel-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.product:nth-child(2) {
  animation-delay: 0.08s;
}

.product:nth-child(3) {
  animation-delay: 0.16s;
}

.product:hover {
  box-shadow:
    0 0 0 1px rgba(245, 12, 253, 0.35),
    0 0 32px rgba(245, 12, 253, 0.22);
  transform: translateY(-3px);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-visual {
  height: 10rem;
  margin: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(245, 12, 253, 0.28), transparent 58%),
    linear-gradient(145deg, rgba(245, 12, 253, 0.12), transparent 60%),
    var(--elevated);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -28deg,
    transparent,
    transparent 10px,
    rgba(245, 12, 253, 0.05) 10px,
    rgba(245, 12, 253, 0.05) 11px
  );
  pointer-events: none;
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 4.5rem;
  height: 4.5rem;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(245, 12, 253, 0.55));
}

.product-visual .glyph {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.06em;
  color: rgba(245, 12, 253, 0.7);
  text-shadow: 0 0 24px rgba(245, 12, 253, 0.45);
}

.product h3,
.product p,
.product .price-note,
.product .btn {
  margin-inline: 1.25rem;
}

.product h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  font-weight: 400;
  text-transform: uppercase;
}

.product p {
  color: var(--muted);
  font-size: 1rem;
  flex: 1;
}

.product .price-note {
  font-size: 0.85rem;
  color: rgba(248, 248, 250, 0.45);
  letter-spacing: 0.02em;
}

.product .btn {
  width: calc(100% - 2.5rem);
  margin-top: 0.15rem;
  margin-bottom: 1.35rem;
  padding: 0.9rem 1.5rem;
}

.setup-hint {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--magenta);
  background: rgba(245, 12, 253, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  display: none;
}

.setup-hint.is-visible {
  display: block;
}

.setup-hint code {
  font-size: 0.85em;
  color: var(--off-white);
}

/* Download placeholders */
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--muted);
  font-size: 0.85rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  background: rgba(30, 30, 30, 0.55);
}

.badge-link strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--off-white);
  font-size: 1.05rem;
  font-weight: 400;
}

.badge-link:hover {
  border-color: var(--magenta);
  color: var(--off-white);
}

/* Success */
.success {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

.success h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.04em;
  margin: 1rem 0 0.75rem;
  text-transform: uppercase;
  font-weight: 400;
}

.success p {
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.success .cta-row {
  justify-content: flex-start;
  margin-top: 0;
}

.success-mark {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 0 28px rgba(245, 12, 253, 0.5);
  animation: powerpulse 3s ease-in-out infinite;
}

/* Footer */
.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  background: var(--pitch);
}

.footer a:hover {
  color: var(--magenta);
}

@media (max-width: 600px) {
  .scouter {
    top: 12px;
    right: 14px;
    font-size: 0.68rem;
  }

  .scouter .value {
    font-size: 1.15rem;
  }

  .brandmark {
    letter-spacing: 0.35em;
    margin-bottom: 1.5rem;
  }

  .hero-tag {
    letter-spacing: 0.16em;
    font-size: 0.62rem;
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ray,
  .headline .glow,
  .success-mark,
  .product {
    animation: none !important;
  }

  .product:hover,
  .btn-primary:hover {
    transform: none;
  }
}
