/* YoruNeko promo site — palette lifted from the app's theme (src/theme/colors.ts) */

:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --bg-3: #1a1a28;
  --text: #eaeaef;
  --muted: #8888a0;
  --border: #2a2a40;
  --border-subtle: #1f1f30;
  --cyan: #00f0ff;
  --pink: #ff2d78;
  --purple: #a855f7;
  --amber: #ffb800;
  --green: #00ff88;
  --glow-cyan: rgba(0, 240, 255, 0.4);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand span {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.brand img { border-radius: 8px; }

.nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 0.95rem; color: var(--muted); }
.nav a { white-space: nowrap; }
.nav nav a:hover { color: var(--text); }

.pill {
  color: var(--bg) !important;
  background: var(--cyan);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}
.pill:hover { filter: brightness(1.1); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 9vh, 110px) clamp(20px, 6vw, 96px) clamp(40px, 7vh, 80px);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 900px; max-height: 900px;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 240, 255, 0.10), transparent 55%),
    radial-gradient(circle at 40% 70%, rgba(168, 85, 247, 0.10), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255, 45, 120, 0.07), transparent 55%);
  pointer-events: none;
}

.kicker {
  color: var(--cyan);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; }

.grad {
  background: linear-gradient(92deg, var(--cyan) 10%, var(--purple) 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 34em;
  margin: 22px 0 30px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(92deg, var(--cyan), #3ac8ff);
  color: var(--bg);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.3);
}
.btn.ghost { border: 1px solid var(--border); color: var(--text); background: var(--bg-2); }
.btn.ghost:hover { border-color: var(--cyan); }

.hero-facts {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  margin-top: 44px;
}
.hero-facts li { display: grid; }
.hero-facts strong { font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; color: var(--cyan); }
.hero-facts span { color: var(--muted); font-size: 0.85rem; }

/* ---------- phone frames ---------- */

.phone {
  border: 3px solid #2a2a3a;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  width: min(320px, 78vw);
  margin-inline: auto;
}
.phone img { width: 100%; }

.glow-cyan { box-shadow: 0 0 90px rgba(0, 240, 255, 0.18), 0 24px 80px rgba(0, 0, 0, 0.65); }

.hero-phone { transform: rotate(3deg); }

/* ---------- sections ---------- */

section { scroll-margin-top: 72px; }

section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-align: center;
}

.section-lede {
  text-align: center;
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 40em;
}

/* ---------- features ---------- */

.features { padding: clamp(48px, 9vh, 110px) clamp(20px, 5vw, 64px); }

.feature-grid {
  margin-top: clamp(32px, 5vh, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  max-width: 1240px;
  margin-inline: auto;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border); transform: translateY(-4px); }

.card .shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  aspect-ratio: 9 / 12;
}
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.cyan { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.dot.pink { background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.dot.purple { background: var(--purple); box-shadow: 0 0 12px var(--purple); }
.dot.amber { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.dot.green { background: var(--green); box-shadow: 0 0 12px var(--green); }
.dot.gold { background: #ffd75e; box-shadow: 0 0 12px #ffd75e; }

.more-strip {
  margin: clamp(28px, 4vh, 44px) auto 0;
  max-width: 1240px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  justify-content: center;
}
.more-strip em {
  font-style: normal;
  border: 1px solid var(--border-subtle);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--text);
}

/* ---------- gallery ---------- */

.gallery { padding: clamp(40px, 7vh, 80px) 0; }

.rail {
  margin-top: clamp(28px, 4vh, 48px);
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px clamp(20px, 5vw, 64px) 26px;
  scroll-snap-type: x mandatory;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }

.phone.sm { width: 230px; flex: none; border-radius: 32px; border-width: 2px; scroll-snap-align: center; margin-inline: 0; }

/* ---------- download ---------- */

.download {
  padding: clamp(48px, 9vh, 110px) clamp(20px, 5vw, 64px) clamp(64px, 10vh, 120px);
  position: relative;
}
.download::before {
  content: "";
  position: absolute;
  inset: 20% 20% 0;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.09), transparent 65%);
  pointer-events: none;
}

.qr-row {
  margin-top: clamp(28px, 5vh, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  justify-content: center;
}

.qr-card {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 26px 34px 22px;
  text-align: center;
  transition: border-color 0.2s ease;
}
.qr-card:hover { border-color: var(--cyan); }
.qr-card img {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  margin: 0 auto 16px;
}
.qr-card h3 { font-size: 1.05rem; }
.soon { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px clamp(20px, 5vw, 64px) 48px;
  text-align: center;
  color: var(--muted);
}
.foot-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.foot-brand img { border-radius: 6px; }
.fine { font-size: 0.85rem; margin-top: 14px; }
.fine a { color: var(--cyan); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-phone { order: 2; transform: none; margin-top: 12px; }
  .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-facts { justify-content: center; }
  .nav nav a:not(.pill) { display: none; }
}
