/* Landing page only — dark "store" look. Dashboard/login/signup use styles.css. */

:root {
  --bg: #0d0d0f;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --card: #141416;
  --card-2: #1c1c1f;
  --border: #2a2a2e;
  --blue: #ff5a36;
  --blue-hover: #ff734f;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Fustat', 'Inter', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-blue { background: var(--blue); color: var(--text); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-dark { background: var(--card-2); color: var(--text); }
.btn-dark:hover { background: #26262a; }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 57px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 8px;
  border-radius: 999px;
  background: var(--card);
}
.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 8px;
  font-size: 14px;
  font-weight: 600;
}
.logo img { width: 22px; height: 22px; border-radius: 6px; }
.nav-pill a.nav-link {
  padding: 4.8px 8.8px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-pill a.nav-link:hover, .nav-pill a.nav-link.is-active { color: var(--text); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--card);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.badge .hl { color: var(--blue); }
.badge .sep { color: var(--muted); }

.hero h1 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.rotator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 4px 16px 4px 6px;
  border-radius: 999px;
  background: var(--card-2);
  vertical-align: middle;
}
.rotator-icons { display: flex; }
.rotator-icons span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--card-2);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.rotator-icons span:first-child { margin-left: 0; }
.rotator-icons video { width: 100%; height: 100%; object-fit: cover; }
.rotator-word {
  display: inline-block;
  font-size: 0.86em;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.rotator-word.is-out { opacity: 0; transform: translateY(10px); }

.hero-sub { margin-top: 22px; max-width: 470px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.hero-cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Before / after on the right */
.compare-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.compare-item:nth-child(2) { margin-top: 40px; }
.compare-video-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
}
.compare-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.7);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
}
.compare-tag.is-vimic { background: var(--blue); }
.hero-proof {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-proof strong { color: var(--text); font-weight: 600; }
.proof-pill { padding: 4px 10px; border-radius: 999px; background: var(--card); font-size: 12px; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-title {
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.section-title h2 { font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: -0.015em; }
.section-title a { font-size: 13.5px; color: var(--muted); transition: color 0.2s ease; }
.section-title a:hover { color: var(--text); }

/* Stats + bento */
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 20px; }
.stats strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.stats span { font-size: 13.5px; color: var(--muted); }

.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.card {
  position: relative;
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  transition: background 0.2s ease;
}
a.card:hover { background: #18181b; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.card-eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue); }

.steps { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.steps b {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.card-visual {
  margin-top: 18px;
  height: 92px;
  border-radius: 14px;
  background: var(--card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mini-tile { width: 44px; height: 64px; border-radius: 10px; }
.mini-plus {
  width: 44px;
  height: 64px;
  border-radius: 10px;
  border: 1.5px dashed var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Ranked template list */
.rank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}
.rank-row:hover { background: var(--card); }
.rank-num { width: 18px; font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; flex-shrink: 0; }
.rank-thumb {
  position: relative;
  width: 52px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-2);
}
.rank-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { font-size: 13px; color: var(--muted); }
.rank-row .btn { flex-shrink: 0; }

/* More on Snapswey */
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.more-grid .card { min-height: 128px; display: flex; flex-direction: column; }
.more-icon {
  margin-bottom: auto;
  width: 34px;
  flex-shrink: 0;
  height: 34px;
  border-radius: 10px;
  background: var(--card-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-grid .card h3 { margin-top: 18px; }
.more-icon svg { width: 18px; height: 18px; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--border); padding: 40px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links div { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 36px; font-size: 13px; color: var(--muted); }

/* ---------- Reveal (scroll-reveal.js) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.reveal-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rotator-word { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .rank-list { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-pill a.nav-link { display: none; }
  .nav-pill a.nav-link.is-active { display: inline; }
  .header-actions .btn-blue { display: none; }
  .compare-item:nth-child(2) { margin-top: 24px; }
}
