/* Spinwinera marketing site — cosmic neon tokens beyond Tailwind */

:root {
  --base: #00091a;
  --neon: #05ff79;
  --neon-soft: #09e41f;
  --grad-start: #00ffcc;
  --grad-end: #0dff00;
  --secondary: #1b32b3;
  --surface-strong: #2541da;
  --surface-1: #020f55;
  --surface-2: #0b1c78;
  --surface-3: #142897;
  --lavender: #8d9ffe;
  --gold: #f8e150;
  --title: #ffffff;
  --body: #e9edff;
  --text-base: #cfd7ff;
  --muted: #5872ff;
  --on-primary: #000000;
  --error: #d354b0;
  --cosmic-violet: #2a0a4a;
  --border: rgba(141, 159, 254, 0.22);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  background: var(--base);
  color: var(--body);
  font-family: Oxanium, system-ui, sans-serif;
  font-weight: 600;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  overflow-x: hidden;
}

.font-display {
  font-family: Oxanium, system-ui, sans-serif;
  letter-spacing: 0.01em;
}

.hero-kicker {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.site-bg {
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(123, 92, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 10%, rgba(5, 255, 121, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 80%, rgba(37, 65, 218, 0.22), transparent 55%),
    linear-gradient(180deg, #020f55 0%, var(--base) 38%, #00061a 100%);
}

.site-stars {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 38% 62%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 72% 28%, rgba(0, 255, 204, 0.4), transparent),
    radial-gradient(1px 1px at 88% 74%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 54% 12%, rgba(255, 43, 214, 0.35), transparent);
  mask-image: linear-gradient(180deg, black 0%, transparent 78%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--title);
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-mark .accent {
  background: linear-gradient(180deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-shell {
  background: rgba(0, 9, 26, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: var(--safe-top);
}

.nav-link {
  color: var(--lavender);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--neon);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--grad-start), var(--grad-end));
  color: var(--on-primary);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 28px rgba(5, 255, 121, 0.28);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.btn-neon:hover {
  filter: brightness(1.06);
}

.btn-neon:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--title);
  font-weight: 600;
  transition: background 0.18s ease;
}

.btn-ghost:hover {
  background: var(--surface-strong);
}

.focus-ring:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* Signature: iridescent orbit frame */
.orbit-frame {
  position: relative;
  border-radius: 32px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    #ff2bd6,
    #7b5cff,
    #00e5ff,
    var(--neon)
  );
  box-shadow:
    0 0 40px rgba(5, 255, 121, 0.18),
    0 0 80px rgba(123, 92, 255, 0.2);
}

.orbit-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 44px;
  background: conic-gradient(
    from 120deg,
    transparent 0deg,
    rgba(5, 255, 121, 0.18) 40deg,
    transparent 90deg,
    rgba(255, 43, 214, 0.12) 180deg,
    transparent 240deg,
    rgba(0, 229, 255, 0.16) 300deg,
    transparent 360deg
  );
  z-index: -1;
  filter: blur(12px);
  animation: orbit-pulse 6s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, var(--surface-2), var(--base) 50%, var(--surface-1));
  overflow: hidden;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

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

.hero-nebula::after {
  content: "";
  position: absolute;
  top: 8%;
  right: -8%;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 255, 121, 0.16), transparent 68%);
  animation: glow-drift 8s ease-in-out infinite;
}

.feature-panel {
  background: linear-gradient(145deg, rgba(11, 28, 120, 0.85), rgba(2, 15, 85, 0.95));
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--body);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-panel h2,
.feature-panel h3 {
  color: var(--title);
}

.feature-panel p {
  color: var(--lavender);
}

.feature-panel:hover {
  border-color: rgba(5, 255, 121, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(5, 255, 121, 0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-1);
  color: var(--neon);
  border: 1px solid rgba(5, 255, 121, 0.35);
}

.shot-tile {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    linear-gradient(135deg, #ff2bd6, #7b5cff, #00e5ff, var(--neon)) border-box;
  border: 2px solid transparent;
}

.shot-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(233, 237, 255, 0.85);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  border-color: var(--neon);
  box-shadow: 0 0 24px rgba(5, 255, 121, 0.2);
}

.store-badge .label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge .label small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lavender);
}

.store-badge .label strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.mobile-drawer {
  background: var(--base);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-1);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  text-align: left;
  color: var(--title);
  font-weight: 600;
}

.faq-btn i {
  color: var(--neon);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-btn i {
  transform: rotate(180deg);
}

.faq-panel {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-base);
  line-height: 1.6;
}

.faq-item.open .faq-panel {
  display: block;
}

.legal-prose h2 {
  font-family: Oxanium, system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--title);
}

.legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--title);
}

.legal-prose p,
.legal-prose li {
  color: var(--text-base);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-prose a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-1);
  padding: 1rem 1.25rem;
}

.footer-shell {
  background: rgba(2, 15, 85, 0.65);
  border-top: 1px solid var(--border);
  padding-bottom: calc(2rem + var(--safe-bottom));
}

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

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 255, 121, 0.45), transparent);
}

.tap-44 {
  min-width: 44px;
  min-height: 44px;
}

.text-neon {
  color: var(--neon);
}

.text-lavender {
  color: var(--lavender);
}

.text-body {
  color: var(--body);
}

.text-title {
  color: var(--title);
}

.bg-surface-1 {
  background: var(--surface-1);
}

.bg-surface-2 {
  background: var(--surface-2);
}

@keyframes orbit-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes glow-drift {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate(-4%, 6%);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-frame::before,
  .hero-nebula::after {
    animation: none;
  }
}
