:root {
  --wp-primary: #1e293b;
  --wp-primary-hover: #0f172a;
  --wp-accent: #2563eb;
  --wp-accent-light: #eff6ff;
  --wp-accent-border: #bfdbfe;
  --wp-success: #059669;
  --wp-success-bg: #ecfdf5;
  --wp-danger: #dc2626;
  --wp-danger-bg: #fef2f2;
  --wp-gold: #d97706;
  --wp-gold-bg: #fef3c7;
  --wp-bg: #f8fafc;
  --wp-card-bg: #ffffff;
  --wp-text: #1e293b;
  --wp-text-muted: #64748b;
  --wp-border: #e2e8f0;
  --wp-border-light: #f1f5f9;
  --wp-font-serif: "Charter", "Bitstream Charter", "Sitka Text", "Cambria", serif;
  --wp-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wp-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --wp-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --wp-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
}

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

body {
  font-family: var(--wp-font-sans);
  background-color: var(--wp-bg);
  color: var(--wp-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Top Utility Bar --- */
.wp-topbar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid #1e293b;
}

.wp-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-weight: 600;
}

.wp-topbar-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

/* --- Main Header & Nav --- */
.wp-header {
  background: #ffffff;
  border-bottom: 1px solid var(--wp-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--wp-shadow-sm);
}

.wp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
}

.wp-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
}

.wp-logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.wp-logo-text span {
  color: #2563eb;
}

.wp-logo-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--wp-text-muted);
  font-weight: 700;
  display: block;
}

.wp-nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.wp-nav-link {
  text-decoration: none;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s;
}

.wp-nav-link:hover, .wp-nav-link.active {
  color: var(--wp-accent);
}

.wp-header-cta {
  background: #0f172a;
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.wp-header-cta:hover {
  background: #1e293b;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* --- Table of Contents (TOC) --- */
.wp-toc {
  background: #f8fafc;
  border: 1px solid var(--wp-border);
  border-left: 4px solid var(--wp-accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}

.wp-toc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .wp-toc-list {
    grid-template-columns: 1fr;
  }
}

.wp-toc-list a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.wp-toc-list a:hover {
  color: var(--wp-accent);
  text-decoration: underline;
}

/* --- FAQ Section --- */
.wp-faq-section {
  margin: 48px 0;
  padding: 32px 0;
  border-top: 2px solid var(--wp-border);
}

.wp-faq-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.wp-faq-dek {
  font-size: 0.95rem;
  color: var(--wp-text-muted);
  margin-bottom: 24px;
}

.wp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wp-faq-item {
  background: #f8fafc;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}

.wp-faq-item[open] {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--wp-shadow-sm);
}

.wp-faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.wp-faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: #64748b;
  font-weight: 400;
  transition: transform 0.2s;
}

.wp-faq-item[open] .wp-faq-question::after {
  content: "−";
  color: var(--wp-accent);
}

.wp-faq-answer {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  font-family: var(--wp-font-sans);
}

/* --- Layout Container --- */
.wp-main-container {
  max-width: 1200px;
  margin: 32px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
}

@media (max-width: 960px) {
  .wp-main-container {
    grid-template-columns: 1fr;
  }
}

/* --- Article Main Column --- */
.wp-article-card {
  background: #ffffff;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--wp-shadow-sm);
}

@media (max-width: 640px) {
  .wp-article-card {
    padding: 20px;
  }
}

.wp-breadcrumbs {
  font-size: 0.8rem;
  color: var(--wp-text-muted);
  margin-bottom: 16px;
}

.wp-breadcrumbs a {
  color: var(--wp-text-muted);
  text-decoration: none;
}

.wp-breadcrumbs a:hover {
  color: var(--wp-accent);
}

.wp-article-category {
  display: inline-block;
  background: var(--wp-accent-light);
  color: var(--wp-accent);
  border: 1px solid var(--wp-accent-border);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.wp-article-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .wp-article-title {
    font-size: 1.75rem;
  }
}

.wp-article-dek {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 24px;
  font-family: var(--wp-font-serif);
}

/* Byline Meta */
.wp-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wp-border);
  margin-bottom: 32px;
}

.wp-byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--wp-border);
}

.wp-byline-info {
  font-size: 0.88rem;
}

.wp-byline-author {
  font-weight: 700;
  color: #0f172a;
}

.wp-byline-title {
  color: var(--wp-text-muted);
  font-size: 0.8rem;
}

.wp-byline-meta {
  display: flex;
  gap: 12px;
  color: var(--wp-text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
  align-items: center;
}

.wp-badge-verified {
  background: var(--wp-success-bg);
  color: var(--wp-success);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- THE VERDICT BOX (WordPress Review Box) --- */
.wp-review-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 36px;
  position: relative;
}

.wp-review-box-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--wp-border);
  padding-bottom: 20px;
}

.wp-review-box-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wp-review-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: var(--wp-shadow);
}

.wp-review-app-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.wp-review-app-desc {
  font-size: 0.85rem;
  color: var(--wp-text-muted);
}

.wp-review-score-badge {
  text-align: center;
  background: #0f172a;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  min-width: 110px;
}

.wp-review-score-num {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  color: #38bdf8;
}

.wp-review-score-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.wp-editors-choice-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wp-gold-bg);
  color: var(--wp-gold);
  border: 1px solid #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Category breakdown */
.wp-score-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .wp-score-breakdown {
    grid-template-columns: 1fr;
  }
}

.wp-score-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wp-score-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}

.wp-score-bar-bg {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.wp-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 3px;
}

/* Pros and Cons Split */
.wp-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .wp-pros-cons {
    grid-template-columns: 1fr;
  }
}

.wp-pro-card, .wp-con-card {
  padding: 16px;
  border-radius: 8px;
}

.wp-pro-card {
  background: var(--wp-success-bg);
  border: 1px solid #a7f3d0;
}

.wp-con-card {
  background: var(--wp-danger-bg);
  border: 1px solid #fecaca;
}

.wp-pc-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wp-pro-card .wp-pc-title { color: var(--wp-success); }
.wp-con-card .wp-pc-title { color: var(--wp-danger); }

.wp-pc-list {
  list-style: none;
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wp-pc-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.wp-pc-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.wp-pro-card li::before {
  content: "✓";
  color: var(--wp-success);
}

.wp-con-card li::before {
  content: "✕";
  color: var(--wp-danger);
}

/* CTA Box */
.wp-review-cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--wp-border);
}

.wp-quick-spec {
  font-size: 0.8rem;
  color: var(--wp-text-muted);
}

.wp-btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, background 0.15s;
}

.wp-btn-appstore:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* --- Editorial Article Content Typography --- */
.wp-content {
  font-family: var(--wp-font-serif);
  font-size: 1.12rem;
  line-height: 1.75;
  color: #262626;
}

.wp-content p {
  margin-bottom: 22px;
}

.wp-content h2 {
  font-family: var(--wp-font-sans);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wp-border-light);
}

.wp-content h3 {
  font-family: var(--wp-font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 28px 0 12px;
}

/* Callout Quote */
.wp-pullquote {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #1e3a8a;
  background: #f0f7ff;
  border-left: 4px solid #2563eb;
  padding: 18px 24px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

/* Image Captions & Embeds */
.wp-figure {
  margin: 32px 0;
  text-align: center;
}

.wp-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--wp-border);
  box-shadow: var(--wp-shadow);
}

.wp-figcaption {
  font-family: var(--wp-font-sans);
  font-size: 0.82rem;
  color: var(--wp-text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* Two-column Image Grid */
.wp-figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 640px) {
  .wp-figure-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Comparison Table --- */
.wp-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: 8px;
  border: 1px solid var(--wp-border);
}

.wp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--wp-font-sans);
  font-size: 0.88rem;
  background: white;
}

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

.wp-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.wp-table tr:hover {
  background: #f8fafc;
}

.wp-table-highlight {
  background: #eff6ff !important;
  font-weight: 600;
}

/* --- WordPress Sidebar --- */
.wp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wp-widget {
  background: #ffffff;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--wp-shadow-sm);
}

.wp-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wp-accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Author Box Widget */
.wp-widget-author {
  text-align: center;
}

.wp-widget-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid var(--wp-accent-light);
}

.wp-widget-author-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
}

.wp-widget-author-bio {
  font-size: 0.82rem;
  color: var(--wp-text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Leaderboard List */
.wp-leaderboard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wp-leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--wp-border-light);
  padding-bottom: 10px;
}

.wp-leaderboard-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wp-leaderboard-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wp-rank-num {
  font-weight: 800;
  color: var(--wp-text-muted);
  width: 18px;
}

.wp-rank-top {
  color: #2563eb;
}

.wp-rank-name {
  font-weight: 600;
  color: #1e293b;
}

.wp-rank-score {
  background: #f1f5f9;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #0f172a;
}

.wp-rank-score.winner {
  background: #dcfce7;
  color: #15803d;
}

/* Newsletter Widget */
.wp-newsletter-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  border-radius: 10px;
  padding: 20px;
}

.wp-newsletter-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.wp-newsletter-box p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.wp-newsletter-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #1e293b;
  color: white;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.wp-newsletter-form button {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background: #2563eb;
  color: white;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
}

.wp-newsletter-form button:hover {
  background: #1d4ed8;
}

/* --- Comments Section --- */
.wp-comments-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--wp-border);
}

.wp-comments-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0f172a;
}

.wp-comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wp-comment-item {
  background: #f8fafc;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  padding: 16px 20px;
}

.wp-comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.wp-comment-author {
  font-weight: 700;
  color: #0f172a;
}

.wp-comment-date {
  color: var(--wp-text-muted);
}

.wp-comment-body {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

/* --- Footer --- */
.wp-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 20px 24px;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
}

.wp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .wp-footer-inner {
    grid-template-columns: 1fr;
  }
}

.wp-footer-col h5 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.wp-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wp-footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.wp-footer-col a:hover {
  color: white;
}

.wp-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
}
