/* ============================================================
   MYSHOPIFYPICS — SHARED DESIGN SYSTEM
   Inspired by: Photoroom (clean), Comet/Perplexity (bold serif),
   Deeo Studio (premium dark accents), Cartesia (large type)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Palette */
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --cream: #F5F3F0;
  --border: #E8E6E1;
  --border-hover: #D0CEC9;
  --text: #1A1A1A;
  --text-2: #3D3D3D;
  --text-muted: #707177;
  --text-light: #9D9DA5;
  --dark: #0F0F12;
  --dark-2: #1A1A22;
  --accent: #6C5CE7;
  --accent-light: #F0EDFF;
  --accent-hover: #5A4BD1;
  --success: #00B67A;
  --success-light: #E6F9F1;
  --warning: #F5A623;
  --warning-light: #FFF8ED;
  --danger: #E74C3C;
  --danger-light: #FDF0EF;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* kept as alias */

  /* Spacing & Radius */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  --transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
html { scroll-behavior: smooth; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--sans); cursor: pointer; }
input { font-family: var(--sans); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-logo span { font-style: italic; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.nav-cta:hover {
  background: var(--white);
  color: var(--dark) !important;
  border-color: var(--dark);
}

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  text-align: center;
  padding: 100px 24px 64px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
.hero h1 {
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-sub br { display: block; content: ''; margin-top: 4px; }
.hero-promise {
  display: block;
  margin-top: 12px;
  font-style: italic;
  color: var(--text);
  font-weight: 500;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.hero-cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--dark);
}

/* ============================================================
   TOOL HERO (Tool pages)
   ============================================================ */
.tool-hero {
  text-align: center;
  padding: 64px 24px 40px;
  max-width: 680px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.tool-hero {
  text-align: left;
}
.tool-hero h1, .tool-hero p {
  text-align: center;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; }
.tool-hero h1 {
  font-family: var(--sans);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 12px;
}
.tool-hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  max-width: 1080px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--white);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ============================================================
   TOOL CARDS
   ============================================================ */
.tools-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.tools-section .section-title {
  text-align: center;
  font-family: var(--sans);
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.tool-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tool-card-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.tool-card-visual.v-resizer {
  background: linear-gradient(160deg, #DBEAFE 0%, #E0E7FF 50%, #EDE9FE 100%);
}
.tool-card-visual.v-scorer {
  background: linear-gradient(160deg, #D1FAE5 0%, #FEF9C3 100%);
}
.tool-card-visual.v-bgremover {
  background: linear-gradient(160deg, #FCE7F3 0%, #EDE9FE 100%);
}
.tool-card-visual svg { opacity: 0.7; }
.tool-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.tool-card-body h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.tool-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.tool-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--dark);
  padding: 10px 22px;
  border-radius: 100px;
  margin-top: 16px;
  transition: all var(--transition);
  border: 1px solid transparent;
  align-self: center;
}
.tool-card-cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--dark);
}
.tool-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.tag-popular { background: var(--accent-light); color: var(--accent); }
.tag-boost { background: var(--success-light); color: var(--success); }
.tag-powered { background: #FCE7F3; color: #BE185D; }

/* ============================================================
   CONTAINER (Tool pages)
   ============================================================ */
.tool-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

/* ============================================================
   UPLOAD ZONE
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-light);
}
.upload-zone.has-image {
  padding: 20px 24px;
  cursor: default;
  border-style: solid;
  border-color: var(--border);
}
.upload-zone.has-image:hover { background: var(--white); }
.upload-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.upload-zone h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}
.upload-sub {
  color: var(--text-light);
  font-size: 14px;
}
.upload-zone input[type="file"] { display: none; }

.original-preview {
  display: flex;
  align-items: center;
  gap: 20px;
}
.original-preview img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--cream);
}
.original-info { text-align: left; flex: 1; }
.original-info .filename { font-weight: 600; font-size: 14px; word-break: break-all; }
.original-info .dimensions { color: var(--text-light); font-size: 13px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
}
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #333; }
.btn-dark:disabled { opacity: 0.25; cursor: not-allowed; }
.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 16px;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--text); }
.btn-change {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.btn-change:hover { background: var(--border); }

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 14px;
  margin-top: 36px;
}

/* ============================================================
   MARKETPLACE SELECTOR
   ============================================================ */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}
.mp-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.mp-card:hover { border-color: var(--border-hover); }
.mp-card.selected { border-color: var(--accent); background: var(--accent-light); }
.mp-check {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px; font-weight: 700; color: white;
  transition: all var(--transition);
}
.mp-card.selected .mp-check { background: var(--accent); border-color: var(--accent); }
.mp-name { font-weight: 600; font-size: 14px; }
.mp-spec { font-size: 11px; color: var(--text-light); }

/* ============================================================
   PREVIEW GRID
   ============================================================ */
.preview-section { display: none; margin-top: 44px; }
.preview-section.visible { display: block; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.preview-img-wrap {
  position: relative;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  padding: 16px;
}
.preview-card canvas { max-width: 100%; max-height: 200px; border-radius: 4px; }
.preview-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.6); color: white;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
}
.preview-meta {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
}
.preview-label { font-weight: 600; font-size: 14px; }
.preview-size { font-size: 12px; color: var(--text-light); }
.btn-dl {
  background: var(--cream); border: 1px solid var(--border);
  color: var(--text); padding: 6px 16px; border-radius: 100px;
  cursor: pointer; font-size: 12px; font-weight: 600; font-family: var(--sans);
}
.btn-dl:hover { background: var(--border); }

/* ============================================================
   SCORER
   ============================================================ */
.score-results { display: none; margin-top: 36px; }
.score-results.visible { display: block; }
.score-overview {
  display: flex; gap: 28px; align-items: flex-start;
  margin-bottom: 36px;
}
.score-circle {
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0; border: 4px solid;
}
.score-circle .score-num { font-family: var(--sans); font-size: 40px; line-height: 1; }
.score-circle small { font-size: 12px; font-weight: 600; opacity: 0.7; }
.score-circle.good { border-color: var(--success); color: var(--success); background: var(--success-light); }
.score-circle.ok { border-color: var(--warning); color: var(--warning); background: var(--warning-light); }
.score-circle.bad { border-color: var(--danger); color: var(--danger); background: var(--danger-light); }
.score-summary { flex: 1; }
.score-summary h3 { font-family: var(--sans); font-size: 22px; margin-bottom: 8px; }
.score-summary p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.score-checks { display: flex; flex-direction: column; gap: 8px; }
.score-check {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
}
.check-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.check-icon.pass { background: var(--success-light); color: var(--success); }
.check-icon.fail { background: var(--danger-light); color: var(--danger); }
.check-icon.warn { background: var(--warning-light); color: var(--warning); }
.check-text { flex: 1; }
.check-title { font-weight: 600; font-size: 14px; }
.check-desc { font-size: 13px; color: var(--text-light); }

/* ============================================================
   SCORER FIX CTA
   ============================================================ */
.fix-cta {
  display: none;
  margin-top: 48px;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.fix-cta.visible { display: block; }
.fix-cta-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 32px;
}
.fix-cta-photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.fix-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fix-cta-photo .fix-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.fix-cta-content { flex: 1; }
.fix-cta-content h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.fix-cta-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.fix-improvements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.fix-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--success-light);
  color: var(--success);
}

@media (max-width: 768px) {
  .fix-cta-inner { flex-direction: column; text-align: center; padding: 24px; }
  .fix-cta-photo { width: 140px; height: 140px; }
  .fix-improvements { justify-content: center; }
}

/* ============================================================
   BG REMOVER
   ============================================================ */
.bg-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px; margin-top: 16px;
}
.bg-option {
  aspect-ratio: 1; border-radius: var(--radius);
  border: 3px solid var(--border); cursor: pointer;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.bg-option:hover { border-color: var(--border-hover); transform: scale(1.04); }
.bg-option.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-light); }
.bg-option-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.55); color: white;
  font-size: 10px; font-weight: 600; padding: 4px; text-align: center;
}
.bg-result { display: none; margin-top: 36px; text-align: center; }
.bg-result.visible { display: block; }
.bg-result canvas {
  max-width: 100%; max-height: 420px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  display: none;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  margin-top: 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,92,231,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner.visible { display: block; }
.cta-banner h3 {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
}
.cta-banner p {
  font-size: 15px;
  opacity: 0.65;
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
  position: relative;
  line-height: 1.6;
}
.btn-cta {
  display: inline-flex; align-items: center;
  background: var(--white); color: var(--dark);
  padding: 14px 36px; border-radius: 100px;
  font-weight: 700; font-size: 15px;
  transition: all var(--transition);
  position: relative;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   EMAIL MODAL
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.35); z-index: 200;
  align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.modal-overlay.visible { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  max-width: 420px; width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal h2 { font-family: var(--sans); font-size: 24px; margin-bottom: 8px; }
.modal p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.modal input[type="email"] {
  width: 100%; padding: 14px 18px;
  border-radius: 100px; border: 1px solid var(--border);
  background: var(--white); color: var(--text);
  font-size: 15px; margin-bottom: 12px; outline: none;
}
.modal input[type="email"]:focus { border-color: var(--accent); }
.modal .btn { width: 100%; }
.modal .skip {
  display: inline-block; margin-top: 14px;
  color: var(--text-light); font-size: 13px;
  cursor: pointer; background: none; border: none; font-family: var(--sans);
}
.modal .skip:hover { color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.footer a { color: var(--accent); font-weight: 500; }
.footer a:hover { text-decoration: underline; }
.footer-links {
  display: flex; gap: 24px; justify-content: center;
  margin-bottom: 12px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  max-width: 640px;
  margin: -20px auto 24px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}
.trust-item svg { flex-shrink: 0; }
.trust-stars {
  display: inline-flex;
  gap: 1px;
  color: #F5A623;
}
.trust-stars svg { width: 14px; height: 14px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.testimonials h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  color: var(--text);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
  margin-bottom: 12px;
}
.testimonial-stars svg { width: 14px; height: 14px; }
.testimonial-card blockquote {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: normal;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================================
   BOTTOM CTA (Homepage)
   ============================================================ */
.bottom-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.bottom-cta-inner {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.bottom-cta-inner::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,92,231,0.2) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.bottom-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  position: relative;
}
.bottom-cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
}
.bottom-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.bottom-cta-buttons .btn-cta {
  display: inline-flex; align-items: center;
  background: var(--white); color: var(--dark);
  padding: 16px 36px; border-radius: 100px;
  font-weight: 700; font-size: 15px;
  transition: all var(--transition);
  text-decoration: none;
}
.bottom-cta-buttons .btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bottom-cta-buttons .btn-cta-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--white);
  padding: 16px 36px; border-radius: 100px;
  font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
  text-decoration: none;
}
.bottom-cta-buttons .btn-cta-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 48px;
  text-align: center;
}
.social-proof p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.social-proof strong { color: var(--text-muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 64px;
  text-align: center;
}
.how-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.how-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.how-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.how-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  /* Nav — hamburger-style: hide tool links, keep logo + CTA */
  .nav { padding: 12px 16px; }
  .nav-logo { font-size: 16px; }
  .nav-links { gap: 0; }
  .nav-links li { display: none; }
  .nav-links li:last-child { display: block; } /* Keep "Try Photoroom" */
  .nav-cta { padding: 8px 16px; font-size: 12px !important; }

  /* Hero */
  .hero { padding: 48px 16px 28px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
  .hero-sub { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .hero-cta { font-size: 14px; padding: 14px 28px; margin-top: 20px; }
  .hero-promise { font-size: 14px; }

  /* Trust bar */
  .trust-bar { flex-direction: column; gap: 8px; margin: -8px auto 20px; }
  .trust-item { font-size: 12px; }

  /* Stats */
  .stats-bar { margin-bottom: 32px; padding: 0 16px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 18px 12px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 11px; }

  /* How it works */
  .how-section { padding: 0 16px 40px; }
  .how-section h2 { font-size: 20px; margin-bottom: 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 20px; }

  /* Tools */
  .tools-section { padding: 0 16px 48px; }
  .tools-section .section-title { font-size: 22px; margin-bottom: 20px; }
  .tools-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-card-visual { height: 140px; }
  .tool-card-visual svg { width: 56px; height: 56px; }
  .tool-card-body { padding: 18px; }
  .tool-card-body h3 { font-size: 17px; }
  .tool-card-body p { font-size: 13px; margin-bottom: 10px; }
  .tool-card-tag { font-size: 11px; padding: 4px 10px; }
  .tool-card-cta { font-size: 12px; padding: 8px 18px; margin-top: 10px; }

  /* Testimonials */
  .testimonials { padding: 0 16px 48px; }
  .testimonials h2 { font-size: 20px; margin-bottom: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; }
  .testimonial-card { padding: 18px; }
  .testimonial-card blockquote { font-size: 13px; }

  /* Social proof */
  .social-proof { padding: 0 16px 32px; }
  .social-proof p { font-size: 13px; }

  /* Bottom CTA */
  .bottom-cta { padding: 0 16px 48px; }
  .bottom-cta-inner { padding: 32px 20px; border-radius: var(--radius-lg); }
  .bottom-cta-inner h2 { font-size: 22px; }
  .bottom-cta-inner p { font-size: 13px; }
  .bottom-cta-buttons { flex-direction: column; align-items: stretch; }
  .bottom-cta-buttons .btn-cta,
  .bottom-cta-buttons .btn-cta-outline { text-align: center; justify-content: center; padding: 14px 24px; font-size: 14px; }

  /* Tool pages */
  .tool-container { padding: 0 16px 48px; }
  .tool-hero { padding: 28px 16px 20px; }
  .tool-hero h1 { font-size: 26px; }
  .tool-hero p { font-size: 14px; }
  .back-link { font-size: 13px; margin-bottom: 20px; }

  /* Upload */
  .upload-zone { padding: 36px 16px; border-radius: var(--radius-lg); }
  .upload-zone h3 { font-size: 15px; }
  .upload-sub { font-size: 13px; }
  .upload-icon { width: 48px; height: 48px; border-radius: 14px; }

  /* Marketplace grid */
  .mp-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mp-card { padding: 10px 12px; }
  .mp-name { font-size: 13px; }
  .mp-spec { font-size: 10px; }

  /* Section labels */
  .section-label { font-size: 11px; margin-top: 24px; }

  /* Previews */
  .preview-section { margin-top: 28px; }
  .preview-grid { grid-template-columns: 1fr; gap: 12px; }
  .preview-img-wrap { min-height: 140px; padding: 12px; }
  .preview-meta { padding: 10px 14px; }

  /* Scorer */
  .score-overview { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .score-circle { width: 96px; height: 96px; }
  .score-circle .score-num { font-size: 30px; }
  .score-summary h3 { font-size: 18px; }
  .score-summary p { font-size: 13px; }
  .score-check { padding: 10px 14px; gap: 10px; }
  .check-icon { width: 24px; height: 24px; font-size: 11px; }
  .check-title { font-size: 13px; }
  .check-desc { font-size: 12px; }

  /* Fix CTA (scorer) */
  .fix-cta-inner { flex-direction: column; text-align: center; padding: 20px; gap: 16px; }
  .fix-cta-photo { width: 120px; height: 120px; margin: 0 auto; }
  .fix-cta-content h3 { font-size: 18px; }
  .fix-cta-content p { font-size: 13px; }
  .fix-improvements { justify-content: center; }
  .fix-chip { font-size: 11px; }

  /* CTA banners */
  .cta-banner { padding: 28px 18px; border-radius: var(--radius-lg); margin-top: 32px; }
  .cta-banner h3 { font-size: 18px; }
  .cta-banner p { font-size: 13px; }
  .btn-cta { padding: 12px 28px; font-size: 14px; }

  /* BG options */
  .bg-options { grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); gap: 8px; }
  .bg-option-label { font-size: 9px; padding: 3px; }
  .bg-result canvas { max-height: 280px; }

  /* Modal */
  .modal { padding: 28px 20px; border-radius: var(--radius-lg); }
  .modal h2 { font-size: 20px; }
  .modal p { font-size: 13px; }
  .modal input[type="email"] { font-size: 14px; padding: 12px 16px; }

  /* Footer */
  .footer { padding: 28px 16px; }
  .footer-links { gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 12px; }

  /* Actions */
  .actions { margin-top: 16px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .btn-dl { padding: 5px 12px; font-size: 11px; }
  .btn-change { font-size: 12px; padding: 6px 14px; }

  /* Original preview (uploaded image) */
  .original-preview { gap: 12px; }
  .original-preview img { width: 56px; height: 56px; }
  .original-info .filename { font-size: 13px; }
  .original-info .dimensions { font-size: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 14px; }
  .hero-cta { font-size: 13px; padding: 12px 24px; }
  .mp-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 10px; }
  .tool-hero h1 { font-size: 22px; }
  .tool-hero p { font-size: 13px; }
  .bottom-cta-inner h2 { font-size: 20px; }
  .bottom-cta-inner p { font-size: 12px; }
  .original-preview { flex-direction: column; text-align: center; }
  .original-info { text-align: center; }
  .testimonial-card blockquote { font-size: 12px; }
  .testimonial-name { font-size: 12px; }
  .testimonial-role { font-size: 11px; }
  .how-step h3 { font-size: 14px; }
  .how-step p { font-size: 12px; }
}
</style>
