/* SellerKit marketing site — mirrors the app's design system:
   #5B5CEB→#8478FF gradient, white cards, soft elevation, SF Pro, whitespace. */

:root {
  --primary: #5B5CEB;
  --gradient-end: #8478FF;
  --accent: #7C6CF8;
  --success: #34C759;
  --warning: #FF9F0A;
  --bg: #F7F8FC;
  --card: #FFFFFF;
  --border: #ECEEF5;
  --text: #101828;
  --text-2: #667085;
  --divider: #E9EDF5;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(91, 92, 235, 0.18);
  --radius-card: 26px;
  --radius-btn: 18px;
  --radius-sm: 18px;
  --gradient: linear-gradient(135deg, var(--primary), var(--gradient-end));
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 252, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; }
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 11px 20px;
  border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 24px rgba(91,92,235,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(91,92,235,.34); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(91,92,235,.08); color: var(--primary);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
h1 {
  font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 800; margin-bottom: 20px;
}
h1 .grad { background: var(--gradient); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 19px; color: var(--text-2); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-2); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.check { color: var(--success); font-weight: 800; }

/* ---------- Phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  width: 300px; height: 610px; border-radius: 46px; background: #0b0d12;
  padding: 12px; box-shadow: var(--shadow-lg); position: relative;
  transform: rotateY(-12deg) rotateX(3deg); transition: transform .5s ease;
}
.phone:hover { transform: rotateY(-4deg) rotateX(1deg); }
.phone::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #0b0d12; border-radius: 0 0 16px 16px; z-index: 3;
}
.screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--bg); position: relative; display: flex; flex-direction: column;
}
.screen-head { padding: 34px 20px 8px; }
.screen-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.screen-sub { font-size: 12px; color: var(--text-2); }
.screen-hero {
  margin: 14px 20px 0; height: 130px; border-radius: 22px; background: var(--gradient);
  color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 10px 24px rgba(91,92,235,.3);
}
.screen-hero .plus { width: 34px; height: 34px; border-radius: 11px;
  background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 20px; }
.screen-hero b { font-size: 20px; font-weight: 700; }
.screen-hero small { opacity: .8; font-size: 11px; }
.screen-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 16px 20px 0; }
.qa { background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  aspect-ratio: .9; display: grid; place-items: center; color: var(--primary); font-size: 18px; box-shadow: var(--shadow); }
.screen-badges { display: flex; gap: 8px; padding: 18px 20px 0; flex-wrap: wrap; }
.mini-badge { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff;
  padding: 5px 9px; border-radius: 7px; }

/* ---------- Sections ---------- */
.eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 18px; margin-top: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 26px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,.08); }
.ficon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(91,92,235,.09); color: var(--primary); margin-bottom: 16px;
}
.ficon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px; box-shadow: var(--shadow); position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--gradient);
  color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; }

/* ---------- Marketplaces ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--card);
  border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-weight: 600;
  color: var(--text-2); box-shadow: var(--shadow); }
.logo-chip .swatch { width: 20px; height: 20px; border-radius: 50%; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 18px; color: var(--text-2); font-weight: 600; }
.plan .amt { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.plan .amt small { font-size: 16px; color: var(--text-2); font-weight: 600; }
.plan ul { list-style: none; margin: 20px 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.plan li .check { flex: none; }
.plan .btn { margin-top: auto; }
.free-note { text-align: center; color: var(--text-2); font-size: 14px; margin-top: 24px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); border-radius: 32px; padding: 60px 40px; text-align: center;
  color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 18px; margin: 14px auto 28px; max-width: 520px; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--divider); padding: 48px 0; color: var(--text-2); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* ---------- Legal page ---------- */
.legal { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 44px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: #344054; font-size: 16px; line-height: 1.7; }
.legal ul { margin: 12px 0 12px 22px; display: grid; gap: 8px; }
.legal a { color: var(--primary); font-weight: 600; }
.callout { background: rgba(52,199,89,.08); border: 1px solid rgba(52,199,89,.25);
  border-radius: 16px; padding: 18px 20px; margin: 20px 0; color: #106b32; font-size: 15px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-wrap { order: -1; }
  .feature-grid, .steps, .price-grid { grid-template-columns: 1fr 1fr; }
  .nav-links .navlink { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .feature-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  h1 { font-size: 40px; }
  .legal { padding: 28px 20px; }
}
