/* MrImposter website — Dark party-game theme.
   Black bg, white text, neon-red accent for CTAs.
   SF Pro fallback chain for iOS-native feel. */

:root {
  --bg: #000000;
  --bg-section: #0a0a0a;
  --bg-card: #141414;
  --text: #ffffff;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --border: #2a2a2a;
  --border-light: #1f1f1f;
  --accent: #FF3366;
  --accent-hover: #ff5a85;
  --max-width: 980px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ───── Layout helpers ───── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ───── Navigation ───── */
.nav {
  border-bottom: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
}

.nav-brand:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ───── Hero ───── */
.hero {
  text-align: center;
  padding: 96px 24px 64px;
  background: var(--bg);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
}

.hero .subtitle {
  font-size: 24px;
  line-height: 1.4;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* ───── CTA buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-appstore {
  display: inline-block;
  margin: 0;
}

.btn-appstore img {
  height: 54px;
  vertical-align: middle;
  transition: transform 0.15s ease;
}

.btn-appstore:hover img {
  transform: scale(1.03);
}

/* ───── Sections ───── */
.section {
  padding: 96px 24px;
}

.section-alt {
  background: var(--bg-section);
}

.section h2 {
  font-size: 40px;
  letter-spacing: -0.005em;
  font-weight: 700;
  margin: 0 0 14px;
  text-align: center;
  color: var(--text);
}

.section .lead {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.5;
}

/* ───── Missions grid ───── */
.missions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 22px;
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  text-align: left;
}

.section-alt .mission-card {
  background: var(--bg-card);
}

.mission-card:hover {
  border-color: var(--accent);
  background: #1a1a1a;
  transform: translateY(-2px);
}

.mission-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.mission-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.mission-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ───── Final CTA ───── */
.final-cta {
  text-align: center;
  padding: 96px 24px;
}

.final-cta h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  color: var(--text);
}

/* ───── Footer ───── */
footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-section);
  padding: 40px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ───── Legal pages (privacy / terms / legal) ───── */
.legal-page {
  padding: 64px 24px 96px;
}

.legal-page h1 {
  font-size: 48px;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 12px;
}

.legal-page .updated {
  color: var(--text-tertiary);
  font-size: 15px;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 48px 0 16px;
  padding-top: 16px;
}

.legal-page h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.legal-page p {
  margin: 0 0 16px;
  color: var(--text);
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page strong {
  font-weight: 600;
}

.legal-page .toc {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-page .toc h3 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.legal-page .toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.legal-page .toc a {
  color: var(--text);
  font-weight: 400;
}

.legal-page .toc a:hover {
  color: var(--accent);
  text-decoration: none;
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 32px 0;
}

.legal-page .warning {
  background: rgba(255, 107, 53, 0.08);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 16px 0;
}

/* ───── Blog index ───── */
.blog-index {
  padding: 64px 24px 96px;
}

.blog-index h1 {
  font-size: 48px;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 12px;
}

.blog-index .lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 48px;
  line-height: 1.5;
}

.blog-index h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.article-list a {
  display: block;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.article-list a:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.article-list .q {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.article-list .a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

/* ───── Individual article ───── */
.article {
  padding: 48px 24px 96px;
}

.article .breadcrumb {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 16px;
}

.article .breadcrumb a {
  color: var(--text-secondary);
}

.article h1 {
  font-size: 40px;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.15;
}

.article .lead-answer {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-section);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 0 0 36px;
}

.article h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 40px 0 14px;
}

.article p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.article ol.sources {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 20px 24px 20px 44px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article ol.sources li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.article ol.sources a {
  color: var(--accent);
  word-break: break-word;
}

.article ol.sources em {
  color: var(--text-tertiary);
  font-style: italic;
}

.article .cta-box {
  background: linear-gradient(135deg, #FF6B35 0%, #FF3B30 55%, #D1185C 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  margin: 48px 0 32px;
  text-align: center;
}

.article .cta-box h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.article .cta-box p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.article .cta-box .btn-primary {
  background: #fff;
  color: var(--accent);
  font-weight: 600;
}

.article .cta-box .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
}

.article .related {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 32px;
}

.article .related h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.article .related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article .related li {
  margin-bottom: 6px;
}

.article .related a {
  color: var(--text);
  font-size: 15px;
}

.article .related a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ───── Hero v2 (pain-point) ───── */
.hero .lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero .cta-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.hero .cta-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero .cta-sub {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* ───── Pain point sections ───── */
.problem {
  padding: 72px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.problem h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
}

.problem p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.problem p strong {
  color: var(--text);
  font-weight: 600;
}

.pain-points {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.pain-points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 17px;
  color: var(--text);
}

.pain-points li:last-child {
  border-bottom: none;
}

.pain-points li strong {
  color: var(--text);
  font-weight: 600;
}

/* ───── Trust signals (rating block) ───── */
.trust {
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust .stars {
  font-size: 28px;
  color: var(--accent);
  letter-spacing: 4px;
}

.trust .rating-number {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
  color: var(--text);
}

.trust .rating-meta {
  font-size: 15px;
  color: var(--text-secondary);
}

.trust-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 40px auto 0;
  text-align: left;
}

.trust-quote {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.trust-quote .stars {
  font-size: 14px;
  letter-spacing: 2px;
}

.trust-quote blockquote {
  margin: 10px 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.trust-quote cite {
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: normal;
}

/* ───── Comparison table ───── */
.compare {
  padding: 72px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.compare h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
}

.compare .lead {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 40px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: #0a0a0a;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td.yes {
  color: #30D158;
  font-weight: 600;
}

.compare-table td.no {
  color: #FF453A;
  font-weight: 600;
}

.compare-table td.partial {
  color: #FFD60A;
  font-weight: 600;
}

.compare-table .feature {
  color: var(--text);
  font-weight: 500;
}

/* ───── FAQ ───── */
.faq {
  padding: 72px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 32px;
  text-align: center;
}

.faq details {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.faq details summary {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.faq details summary::-webkit-details-marker {
  display: none;
}

.faq details summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 24px;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 12px 0 4px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

/* ───── Final CTA dark ───── */
.final-cta {
  background: linear-gradient(180deg, #000 0%, #1a0a04 100%);
  border-top: 1px solid var(--border-light);
}

.final-cta h2 {
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
  .hero {
    padding: 64px 20px 48px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero .subtitle {
    font-size: 19px;
  }
  .section {
    padding: 64px 20px;
  }
  .section h2 {
    font-size: 30px;
  }
  .final-cta h2 {
    font-size: 32px;
  }
  .legal-page h1 {
    font-size: 34px;
  }
  .legal-page h2 {
    font-size: 22px;
  }
  .legal-page .toc ol {
    columns: 1;
  }
  .nav-links {
    gap: 18px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .problem h2,
  .compare h2,
  .faq h2 {
    font-size: 26px;
  }
  .problem,
  .compare,
  .faq {
    padding: 56px 20px;
  }
  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .hero .cta-primary {
    padding: 14px 26px;
    font-size: 16px;
  }
}
