/* ===========================================
   HERO SECTION
   Research: 50ms to form first impression
   Goal: Value proposition + CTA visible immediately
=========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
  text-align: center;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1;
}

.hero h1 .line-1 {
  color: var(--text-main);
  display: block;
}

.hero h1 .line-2 {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Hero Platforms (Games + Discord) */
.hero-platforms {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.platform-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
}

.platform-icon {
  font-size: 16px;
}

.platform-list {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.platform-list strong {
  color: var(--text-main);
  font-weight: 600;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Activity Feed */
.activity-feed-container {
  margin-top: var(--space-2xl);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.activity-feed-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.activity-feed-header .live-indicator {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

#activity-feed {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 13px;
  animation: fade-in-up 0.4s ease-out;
}

.activity-item.fade-out {
  animation: fade-out-up 0.3s ease-out forwards;
}

.activity-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-name {
  color: var(--text-main);
  font-weight: 600;
}

.activity-action {
  color: var(--text-muted);
}

.activity-game {
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.activity-time {
  color: var(--text-dim);
  font-size: 11px;
  margin-left: auto;
}

/* ===========================================
   STATS SECTION
   Research: Specific numbers = credibility
=========================================== */
.stats-bar {
  padding: var(--space-2xl) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-lg);
}

.stat-value {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--text-main) 0%,
    var(--primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================================
   APP PREVIEW SECTION
   Research: Show the product = reduce uncertainty
=========================================== */
.app-preview {
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.app-preview-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 18px;
}

.app-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-xl);
  perspective: 1000px;
}

.app-screen {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.app-screen.main {
  width: 280px;
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.2);
  transform: translateY(0);
}

.app-screen.side {
  width: 220px;
  opacity: 0.7;
  transform: scale(0.9);
}

.app-screen.side:hover {
  opacity: 1;
  transform: scale(0.95);
}

.app-screen.main:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(99, 102, 241, 0.3);
}

/* ===========================================
   FEATURES SECTION
   Research: Rule of 3 - easy to remember
=========================================== */
.features {
  padding: var(--space-4xl) 0;
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ===========================================
   TESTIMONIALS SECTION
   Research: Social proof from real users
=========================================== */
.testimonials {
  padding: var(--space-4xl) 0;
  background: rgba(99, 102, 241, 0.02);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s;
}

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

.testimonial-text {
  color: var(--text-main);
  font-size: 15px;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.testimonial-author {
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
}

/* ===========================================
   HOW IT WORKS
   Research: Reduce friction with clear steps
=========================================== */
.how-it-works {
  padding: var(--space-4xl) 0;
  background: linear-gradient(
    180deg,
    transparent,
    var(--bg-card),
    transparent
  );
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step:hover .step-number {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

.step:hover .step-title {
  color: var(--primary);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-desc {
  color: var(--text-muted);
  font-size: 15px;
}

.step-time {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* ===========================================
   PRICING SECTION
   Research: Decoy effect, anchor pricing
=========================================== */
.pricing {
  padding: var(--space-4xl) 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

/* ===========================================
   FAQ SECTION
   Research: Address objections before they arise
=========================================== */
.faq {
  padding: var(--space-4xl) 0;
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

/* ===========================================
   CTA SECTION
   Research: Repeat CTA for those who scrolled
=========================================== */
.final-cta {
  padding: var(--space-4xl) 0;
  text-align: center;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(99, 102, 241, 0.05)
  );
}

.final-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: var(--space-md);
}

.final-cta p {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  color: var(--text-muted);
  font-size: 18px;
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 1024px) {
  .app-showcase {
    flex-wrap: wrap;
  }

  .app-screen.side {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .stats-grid,
  .features-grid,
  .testimonials-grid,
  .steps-container,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.popular {
    transform: scale(1);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .steps-container::before {
    display: none;
  }
}
