/* ============================================================
   HeyWorld — The Internet's Meme Clubhouse
   Dark mode · meme community · coming soon
   ============================================================ */

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #13131A;
  --surface: #1C1C26;
  --border: #2A2A38;

  --purple: #7C3AED;
  --cyan: #06B6D4;
  --yellow: #FACC15;
  --pink: #EC4899;
  --green: #10B981;
  --gold: #F59E0B;
  --gold-light: #FCD34D;

  --text-primary: #F5F5F7;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;

  --grad-hero: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --grad-meme: linear-gradient(135deg, #FACC15 0%, #EC4899 100%);
  --shadow-soft: 0 4px 24px rgba(124, 58, 237, 0.15);
  --shadow-meme: 0 0 40px rgba(236, 72, 153, 0.35);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --font-display: "Space Grotesk", "Satoshi", "Clash Display", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

.grad-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.meme-text {
  background: var(--grad-meme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted-text { color: var(--text-secondary); }

/* ============ FLOATING MEMES BG ============ */
.floating-memes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-meme {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.12;
  filter: saturate(1.2);
  animation: drift linear infinite;
  will-change: transform;
}
@keyframes drift {
  from { transform: translateY(110vh) rotate(0deg); }
  to { transform: translateY(-15vh) rotate(340deg); }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  transition: transform 0.2s;
}
.logo:hover { transform: rotate(-3deg) scale(1.05); }
.logo-globe { font-size: 1.3rem; display: inline-block; transition: transform 0.4s; }
.logo:hover .logo-globe { transform: rotate(360deg); }
.logo-text b {
  background: var(--grad-meme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a:not(.btn) {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.main-nav a:not(.btn):hover { color: var(--text-primary); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.2s;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--r-pill);
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--grad-meme);
  color: #0A0A0F;
  box-shadow: 0 4px 24px rgba(250, 204, 21, 0.25);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(236, 72, 153, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--yellow); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 36px; font-size: 1.05rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 72px 0 64px;
  z-index: 1;
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(124, 58, 237, 0.22), transparent),
    radial-gradient(ellipse 50% 45% at 80% 30%, rgba(6, 182, 212, 0.18), transparent),
    radial-gradient(ellipse 45% 40% at 50% 90%, rgba(236, 72, 153, 0.15), transparent);
  animation: meshShift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshShift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.08);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.glitch {
  position: relative;
  color: var(--yellow);
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}
.glitch::before { color: var(--pink); animation: glitch1 3s infinite; clip-path: inset(0 0 55% 0); }
.glitch::after { color: var(--cyan); animation: glitch2 2.7s infinite; clip-path: inset(60% 0 0 0); }
@keyframes glitch1 {
  0%, 93%, 100% { transform: none; opacity: 0; }
  94% { transform: translate(-3px, -2px); opacity: 0.85; }
  96% { transform: translate(3px, 1px); opacity: 0.85; }
  98% { transform: translate(-2px, 2px); opacity: 0.85; }
}
@keyframes glitch2 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  91% { transform: translate(3px, 2px); opacity: 0.85; }
  93% { transform: translate(-3px, -1px); opacity: 0.85; }
  95% { transform: translate(2px, -2px); opacity: 0.85; }
}
.hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 24px;
}
.hero-sub b { color: var(--text-primary); }

/* countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.cd-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--grad-meme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd-label {
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cd-sep {
  color: var(--text-muted);
  font-size: 1.3rem;
  font-weight: 700;
  padding-bottom: 12px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* globe visual */
.hero-visual { display: flex; justify-content: center; }
.globe-wrap {
  position: relative;
  width: min(400px, 80vw);
  aspect-ratio: 1;
}
#globe {
  width: 100%;
  height: 100%;
  display: block;
}
.avatar-chip {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  animation: float 5s ease-in-out infinite;
}
.avatar-chip.c1 { top: 6%;  left: 10%; animation-delay: 0s; }
.avatar-chip.c2 { top: 18%; right: 2%;  animation-delay: 0.8s; }
.avatar-chip.c3 { bottom: 24%; left: 0%; animation-delay: 1.6s; }
.avatar-chip.c4 { bottom: 8%; right: 12%; animation-delay: 2.4s; }
.avatar-chip.c5 { top: 46%; left: -4%; animation-delay: 3.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============ MARQUEE ============ */
.marquee {
  position: relative;
  z-index: 1;
  background: var(--grad-meme);
  color: #0A0A0F;
  overflow: hidden;
  padding: 12px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 24px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.marquee-track i { font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section { position: relative; z-index: 1; padding: 72px 0; }
.eyebrow {
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow.yellow { color: var(--yellow); }
.eyebrow.pink { color: var(--pink); }
.eyebrow.cyan { color: var(--cyan); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 36px;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ============ PROBLEM -> SOLUTION ============ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.problem-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.problem-icon { font-size: 1.6rem; margin-bottom: 12px; }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.problem-card p { color: var(--text-secondary); font-size: 0.9rem; }
.solution-arrow {
  text-align: center;
  font-size: 1.8rem;
  color: var(--yellow);
  margin: 24px 0;
}
.solution-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: var(--r-lg);
  padding: 44px 32px;
  text-align: center;
  overflow: hidden;
}
.solution-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.solution-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.35;
  margin-bottom: 14px;
  position: relative;
}
.solution-sub {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(250, 204, 21, 0.5);
  transform: translateY(-4px) rotate(-0.5deg);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: transform 0.25s;
}
.feature-card:hover .feature-icon { transform: scale(1.15) rotate(8deg); }
.fi-yellow { background: rgba(250, 204, 21, 0.14); }
.fi-pink { background: rgba(236, 72, 153, 0.14); }
.fi-cyan { background: rgba(6, 182, 212, 0.14); }
.fi-green { background: rgba(16, 185, 129, 0.14); }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }
.feature-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}

/* ============ FEED PREVIEW ============ */
.feed-preview { max-width: 560px; margin: 0 auto; }
.feed-viewport {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}
.feed-track { display: flex; flex-direction: column; }
.feed-mask {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  background: rgba(10, 10, 15, 0.35);
  pointer-events: none;
}
.feed-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.feed-overlay p { font-weight: 600; font-size: 1rem; }
.feed-post {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.feed-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.feed-body { min-width: 0; }
.feed-user {
  font-weight: 600;
  font-size: 0.88rem;
}
.feed-user .badge-verify { color: var(--yellow); margin-left: 4px; }
.feed-time { color: var(--text-muted); font-size: 0.75rem; margin-left: 8px; font-weight: 400; }
.feed-text { color: var(--text-secondary); font-size: 0.88rem; margin-top: 2px; }
.feed-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(250, 204, 21, 0.12);
  border-radius: var(--r-pill);
  padding: 2px 10px;
}

/* ============ CAROUSEL (KATEGORI) ============ */
.carousel { position: relative; }
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-slide {
  min-width: 100%;
  padding: 4px;
}
.cat-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 300px;
}
.cat-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%),
    var(--cat-grad, linear-gradient(160deg, #312e81, #1e1b4b));
}
.cat-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,0.03) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,0.03) 34px 35px);
}
.cat-info { padding: 28px; display: flex; flex-direction: column; }
.cat-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.cat-tagline {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cat-info p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.cat-example {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 18px;
}
.cat-meta {
  display: flex;
  gap: 24px;
  margin-top: auto;
  flex-wrap: wrap;
}
.cat-meta div { display: flex; flex-direction: column; }
.cat-meta .m-label { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cat-meta .m-val { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: border-color 0.15s;
}
.carousel-btn:hover { border-color: var(--yellow); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--yellow);
  transform: scale(1.25);
}

/* ============ ROADMAP ============ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2%;
  right: 2%;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  opacity: 0.35;
}
.roadmap-item { position: relative; padding-top: 32px; }
.roadmap-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--yellow);
}
.roadmap-phase {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.roadmap-date {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.roadmap-item ul li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 4px 0 4px 18px;
  position: relative;
}
.roadmap-item ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--yellow);
}
.roadmap-item.is-now .roadmap-phase { color: var(--yellow); }

/* ============ WAITLIST ============ */
.waitlist-box {
  position: relative;
  text-align: center;
  padding: 60px 28px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(236, 72, 153, 0.14), transparent),
    var(--bg-secondary);
  border: 1px solid rgba(236, 72, 153, 0.3);
  overflow: hidden;
}
.waitlist-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 50% at 50% 110%, rgba(250, 204, 21, 0.12), transparent);
  pointer-events: none;
}
.waitlist-badge {
  position: relative;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  margin-bottom: 18px;
}
.waitlist-box h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.waitlist-box > p {
  position: relative;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 30px;
}
.waitlist-form {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.waitlist-form input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text-primary);
  padding: 14px 22px;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}
.waitlist-form input:focus { border-color: var(--yellow); }
.waitlist-note {
  position: relative;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.waitlist-joined {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
.joined-emoji { font-size: 2rem; }
.waitlist-joined p { color: var(--text-secondary); font-size: 0.95rem; }
.waitlist-joined b { color: var(--yellow); }

/* confetti */
.confetti {
  position: fixed;
  top: -10px;
  z-index: 500;
  pointer-events: none;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translateY(105vh) rotate(720deg); opacity: 0.2; }
}

/* ============ FAQ ============ */
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  list-style: none;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  color: var(--yellow);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 44px 0 28px;
}
.footer-inner { text-align: center; }
.footer-inner .logo { justify-content: center; }
.footer-tag {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 16px 0 20px;
}
.footer-emoji { animation: bob 2.4s ease-in-out infinite; display: inline-block; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}
#easterEgg { cursor: pointer; display: inline-block; transition: transform 0.3s; }
#easterEgg:hover { transform: rotate(20deg) scale(1.3); }

/* ============ TOAST ============ */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--surface);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 20px;
  box-shadow: var(--shadow-soft);
  animation: toast-in 0.25s ease, toast-out 0.3s ease 2.7s forwards;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) rotate(2deg); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 24px; }
  .hero-cta, .hero-stats { justify-content: center; }
  .countdown { justify-content: center; }
  .hero-visual { order: -1; }
  .globe-wrap { width: min(300px, 70vw); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .roadmap::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .cat-card { grid-template-columns: 1fr; }
  .cat-art { min-height: 160px; }
  .hero { padding: 56px 0 52px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .main-nav .btn { margin-top: 14px; }
  .countdown { gap: 6px; }
  .cd-cell { min-width: 60px; padding: 8px 6px; }
  .cd-num { font-size: 1.3rem; }
  .hero-cta .btn { width: 100%; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .roadmap { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .feed-viewport { height: 320px; }
  .toast-wrap { left: 16px; right: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .cd-sep { display: none; }
  .countdown { flex-wrap: wrap; }
  .solution-card { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
