/* =========================================================
   Shop.app Review Hub — Editorial Design System
   Brand: deep violet #5A31F4 / midnight #2A1B5E / amber #F5B400
   ========================================================= */

:root {
  --primary: #5A31F4;
  --primary-dark: #2A1B5E;
  --primary-light: #F4F0FF;
  --primary-border: #ECE6FF;
  --primary-soft: #8E5DFF;
  --accent: #F5B400;
  --accent-soft: #FFF8E6;
  --text: #1F1B3A;
  --text-muted: #5C5677;
  --bg: #FFFFFF;
  --bg-alt: #FAF8FF;
  --success: #10B981;
  --danger: #EF4444;
  --shadow-sm: 0 2px 8px rgba(90,49,244,0.08);
  --shadow-md: 0 8px 24px rgba(90,49,244,0.12);
  --shadow-lg: 0 16px 48px rgba(90,49,244,0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --gap: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

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

/* ======================== HEADER ======================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--primary-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-dark);
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: var(--primary-dark); }
.site-logo img { width: 38px; height: 38px; border-radius: 10px; }
.site-logo span { letter-spacing: -0.01em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.main-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}
.main-nav a.cta {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
}
.main-nav a.cta:hover { background: var(--primary-dark); color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-dark);
  font-size: 22px;
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    border-bottom: 1px solid var(--primary-border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
}

/* ======================== HERO ======================== */

.hero {
  background:
    radial-gradient(ellipse 600px 300px at 80% 0%, rgba(245,180,0,0.18), transparent 70%),
    radial-gradient(ellipse 700px 400px at 0% 100%, rgba(142,93,255,0.4), transparent 70%),
    linear-gradient(135deg, #5A31F4 0%, #7B4DF7 50%, #2A1B5E 100%);
  color: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s;
  border: 0;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(245,180,0,0.4);
}
.btn-primary:hover { background: #ffc833; color: var(--primary-dark); box-shadow: 0 12px 28px rgba(245,180,0,0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-solid {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-solid:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  transform: rotate(2deg);
}
.hero-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero-stats .stat { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,0.16); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .num { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.hero-stats .num .accent { color: var(--accent); }
.hero-stats .label { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 4px; }

@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 18px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .hero-stats .stat:last-child { border-bottom: 0; }
}

/* ======================== SECTIONS ======================== */

section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--primary-dark); color: #F4F0FF; }
section.dark a { color: var(--accent); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
section.dark .section-eyebrow { color: var(--accent); background: rgba(245,180,0,0.15); }
.section-header h2 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
section.dark .section-header h2 { color: #fff; }
.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}
section.dark .section-header p { color: rgba(244,240,255,0.85); }

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .section-header h2 { font-size: 30px; }
  .section-header p { font-size: 16px; }
}

/* ======================== FEATURE GRID ======================== */

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.card .icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 26px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ======================== SPLIT IMAGE+TEXT ======================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-text h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.split-text p { font-size: 17px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.split-text ul { list-style: none; margin-top: 18px; }
.split-text ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 16px;
}
.split-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-text { order: 0; }
  .split-text h2 { font-size: 28px; }
}

/* ======================== ARTICLE ======================== */

.article {
  background: #fff;
  max-width: 860px;
  margin: 0 auto;
}
.article-head {
  text-align: center;
  margin-bottom: 48px;
}
.article-head .breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.article-head .breadcrumbs a { color: var(--primary); }
.article-head h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.article-head .lede {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
.article-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}
.article-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.article-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.article-body h3 { font-size: 22px; font-weight: 700; color: var(--primary-dark); margin: 32px 0 12px; }
.article-body p { font-size: 17px; line-height: 1.75; margin-bottom: 18px; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 22px 0; padding-left: 0; list-style: none; }
.article-body ul li, .article-body ol li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.article-body strong { color: var(--primary-dark); }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--primary-dark);
}

.callout {
  background: var(--accent-soft);
  border: 1px solid #F5D578;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}
.callout.info { background: var(--primary-light); border-color: var(--primary-border); }
.callout h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.callout p { margin: 0; font-size: 16px; }

@media (max-width: 720px) {
  .article-head h1 { font-size: 32px; }
  .article-body h2 { font-size: 24px; }
}

/* ======================== FAQ ======================== */

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 26px;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.faq-item .faq-body p { margin-bottom: 12px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ======================== CTA STRIP ======================== */

.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-strip h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-strip p { font-size: 18px; margin-bottom: 26px; opacity: 0.9; }
.cta-strip .btn-primary { font-size: 17px; padding: 16px 32px; }

/* ======================== PROS/CONS ======================== */

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.proscons-col {
  background: #fff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.proscons-col.pros { border-top: 6px solid var(--success); }
.proscons-col.cons { border-top: 6px solid var(--danger); }
.proscons-col h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.proscons-col ul { list-style: none; }
.proscons-col li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px dashed var(--primary-border);
}
.proscons-col li:last-child { border-bottom: 0; }
.proscons-col.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--success);
  font-weight: 800;
}
.proscons-col.cons li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--danger);
  font-weight: 800;
}
@media (max-width: 760px) { .proscons { grid-template-columns: 1fr; } }

/* ======================== STEPS / TIMELINE ======================== */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--primary-border);
  position: relative;
}
.step .num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(90,49,244,0.3);
}
.step h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ======================== CONTACT BOX ======================== */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 920px; margin: 0 auto; }
.contact-card {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--primary-border);
}
.contact-card h3 {
  font-size: 18px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card p { font-size: 16px; line-height: 1.6; margin-bottom: 8px; }
.contact-card a { font-weight: 700; color: var(--primary-dark); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

.address-box {
  background: var(--accent-soft);
  border: 1px solid #F5D578;
  border-radius: var(--radius);
  padding: 22px 26px;
  max-width: 600px;
  margin: 24px auto 0;
}
.address-box p { margin: 0 0 8px; line-height: 1.55; }
.address-box p:last-child { margin: 0; }
.address-box strong { color: var(--primary-dark); font-size: 17px; }

/* ======================== FOOTER ======================== */

.site-footer {
  background: var(--primary-dark);
  color: #C9BEEC;
  padding: 56px 0 28px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 38px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #C9BEEC; font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; color: #C9BEEC; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 10px; }
.footer-brand strong { font-size: 17px; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #9686C4;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: #9686C4; }
.footer-bottom .legal-links a:hover { color: #fff; }

@media (max-width: 880px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ======================== UTILITIES ======================== */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
