/* =====================================================
   LANDING PAGE — index.html styles
   ===================================================== */

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(7, 7, 16, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo .live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--live-red);
  box-shadow: 0 0 8px var(--live-red);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }
.nav-cta { flex-shrink: 0; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(124, 92, 252, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(233, 30, 140, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(124, 92, 252, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid rgba(124, 92, 252, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.hero-platform-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.6s 0.05s ease both;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-proof {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof-item strong {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Hero Mockup (CSS app preview) ──────────────────── */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.mockup-device {
  width: 100%;
  max-width: 460px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow);
  animation: float 6s ease-in-out infinite;
}
.mockup-titlebar {
  height: 36px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
}
.mockup-titlebar span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-titlebar span:nth-child(1) { background: #ff5f57; }
.mockup-titlebar span:nth-child(2) { background: #febc2e; }
.mockup-titlebar span:nth-child(3) { background: #28c840; }

.mockup-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  height: 280px;
}

.mockup-stream {
  position: relative;
  background: linear-gradient(135deg, #0a0a18, #1a0a2e, #0a0a18);
  background-size: 200% 200%;
  animation: gradMove 8s ease infinite;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.mockup-stream-top {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--live-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  letter-spacing: 0.08em;
}
.mockup-live-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.mockup-viewers {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.45);
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.mockup-stream-title {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: var(--r-xs);
  backdrop-filter: blur(4px);
}

/* Fake stream silhouette */
.mockup-stream::after {
  content: '🎥';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.3;
}

.mockup-chat {
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  gap: 8px;
  overflow: hidden;
}
.mockup-chat-header {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mockup-comment {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.mockup-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mockup-comment.gold .mockup-avatar { background: var(--gold); color: #1a1000; }
.mockup-comment-text {
  flex: 1;
  min-width: 0;
}
.mockup-comment-text .mc-user {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-light);
}
.mockup-comment.gold .mc-user { color: var(--gold); }
.mockup-comment-text .mc-msg {
  font-size: 0.6rem;
  color: var(--text-sub);
  line-height: 1.4;
}
.mockup-comment.gold { background: var(--gold-bg); border-radius: var(--r-xs); padding: 4px; }

/* ── Stats Bar ───────────────────────────────────────── */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: -56px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-md);
}
.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item { padding: 16px; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section commons ─────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Features ────────────────────────────────────────── */
.features {
  padding: 100px 24px;
  position: relative;
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-header { text-align: center; margin-bottom: 60px; }
.features-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--ease);
  z-index: 0;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--glow), var(--shadow-md);
}
.feature-card:hover::before { opacity: 0.04; }

.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid rgba(124, 92, 252, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background var(--ease);
}
.feature-card:hover .feature-icon {
  background: rgba(124, 92, 252, 0.22);
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Gold feature card */
.feature-card.gold-feature {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg-card), rgba(255,215,0,0.04));
}
.feature-card.gold-feature:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold), var(--shadow-md);
}
.feature-card.gold-feature .feature-icon {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.25);
}

/* ── How It Works ────────────────────────────────────── */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,92,252,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.how-header { text-align: center; margin-bottom: 60px; }
.how-header .section-sub { margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  opacity: 0.3;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(124,92,252,0.4);
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── Social Proof / Testimonials ─────────────────────── */
.testimonials {
  padding: 100px 24px;
}
.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.testimonials-header { text-align: center; margin-bottom: 56px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: border-color var(--ease), transform var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.9rem; font-weight: 600; }
.testimonial-handle { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(124,92,252,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-inner .section-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.cta-inner .section-sub { margin: 0 auto 36px; text-align: center; }
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
}
.footer-logo .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live-red);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--text-sub); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Scroll reveal (JS-driven) ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-mockup { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar { margin-top: -30px; }
  .stats-bar-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
