/* ── Festory — Design System ──────────────────────────────────────────────── */

:root {
  --bg:            #09090F;
  --bg-alt:        #0D0D1A;
  --surface:       #111122;
  --surface-2:     #181830;
  --purple:        #8B3CF7;
  --purple-lt:     #A970FF;
  --purple-border: rgba(139, 60, 247, 0.25);
  --purple-glow:   rgba(139, 60, 247, 0.10);
  --text:          #ECEAF5;
  --text-2:        #8888AA;
  --text-3:        #52526A;
  --border:        rgba(255, 255, 255, 0.06);
  --border-2:      rgba(255, 255, 255, 0.10);
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --ease:          cubic-bezier(0.25, 0, 0, 1);
  --font:          -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ── Navigation ──────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.nav-logo:hover {
  transform: scale(1.08);
  opacity: 0.88;
}

.nav-logo img {
  display: block;
  border-radius: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s var(--ease), box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--purple-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 60, 247, 0.38);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 6px 24px rgba(139, 60, 247, 0.35);
}

.btn-primary:hover {
  background: var(--purple-lt);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(139, 60, 247, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--purple-border);
  transform: translateY(-2px);
}

/* ── Shared section layout ───────────────────────────────────────────────── */

.section { padding: 104px 48px; }

.inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-lt);
  background: var(--purple-glow);
  border: 1px solid var(--purple-border);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — centered stack: copy → phone
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 48px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Ambient orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.hero-orb-1 {
  width: 700px; height: 700px;
  background: var(--purple);
  opacity: 0.20;
  top: -200px; right: -80px;
  animation: drift-a 20s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 480px; height: 480px;
  background: #1A0A3E;
  opacity: 0.35;
  bottom: -160px; left: -100px;
  animation: drift-b 16s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0); }
  to   { transform: translate(-50px, 35px); }
}

@keyframes drift-b {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, -24px); }
}

/* Two-column inner container */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--purple-lt);
  background: var(--purple-glow);
  border: 1px solid var(--purple-border);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 36px;
}

.hero-title {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-title .accent { color: var(--purple-lt); }

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 48px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Hero visual — right column */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow rings around phone */
.phone-wrapper {
  position: relative;
  flex-shrink: 0;
}

.phone-wrapper::before,
.phone-wrapper::after {
  content: '';
  position: absolute;
  inset: -36px;
  border-radius: 64px;
  border: 1px solid rgba(139, 60, 247, 0.12);
  pointer-events: none;
}

.phone-wrapper::after {
  inset: -72px;
  border-radius: 80px;
  border-color: rgba(139, 60, 247, 0.06);
}

.phone {
  width: 264px;
  border-radius: 40px;
  background: #0C0C1E;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.03),
    0 56px 100px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(139, 60, 247, 0.22);
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: phone-float 7s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* Phone internals */
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 6px;
  background: #0C0C1E;
}

.phone-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.phone-signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.phone-signal span {
  width: 3px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 1px;
}

.phone-signal span:nth-child(1) { height: 4px; }
.phone-signal span:nth-child(2) { height: 7px; }
.phone-signal span:nth-child(3) { height: 10px; }

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  background: #0C0C1E;
}

.app-greeting {
  font-size: 10px;
  color: var(--text-2);
  margin-bottom: 1px;
}

.app-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.app-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.75;
}

.app-map {
  height: 130px;
  background: #09091A;
  background-image:
    linear-gradient(rgba(139, 60, 247, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 60, 247, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  position: relative;
  overflow: hidden;
}

.app-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 62% 50%, rgba(139, 60, 247, 0.18) 0%, transparent 65%);
}

.map-pin {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(139, 60, 247, 0.22), 0 0 14px rgba(139, 60, 247, 0.5);
  z-index: 1;
}

.map-pin-1 { top: 42%; left: 60%; }
.map-pin-2 { top: 22%; left: 32%; }
.map-pin-3 {
  top: 64%; left: 74%;
  background: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.app-events-section {
  padding: 10px 14px 0;
  background: #0C0C1E;
}

.app-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.app-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.app-event:last-child { border-bottom: none; }

.app-event-thumb {
  width: 40px; height: 40px;
  border-radius: 9px;
  flex-shrink: 0;
}

.app-thumb-purple { background: #5B21B6; }
.app-thumb-blue   { background: #1D4ED8; }
.app-thumb-teal   { background: #0F766E; }

.app-event-info { flex: 1; min-width: 0; }

.app-event-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-event-meta { font-size: 9px; color: var(--text-2); }

.app-live-tag {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: #EF4444;
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.app-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 20px 16px;
  background: #0C0C1E;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
}

.app-nav-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--surface-2);
}

.app-nav-dot.active {
  background: var(--purple);
  box-shadow: 0 0 10px rgba(139, 60, 247, 0.5);
}

/* Floating badges */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(13, 13, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  z-index: 4;
  white-space: nowrap;
}

.float-card-1 {
  top: 80px;
  left: -164px;
  animation: float-a 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 88px;
  right: -156px;
  animation: float-b 6s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.float-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #EF4444;
  flex-shrink: 0;
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.08); }
}

.float-icon-wrap {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--purple-glow);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-lt);
  flex-shrink: 0;
}

.float-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1px;
}

.float-sub { font-size: 10px; color: var(--text-2); }

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-hint 2.4s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS — Minimal inline row
   ═══════════════════════════════════════════════════════════════════════════ */

.stats {
  padding: 0 48px 80px;
}

.stats-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
}

.stat {
  flex: 1;
  padding: 44px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.stat:last-child { border-right: none; }
.stat:hover { background: var(--surface-2); }

.stat-num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--purple-lt);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES — Bento grid
   ═══════════════════════════════════════════════════════════════════════════ */

.features { background: var(--bg-alt); }

.features-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto;
  gap: 10px;
}

/* Bento placement */
.feature-card:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 3; }
.feature-card:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 2; }
.feature-card:nth-child(3) { grid-column: 4 / 7; grid-row: 2 / 3; }
.feature-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.feature-card:nth-child(5) { grid-column: 3 / 5; grid-row: 3; }
.feature-card:nth-child(6) { grid-column: 5 / 7; grid-row: 3; }

.feature-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line on featured card */
.feature-card:nth-child(1)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--purple);
  opacity: 0.6;
}

.feature-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--purple-glow);
  border: 1px solid var(--purple-border);
  color: var(--purple-lt);
  margin-bottom: 24px;
}

/* Larger icon treatment for the hero feature card */
.feature-card:nth-child(1) .feature-icon {
  width: 56px; height: 56px;
  margin-bottom: 32px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card:nth-child(1) h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.feature-card:nth-child(1) p {
  font-size: 15px;
}

/* ── Feature card hero enrichment ────────────────────────────────────────── */

.feature-card:nth-child(1) {
  display: flex;
  flex-direction: column;
}

.fc-map {
  height: 130px;
  margin: 28px 0 24px;
  border-radius: var(--radius);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: #07071A;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.fc-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 58% 48%, rgba(139, 60, 247, 0.18) 0%, transparent 60%);
}

.fc-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(139, 60, 247, 0.2), 0 0 14px rgba(139, 60, 247, 0.5);
  z-index: 1;
}

.fc-pin-blue {
  background: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 0 10px rgba(59, 130, 246, 0.4);
}

.fc-pin-teal {
  background: #14B8A6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2), 0 0 10px rgba(20, 184, 166, 0.4);
}

.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.fc-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 50px;
  padding: 5px 13px;
  transition: border-color 0.2s, color 0.2s;
}

.fc-tag:hover {
  border-color: var(--purple-border);
  color: var(--purple-lt);
}

.fc-stat {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-stat-num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--purple-lt);
  line-height: 1;
}

.fc-stat-label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — Vertical numbered steps
   ═══════════════════════════════════════════════════════════════════════════ */

.how-header {
  max-width: 1100px;
  margin: 0 auto 64px;
}

.steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.2s;
}

.step:first-child { border-top: 1px solid var(--border); }

.step:hover { background: transparent; }

.step-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-big-num {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--purple);
  opacity: 0.12;
  font-variant-numeric: tabular-nums;
}

.step-right {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-icon-wrap {
  width: 60px; height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--purple-border);
  color: var(--purple-lt);
}

.step-text h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 420px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DOWNLOAD CTA
   ═══════════════════════════════════════════════════════════════════════════ */

.download {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.download-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(150px);
  opacity: 0.09;
  top: -180px; right: -120px;
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.download-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-lt);
  margin-bottom: 20px;
}

.download-inner .section-title { margin-bottom: 14px; }
.download-inner .section-sub   { margin: 0 auto 52px; }

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  min-width: 196px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
}

.store-btn:hover {
  border-color: var(--purple-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.store-btn-icon { color: var(--text); flex-shrink: 0; }

.store-btn-text { text-align: left; }

.store-btn-sub {
  font-size: 11px;
  color: var(--text-2);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.store-btn-name {
  font-size: 15px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple-lt);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-left: auto;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
  width: 100%;
}

/* ── Page logo (deeplink pages) ──────────────────────────────────────────── */

.page-logo {
  position: fixed;
  top: 20px; left: 28px;
  z-index: 10;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple-lt);
}

/* ── Glass card (invitation & deeplink pages) ────────────────────────────── */

.glass {
  background: rgba(17, 17, 34, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(139, 60, 247, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.5);
}

/* ── Scroll animations ───────────────────────────────────────────────────── */

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* ── Why Festory ─────────────────────────────────────────────────────────── */

.why-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.why-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-3px);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-glow);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-lt);
  flex-shrink: 0;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.why-problem {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
}

.why-problem-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 10px;
  border-left: 2px solid var(--border-2);
}

.why-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.why-solution {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--purple-lt);
}

.why-solution-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  padding-left: 10px;
  border-left: 2px solid var(--purple-border);
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pricing-card.pricing-featured {
  background: linear-gradient(160deg, rgba(139,60,247,0.18) 0%, var(--surface) 60%);
  border-color: var(--purple-border);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(139,60,247,0.18);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-plan-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

.pricing-featured .pricing-plan-tag {
  color: var(--purple-lt);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--text);
}

.pricing-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 2px;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-3);
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.pf-yes {
  color: var(--text);
}

.pf-yes::before {
  background-color: rgba(139,60,247,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B3CF7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.pf-no {
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: var(--text-3);
}

.pf-no::before {
  background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352526A' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.pf-pro-note {
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pf-discount {
  font-size: 11px;
  font-weight: 700;
  background: rgba(139,60,247,0.15);
  color: var(--purple-lt);
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: auto;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s var(--ease), box-shadow 0.2s, border-color 0.2s;
}

.pricing-btn-primary {
  background: var(--purple);
  color: #fff;
}

.pricing-btn-primary:hover {
  background: var(--purple-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(139,60,247,0.4);
}

.pricing-btn-outline {
  border: 1px solid var(--border-2);
  color: var(--text);
}

.pricing-btn-outline:hover {
  border-color: var(--purple-border);
  color: var(--purple-lt);
  transform: translateY(-1px);
}

.pricing-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 10px;
}

.pricing-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-3);
}

.pricing-footer svg {
  color: var(--purple-lt);
  flex-shrink: 0;
}

/* Visible solo en móvil cuando los planes están en swipe */
.pricing-swipe-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .section { padding: 80px 32px; }
  .stats { padding: 0 32px 64px; }
  .footer { padding: 40px 32px; }
}

@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .feature-card:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
  .feature-card:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
  .feature-card:nth-child(4) { grid-column: 1 / 2; grid-row: auto; }
  .feature-card:nth-child(5) { grid-column: 2 / 3; grid-row: auto; }
  .feature-card:nth-child(6) { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .section { padding: 64px 24px; }
  .stats { padding: 0 24px 56px; }

  /* Hero — single column */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-copy { text-align: center; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  /* Stats — stack */
  .stats-row { flex-direction: column; }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
  }
  .stat:last-child { border-bottom: none; }

  /* Features — single column */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) { grid-column: 1 / 2; grid-row: auto; }

  /* Steps — single column */
  .step { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .step-big-num { font-size: 64px; }
  .step-right { flex-direction: column; gap: 16px; }

  /* Why — 2 columns */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Pricing — single column stack */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-card.pricing-featured {
    transform: none;
    margin-top: 16px;
  }

  /* Footer */
  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  nav { padding: 0 20px; }
  .section { padding: 52px 20px; }
  .stats { padding: 0 20px 48px; }

  /* Hero */
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }

  /* Why cards — horizontal icon+text layout */
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card {
    flex-direction: row;
    gap: 16px;
    padding: 20px;
    align-items: flex-start;
  }
  .why-icon { flex-shrink: 0; }

  /* Footer */
  .footer { padding: 28px 20px; }
}
