/* ==================================================
   River VPN - 第2套：双岸工作台 核心样式表
   主题色彩与规范：
   - 主背景：#FAF8F3 (奶油白)
   - 纯白：#FFFFFF
   - 第二背景：#F3F0EA
   - 主文字：#20292D (深岩灰)
   - 正文：#59636A
   - 次级：#878F93
   - 墨蓝：#3E6070
   - 深墨蓝：#304D59
   - 鼠尾草绿：#587467
   - 深绿：#455D53
   - 暖铜：#AE7653
   - 浅蓝：#EEF2F3
   - 浅绿：#EEF2EE
   - 浅暖：#F5EEE7
   - 边框：#E3DED4
================================================== */

:root {
  --bg-primary: #FAF8F3;
  --bg-white: #FFFFFF;
  --bg-secondary: #F3F0EA;
  --text-main: #20292D;
  --text-body: #59636A;
  --text-muted: #878F93;
  --ink-blue: #3E6070;
  --ink-blue-dark: #304D59;
  --sage-green: #587467;
  --sage-green-dark: #455D53;
  --warm-copper: #AE7653;
  --light-blue: #EEF2F3;
  --light-green: #EEF2EE;
  --light-warm: #F5EEE7;
  --border-color: #E3DED4;
  --border-subtle: #EDE9E1;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --container-max: 1240px;
  --article-max: 820px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease;
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ink-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--ink-blue-dark);
}

img, svg {
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(19px, 2.2vw, 24px);
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.35rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.article-container {
  width: 100%;
  max-width: var(--article-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Utility buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.4;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--ink-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--ink-blue-dark);
  color: #FFFFFF;
}

.btn-primary .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-color);
}

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

.btn-copper {
  background-color: var(--warm-copper);
  color: #FFFFFF;
}

.btn-copper:hover {
  background-color: #966343;
  color: #FFFFFF;
}

.btn-copper .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-copper:hover .btn-arrow {
  transform: translateX(4px);
}

/* Header */
.site-header {
  height: 70px;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-svg {
  display: inline-flex;
  align-items: center;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--ink-blue);
}

.nav-link.active {
  color: var(--ink-blue);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--ink-blue);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-white);
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  overflow-y: auto;
  z-index: 999;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border-subtle);
  margin: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
}

/* Dual-Bank Hero Section */
.hero-dual-bank {
  padding: 48px 0 56px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.hero-meta {
  text-align: center;
  margin-bottom: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.badge-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 2px;
  background-color: var(--light-blue);
  color: var(--ink-blue-dark);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.hero-h1 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero-subhead {
  font-size: 18px;
  color: var(--ink-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-body);
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Hero 3-Block Dual Bank Layout */
.dual-bank-grid {
  display: grid;
  grid-template-columns: 36% 28% 36%;
  gap: 16px;
  align-items: stretch;
  margin-top: 36px;
}

.bank-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.bank-panel-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-title {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bank-panel-badge {
  font-size: 12px;
  color: var(--sage-green-dark);
  background-color: var(--light-green);
  padding: 2px 8px;
  border-radius: 2px;
}

/* Device Bank List */
.device-item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.device-item {
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}

.device-item:hover {
  border-color: var(--ink-blue);
  background-color: #FFFFFF;
}

.device-item-info h4 {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.device-item-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.device-item-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-blue);
  white-space: nowrap;
}

/* Central Workbench */
.bank-center-workbench {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.workbench-intro {
  margin-bottom: 18px;
}

.workbench-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.workbench-sub {
  font-size: 13px;
  color: var(--ink-blue);
  font-weight: 500;
  margin-bottom: 12px;
}

.workbench-divider {
  width: 40px;
  height: 2px;
  background-color: var(--warm-copper);
  margin: 0 auto 16px auto;
}

.workbench-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 0;
}

.workbench-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.workbench-link-btn {
  display: block;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.workbench-link-btn:hover {
  background-color: var(--light-blue);
  border-color: var(--ink-blue);
  color: var(--ink-blue-dark);
}

/* Scene Bank List */
.scene-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.scene-item {
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}

.scene-item:hover {
  border-color: var(--sage-green);
  background-color: #FFFFFF;
}

.scene-item-info h4 {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.scene-item-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.scene-item-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-green-dark);
  white-space: nowrap;
}

/* Sections Common */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-color);
}

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

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

.section-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--warm-copper);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-body);
  max-width: 800px;
  margin-bottom: 0;
}

/* Dual Column Layout */
.dual-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.panel-card-alt {
  background-color: var(--bg-primary);
}

.panel-card-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-card-title {
  font-size: 20px;
  color: var(--text-main);
}

.panel-card-tag {
  font-size: 12px;
  padding: 3px 8px;
  background-color: var(--light-blue);
  color: var(--ink-blue);
  border-radius: 2px;
}

/* Task checklist items */
.task-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.task-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-body);
}

.task-list li:last-child {
  border-bottom: none;
}

.task-icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--sage-green);
  flex-shrink: 0;
}

.notice-box {
  background-color: var(--light-warm);
  border: 1px solid #E8DFD5;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-main);
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* AI Tools Grid */
.ai-tool-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.ai-tool-name-col {
  border-right: 1px solid var(--border-subtle);
  padding-right: 16px;
}

.ai-tool-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.ai-tool-type {
  font-size: 12px;
  color: var(--text-muted);
}

.ai-col-block h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-blue);
  margin-bottom: 6px;
}

.ai-col-block p {
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 0;
  line-height: 1.6;
}

.ai-card-bottom {
  grid-column: 1 / -1;
  background-color: var(--bg-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-card-bottom strong {
  color: var(--warm-copper);
}

/* Streaming Table / Grid */
.stream-table-wrap {
  overflow-x: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.stream-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.stream-table th {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  padding: 14px 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.stream-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

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

.stream-table tr:hover td {
  background-color: var(--bg-primary);
}

/* Node Cards */
.node-card {
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 14px;
}

.node-card:last-child {
  margin-bottom: 0;
}

.node-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-card p {
  font-size: 13.5px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.node-card .node-factors {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Network Line Comparison Table */
.line-table-wrap {
  overflow-x: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.line-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.line-table th {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  padding: 14px 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.line-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

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

.line-type-title {
  font-weight: 700;
  color: var(--ink-blue-dark);
}

/* Pricing Section - 5 Plans, Matrix Pairing Table */
.pricing-matrix-wrap {
  overflow-x: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
}

.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.pricing-table th:last-child, .pricing-table td:last-child {
  border-right: none;
}

.pricing-table thead th {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  font-weight: 600;
  vertical-align: bottom;
}

.pricing-table thead th.plan-col {
  width: 22%;
}

.pricing-table thead th.dim-col {
  width: 12%;
  text-align: left;
  padding-left: 20px;
}

.pricing-table td.dim-name {
  text-align: left;
  padding-left: 20px;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-primary);
}

.plan-name-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-price-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-blue);
  margin-bottom: 4px;
}

.plan-traffic-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Highlight Primary Plan */
.pricing-table th.highlight-col,
.pricing-table td.highlight-col {
  background-color: var(--light-green);
  border-left: 2px solid var(--ink-blue);
  border-right: 2px solid var(--ink-blue);
}

.pricing-table thead th.highlight-col {
  border-top: 3px solid var(--ink-blue);
  background-color: #E2ECE5;
}

.pricing-table tr:last-child td.highlight-col {
  border-bottom: 2px solid var(--ink-blue);
}

.primary-badge {
  display: inline-block;
  background-color: var(--warm-copper);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.matrix-sym-best {
  color: var(--sage-green-dark);
  font-size: 18px;
  font-weight: 700;
}

.matrix-sym-ok {
  color: var(--ink-blue);
  font-size: 16px;
  font-weight: 700;
}

.matrix-sym-ref {
  color: var(--text-muted);
  font-size: 13px;
}

.symbol-legend {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  background-color: var(--bg-white);
  padding: 12px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

/* Long-term Standalone Plan Card */
.yearly-plan-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.yearly-plan-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.yearly-plan-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.yearly-plan-badge {
  background-color: var(--light-warm);
  color: var(--warm-copper);
  border: 1px solid #E8DFD5;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: 600;
}

.yearly-plan-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-blue);
}

.yearly-plan-desc {
  font-size: 14px;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 0;
}

/* Mobile Pricing Cards Stack (Hidden on Desktop) */
.mobile-pricing-stack {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.mobile-plan-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mobile-plan-card.highlight {
  border: 2px solid var(--ink-blue);
  background-color: var(--light-green);
}

.mobile-plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-plan-params {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.mobile-plan-param-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-subtle);
  padding: 4px 0;
}

/* Review Highlight Card */
.review-lead-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
}

.review-lead-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}

.review-lead-content h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.review-lead-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 20px;
}

.review-key-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.review-key-points li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-sidebar-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.review-sidebar-box h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.review-sidebar-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Tutorial Directory Section */
.tutorial-item-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.tutorial-item-card:hover {
  border-color: var(--ink-blue);
  box-shadow: 0 2px 8px rgba(32, 41, 45, 0.04);
}

.tutorial-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tutorial-card-meta .tag {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 500;
}

.tutorial-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.4;
}

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

.tutorial-card-title a:hover {
  color: var(--ink-blue);
}

.tutorial-card-summary {
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 10px;
  line-height: 1.6;
}

.tutorial-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-blue);
  align-self: flex-start;
}

/* Troubleshooting Flow & Dual Columns */
.trouble-steps-flow {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.trouble-flow-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: block;
}

.trouble-steps-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trouble-step-node {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

.trouble-step-arrow {
  color: var(--text-muted);
  font-size: 12px;
}

/* FAQ Accordion Details */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-group-title {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
}

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

details.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: var(--transition);
}

details.faq-item[open] {
  border-color: var(--ink-blue);
  background-color: #FFFFFF;
}

summary.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

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

summary.faq-question::after {
  content: "+";
  font-size: 18px;
  color: var(--ink-blue);
  font-weight: 700;
  flex-shrink: 0;
}

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

.faq-answer {
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Footer Compact & Elegant */
.site-footer {
  background-color: #EFECE5;
  color: #48535A;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px 0;
  font-size: 14px;
}

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

.footer-brand h4 {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: #6E7980;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #59636A;
  font-size: 13.5px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--ink-blue);
}

.footer-bottom {
  border-top: 1px solid #DFDBD1;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom-copy {
  color: #6E7980;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links-row span {
  color: #6E7980;
  font-weight: 600;
}

.footer-links-row a {
  color: #59636A;
  text-decoration: none;
}

.footer-links-row a:hover {
  color: var(--ink-blue);
}

/* ==================================================
   Article Template Styles
================================================== */
.article-header {
  padding: 40px 0 28px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 36px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--ink-blue);
}

.breadcrumbs span.current {
  color: var(--text-main);
}

.article-category-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-green-dark);
  background-color: var(--light-green);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.article-title {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-summary-lead {
  font-size: 16.5px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.article-content {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  margin-bottom: 40px;
}

.article-content h2 {
  font-size: 26px;
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 20px;
  margin: 24px 0 12px 0;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 1.25rem;
  font-size: 16px;
  line-height: 1.85;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  font-size: 16px;
  line-height: 1.75;
}

/* GEO Quick Takeaway Box */
.geo-takeaway-box {
  background-color: var(--light-blue);
  border-left: 4px solid var(--ink-blue);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
}

.geo-takeaway-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-blue-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.geo-takeaway-box p {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Table of Contents */
.toc-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 6px;
  font-size: 14px;
}

.toc-list a {
  color: var(--ink-blue);
}

.toc-list a:hover {
  text-decoration: underline;
}

/* Callout Note in Article */
.article-callout {
  background-color: var(--light-warm);
  border: 1px solid #E8DFD5;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.article-callout strong {
  color: var(--warm-copper);
}

/* Related articles section inside article page */
.article-related-section {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.article-related-title {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 700;
}

.article-nav-prev-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.nav-article-card {
  max-width: 48%;
  font-size: 14px;
}

.nav-article-card .label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.nav-article-card a {
  font-weight: 600;
  color: var(--ink-blue);
  line-height: 1.4;
  display: inline-block;
}

/* Category Page Styles */
.category-header {
  padding: 48px 0 32px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.category-lead {
  font-size: 16px;
  color: var(--text-body);
  max-width: 760px;
  line-height: 1.8;
  margin-top: 12px;
}

.category-articles-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
}

/* ==================================================
   Responsive Media Queries
================================================== */

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .review-lead-grid {
    grid-template-columns: 1fr;
  }

  .pricing-matrix-wrap {
    display: none;
  }

  .mobile-pricing-stack {
    display: flex;
  }
}

@media (max-width: 768px) {
  .main-nav, .header-action .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .dual-col-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .ai-tool-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ai-tool-name-col {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
  }

  .article-content {
    padding: 24px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .yearly-plan-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .yearly-plan-desc {
    max-width: 100%;
  }

  .nav-article-card {
    max-width: 100%;
  }

  .bank-center-workbench {
    padding: 16px;
  }
  .workbench-intro {
    margin-bottom: 8px;
  }
  .workbench-brand {
    font-size: 17px;
  }
  .workbench-sub {
    margin-bottom: 6px;
  }
  .workbench-divider, .workbench-desc {
    display: none;
  }
  .workbench-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
  }
  .workbench-link-btn {
    padding: 10px 4px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .container, .article-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .panel-card {
    padding: 20px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .workbench-link-btn {
    font-size: 12px;
    padding: 8px 2px;
  }
}

/* Prefers Reduced Motion (#174 in prompt) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn-primary:hover .btn-arrow,
  .btn-copper:hover .btn-arrow {
    transform: none !important;
  }
}
