/* blog-components.css -- extracted from xanguard.tech blog posts */

.step-list {
  list-style: none;
  padding-left: 0;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  position: relative;
  padding-left: 48px;
  margin-bottom: 20px;
}

.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0; top: 2px;
  width: 32px; height: 32px;
  background: var(--bg-card);
  border: 1px solid var(--accent-glow);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.info-box {
  margin: 32px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #7b61ff08, #00d4ff05);
  border: 1px solid #7b61ff30;
  border-radius: var(--radius);
}

.info-box__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .step-list li { padding-left: 40px; }
  .step-list li::before { width: 28px; height: 28px; font-size: 13px; }
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table thead th {
  background: var(--bg-card);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody td {
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

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

.comparison-table tbody tr:hover {
  background: var(--bg-card);
}

.comparison-table .highlight-row td {
  background: var(--accent-glow);
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table .highlight-row td:first-child {
  color: var(--accent);
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.info-box__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box__title svg {
  flex-shrink: 0;
}

.info-box ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.info-box li {
  font-size: 15px;
  margin-bottom: 6px;
}

.info-box li:last-child {
  margin-bottom: 0;
}

.scenario {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}

.scenario::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.scenario__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.scenario__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scenario__col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario__col--a h4 { color: var(--success); }

.scenario__col--b h4 { color: #ff5060; }

.scenario__col p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.scenario__col .time-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.scenario__col--a .time-tag {
  background: #00e68a14;
  color: var(--success);
  border: 1px solid #00e68a30;
}

.scenario__col--b .time-tag {
  background: #ff506014;
  color: #ff5060;
  border: 1px solid #ff506030;
}

@media (max-width: 600px) {
  .scenario__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pricing-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.pricing-mini__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.pricing-mini__item:hover {
  border-color: var(--accent-dim);
}

.pricing-mini__accounts {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-mini__price {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.faq-section {
  margin-top: 56px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 13px;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 8px 10px;
    font-size: 12px;
  }
  .pricing-mini {
    grid-template-columns: 1fr 1fr;
  }
  .scenario {
    padding: 20px;
  }
  .info-box {
    padding: 20px;
  }
}


/* -- Additional blog component styles from other posts -- */

.article-content .highlight-box {
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 32px 0;
}

.article-content .highlight-box h4 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 12px;
}

.article-content .highlight-box p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 800px;
}

.comparison-table th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

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

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.comparison-table .check { color: var(--success); font-weight: 600; }

.comparison-table .cross { color: #ff4466; }

.comparison-table .partial { color: var(--warning); }

.comparison-table .highlight-row td {
  background: rgba(0, 212, 255, 0.04);
}

.comparison-table .highlight-row td:first-child {
  color: var(--accent);
  font-weight: 600;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.verdict-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.verdict-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--accent);
}

.verdict-card p {
  margin-bottom: 0;
  font-size: 14px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.comparison-table {
  margin: 32px 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.comparison-table th {
  background: rgba(0, 212, 255, 0.1);
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table .rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.comparison-table .rating--good { color: var(--success); }

.comparison-table .rating--ok { color: var(--warning); }

.comparison-table .rating--poor { color: var(--danger); }

.tool-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  transition: border-color 0.2s;
}

.tool-card:hover {
  border-color: var(--accent-dim);
}

.tool-card h3 {
  color: var(--text-primary);
  margin: 0 0 16px 0;
  font-size: 20px;
}

.tool-card .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.tool-card .pros,
.tool-card .cons {
  padding: 16px;
  border-radius: var(--radius-sm);
}

.tool-card .pros {
  background: rgba(0, 230, 138, 0.05);
  border: 1px solid rgba(0, 230, 138, 0.2);
}

.tool-card .cons {
  background: rgba(255, 71, 87, 0.05);
  border: 1px solid rgba(255, 71, 87, 0.2);
}

.tool-card .pros h4 {
  color: var(--success);
  font-size: 14px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.tool-card .cons h4 {
  color: var(--danger);
  font-size: 14px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.tool-card .pros ul,
.tool-card .cons ul {
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
}

.tool-card .pros li {
  color: rgba(0, 230, 138, 0.9);
}

.tool-card .cons li {
  color: rgba(255, 71, 87, 0.9);
}

@media (max-width: 768px) {
  .tool-card .pros-cons {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.warning-box {
  margin: 32px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #ffb02008, #ff440005);
  border: 1px solid #ffb02030;
  border-radius: var(--radius);
  border-left: 4px solid var(--warning);
}

.warning-box__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.warning-box {
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.3);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 32px 0;
}

.warning-box h4 {
  color: var(--warning);
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.table-wrap .comparison-table {
  margin: 0;
  min-width: 680px;
}

.article-cta {
  margin: 56px 0 0;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, #0f1429 50%, #141a30 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-secondary), transparent);
}

.article-cta h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
  color: var(--text-primary);
}

.article-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.article-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 13px;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 14px;
    font-size: 13px;
  }
  .article-cta {
    padding: 36px 24px;
  }
  .article-cta h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 8px 10px;
    font-size: 12px;
  }
  .scenario {
    padding: 20px;
  }
  .info-box {
    padding: 20px;
  }
}

.pricing-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item__answer {
  padding: 0 24px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .pricing-mini {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}

.comparison-table th {
  background: #141a2e;
  color: #00d4ff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #1e2a4a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  background: #0f1429;
  color: #e8edf5;
  padding: 12px 16px;
  border: 1px solid #1e2a4a;
  line-height: 1.5;
}

.comparison-table tr:hover td {
  background: #141a2e;
}

.comparison-table .tool-name {
  font-weight: 600;
  color: #e8edf5;
}

.comparison-table .highlight-row td {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.2);
}

.comparison-table .muted {
  color: #8892a8;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 16px 0;
}

.faq-item h4 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 17px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

@media (max-width: 768px) {
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-card);
}

.comparison-table thead th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

.comparison-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg-secondary);
}

.comparison-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: var(--bg-card);
}

.comparison-table tbody tr:hover td {
  background: var(--bg-card-hover);
}

.comparison-table tbody tr:hover td:first-child {
  background: var(--bg-card-hover);
}

.comparison-table tbody tr.highlight-row td {
  background: rgba(123, 97, 255, 0.06);
}

.comparison-table tbody tr.highlight-row:hover td {
  background: rgba(123, 97, 255, 0.12);
}

.comparison-table tbody tr.highlight-row td:first-child {
  color: var(--accent-secondary);
  background: rgba(123, 97, 255, 0.06);
}

.comparison-table tbody tr.highlight-row:hover td:first-child {
  background: rgba(123, 97, 255, 0.12);
}

@media (max-width: 768px) {
  .comparison-table { min-width: 600px; }
}
