/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --pink: #ec4899;
  --pink-light: #f9a8d4;
  --indigo: #4f46e5;
  --bg: #09090b;
  --bg-2: #0f0f14;
  --surface: #18181b;
  --surface-2: #1f1f27;
  --border: rgba(255,255,255,0.08);
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Gradient Text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
}

.btn-nav {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 20px;
  font-size: 14px;
}

.btn-nav:hover {
  background: var(--surface-2);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.logo-icon {
  font-size: 24px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
}

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

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

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  top: -200px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: -100px;
  left: 100px;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--indigo);
  top: 200px;
  left: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}

.stat-label {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── Phone Mockup ─── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 120px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--surface);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: var(--bg);
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.app-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-2);
}

.app-header {
  padding: 48px 16px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.app-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-3);
}

.app-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.profile-avatar {
  position: relative;
  width: 44px;
  height: 44px;
}

.avatar-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.avatar-img {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.profile-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.profile-followers {
  font-size: 11px;
  color: var(--text-3);
}

.app-comments {
  flex: 1;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item {
  display: flex;
  gap: 8px;
  animation: slideUp 0.4s ease both;
}

.comment-item--reply {
  margin-left: 28px;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: white;
}

.comment-body {
  flex: 1;
}

.comment-user {
  font-size: 10px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 2px;
}

.comment-text {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.4;
  margin-bottom: 4px;
}

.comment-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comment-like {
  font-size: 10px;
  color: var(--text-3);
}

.comment-reply {
  font-size: 10px;
  color: var(--text-3);
  cursor: pointer;
}

.app-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.input-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 700;
}

.input-field {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  color: var(--text-3);
}

.input-send {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ─── Features Section ─── */
.features {
  padding: 120px 0;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(236,72,153,0.2));
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

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

.feature-card p em {
  color: var(--purple-light);
  font-style: normal;
  font-weight: 600;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-2);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}

.step-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-family: 'Inter', monospace;
}

.step-visual {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-visual--open {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(79,70,229,0.2));
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
}

.step-visual--search {
  background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(124,58,237,0.2));
  border: 1px solid rgba(236,72,153,0.3);
  color: var(--pink-light);
}

.step-visual--comment {
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(79,70,229,0.2));
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
}

.step-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step-content p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 140px;
  flex-shrink: 0;
}

.connector-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  opacity: 0.4;
}

/* ─── Leaderboard ─── */
.leaderboard {
  padding: 120px 0;
}

.leaderboard-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.leaderboard-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leaderboard-text .section-title {
  text-align: left;
  margin-bottom: 0;
}

.leaderboard-text p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

.leaderboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.lb-title {
  font-size: 15px;
  font-weight: 700;
}

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

.lb-list {
  display: flex;
  flex-direction: column;
}

.lb-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.lb-item:last-child {
  border-bottom: none;
}

.lb-item:hover {
  background: var(--surface-2);
}

.lb-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--text-3);
}

.lb-item--gold .lb-rank {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.lb-item--silver .lb-rank {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  color: white;
}

.lb-item--bronze .lb-rank {
  background: linear-gradient(135deg, #b45309, #92400e);
  color: white;
}

.lb-content {
  flex: 1;
  min-width: 0;
}

.lb-user {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 4px;
}

.lb-comment {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-profile {
  font-size: 11px;
  color: var(--text-3);
}

.lb-likes {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── Download CTA ─── */
.download {
  padding: 120px 0;
  background: var(--bg-2);
}

.download-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.download-blob.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: -200px;
  right: -100px;
  opacity: 0.12;
}

.download-blob.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--pink);
  bottom: -150px;
  left: -50px;
  opacity: 0.1;
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.download-content p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  background: var(--text);
  color: var(--bg);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  filter: brightness(1.05);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}

.store-large {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.download-note {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 0 !important;
}

/* ─── Footer ─── */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
}

/* ─── Animations ─── */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.phone-mockup {
  animation: float 5s ease-in-out infinite;
}

.comment-item:nth-child(1) { animation-delay: 0.1s; }
.comment-item:nth-child(2) { animation-delay: 0.2s; }
.comment-item:nth-child(3) { animation-delay: 0.3s; }
.comment-item:nth-child(4) { animation-delay: 0.4s; }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Support Page ─── */
.support-hero {
  padding: 140px 0 80px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.support-hero-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.support-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0;
}

.support-hero p {
  font-size: 18px;
  color: var(--text-2);
  margin: 0;
}

.support-cards-section {
  padding: 60px 0;
  background: var(--bg-2);
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.support-card-icon {
  font-size: 28px;
}

.support-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.support-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
}

.support-body {
  padding: 60px 0 100px;
}

.support-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

.support-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.support-toc nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support-toc nav a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.support-toc nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.support-content {
  max-width: 720px;
}

.support-content section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.support-content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.support-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.support-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.support-content p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.support-content ul,
.support-content ol {
  margin: 10px 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.support-content li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.support-content a {
  color: var(--purple-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(167,139,250,0.3);
  transition: border-color 0.2s;
}

.support-content a:hover {
  border-color: var(--purple-light);
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--surface-2);
}

.faq-item[open] summary {
  background: var(--surface-2);
  color: var(--purple-light);
}

.faq-item p,
.faq-item ul {
  padding: 0 24px 18px;
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item ul {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Step list */
.support-steps {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-highlight {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(236,72,153,0.06));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 20px 0;
}

.support-highlight strong {
  color: var(--text);
}

/* Contact cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateX(4px);
}

.contact-card-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.contact-card-body {
  flex: 1;
}

.contact-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-card-body p {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 4px;
  line-height: 1.4;
}

.contact-card-body span {
  font-size: 13px;
  color: var(--purple-light);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
  .support-toc {
    position: static;
  }
  .support-toc nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .support-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .support-cards {
    grid-template-columns: 1fr;
  }
}

/* ─── Leaderboard Skeleton & Empty ─── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.lb-skeleton {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.lb-skeleton:last-child {
  border-bottom: none;
}

.lb-skel-rank,
.lb-skel-likes,
.lb-skel-line {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}

.lb-skel-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.lb-skel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lb-skel-line {
  height: 12px;
  width: 100%;
}

.lb-skel-line--short { width: 40%; }
.lb-skel-line--xs    { width: 25%; }

.lb-skel-likes {
  width: 48px;
  height: 14px;
  flex-shrink: 0;
}

.lb-empty {
  padding: 32px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

/* ─── Legal Pages ─── */
.legal-hero {
  padding: 140px 0 60px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.legal-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(236,72,153,0.2));
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.legal-hero p {
  color: var(--text-3);
  font-size: 14px;
}

.legal-body {
  padding: 60px 0 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

/* Table of Contents */
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.toc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc nav a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
  line-height: 1.4;
}

.legal-toc nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

/* Legal Content */
.legal-content {
  max-width: 720px;
}

.legal-content section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.legal-content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-content p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content ul li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--purple-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.3);
  transition: border-color 0.2s;
}

.legal-content a:hover {
  border-color: var(--purple-light);
}

.legal-highlight {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(236,72,153,0.06));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 20px 0;
}

.legal-highlight strong {
  color: var(--text);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal-table th {
  text-align: left;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
}

.legal-table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text-2);
  line-height: 1.5;
  vertical-align: top;
}

.legal-table tr:hover td {
  background: var(--surface);
}

.legal-contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 2;
  margin-top: 16px;
}

.legal-contact-card strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--large {
    grid-column: span 1;
  }

  .leaderboard-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .leaderboard-text .section-title {
    text-align: center;
  }

  .leaderboard-text {
    align-items: center;
    text-align: center;
  }
}

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

  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
  }

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

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .download-inner {
    padding: 48px 32px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .hero-badge {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    padding: 120px 0 48px;
  }

  .legal-table {
    font-size: 13px;
  }

  .legal-table th,
  .legal-table td {
    padding: 8px 12px;
  }
}
