/* ===================================================
   PARTYMODE – PREMIUM DARK NEON DESIGN SYSTEM
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- TOKENS --- */
:root {
  --pink: #ff2d78;
  --pink-light: #ff6b9d;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --blue: #06b6d4;
  --bg: #08080f;
  --bg-card: #10101c;
  --bg-card2: #14141f;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f8f8ff;
  --text-muted: rgba(248, 248, 255, 0.55);
  --gradient: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  --gradient-blue: linear-gradient(135deg, #06b6d4 0%, var(--purple) 100%);
  --shadow-glow: 0 0 40px rgba(255, 45, 120, 0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- PARTICLES CANVAS --- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* --- CONTAINER --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-light);
  background: rgba(255, 45, 120, 0.12);
  border: 1px solid rgba(255, 45, 120, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.7));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--gradient);
  color: var(--text) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.4);
  transition: var(--transition) !important;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 45, 120, 0.6) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==============================
   HERO
============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,15,0.55) 0%,
    rgba(8,8,15,0.35) 40%,
    rgba(8,8,15,0.85) 75%,
    rgba(8,8,15,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s infinite;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.1s both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.9s ease 0.2s both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.9s ease 0.3s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(255, 45, 120, 0.45);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(255, 45, 120, 0.65); }
.btn-primary:hover::before { opacity: 1; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* STATS */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  animation: fadeInUp 0.9s ease 0.4s both;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  display: block;
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 100px;
  animation: scrollDown 2s infinite;
}

/* ==============================
   HOW IT WORKS
============================== */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,45,120,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-8px); border-color: rgba(255,45,120,0.3); }
.step-card:hover::before { opacity: 1; }
.step-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 45, 120, 0.1);
  border: 1px solid rgba(255, 45, 120, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--pink);
  position: relative;
}
.icon-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 45, 120, 0.15);
  filter: blur(12px);
  z-index: -1;
}
.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 12px;
  opacity: 0.7;
}
.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,45,120,0.5), rgba(168,85,247,0.5));
  position: relative;
}
.step-connector::before, .step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
}
.step-connector::after {
  right: 0;
  border-left-color: rgba(168,85,247,0.7);
}

/* ==============================
   APP PREVIEW
============================== */
.app-preview {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  overflow: hidden;
}
.app-preview::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}
.app-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.preview-text .section-tag { display: block; text-align: left; }
.preview-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.preview-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 45, 120, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-list li strong { font-size: 0.98rem; font-weight: 700; }
.feature-list li span { font-size: 0.88rem; color: var(--text-muted); }
.preview-image {
  position: relative;
}
.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,45,120,0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.phones-img {
  width: 100%;
  border-radius: 20px;
  filter: drop-shadow(0 20px 60px rgba(168,85,247,0.35));
  animation: float 4s ease-in-out infinite;
}

/* ==============================
   FEATURES
============================== */
.features {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(168,85,247,0.3); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card--highlight {
  background: linear-gradient(135deg, rgba(255,45,120,0.12) 0%, rgba(168,85,247,0.12) 100%);
  border-color: rgba(255,45,120,0.3);
}
.feature-card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* ==============================
   PARTIES
============================== */
.parties {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.parties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.party-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.party-card:hover { transform: translateY(-6px); border-color: rgba(255,45,120,0.35); box-shadow: 0 12px 40px rgba(255,45,120,0.12); }
.party-card--featured {
  border-color: rgba(255,45,120,0.3);
  background: linear-gradient(135deg, rgba(255,45,120,0.1) 0%, rgba(168,85,247,0.1) 100%);
}
.party-live {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: white;
  background: linear-gradient(90deg, #ef4444, #dc2626);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(239,68,68,0.5);
  animation: pulseLive 2s infinite;
}
.party-icon { font-size: 2.5rem; }
.party-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.party-location { font-size: 0.82rem; color: var(--text-muted); }
.party-meta {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.party-checkins, .party-likes {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.btn-checkin {
  background: var(--gradient);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-top: auto;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(255,45,120,0.3);
}
.btn-checkin:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,45,120,0.5); }

/* ==============================
   TESTIMONIALS
============================== */
.testimonials {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(255,45,120,0.25); }
.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(255,45,120,0.1) 0%, rgba(168,85,247,0.1) 100%);
  border-color: rgba(168,85,247,0.3);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* ==============================
   DOWNLOAD
============================== */
.download {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.download-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.18) 0%, rgba(255,45,120,0.08) 40%, transparent 70%);
  pointer-events: none;
}
.download-inner {
  position: relative;
  max-width: 680px;
}
.download-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 20px rgba(168,85,247,0.7));
  animation: float 3s ease-in-out infinite;
}
.download h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.download > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}
.download-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card2);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 32px;
  min-width: 200px;
  transition: var(--transition);
}
.btn-store:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.2);
}
.btn-store div {
  text-align: left;
  display: flex;
  flex-direction: column;
}
.btn-store span { font-size: 0.76rem; color: var(--text-muted); }
.btn-store strong { font-size: 1.05rem; font-weight: 700; }
.download-note { font-size: 0.82rem; color: var(--text-muted); }

/* ==============================
   FOOTER
============================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.6));
}
.footer-brand span { font-size: 1.1rem; font-weight: 800; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px;
  height: 36px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { background: rgba(255,255,255,0.08); color: var(--text); transform: translateY(-2px); }

/* ==============================
   MODAL
============================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--bg-card2);
  border: 1px solid rgba(255,45,120,0.3);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  box-shadow: 0 0 60px rgba(255,45,120,0.2);
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}
.modal-close:hover { background: var(--glass); color: var(--text); }
.modal-icon { font-size: 3rem; margin-bottom: 20px; }
.modal h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.modal p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 28px; line-height: 1.65; }
.modal-btn { display: block; }

/* ==============================
   ANIMATIONS
============================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.75; }
}
@keyframes scrollDown {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(16px); }
}
@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 8px rgba(239,68,68,0.5); }
  50%       { box-shadow: 0 0 20px rgba(239,68,68,0.9); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
  .parties-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; gap: 24px; flex-direction: column; position: fixed; top: 0; right: 0; width: 260px; height: 100vh; background: rgba(8,8,15,0.98); backdrop-filter: blur(20px); padding: 80px 32px 32px; z-index: 999; transform: translateX(100%); transition: var(--transition); }
  .nav-links.open { transform: translateX(0); display: flex; }
  .hamburger { display: flex; z-index: 1000; }
  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { width: 2px; height: 40px; }
  .step-connector::after { right: unset; bottom: 0; top: unset; border-left-color: transparent; border-top-color: rgba(168,85,247,0.7); }
  .app-preview-inner { grid-template-columns: 1fr; gap: 48px; }
  .preview-text .section-tag { text-align: center; }
  .preview-text h2 { text-align: center; }
  .preview-text > p { text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .parties-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 0; }
  .stat-item { padding: 0 20px; }
}

@media (max-width: 480px) {
  .parties-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
