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

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --bg:        #0d0d14;
  --surface:   #16161f;
  --surface2:  #1e1e2c;
  --border:    #2a2a3d;
  --accent:    #7c6fff;
  --accent2:   #b39dff;
  --glow:      rgba(124,111,255,0.15);
  --success:   #22c55e;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --text:      #eeeef5;
  --muted:     #7777a0;
  --r:         16px;
  --rs:        10px;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Screens ───────────────────────────────────────────────────────────── */
.screen {
  display: none;
  padding: 0 0 32px;
  max-width: 480px;
  margin: 0 auto;
}
.screen.active { display: block; }
.hidden { display: none !important; }

/* ── Header ────────────────────────────────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  max-width: 480px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 22px; }
.logo-text { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.logo-ai {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-right {
  display: flex; align-items: center; gap: 8px;
}
.support-icon-btn {
  background: none; border: none; font-size: 20px;
  cursor: pointer; padding: 4px; line-height: 1;
  opacity: .8; transition: opacity .15s;
}
.support-icon-btn:hover { opacity: 1; }
.land-header-right {
  display: flex; align-items: center; gap: 10px;
}
.land-lang-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--accent); }
.chevron { font-size: 10px; color: var(--muted); }

/* ── Language picker ───────────────────────────────────────────────────── */
.lang-picker {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
}
.lang-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.lang-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px 32px;
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.lang-sheet-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--muted);
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lang-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--surface2);
  border: 1.5px solid transparent;
  border-radius: var(--rs);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang-item:hover { border-color: var(--accent); }
.lang-item.active { border-color: var(--accent); background: var(--glow); }
.lang-item .lf { font-size: 22px; }
.lang-item .ln { font-size: 11px; font-weight: 600; color: var(--muted); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 32px 16px 24px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--glow);
  border: 1px solid rgba(124,111,255,.3);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  animation: fadeIn .5s ease;
}
.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn .6s ease .1s both;
}
.hero-sub {
  color: var(--muted);
  font-size: 14px;
  max-width: 300px;
  margin: 0 auto;
  animation: fadeIn .6s ease .2s both;
}
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

/* ── Stats ─────────────────────────────────────────────────────────────── */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surface);
  border-radius: var(--r);
  margin: 0 16px 24px;
  padding: 16px 0;
  border: 1px solid var(--border);
}
.stat-box { flex: 1; text-align: center; }
.stat-num { font-size: 22px; font-weight: 800; color: var(--accent2); }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.stat-sep { width: 1px; height: 32px; background: var(--border); }

/* ── Section label ─────────────────────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  padding: 0 16px;
  margin-bottom: 10px;
}
.section-label.accent { color: var(--accent2); }

/* ── Market grid ───────────────────────────────────────────────────────── */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 28px;
}
.market-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .2s, transform .15s, background .2s;
  position: relative;
  overflow: hidden;
}
.market-card:hover:not(.soon) {
  border-color: var(--accent);
  background: var(--glow);
  transform: translateY(-2px);
}
.market-card.soon {
  opacity: .55;
  cursor: default;
}
.market-logo { font-size: 26px; }
.market-name { font-size: 12px; font-weight: 700; text-align: center; }
.market-flag { font-size: 14px; }
.soon-badge {
  position: absolute;
  top: 5px; right: 5px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 6px;
  letter-spacing: .3px;
}

/* ── How it works ──────────────────────────────────────────────────────── */
.steps-wrap {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 0 16px;
  margin-bottom: 28px;
}
.how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--r);
  padding: 14px 8px;
  border: 1px solid var(--border);
}
.how-num {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.how-icon { font-size: 22px; }
.how-title { font-size: 12px; font-weight: 700; }
.how-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }
.how-arrow {
  font-size: 16px;
  color: var(--muted);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ── Reviews ───────────────────────────────────────────────────────────── */
.reviews-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
  margin-bottom: 28px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-stars { font-size: 12px; color: var(--warning); }
.review-text { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── Card / Textarea ───────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  margin: 0 16px 24px;
}
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.card-sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

.textarea {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  padding: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  outline: none;
  transition: border-color .2s;
}
.textarea:focus { border-color: var(--accent); }

/* ── Support card ──────────────────────────────────────────────────────── */
.support-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
}
.support-icon { font-size: 24px; flex-shrink: 0; }
.support-body { flex: 1; }
.support-title { font-size: 14px; font-weight: 700; }
.support-sub { font-size: 12px; color: var(--muted); }
.footer-space { height: 40px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--rs);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s, transform .1s;
  text-align: center;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
}
.btn-primary:hover { opacity: .9; }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent2);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}
.btn-sm {
  display: inline-block;
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  flex-shrink: 0;
}

/* ── Input screen ──────────────────────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--accent2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 16px 16px 8px;
  font-family: inherit;
}
.selected-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 800;
}
.url-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.url-input {
  flex: 1;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.url-input:focus { border-color: var(--accent); }
.url-input::placeholder { color: var(--muted); }
.paste-btn {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--accent2);
  border-radius: var(--rs);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: border-color .2s;
}
.paste-btn:hover { border-color: var(--accent); }

/* ── Loading screens ───────────────────────────────────────────────────── */
.center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  padding: 32px 16px;
  text-align: center;
}
.ring-spinner {
  width: 52px; height: 52px;
  border: 4px solid var(--surface2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.loading-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.lsteps { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 240px; }
.lstep {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: var(--rs);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  transition: color .3s, background .3s;
}
.lstep.active { color: var(--text); background: var(--surface2); }
.lstep.done { color: var(--success); }
.ldot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  transition: background .3s;
}
.lstep.active .ldot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lstep.done .ldot { background: var(--success); }

.ai-orb {
  font-size: 48px;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* ── Results screen ────────────────────────────────────────────────────── */
.product-title {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 16px 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  margin: 0 16px 16px;
}
.score-left { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.score-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.score-circle {
  position: relative;
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
}
.score-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-bg { fill: none; stroke: var(--surface2); stroke-width: 8; }
.sc-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1s ease, stroke .3s;
}
.sc-fill.green { stroke: var(--success); }
.sc-fill.yellow { stroke: var(--warning); }
.sc-fill.red { stroke: var(--danger); }
.score-num {
  font-size: 26px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.score-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.bar-row { display: flex; flex-direction: column; gap: 4px; }
.bar-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.bar-track { height: 5px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
  transition: width .8s ease;
  width: 0;
}

/* Actions & Issues */
.action-card {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  margin: 0 16px 8px;
  transition: border-color .2s;
}
.action-card:hover { border-color: var(--accent); }
.action-num {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.action-body { flex: 1; }
.action-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.action-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }

.issue-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 12px;
  margin: 0 16px 8px;
  font-size: 13px;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
  letter-spacing: .3px;
}
.badge-high   { background: rgba(239,68,68,.15);  color: var(--danger); }
.badge-medium { background: rgba(245,158,11,.15); color: var(--warning); }
.badge-low    { background: rgba(124,111,255,.15);color: var(--accent2); }

/* Competitors */
.competitor-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  margin: 0 16px 8px;
}
.comp-rank {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--muted);
  flex-shrink: 0;
}
.comp-rank.first  { background: rgba(255,215,0,.15); border-color: gold; color: gold; }
.comp-rank.second { background: rgba(192,192,192,.15); border-color: silver; color: silver; }
.comp-rank.third  { background: rgba(205,127,50,.15); border-color: #cd7f32; color: #cd7f32; }
.comp-body { flex: 1; min-width: 0; }
.comp-title {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.comp-meta { display: flex; gap: 8px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.comp-price { font-size: 14px; font-weight: 700; color: var(--accent2); flex-shrink: 0; }
.comp-score {
  font-size: 11px; font-weight: 700; padding: 2px 7px;
  border-radius: 20px; background: var(--surface2); flex-shrink: 0;
}
.comp-score.green { color: var(--success); }
.comp-score.yellow { color: var(--warning); }
.comp-score.red { color: var(--danger); }

/* CTA box */
.cta-box {
  margin: 8px 16px 0;
  background: linear-gradient(135deg, rgba(124,111,255,.12), rgba(179,157,255,.08));
  border: 1.5px solid rgba(124,111,255,.3);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
}
.cta-title { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.cta-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.cta-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ── Payment screen ────────────────────────────────────────────────────── */

/* Slides */
.pay-slides {
  position: relative;
  overflow: hidden;
  padding: 24px 16px 0;
}
.pay-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 24px 20px;
  background: linear-gradient(135deg, rgba(124,111,255,.12), rgba(179,157,255,.06));
  border: 1.5px solid rgba(124,111,255,.25);
  border-radius: 20px;
  animation: slideIn .35s ease;
}
.pay-slide.active { display: flex; }
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }
.pay-slide-icon { font-size: 48px; margin-bottom: 14px; }
.pay-slide-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pay-slide-desc { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 260px; }

/* Dots */
.pay-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
}
.pay-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s, width .3s;
}
.pay-dot.active { background: var(--accent2); width: 18px; border-radius: 3px; }

/* Price box */
.pay-box {
  padding: 20px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pay-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pay-stars-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pay-usd {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}
.pay-methods {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pay-method {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.pay-once {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}
.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--rs);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(255,165,0,.3);
  transition: opacity .15s, transform .1s;
}
.btn-pay:hover { opacity: .92; }
.btn-pay:active { transform: scale(.97); }

/* ── Improvements screen ───────────────────────────────────────────────── */
.improve-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  margin: 0 16px 12px;
}
.improve-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.improve-content {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}
.copy-btn {
  margin-top: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--accent2);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s;
}
.copy-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.copy-btn.copied { background: var(--success); color: #fff; border-color: var(--success); }
.photo-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.photo-list li {
  background: var(--surface2);
  border-radius: var(--rs);
  padding: 10px 12px;
  font-size: 13px;
}
.photo-list li::before { content: "📸 "; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.error-msg {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: var(--danger);
  border-radius: var(--rs);
  padding: 11px;
  font-size: 13px;
  margin-bottom: 10px;
}
.mt8  { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }

/* ════════════════════════════════════════════════════════════════════════
   LANDING PAGE
   ════════════════════════════════════════════════════════════════════════ */

#screen-landing { padding: 0; max-width: 100%; }

/* Landing header */
.land-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(13,13,20,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.land-cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 20px;
  text-decoration: none; transition: opacity .15s;
  white-space: nowrap;
}
.land-cta-btn:hover { opacity: .88; }

/* Hero */
.land-hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 24px 80px;
  overflow: hidden;
  text-align: center;
  gap: 40px;
}
@media (min-width: 700px) {
  .land-hero { flex-direction: row; text-align: left; justify-content: space-between; padding: 80px 48px; gap: 0; }
  .land-hero-content { max-width: 460px; }
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; }

.land-hero-content { position: relative; z-index: 1; }
.land-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.land-sub {
  font-size: 16px; color: var(--muted); max-width: 380px;
  margin: 0 auto 28px; line-height: 1.6;
}
@media (min-width: 700px) { .land-sub { margin: 0 0 28px; } }

.btn-land-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 15px 28px; border-radius: 14px;
  text-decoration: none; transition: opacity .15s, transform .1s;
  box-shadow: 0 8px 32px rgba(124,111,255,.35);
}
.btn-land-primary:hover { opacity: .9; transform: translateY(-2px); }
.btn-land-primary:active { transform: translateY(0); }
.btn-land-big { font-size: 18px; padding: 18px 36px; }

.btn-land-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--accent);
  color: var(--accent2); font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: 14px;
  text-decoration: none; transition: background .2s;
  width: 100%;
}
.btn-land-outline:hover { background: var(--glow); }

.land-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Fade-in animations */
.anim-fade-1 { animation: fadeUp .6s ease .1s both; }
.anim-fade-2 { animation: fadeUp .6s ease .2s both; }
.anim-fade-3 { animation: fadeUp .6s ease .35s both; }
.anim-fade-4 { animation: fadeUp .6s ease .5s both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

/* ── Phone mockup ─────────────────────────────────────────────────────── */
.phone-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
}
.phone-frame {
  width: 220px; height: 430px;
  background: #111827;
  border-radius: 38px;
  border: 2.5px solid #2d2d3d;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.phone-notch {
  width: 70px; height: 14px;
  background: #111827;
  border-radius: 0 0 10px 10px;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  z-index: 10; border: 2px solid #2d2d3d; border-top: none;
}
.phone-glow {
  width: 180px; height: 20px;
  background: radial-gradient(ellipse, rgba(124,111,255,.5), transparent 70%);
  margin-top: 8px;
  filter: blur(8px);
}

/* Demo screens inside phone */
.demo-screen {
  position: absolute; inset: 0;
  background: #0d0d14;
  padding: 28px 14px 14px;
  font-size: 11px;
  transition: opacity .4s;
}
.demo-screen.hidden { display: none; }
.demo-header {
  font-size: 13px; font-weight: 800;
  text-align: center; margin-bottom: 14px; color: #eeeef5;
}
.demo-label { font-size: 10px; color: #7777a0; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.demo-markets { display: flex; gap: 5px; margin-bottom: 12px; }
.demo-market {
  flex: 1; text-align: center;
  background: #16161f; border: 1px solid #2a2a3d;
  border-radius: 8px; padding: 6px 4px; font-size: 10px; font-weight: 600;
}
.active-market { border-color: #7c6fff; background: rgba(124,111,255,.12); }
.demo-input {
  background: #16161f; border: 1.5px solid #7c6fff;
  border-radius: 8px; padding: 8px 10px; font-size: 10px;
  color: #eeeef5; min-height: 32px; margin-bottom: 10px;
  font-family: monospace;
}
.demo-blink { animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-btn {
  background: linear-gradient(135deg, #7c6fff, #b39dff);
  color: #fff; font-size: 11px; font-weight: 700;
  text-align: center; padding: 9px; border-radius: 8px;
}
.mt8 { margin-top: 8px; }

/* Demo screen 2: loading */
.demo-spinner-wrap { display: flex; justify-content: center; margin: 16px 0 10px; }
.demo-spinner {
  width: 36px; height: 36px;
  border: 3px solid #1e1e2c; border-top-color: #7c6fff;
  border-radius: 50%; animation: spin .7s linear infinite;
}
.demo-loading-txt { text-align: center; font-size: 11px; color: #7777a0; margin-bottom: 12px; }
.demo-steps { display: flex; flex-direction: column; gap: 6px; }
.demo-step { font-size: 10px; padding: 6px 8px; background: #16161f; border-radius: 6px; color: #7777a0; }
.demo-step.done { color: #22c55e; }
.demo-step.active { color: #eeeef5; background: #1e1e2c; }

/* Demo screen 3: score */
.demo-score-wrap { position: relative; width: 72px; height: 72px; margin: 8px auto 6px; display: flex; align-items: center; justify-content: center; }
.demo-score-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.demo-score-num { position: relative; font-size: 20px; font-weight: 800; color: #22c55e; }
.demo-score-label { text-align: center; font-size: 10px; color: #7777a0; margin-bottom: 10px; }
.demo-bars { display: flex; flex-direction: column; gap: 6px; }
.demo-bar-row { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #7777a0; }
.demo-bar { flex: 1; height: 4px; background: #1e1e2c; border-radius: 2px; overflow: hidden; }
.demo-bar div { height: 100%; background: linear-gradient(90deg, #7c6fff, #b39dff); border-radius: 2px; }

/* Demo screen 4: actions */
.demo-actions-label { font-size: 10px; font-weight: 700; color: #b39dff; margin-bottom: 8px; }
.demo-action {
  display: flex; align-items: flex-start; gap: 6px;
  background: #16161f; border-radius: 6px; padding: 7px 8px;
  margin-bottom: 5px; font-size: 10px; color: #c8c8e0; line-height: 1.4;
}
.demo-num {
  width: 16px; height: 16px; background: #7c6fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.demo-ai-btn {
  background: linear-gradient(135deg, #7c6fff, #b39dff);
  color: #fff; font-size: 10px; font-weight: 700;
  text-align: center; padding: 8px; border-radius: 8px; margin-top: 6px;
}

/* ── Landing sections ─────────────────────────────────────────────────── */
.land-section { padding: 60px 24px; max-width: 960px; margin: 0 auto; }
.land-section-title {
  font-size: clamp(22px, 4vw, 32px); font-weight: 800;
  text-align: center; margin-bottom: 36px; letter-spacing: -.3px;
}

/* Stats */
.land-stats {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  gap: 0;
}
.land-stat { flex: 1; text-align: center; }
.land-stat-num { font-size: 36px; font-weight: 800; color: var(--accent2); }
.land-stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.land-stat-sep { width: 1px; height: 48px; background: var(--border); }

/* Steps */
.land-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.land-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px; text-align: center;
  transition: border-color .3s, transform .3s;
}
.land-step:hover { border-color: var(--accent); transform: translateY(-4px); }
.land-step-num { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 1px; margin-bottom: 12px; }
.land-step-icon { font-size: 36px; margin-bottom: 12px; }
.land-step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.land-step-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Marketplace chips */
.land-markets { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.land-market-chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 30px; padding: 10px 20px;
  font-size: 14px; font-weight: 600;
}
.soon-chip { opacity: .5; }
.soon-chip span { font-size: 11px; color: var(--muted); margin-left: 6px; }

/* Features grid */
.land-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.land-feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
  transition: border-color .3s;
}
.land-feature:hover { border-color: var(--accent); }
.lf-icon { font-size: 28px; margin-bottom: 10px; }
.lf-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.lf-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Reviews */
.land-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.land-review {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
}
.lr-stars { font-size: 18px; color: var(--warning); margin-bottom: 10px; }
.lr-text { font-size: 14px; line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.lr-author { font-size: 12px; color: var(--muted); font-weight: 600; }

/* Pricing */
.land-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.price-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.price-card-pro { border-color: var(--accent); background: rgba(124,111,255,.06); }
.pc-badge {
  display: inline-block; background: var(--surface2);
  color: var(--muted); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .3px;
}
.pc-badge-pro { background: var(--glow); color: var(--accent2); border: 1px solid rgba(124,111,255,.3); }
.pc-price { font-size: 28px; font-weight: 800; }
.pc-usd { font-size: 16px; color: var(--muted); font-weight: 500; }
.pc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pc-list li { font-size: 14px; color: var(--muted); }
.pc-list li span { color: var(--text); }
.pc-note { font-size: 12px; color: var(--muted); text-align: center; }

/* Final CTA section */
.land-cta-section {
  position: relative; padding: 80px 24px;
  text-align: center; overflow: hidden;
}
.land-cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,111,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.land-cta-inner { position: relative; z-index: 1; }
.land-cta-title { font-size: clamp(28px, 5vw, 42px); font-weight: 800; margin-bottom: 12px; letter-spacing: -.5px; }
.land-cta-sub { font-size: 16px; color: var(--muted); margin-bottom: 28px; }

/* Footer */
.land-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.footer-support-link {
  color: var(--accent2); text-decoration: none; font-size: 13px;
}
.footer-support-link:hover { text-decoration: underline; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
