/* ============================================================
   上海经历商贸有限公司 - 商务稳重风格
   主色：#0f172a  背景：#fafaf9  强调：#b45309  文字：#292524
   分割线：#e7e5e4  版心：1180px
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-light: #334155;
  --bg: #fafaf9;
  --bg-card: #f5f5f4;
  --accent: #b45309;
  --accent-light: #d97706;
  --text: #292524;
  --text-muted: #78716c;
  --line: #e7e5e4;
  --line-light: #f0efed;
  --white: #ffffff;
  --success: #166534;
  --warning: #92400e;
  --radius: 4px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif SC", Georgia, "Times New Roman", serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 48px; letter-spacing: -0.02em; }
h2 { font-size: 32px; letter-spacing: -0.01em; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

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

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

strong {
  color: var(--ink);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.02em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: #e2e8f0;
}

.topbar a:hover {
  color: var(--white);
}

/* ---------- Header ---------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
}

.logo-text h1 {
  margin: 0;
  font-size: 18px;
  font-family: "Noto Serif SC", Georgia, serif;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Navigation ---------- */
nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #1e293b;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--bg-card);
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #92400e;
  color: var(--white);
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0;
}

.page-banner h2 {
  margin: 0 0 8px;
  font-size: 36px;
  color: var(--white);
}

.page-banner p {
  margin: 0;
  color: #94a3b8;
  font-size: 16px;
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 80px 0;
}

.section+.section {
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 48px;
}

.section-title h2 {
  margin: 0 0 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.card+.card {
  margin-top: 16px;
}

.card-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border: 2px solid var(--accent);
  padding: 9px 13px;
}

.form-group .hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-muted);
}

.form-agree input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.form-card h2 {
  text-align: center;
  margin-bottom: 28px;
}

.form-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-size: 13px;
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-card);
}

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

/* ---------- Status Badges ---------- */
.status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 2px;
}

.status-process {
  background: #fef3c7;
  color: #92400e;
}

.status-done {
  background: #d1fae5;
  color: #065f46;
}

.status-wait {
  background: #fef2f2;
  color: #991b1b;
}

.status-refund {
  background: #f3f4f6;
  color: #6b7280;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 56px 0 0;
  font-size: 14px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 16px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

.footer-bottom a {
  color: #64748b;
}

.footer-bottom p {
  color: #64748b;
  margin: 3px 0;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: left;
  padding: 0;
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ink);
}

.feature-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.feature-item p {
  font-size: 14px;
  margin: 0;
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: flex;
  gap: 0;
  counter-reset: step;
}

.process-step {
  flex: 1;
  padding: 24px 16px;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  width: 0;
  height: 0;
}

.process-step .num {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.process-step h4 {
  margin-bottom: 6px;
  font-size: 15px;
}

.process-step p {
  font-size: 13px;
  margin: 0;
}

/* ---------- News List ---------- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.news-item a {
  color: var(--text);
  font-weight: 500;
}

.news-item a:hover {
  color: var(--accent);
}

.news-item .date {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-right: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Product Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
  margin-left: -1px;
  margin-top: -1px;
  position: relative;
  transition: background-color 0.2s;
}

.product-card:hover {
  background: var(--bg-card);
}

.product-card .country-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.product-card .product-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-card .product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card .detail-item h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.product-card .detail-item p {
  font-size: 14px;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.product-price .currency {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.product-price .amount {
  font-size: 32px;
  color: var(--accent);
  font-weight: 700;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.product-price .unit {
  font-size: 14px;
  color: var(--text-muted);
}

.product-price .original {
  font-size: 14px;
  color: #a8a29e;
  text-decoration: line-through;
  margin-left: 8px;
}

/* ---------- Content Pages ---------- */
.content-page {
  max-width: 800px;
}

.content-page h1 {
  font-size: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.content-page h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-page h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-page p,
.content-page li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.content-page ul,
.content-page ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

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

.content-page .update-time {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* ---------- User Center Layout ---------- */
.user-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.user-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 0;
}

.user-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 14px;
  border-left: 2px solid transparent;
}

.user-sidebar a:hover,
.user-sidebar a.active {
  background: var(--bg-card);
  color: var(--ink);
  border-left-color: var(--accent);
}

.user-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 500px;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  font-family: "Noto Serif SC", Georgia, serif;
}

.user-info h3 {
  margin: 0 0 4px;
}

.user-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- Dashboard Cards ---------- */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.dash-card strong {
  display: block;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.dash-card span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Order Flow ---------- */
.order-flow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.order-flow::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.order-flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.order-flow-step .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.order-flow-step.active .dot {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.order-flow-step.done .dot {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.order-flow-step span {
  font-size: 12px;
  color: var(--text-muted);
}

.order-flow-step.active span {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Order Summary ---------- */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.order-summary h4 {
  margin: 0 0 12px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.order-summary-row:last-child {
  border-bottom: none;
}

.order-summary-row.total {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

/* ---------- Payment Methods ---------- */
.payment-methods {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.payment-method {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
}

.payment-method:hover {
  background: var(--bg-card);
}

.payment-method.active {
  border-color: var(--ink);
  background: var(--bg-card);
}

.payment-method span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
}

/* ---------- Chat Widget ---------- */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
}

.chat-btn {
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.chat-window {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  height: 400px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
  overflow: hidden;
}

.chat-window.active {
  display: block;
}

.chat-header {
  background: var(--ink);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
}

.chat-body {
  height: 290px;
  padding: 16px;
  overflow-y: auto;
  font-size: 13px;
}

.chat-msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  max-width: 82%;
  font-size: 13px;
  line-height: 1.6;
}

.chat-msg.bot {
  background: var(--bg-card);
  color: var(--text);
}

.chat-msg.user {
  background: var(--ink);
  color: var(--white);
  margin-left: auto;
}

.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid var(--line);
  gap: 8px;
}

.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
}

.chat-input button {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- News Layout (for news.html) ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

.news-categories {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.news-cat {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.news-cat:hover,
.news-cat.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.news-item-large {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.news-item-image {
  width: 160px;
  height: 120px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

.news-item-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.news-item-content h3 a {
  color: var(--ink);
}

.news-item-content h3 a:hover {
  color: var(--accent);
}

.news-item-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.news-readmore {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.news-readmore:hover {
  color: #92400e;
}

/* Tag variants for news */
.tag-policy {
  color: #b45309;
  border-color: #fcd34d;
  background: #fffbeb;
}

.tag-reminder {
  color: #0369a1;
  border-color: #bae6fd;
  background: #f0f9ff;
}

.tag-notice {
  color: #475569;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.tag-guide {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tags a {
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-muted);
}

.sidebar-tags a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
}

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

.sidebar-list a {
  color: var(--text);
}

.sidebar-list a:hover {
  color: var(--accent);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}

.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.page-btn:hover,
.page-btn.active {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bg-card);
}

/* ---------- About Page ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.company-profile {
  padding: 0;
}

.company-profile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-profile li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.company-profile li .label {
  color: var(--text-muted);
  min-width: 80px;
  font-weight: 500;
}

.company-profile li .value {
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h4::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  padding: 0;
}

.contact-info-card .info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: flex-start;
}

.contact-info-card .info-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
}

.contact-info-card .info-text h4 {
  font-size: 14px;
  margin-bottom: 4px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.contact-info-card .info-text p {
  font-size: 14px;
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Hero (Index) ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/banner-hero.jpg") center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

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

.hero .container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}

.hero h2 {
  font-size: 48px;
  margin: 0 0 24px;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero p {
  font-size: 17px;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-actions .btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid #1e293b;
}

.hero-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.hero-stat span {
  font-size: 13px;
  color: #94a3b8;
}

.hero-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 32px;
}

.hero-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 20px;
}

.hero-search {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #334155;
  border-radius: var(--radius);
  font-size: 14px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: inherit;
}

.hero-search input::placeholder {
  color: #64748b;
}

.hero-search .btn {
  flex-shrink: 0;
}

.hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hot-tags a {
  font-size: 12px;
  padding: 5px 14px;
  border: 1px solid #334155;
  border-radius: 2px;
  color: #94a3b8;
}

.hot-tags a:hover {
  border-color: #94a3b8;
  color: #e2e8f0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 34px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-direction: column;
  }

  .process-step::after {
    display: none;
  }

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

  .content-page + div > .card,
  .section > .container > div[style*="grid-template-columns:1fr 340px"] {
    grid-template-columns: 1fr !important;
  }

  .user-layout {
    grid-template-columns: 1fr;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px;
  }

  nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .news-item-large {
    flex-direction: column;
  }

  .news-item-image {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .hero {
    padding: 48px 0 0;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

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

  .section {
    padding: 48px 0;
  }

  .payment-methods {
    flex-direction: column;
  }
}