/* ========================================================
   梯子强 (tiziqiang.cc) - 极简科技资讯门户风核心样式表
   100% 相对路径兼容，支持本地双击 file:// 协议与线上部署
   ======================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #eff6ff;
  
  --color-success: #059669;
  --color-success-light: #ecfdf5;
  --color-danger: #dc2626;
  --color-danger-light: #fef2f2;
  --color-warning: #d97706;
  --color-warning-light: #fffbeb;
  
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ========================================================
   Header & Navigation
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo-link img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-md);
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--bg-muted);
}

.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Header Contact Us Dropdown */
.header-contact-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: #1d4ed8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-header-contact:hover,
.header-contact-wrapper.active .btn-header-contact {
  background-color: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.contact-btn-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.contact-btn-arrow {
  font-size: 0.65rem;
  color: #3b82f6;
  transition: transform 0.2s ease;
  margin-left: 0.1rem;
}

.header-contact-wrapper.active .contact-btn-arrow {
  transform: rotate(180deg);
}

.contact-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: 380px;
  max-width: 92vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.18), 0 10px 15px -3px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
  z-index: 999;
  text-align: left;
}

.header-contact-wrapper.active .contact-dropdown-panel {
  display: block;
  animation: contactPanelFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes contactPanelFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-panel-head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.85rem;
}

.contact-head-badge {
  display: inline-block;
  font-size: 0.675rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.contact-head-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.contact-head-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.contact-cards-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.contact-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.contact-card.tg-card {
  border-left: 4px solid #0088cc;
}

.contact-card.gmail-card {
  border-left: 4px solid #ea4335;
}

.card-icon-col {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-col.tg-icon {
  background: #e0f2fe;
  color: #0088cc;
}

.card-icon-col.gmail-icon {
  background: #fee2e2;
  color: #ea4335;
}

.card-body-col {
  flex: 1;
  min-width: 0;
}

.card-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.card-tag.tag-tg {
  background: #e0f2fe;
  color: #0369a1;
}

.card-tag.tag-gmail {
  background: #fef2f2;
  color: #b91c1c;
}

.card-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.825rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
  word-break: break-all;
}

.card-desc {
  font-size: 0.725rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.card-btn-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-card-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-action-tg {
  background: #0088cc;
  color: #ffffff;
}

.btn-action-tg:hover {
  background: #0077b5;
  color: #ffffff;
}

.btn-action-gmail {
  background: #ea4335;
  color: #ffffff;
}

.btn-action-gmail:hover {
  background: #d93025;
  color: #ffffff;
}

.btn-card-copy {
  padding: 0.35rem 0.6rem;
  font-size: 0.725rem;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-card-copy:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.btn-card-copy.copied {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #86efac !important;
  font-weight: 700;
}

.contact-panel-foot {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.7rem;
  color: #64748b;
}

.foot-promise {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Review 2-Column Layout with Sticky Sidebar */
.review-page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 2rem;
  align-items: start;
}

.review-main-column {
  min-width: 0;
}

.review-sidebar-sticky {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  z-index: 10;
}

@media (max-width: 1100px) {
  .review-page-container {
    grid-template-columns: 1fr;
    max-width: 860px;
  }
  .review-sidebar-sticky {
    position: static;
    margin-top: 2rem;
  }
}

/* Sidebar Next Card */
.sidebar-next-card {
  background: linear-gradient(145deg, #ffffff, #f0f7ff);
  border: 2px solid #93c5fd;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
  text-align: left;
}

.sidebar-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.sidebar-next-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.sidebar-next-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.2rem 0 0.45rem;
  line-height: 1.3;
}

.sidebar-next-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.sidebar-next-meta .meta-tag {
  font-size: 0.7rem;
  background: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #475569;
  font-weight: 600;
}

.sidebar-next-meta .meta-price {
  font-size: 0.825rem;
  color: #dc2626;
  font-weight: 800;
}

.sidebar-next-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.btn-sidebar-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-sidebar-next:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-sidebar-next .arrow-bounce {
  transition: transform 0.2s ease;
}

.btn-sidebar-next:hover .arrow-bounce {
  transform: translateX(4px);
}

.sidebar-prev-row {
  margin-top: 0.65rem;
  text-align: center;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.55rem;
}

.link-sidebar-prev {
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.link-sidebar-prev:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Sidebar Ranking Switcher */
.sidebar-ranking-switcher {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.switcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.65rem;
}

.switcher-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #0f172a;
}

.switcher-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.switcher-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.switcher-list::-webkit-scrollbar {
  width: 4px;
}

.switcher-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.switcher-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  color: #334155;
  transition: background 0.15s ease;
}

.switcher-item:hover {
  background: #f8fafc;
  color: #2563eb;
}

.switcher-item.current {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-weight: 700;
  color: #1d4ed8;
}

.rank-pill {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-pill.rank-gold {
  background: #fef08a;
  color: #854d0e;
}

.rank-pill.rank-silver {
  background: #e2e8f0;
  color: #475569;
}

.rank-pill.rank-bronze {
  background: #fed7aa;
  color: #9a3412;
}

.rank-pill.rank-other {
  background: #f1f5f9;
  color: #64748b;
}

.switcher-item .item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.switcher-item .item-price {
  font-size: 0.725rem;
  color: #94a3b8;
  font-weight: 500;
}

.switcher-item .current-tag {
  font-size: 0.65rem;
  color: #2563eb;
  background: #dbeafe;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Sidebar Current CTA */
.sidebar-current-cta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem;
  text-align: center;
}

.current-cta-tip {
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 0.45rem;
}

.btn-sidebar-buy {
  display: block;
  padding: 0.55rem;
  background: #059669;
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
}

.btn-sidebar-buy:hover {
  background: #047857;
  color: #ffffff;
  transform: translateY(-1px);
}

.sidebar-coupon-tag {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.4rem;
}

/* Review Hero Dashboard Grid */
.review-hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  align-items: center;
}

@media (max-width: 768px) {
  .review-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    padding: 1rem;
  }
}

.btn-header-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-header-search:hover {
  background-color: #e2e8f0;
  color: var(--text-main);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-body);
}

/* Mobile Nav */
.mobile-nav-panel {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem 1.25rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
  position: relative;
  background-color: #030712;
  background-image: 
    linear-gradient(180deg, rgba(3, 7, 18, 0.65) 0%, rgba(3, 7, 18, 0.3) 50%, rgba(3, 7, 18, 0.9) 100%),
    url('../images/hero-bg.png');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 1rem;
  background-color: rgba(30, 58, 138, 0.5);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-title span {
  color: #60a5fa;
  text-shadow: 0 0 25px rgba(96, 165, 250, 0.6);
}

.hero-desc {
  font-size: 1.125rem;
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-actions .btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
  border: 1px solid #3b82f6;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-muted);
  border-color: #cbd5e1;
}

/* ========================================================
   Quick Answer Cards
   ======================================================== */
.quick-answer-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: -2rem auto 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.quick-answer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

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

.quick-card {
  background: var(--bg-page);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.quick-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.quick-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   Section Styles
   ======================================================== */
.section-wrap {
  padding: 3.5rem 0;
}

.section-wrap.alt-bg {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ========================================================
   Leaderboard Table (Comprehensive & Non-repetitive)
   ======================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.leaderboard-table th {
  background-color: #f8fafc;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.leaderboard-table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

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

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

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.rank-1 { background-color: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.rank-2 { background-color: #e2e8f0; color: #334155; border: 1px solid #cbd5e1; }
.rank-3 { background-color: #fed7aa; color: #9a3412; border: 1px solid #fdba74; }
.rank-normal { background-color: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

.brand-col-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-block;
}

.brand-col-name:hover {
  color: var(--color-primary);
}

.brand-col-line {
  font-size: 0.775rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 0.15rem;
}

.coupon-tag {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background-color: var(--color-danger-light);
  color: var(--color-danger);
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  margin-left: 0.35rem;
}

.price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-danger);
}

.unit-val {
  font-weight: 700;
  color: var(--color-success);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-table-aff {
  padding: 0.4rem 0.85rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.btn-table-aff:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-table-review {
  padding: 0.4rem 0.75rem;
  background-color: var(--bg-muted);
  color: var(--text-body);
  font-size: 0.775rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

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

/* ========================================================
   Scenario Cards
   ======================================================== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.scenario-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.scenario-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.scenario-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.scenario-icon {
  font-size: 1.75rem;
  padding: 0.5rem;
  background: var(--bg-page);
  border-radius: var(--radius-md);
}

.scenario-tag {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid #bfdbfe;
}

.scenario-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.scenario-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.scenario-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ========================================================
   Featured Reviews Grid (4 Highlights)
   ======================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.featured-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.featured-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.featured-badge-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.badge-tested {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
}

.badge-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-warning);
  background: var(--color-warning-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.featured-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.featured-line {
  font-size: 0.775rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.featured-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-specs {
  background: var(--bg-page);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
}

.spec-row span { color: var(--text-muted); }
.spec-row strong { color: var(--text-main); }

.featured-btns {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ========================================================
   Blog & Guides Grid
   ======================================================== */
.article-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.article-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.article-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.tag-cat {
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

.article-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.article-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ========================================================
   Article Detail Page & Typography
   ======================================================== */
.article-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

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

.article-main-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.prose-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #334155;
}

.prose-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
}

.prose-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
}

.prose-content p {
  margin-bottom: 1.25rem;
}

.prose-content ul, .prose-content ol {
  margin: 0 0 1.25rem 1.5rem;
}

.prose-content li {
  margin-bottom: 0.5rem;
}

.prose-content strong {
  color: var(--text-main);
}

.prose-content code {
  font-family: var(--font-mono);
  background-color: var(--bg-muted);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  color: #b91c1c;
}

.callout-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  border: 1px solid #bfdbfe;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
  margin-top: auto;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.825rem;
  color: #94a3b8;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================================
   FAQ Details Accordion
   ======================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color 0.15s ease;
}

.faq-item summary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item p {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

/* ========================================================
   Responsive Media Queries
   ======================================================== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================================
   Article Pagination (Previous / Next Navigation)
   ======================================================== */
.post-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.post-nav-card:hover {
  border-color: var(--color-primary);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.post-nav-card.next-card {
  text-align: right;
}

.post-nav-card .nav-direction {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-nav-card.next-card .nav-direction {
  justify-content: flex-end;
}

.post-nav-card .nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-nav-card:hover .nav-title {
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .post-pagination {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .post-nav-card.next-card {
    text-align: left;
  }
  .post-nav-card.next-card .nav-direction {
    justify-content: flex-start;
  }
}

/* ========================================================
   Related Content Section
   ======================================================== */
.related-articles-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.related-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-header a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

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

.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.related-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.related-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-footer {
  font-size: 0.725rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* ========================================================
   Quick Navigation Bar (Site Exploration Strip)
   ======================================================== */
.quick-nav-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  font-size: 0.825rem;
}

.quick-nav-strip span {
  font-weight: 700;
  color: #475569;
}

.quick-nav-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: #eff6ff;
  transition: all 0.15s ease;
}

.quick-nav-link:hover {
  background: #2563eb;
  color: #ffffff;
}

/* ========================================================
   Contextual In-Text Internal Links
   ======================================================== */
.internal-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.internal-link:hover {
  color: #1d4ed8;
  background-color: #dbeafe;
  border-radius: 2px;
}

/* ========================================================
   Floating Back-to-Top Button
   ======================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 9999px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0.85;
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  opacity: 1;
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
}

