/* CSS Stylesheet for tzyouxuan.xyz */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-color: #f59e0b;
  --accent-hover: #d97706;
  --tg-color: #229ed9;
  --tg-hover: #1c8adb;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-domain {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-item:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  padding: 3px 4px 3px 12px;
  transition: all 0.2s ease-in-out;
}

.search-box:focus-within {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 6px 8px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  width: 180px;
}

.search-btn {
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  transition: all 0.2s;
}

.search-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.search-btn-icon {
  flex-shrink: 0;
  stroke: #ffffff;
}

/* Dropdown Search Results Box */
.search-results-dropdown {
  display: none;
  position: absolute;
  top: 115%;
  right: 0;
  width: 380px;
  max-height: 480px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  overflow-y: auto;
  padding: 8px 0;
}

.search-results-dropdown.active {
  display: block;
}

.search-header-bar {
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background-color 0.15s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #eff6ff;
  text-decoration: none;
}

.search-result-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.search-result-item:hover .search-result-title {
  color: #2563eb;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.search-cat-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.search-result-snippet {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-no-results {
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.tg-btn {
  background-color: var(--tg-color);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s;
}

.tg-btn:hover {
  background-color: var(--tg-hover);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-modal {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.mobile-nav-modal.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid var(--primary-color);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-desc {
  max-width: 850px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  text-decoration: none;
}

.btn-secondary {
  background-color: #334155;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #475569;
  text-decoration: none;
}

.btn-tg {
  background-color: var(--tg-color);
  color: #ffffff;
}

.btn-tg:hover {
  background-color: var(--tg-hover);
  text-decoration: none;
}

.btn-register {
  background-color: #10b981;
  color: #ffffff;
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
}

.btn-register:hover {
  background-color: #059669;
  text-decoration: none;
}

.btn-detail {
  background-color: #f1f5f9;
  color: var(--text-main);
  width: 100%;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;

}

.btn-detail:hover {
  background-color: #e2e8f0;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

/* Sections */
.section {
  padding: 50px 0;
}

.bg-light {
  background-color: #f1f5f9;
}

.section-header {
  margin-bottom: 35px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* Provider Grid */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 36px 20px;
  padding-top: 18px;
  margin-top: 25px;
}

.primary-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.provider-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rank-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #1e293b;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.rank-1 .rank-tag { background: #d97706; }
.rank-2 .rank-tag { background: #2563eb; }
.rank-3 .rank-tag { background: #059669; }
.rank-4 .rank-tag { background: #7c3aed; }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

.provider-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.price-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: bold;
}

.provider-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.provider-features {
  list-style: none;
  font-size: 13px;
  color: #334155;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.provider-features li {
  line-height: 1.5;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* Mini Card */
.mini-card {
  padding: 16px;
}

.mini-rank {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.mini-price {
  font-size: 13px;
  font-weight: bold;
  color: #d97706;
  margin: 8px 0;
}

/* Article Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-body {
  padding: 20px;
}

.article-cat {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-title a {
  color: var(--text-main);
}

.article-title a:hover {
  color: var(--primary-color);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.article-meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* Article Detail */
.page-layout {
  padding-top: 30px;
  padding-bottom: 60px;
}

.article-detail {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-sm);
}

.breadcrumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}

.post-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.tag-pill {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Injected Recommendation Box */
.injected-recommendation-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 35px;
}

.box-title {
  font-size: 18px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 6px;
}

.box-desc {
  font-size: 14px;
  color: #3b82f6;
  margin-bottom: 16px;
}

.injected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.inj-card {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.inj-badge {
  font-size: 11px;
  font-weight: bold;
  background: #dbeafe;
  color: #1e40af;
  padding: 2px 6px;
  border-radius: 6px;
}

.inj-card h4 {
  font-size: 16px;
  margin: 6px 0;
  color: var(--text-main);
}

.inj-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Content Styling */
.post-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.post-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 12px;
}

.post-content p {
  margin-bottom: 18px;
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
}

.post-content ul, .post-content ol {
  margin: 0 0 20px 25px;
  color: #334155;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.post-content th, .post-content td {
  border: 1px solid var(--border-color);
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.post-content th {
  background: #f8fafc;
  font-weight: bold;
}

/* FAQ Styles */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.q-num {
  color: var(--primary-color);
}

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

.faq-cta-bar {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #64748b;
}

.btn-link {
  font-weight: bold;
  color: var(--primary-color);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 25px;
  margin-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-subtitle {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.foot-tag {
  background: #1e293b;
  color: #94a3b8;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

.disclosure {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
}

/* Media Queries */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 24px; }
  .search-box input { width: 110px; }
}


/* Custom Guide Page Typography & Table Styles */
.guide-custom-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.guide-intro-card {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.intro-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.intro-text {
  font-size: 15px;
  color: #1e293b;
  line-height: 1.8;
}

.section-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 30px 0 15px;
}

.guide-principles-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 35px;
}

.principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
}

.principles-list li {
  position: relative;
  padding-left: 20px;
}

.principles-list li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.tier-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.tier-title {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.tier-sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-guide-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.custom-guide-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  padding: 12px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

.custom-guide-table td {
  padding: 12px;
  border: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.6;
}

.custom-guide-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.custom-guide-table tr:hover {
  background-color: #f1f5f9;
}

.table-btn {
  display: inline-block;
  background-color: #10b981;
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.table-btn:hover {
  background-color: #059669;
  color: #ffffff;
  text-decoration: none;
}

.guide-troubleshoot-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
}

.troubleshoot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #92400e;
  line-height: 1.7;
}

.guide-disclaimer-box {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 14px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Custom Collection Cards */
.collection-intro-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.custom-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.grid-3col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.custom-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.card-blue { border-left: 4px solid #2563eb; background: #f8fafc; }
.card-amber { border-top: 4px solid #d97706; }
.card-green { border-top: 4px solid #10b981; }
.card-purple { border-top: 4px solid #7c3aed; }
.card-sky { border: 1px solid #bae6fd; background: #f0f9ff; }

.custom-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.card-desc { font-size: 13px; color: #334155; line-height: 1.6; margin-bottom: 8px; }
.card-target { font-size: 13px; color: #64748b; }
.card-list { font-size: 12px; color: #475569; line-height: 1.6; list-style-type: disc; margin-left: 16px; margin-bottom: 12px; }

.card-badge { font-size: 11px; font-weight: bold; padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 6px; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }

.btn-amber { background: #d97706 !important; }
.btn-green { background: #10b981 !important; }
.btn-purple { background: #7c3aed !important; }
.btn-sky { background: #0284c7 !important; }

.avoid-card {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 20px 24px;
}

.avoid-list {
  font-size: 14px;
  color: #991b1b;
  line-height: 1.8;
  list-style-type: square;
  margin-left: 18px;
  margin-bottom: 14px;
}

.avoid-footer {
  font-size: 13px;
  color: #7f1d1d;
  background: #fee2e2;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 0;
}

/* Tutorial Parallel Step Grid Styles */
.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 25px 0;
}

@media (max-width: 900px) {
  .tutorial-steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  border-color: #2563eb;
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.step-badge {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.step-badge-amber {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.step-badge-green {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.step-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.step-card-body {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
  flex: 1;
}

.step-card-body ul, .step-card-body ol {
  margin-left: 16px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.step-card-body li {
  margin-bottom: 6px;
}

.step-verify-tip {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 12px;
  color: #166534;
  line-height: 1.5;
}

.step-verify-tip strong {
  color: #15803d;
}

.platform-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-left: 5px solid #2563eb;
  border-radius: 8px;
  padding: 14px 20px;
  margin-top: 35px;
  margin-bottom: 20px;
}

.platform-section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.platform-section-desc {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

