/* ===== 金河艾宠易 - 生物技术行业平台 ===== */
:root {
  --primary: #0d6e6e;
  --primary-dark: #094848;
  --primary-light: #14a3a3;
  --accent: #2ecc71;
  --accent-gold: #c9a227;
  --bg-dark: #0a1628;
  --bg-card: #ffffff;
  --bg-section: #f0f7f7;
  --text-primary: #1a2e35;
  --text-secondary: #5a7179;
  --text-light: #8fa3aa;
  --border: #d4e5e5;
  --shadow: 0 4px 24px rgba(13, 110, 110, 0.12);
  --shadow-lg: 0 12px 48px rgba(13, 110, 110, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-section);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0f2847 50%, var(--primary-dark) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-top {
  background: rgba(0,0,0,0.2);
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a { color: rgba(255,255,255,0.85); }
.header-top a:hover { color: var(--accent); }

.header-main { padding: 16px 0; }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  flex-shrink: 0;
}

.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
}

.logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }

.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.main-nav a.active { background: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: background var(--transition);
}

.cart-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 110, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 110, 110, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold), #e6c04a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.btn-accent:hover { transform: translateY(-2px); color: #fff; }

.btn-secondary {
  background: var(--bg-section);
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover { border-color: var(--primary); background: #fff; }

.btn-lg { padding: 14px 32px; font-size: 16px; }

.btn-sm { padding: 6px 16px; font-size: 13px; }

.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0f2847 40%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(46, 204, 113, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(20, 163, 163, 0.12) 0%, transparent 50%);
}

.hero-dna {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 500px;
  opacity: 0.15;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a8e6cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.stat-item span { font-size: 14px; color: rgba(255,255,255,0.6); }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  cursor: pointer;
}

.hero-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  border-color: rgba(46, 204, 113, 0.4);
}

.hero-card .icon { font-size: 32px; margin-bottom: 12px; }
.hero-card h3 { font-size: 16px; margin-bottom: 6px; }
.hero-card p { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== Section ===== */
.section { padding: 64px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .tag {
  display: inline-block;
  background: rgba(13, 110, 110, 0.1);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .more-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.info-card, .product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.info-card:hover, .product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card-image {
  height: 180px;
  background: linear-gradient(135deg, #e8f5f5, #d0ecec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.badge-buy { background: var(--primary); }
.badge-sell { background: var(--accent-gold); }
.badge-new { background: var(--accent); }
.badge-used { background: #e67e22; }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.card-meta span { display: flex; align-items: center; gap: 4px; }

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.card-price small { font-size: 13px; font-weight: 400; color: var(--text-light); }

.card-price .view-fee {
  color: var(--accent-gold);
  font-size: 16px;
}

.card-publisher {
  font-size: 13px;
  color: var(--text-secondary);
}

.card-publisher a { font-weight: 600; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.feature-item .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(13,110,110,0.1), rgba(46,204,113,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.feature-item h3 { font-size: 17px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--text-secondary); }

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.page-banner h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-banner p { color: rgba(255,255,255,0.7); font-size: 16px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* ===== Filter Bar ===== */
.filter-bar {
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.filter-bar label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.filter-bar select,
.filter-bar input {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-primary);
  background: #fff;
  min-width: 140px;
}

.filter-bar input { flex: 1; min-width: 200px; }

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-section);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== Detail Page ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 40px 0 64px;
}

.detail-main {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-image {
  height: 360px;
  background: linear-gradient(135deg, #e8f5f5, #d0ecec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

.detail-content { padding: 32px; }

.detail-content h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-tag {
  padding: 4px 12px;
  background: rgba(13,110,110,0.08);
  color: var(--primary);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
}

.detail-info-item label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.detail-info-item span { font-size: 15px; font-weight: 600; }

.detail-desc h3 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.detail-desc p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.sidebar-price .fee-label {
  font-size: 14px;
  color: var(--accent-gold);
  font-weight: 600;
}

.sidebar-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

.contact-locked {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(201,162,39,0.08), rgba(201,162,39,0.04));
  border: 2px dashed var(--accent-gold);
  border-radius: var(--radius-sm);
}

.contact-locked .lock-icon { font-size: 40px; margin-bottom: 12px; }
.contact-locked p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }

.contact-revealed {
  padding: 16px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
}

.contact-revealed p {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.merchant-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.merchant-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.merchant-info h4 { font-size: 15px; margin-bottom: 4px; }
.merchant-info p { font-size: 13px; color: var(--text-secondary); }

/* ===== Forms ===== */
.form-page {
  max-width: 560px;
  margin: 40px auto 64px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-page h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 8px;
}

.form-page .subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 14px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,110,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.form-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--bg-section);
  color: var(--text-light);
  border: 2px solid var(--border);
}

.form-step.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.form-step.done {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Cart ===== */
.cart-table {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cart-table th {
  background: var(--bg-section);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.cart-item-info { display: flex; align-items: center; gap: 16px; }

.cart-item-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition);
}

.qty-control button:hover { border-color: var(--primary); color: var(--primary); }

.cart-summary {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
}

.cart-summary-row.total {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  border-top: 2px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state .icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 24px; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.show { display: flex; }

.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal h3 {
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

.modal-fee {
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.modal-fee strong {
  font-size: 28px;
  color: var(--accent-gold);
}

/* ===== Payment Page ===== */
.payment-layout {
  max-width: 720px;
  margin: 40px auto 64px;
}

.payment-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.payment-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 24px 32px;
}

.payment-header h2 { font-size: 22px; margin-bottom: 4px; }
.payment-header p { font-size: 14px; opacity: 0.8; }

.payment-body { padding: 32px; }

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.payment-method {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.payment-method:hover,
.payment-method.selected {
  border-color: var(--primary);
  background: rgba(13,110,110,0.04);
}

.payment-method .icon { font-size: 28px; margin-bottom: 6px; }
.payment-method span { font-size: 13px; font-weight: 600; }

.payment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 18px;
}

.payment-total strong { font-size: 28px; color: var(--primary); }

/* ===== Merchant Page ===== */
.merchant-header {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
  color: #fff;
  padding: 48px 0;
}

.merchant-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.merchant-logo-lg {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  flex-shrink: 0;
}

.merchant-header h1 { font-size: 28px; margin-bottom: 8px; }
.merchant-header p { opacity: 0.75; font-size: 15px; margin-bottom: 4px; }

.merchant-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}

.merchant-stats span { font-size: 14px; opacity: 0.7; }
.merchant-stats strong { color: var(--accent); margin-right: 4px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  margin-top: auto;
}

.footer-main { padding: 48px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.6); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination button,
.pagination span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.pagination button:hover,
.pagination span.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  animation: toastIn 0.3s ease;
  font-size: 14px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .join-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-main .container { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; }
  .hero-content h2 { font-size: 28px; }
  .hero-stats { gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .merchant-header .container { flex-direction: column; text-align: center; }
  .payment-methods { grid-template-columns: 1fr; }
  .detail-info-grid { grid-template-columns: 1fr; }
}
