/* LIVESOUK — Icona-style full-page scroll (LIVESOUK colors) */

:root {
  --primary: #e91e8c;
  --secondary: #7b2cbf;
  --accent: #ff6ec7;
  --bg: #0a0612;
  --bg-dark: #07050f;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --gradient-hero: linear-gradient(135deg, #7b2cbf 0%, #e91e8c 55%, #ff6ec7 100%);
  --gradient-slide: linear-gradient(135deg, #1a0b2e 0%, #7b2cbf 40%, #e91e8c 100%);
  --font: "Inter", system-ui, sans-serif;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition: background 0.3s;
}

.site-header.scrolled {
  background: rgba(7, 5, 15, 0.85);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand img { border-radius: 8px; object-fit: cover; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.header-link:hover { opacity: 1; }

.header-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: #0a0612;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.header-btn:hover { transform: scale(1.03); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 199;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: rgba(7, 5, 15, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Full-page scroll ─── */
.slides {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slide {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.slide-hero {
  background: var(--gradient-hero);
}

.slide-dark {
  background: var(--bg-dark);
}

.slide-gradient {
  background: var(--gradient-slide);
}

.slide-footer {
  background: var(--bg-dark);
  min-height: 100vh;
  min-height: 100dvh;
}

.slide-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
  width: 92%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
}

.slide-inner.reverse .slide-visual { order: 2; }
.slide-inner.reverse .slide-content { order: 1; }

.slide-content h1,
.slide-content h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.slide-content h2 { font-style: italic; }

.lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.dl-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  opacity: 0.85;
}

.qr-wrap {
  display: inline-block;
  padding: 0.65rem;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.qr-wrap img { display: block; border-radius: 4px; }

.qr-wrap span {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  margin-top: 0.35rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.gradient-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 16px;
  background: var(--gradient-hero);
  box-shadow: 0 8px 24px rgba(233, 30, 140, 0.35);
  transition: transform 0.2s;
}

.gradient-icon img { border-radius: 10px; display: block; }
.gradient-icon:hover { transform: scale(1.05); }

.ios-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Phones ─── */
.slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phones-duo {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 420px;
}

.phone {
  position: absolute;
}

.phone-back {
  left: 0;
  top: 20px;
  transform: rotate(-8deg);
  z-index: 1;
  opacity: 0.85;
}

.phone-front {
  right: 0;
  top: 0;
  transform: rotate(6deg);
  z-index: 2;
}

.phone-single {
  position: relative;
  transform: none;
}

.phone-single.tilt { transform: rotate(4deg); }

.phone-frame {
  width: 220px;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(160deg, #2a1848, #0f0818);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}

.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.ps-gradient {
  background: linear-gradient(160deg, var(--primary), var(--secondary));
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.ps-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.ps-logo.lg { width: 80px; height: 80px; }
.ps-logo.sm { width: 48px; height: 48px; margin-bottom: 0.5rem; }

.ps-gradient p {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.95;
}

.ps-tagline {
  font-size: 0.78rem !important;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.ps-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ps-settings {
  background: #1a1028;
  padding: 1rem 0.75rem;
}

.ps-bar {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.ps-item {
  font-size: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.ps-auth {
  background: var(--primary);
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  gap: 0.5rem;
}

.ps-auth p {
  font-size: 0.72rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.auth-btn {
  width: 100%;
  padding: 0.55rem;
  border-radius: 999px;
  background: #0a0612;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}

/* ─── Slide hint ─── */
.slide-nav-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.hint-btn:hover { background: rgba(255, 255, 255, 0.2); }

/* ─── Floating section nav ─── */
.section-nav {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  gap: 0.5rem;
}

.sec-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(30, 20, 45, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.sec-nav-btn:hover:not(:disabled) { background: rgba(50, 30, 70, 0.95); }
.sec-nav-btn:disabled { opacity: 0.35; cursor: default; }

.sec-nav-label {
  width: auto;
  padding: 0 1rem;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ─── Footer slide ─── */
.footer-slide-inner {
  grid-template-columns: 1fr;
  text-align: center;
  padding-bottom: 1rem;
}

.download-block h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.download-block .lead { margin: 0 auto 1.5rem; }

.qr-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.store-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-pill {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s;
}

.store-pill:hover:not(.disabled) { transform: translateY(-2px); }

.store-pill.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.site-footer {
  background: #000;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
  margin-top: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-sm { font-size: 0.85rem; }

.footer-year {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .header-actions { display: none; }
  .menu-toggle { display: flex; }

  .slide-inner,
  .slide-inner.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-h) + 1rem);
  }

  .slide-inner.reverse .slide-visual,
  .slide-inner.reverse .slide-content { order: unset; }

  .slide-visual { order: -1; }

  .lead { margin-left: auto; margin-right: auto; }

  .cta-row { justify-content: center; }

  .phones-duo {
    max-width: 300px;
    height: 340px;
    margin: 0 auto;
  }

  .phone-frame { width: 180px; }
  .phone-screen { min-height: 320px; }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .section-nav { bottom: 1rem; }

  .slide-nav-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slides { scroll-behavior: auto; }
  .ps-spinner { animation: none; }
}
