*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f13;
  --surface: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: rgba(255,255,255,0.45);
  --accent: #7c6aff;
  --accent2: #a78bfa;
  --accent3: #e879f9;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle dot grid */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── Floating emojis ── */
.emoji-field {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-emoji {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  opacity: 0.18;
  animation: floatBob var(--duration) ease-in-out var(--delay) infinite alternate;
  filter: saturate(0.7);
}

@keyframes floatBob {
  from { transform: translateY(0px) rotate(-4deg); }
  to   { transform: translateY(-18px) rotate(4deg); }
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: rgba(15,15,20,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo {
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(124,106,255,0.12);
  border: 1px solid rgba(124,106,255,0.25);
  border-radius: 20px; padding: 4px 14px;
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ── CTA ── */
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 48px; }

.btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none;
  padding: 16px 32px; border-radius: 16px;
  font-size: 17px; font-weight: 700; cursor: pointer;
  box-shadow: 0 0 40px rgba(124,106,255,0.4);
  transition: filter 0.2s, transform 0.15s;
}
.btn-download:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-download:active { transform: translateY(0); }

.cta-note { font-size: 13px; color: var(--text-muted); }

/* ── Feature chips ── */
.feature-chips {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 16px;
  font-size: 13px; color: var(--text-muted);
}

/* ── Mockup ── */
.mockup-section {
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  padding: 0 24px 120px;
}

.mockup-frame {
  width: 100%; max-width: 780px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}

.mockup-bar {
  background: #1a1a24;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mockup-url {
  flex: 1; text-align: center;
  font-size: 11px; color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border-radius: 6px; padding: 4px 12px;
  max-width: 200px; margin: 0 auto;
}

.mockup-canvas {
  background: #0f0f13;
  height: 340px; position: relative;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.mock-sticker {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 64px;
  animation: floatBob 6s ease-in-out infinite alternate;
}
.mock-sticker:nth-child(2) { animation-delay: -1s; }
.mock-sticker:nth-child(3) { animation-delay: -2.5s; }
.mock-sticker:nth-child(4) { animation-delay: -0.8s; }
.mock-sticker:nth-child(5) { animation-delay: -3s; }
.mock-sticker:nth-child(6) { animation-delay: -1.5s; }

.mock-sticker img {
  width: 52px; height: 52px;
  padding: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.08);
}
.mock-sticker span {
  font-size: 9px; color: var(--text-muted);
  background: rgba(0,0,0,0.5);
  border-radius: 4px; padding: 1px 5px;
  white-space: nowrap;
}

.mock-toolbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 44px;
  background: rgba(15,15,20,0.9);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mock-tool {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
}

/* ── Footer ── */
footer {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
  display: flex; flex-direction: column; gap: 8px;
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.footer-attr { font-size: 11px; opacity: 0.6; }

/* ── Legal pages ── */
.legal-page {
  max-width: 720px; margin: 0 auto;
  padding: 100px 24px 80px;
  position: relative; z-index: 2;
}
.legal-page h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: var(--text-muted); margin-bottom: 48px; }
.legal-page h2 { font-size: 18px; font-weight: 600; margin: 36px 0 10px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--accent2); }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted); text-decoration: none; font-size: 14px;
  margin-bottom: 32px; transition: color 0.15s;
}
.back-link:hover { color: var(--text); }
