/* ============================================
   Account Bear - Global Digital Marketplace
   Design System: Warm Earth Tones
   ============================================ */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* ============ SPLASH SCREEN ============ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #1E1B18;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.splash-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.splash-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(196,149,106,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,149,106,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: splashGridMove 8s linear infinite;
}
@keyframes splashGridMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(60px, 60px) rotate(0deg); }
}
.splash-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.splash-logo-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  animation: splashLogoIn 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: scale(0.5);
}
@keyframes splashLogoIn {
  to { opacity: 1; transform: scale(1); }
}
.splash-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.splash-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,149,106,0.3) 0%, transparent 70%);
  animation: splashGlow 2s ease-in-out infinite alternate;
}
@keyframes splashGlow {
  from { transform: scale(0.8); opacity: 0.5; }
  to { transform: scale(1.3); opacity: 1; }
}
.splash-title {
  font-size: 36px;
  font-weight: 800;
  color: #FAF7F4;
  letter-spacing: 4px;
  animation: splashFadeUp 0.6s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
.splash-subtitle {
  font-size: 14px;
  color: rgba(250,247,244,0.5);
  letter-spacing: 6px;
  text-transform: uppercase;
  animation: splashFadeUp 0.6s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes splashFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.splash-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 400px;
  margin-top: 8px;
  animation: splashFadeUp 0.6s 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
.splash-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250,247,244,0.06);
  border: 1px solid rgba(250,247,244,0.08);
  animation: splashBrandPop 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: scale(0);
}
@keyframes splashBrandPop {
  to { opacity: 1; transform: scale(1); }
}
.splash-progress-wrap {
  width: 200px;
  height: 3px;
  background: rgba(250,247,244,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  animation: splashFadeUp 0.6s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C4956A, #E8C9A8);
  border-radius: 2px;
  transition: width 0.1s linear;
}
.splash-loading-text {
  font-size: 12px;
  color: rgba(250,247,244,0.3);
  animation: splashFadeUp 0.6s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2D2A26;
  background: #FAF7F4;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============ DESIGN TOKENS ============ */
:root {
  --bg: #FAF7F4;
  --bg-primary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-dark: #1E1B18;
  --text: #2D2A26;
  --text-secondary: #7B7570;
  --accent: #C4956A;
  --accent-hover: #B07D52;
  --accent-light: rgba(196, 149, 106, 0.1);
  --border: #E8E2DC;
  --success: #5B9A6F;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(196,149,106,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text);
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 247, 244, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(0,0,0,0.03); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-title { font-size: 15px; font-weight: 600; color: var(--text); }
.nav-cart {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  color: var(--text-secondary); transition: color var(--transition);
}
.nav-cart:hover { color: var(--text); }

/* Language Switch */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-secondary);
  font-size: 13px; cursor: pointer; border: none;
  transition: color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--text); background: rgba(0,0,0,0.03); }
.lang-current { font-weight: 500; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 140px; padding: 6px; z-index: 1000;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s ease;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 12px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text);
  font-size: 14px; text-align: left; cursor: pointer; border: none;
  transition: background var(--transition);
}
.lang-option:hover { background: rgba(0,0,0,0.04); }
.lang-option.active { color: var(--brand); font-weight: 500; }
.nav-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--text);
}
.nav-mobile {
  display: none; flex-direction: column; padding: 16px 24px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 0; font-size: 0.95rem; font-weight: 500;
  color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
.nav-mobile-actions { display: flex; gap: 8px; margin-top: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark); overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-globe {
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.1);
  background: radial-gradient(circle at 40% 40%, rgba(196,149,106,0.08) 0%, transparent 60%);
  animation: globe-rotate 20s linear infinite;
}
.hero-globe::before {
  content: ''; position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.06);
}
.hero-globe::after {
  content: ''; position: absolute; inset: 100px;
  border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.04);
}
@keyframes globe-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(196,149,106,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 720px;
}
.hero-badge {
  display: inline-block; padding: 6px 16px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(196,149,106,0.1);
  border: 1px solid rgba(196,149,106,0.2);
  margin-bottom: 24px;
  animation: fade-up 0.6s ease-out 0.2s both;
}
.hero-title {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  color: #fff; letter-spacing: -0.03em;
  animation: fade-up 0.6s ease-out 0.4s both;
}
.hero-accent {
  background: linear-gradient(135deg, var(--accent), #E8C9A8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  margin-top: 20px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto;
  animation: fade-up 0.6s ease-out 0.6s both;
}
.hero-ctas {
  display: flex; gap: 12px; margin-top: 40px;
  justify-content: center; flex-wrap: wrap;
  animation: fade-up 0.6s ease-out 0.8s both;
}
.hero-cta {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.hero-cta:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.hero-cta-primary { border-color: rgba(196,149,106,0.4); background: rgba(196,149,106,0.1); }
.hero-cta-primary:hover { background: rgba(196,149,106,0.18); border-color: var(--accent); }
.hero-cta-label { display: block; font-size: 0.9rem; font-weight: 600; color: #fff; }
.hero-cta-desc { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.hero-cta svg { color: var(--accent); flex-shrink: 0; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ LIVE MARKET ============ */
.live-market {
  background: var(--bg); padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.live-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.live-indicator { display: flex; align-items: center; gap: 8px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.live-text { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text); }
.live-subtitle { font-size: 0.8rem; color: var(--text-secondary); }
.live-feed {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 200px; overflow: hidden;
}
.live-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 0.85rem;
  animation: live-slide-in 0.4s ease-out;
}
@keyframes live-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.live-item-flag { font-size: 1.1rem; }
.live-item-country { font-weight: 600; color: var(--text); min-width: 80px; }
.live-item-action { color: var(--text-secondary); flex: 1; }
.live-item-time { font-size: 0.75rem; color: var(--text-secondary); font-family: 'JetBrains Mono', monospace; white-space: nowrap; }

/* ============ SECTION HEADERS ============ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.section-desc { font-size: 0.95rem; color: var(--text-secondary); margin-top: 12px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ============ PRODUCT CARDS ============ */
.products { padding: 80px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all var(--transition); cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.product-card-icon { color: var(--accent); margin-bottom: 16px; }
.product-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.product-card-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.product-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
}
.product-stock { font-size: 0.75rem; font-weight: 600; color: var(--success); font-family: 'JetBrains Mono', monospace; }
.product-arrow { color: var(--accent); transition: transform var(--transition); }
.product-card:hover .product-arrow { transform: translateX(4px); }

/* Product Showcase (homepage full grid) */
.showcase-category { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin: 32px 0 16px; padding-left: 4px; border-left: 3px solid var(--accent); padding-left: 12px; }
.showcase-grid { grid-template-columns: repeat(4, 1fr); }
.product-showcase .product-card { cursor: pointer; }
.product-price { font-size: 0.85rem; font-weight: 700; color: var(--accent); font-family: 'JetBrains Mono', monospace; }

/* ============ SUPPLIER ============ */
.supplier { padding: 80px 0; background: var(--bg-card); }
.supplier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.supplier-benefits { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.supplier-benefits li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--text);
}
.supplier-benefits li svg { color: var(--success); flex-shrink: 0; }
.supplier-stats { display: flex; flex-direction: column; gap: 16px; }
.supplier-stat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-align: center; transition: all var(--transition);
}
.supplier-stat-card:hover { border-color: var(--accent); }
.supplier-stat-num {
  font-size: 2.2rem; font-weight: 800; color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}
.supplier-stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }

/* ============ PARTNER ============ */
.partner { padding: 80px 0; }
.partner-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.partner-tier {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  transition: all var(--transition); position: relative;
}
.partner-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.partner-tier-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent-light); color: var(--accent); margin-bottom: 16px;
}
.partner-tier-badge-hot { background: rgba(196,149,106,0.2); }
.partner-tier-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.partner-tier-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.partner-tier-features { display: flex; flex-direction: column; gap: 8px; }
.partner-tier-features li {
  font-size: 0.8rem; color: var(--text); padding-left: 18px; position: relative;
}
.partner-tier-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.partner-cta { text-align: center; }

/* Revenue Demo */
.revenue-demo {
  background: var(--bg-dark); border-radius: var(--radius);
  padding: 32px; margin-bottom: 40px; color: #fff;
}
.revenue-demo-header { margin-bottom: 24px; }
.revenue-demo-header h3 { font-size: 1.1rem; font-weight: 700; }
.revenue-demo-header p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.revenue-demo-body { display: flex; flex-direction: column; gap: 16px; }
.revenue-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
.revenue-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.revenue-value { font-size: 0.9rem; font-weight: 600; }
.revenue-highlight { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; }
.revenue-num { font-family: 'JetBrains Mono', monospace; }

/* ============ ADVANTAGES ============ */
.advantages { padding: 80px 0; background: var(--bg-card); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  transition: all var(--transition);
}
.adv-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.adv-icon { color: var(--accent); margin-bottom: 16px; }
.adv-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* ============ HOW IT WORKS ============ */
.how-it-works { padding: 80px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-flow {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
}
.how-flow-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.how-flow-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.how-flow-icon.buyer { background: rgba(91,154,111,0.1); color: var(--success); }
.how-flow-icon.supplier-icon { background: rgba(196,149,106,0.1); color: var(--accent); }
.how-flow-icon.partner-icon { background: rgba(99,102,241,0.1); color: #6366F1; }
.how-flow-header h3 { font-size: 1.05rem; font-weight: 700; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 0.85rem; color: var(--text);
}
.how-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.how-step-line {
  width: 1px; height: 16px; background: var(--border);
  margin-left: 11px;
}

/* ============ DASHBOARD ============ */
.dashboard { padding: 80px 0; background: var(--bg-dark); }
.dashboard .section-title { color: #fff; }
.dash-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dash-card {
  text-align: center; padding: 28px 16px;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.dash-num {
  font-size: 1.8rem; font-weight: 800; color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}
.dash-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ============ BOTTOM CTA ============ */
.bottom-cta { padding: 80px 0; }
.bottom-cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bottom-cta-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  transition: all var(--transition); position: relative;
}
.bottom-cta-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.bottom-cta-card h3 { font-size: 1.1rem; font-weight: 700; }
.bottom-cta-card p { font-size: 0.8rem; color: var(--text-secondary); }
.bottom-cta-arrow {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  color: var(--accent); transition: transform var(--transition);
}
.bottom-cta-card:hover .bottom-cta-arrow { transform: translateY(-50%) translateX(4px); }

/* ============ FOOTER ============ */
.footer { background: var(--bg-dark); padding: 60px 0 30px; color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { }
.footer-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; margin-bottom: 12px; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-contact-info { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info a { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-contact-info a:hover { color: var(--brand); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: center;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-actions { gap: 4px; }
  .nav-login, .nav-register { padding: 6px 10px; font-size: 13px; }
  .lang-switch-btn { padding: 6px 8px; font-size: 12px; }
  .lang-switch-btn span:first-child { display: none; }
  .hero { min-height: auto; padding: 100px 20px 60px; }
  .hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-cta { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .supplier-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-tiers { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
  .auth-register-tabs { gap: 4px; }
  .auth-register-tab { padding: 8px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .revenue-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-login { display: none; }
  .nav-register { padding: 8px 12px; font-size: 13px; }
  .auth-card { padding: 20px 16px; }
  .auth-register-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .auth-register-tab { flex: 1; min-width: 0; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
  .auth-form-group input { padding: 12px 14px; font-size: 15px; }
  .auth-submit { padding: 14px; font-size: 15px; }
}

/* ============================================
   Market Page Styles
   ============================================ */

/* Market Hero */
.market-hero {
  padding: 120px 0 40px;
  background: var(--bg);
  text-align: center;
}
.market-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.market-hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.market-search {
  max-width: 500px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  transition: border-color 0.3s;
}
.market-search:focus-within {
  border-color: var(--accent);
}
.market-search svg {
  flex-shrink: 0;
  color: var(--text-light);
}
.market-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: var(--text);
  font-family: inherit;
}
.market-search input::placeholder {
  color: var(--text-light);
}
.market-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.market-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.market-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Inter', monospace;
}
.market-stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Market Tabs */
.market-tabs-section {
  padding: 0 0 24px;
  background: var(--bg);
  position: sticky;
  top: 60px;
  z-index: 90;
  border-bottom: 1px solid var(--border);
}
.market-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  justify-content: center;
}
.market-tab {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: inherit;
}
.market-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.market-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Market Grid */
.market-grid-section {
  padding: 40px 0 60px;
  background: var(--bg);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.market-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.market-empty svg {
  margin-bottom: 16px;
}

/* Product Card */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent);
}
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}
.product-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.product-logo svg {
  width: 40px;
  height: 40px;
}
.product-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
}
.product-info {
  padding: 12px 16px 16px;
}
.product-cat-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.product-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.4;
}
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.spec-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.spec-option:hover {
  border-color: var(--accent);
  background: rgba(196,149,106,0.05);
}
.spec-name {
  color: var(--text);
  font-weight: 500;
}
.spec-price {
  color: var(--accent);
  font-weight: 700;
  font-family: 'Inter', monospace;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-from {
  font-size: 0.75rem;
  color: var(--text-light);
}
.price-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Inter', monospace;
}
.product-stock {
  font-size: 0.75rem;
  color: var(--text-light);
}
.btn-buy {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-buy:hover {
  background: var(--accent-hover);
}

/* Trust Banner */
.trust-banner {
  padding: 40px 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Nav active state */
.nav a.active {
  color: var(--accent);
}

/* Market responsive */
@media (max-width: 1024px) {
  .market-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .market-hero { padding: 100px 20px 30px; }
  .market-hero-title { font-size: 1.8rem; }
  .market-stats { gap: 24px; }
  .market-stat-num { font-size: 1.4rem; }
  .market-tabs { justify-content: flex-start; }
  .market-tabs-section { top: 56px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .market-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .market-stats { gap: 16px; }
  .market-stat-num { font-size: 1.2rem; }
}

/* ============================================
   Product Detail Page Styles
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
  padding: 80px 0 0;
  background: var(--bg-primary);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
.breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text-primary); font-weight: 500; }

/* Brand Hero */
.brand-hero {
  padding: 32px 0 40px;
  background: var(--bg-primary);
}
.brand-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.brand-hero-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.brand-hero-info { flex: 1; }
.brand-hero-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.brand-hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.6;
}
.brand-hero-stats {
  display: flex;
  gap: 32px;
}
.brand-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
}
.brand-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* Product Listing */
.product-listing-section {
  padding: 0 0 60px;
  background: var(--bg-primary);
}
.listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.listing-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}
.listing-sort {
  display: flex;
  gap: 4px;
}
.sort-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.sort-btn:hover { border-color: var(--accent); color: var(--accent); }
.sort-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Filters */
.listing-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.filter-select {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-primary);
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.filter-select:focus { border-color: var(--accent); }

/* Product Table */
.product-table-wrap {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.product-table {
  width: 100%;
  border-collapse: collapse;
}
.product-table thead {
  background: var(--bg-secondary);
}
.product-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.product-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.product-table tbody tr {
  transition: background 0.15s;
}
.product-table tbody tr:hover {
  background: var(--bg-secondary);
}
.product-table tbody tr:last-child td {
  border-bottom: none;
}
.table-product-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-primary);
}
.table-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.table-brand-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.table-brand-logo svg {
  width: 24px;
  height: 24px;
}
/* Price tick animation */
.tick-price {
  display: inline-block;
  transition: color 0.3s;
}
.tick-price.tick-up {
  color: #5B9A6F;
  animation: tickFlash 0.6s ease;
}
.tick-price.tick-down {
  color: #C4554A;
  animation: tickFlash 0.6s ease;
}
@keyframes tickFlash {
  0% { transform: scale(1); }
  30% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.table-region {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg-secondary);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.table-spec {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(196,149,106,0.1);
  font-size: 0.85rem;
  color: var(--accent);
}
.table-stock {
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.table-stock.stock-high { color: #5B9A6F; }
.table-stock.stock-mid { color: #D4A054; }
.table-stock.stock-low { color: #C75050; }
.table-login {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}
.table-login.login-account {
  background: rgba(59,130,246,0.1);
  color: #3B82F6;
}
.table-login.login-account::before {
  content: '🔐';
  font-size: 0.75rem;
}
.table-login.login-gift {
  background: rgba(91,154,111,0.1);
  color: #5B9A6F;
}
.table-login.login-gift::before {
  content: '🎁';
  font-size: 0.75rem;
}
.table-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}
.btn-buy {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-buy:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
}
.empty-state p {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* Trust Bar */
.trust-bar {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Purchase Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 32px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }
.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.modal-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin-bottom: 16px;
}
.modal-product span:first-child {
  font-weight: 600;
  color: var(--text-primary);
}
.modal-product span:last-child {
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
}
.modal-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.modal-row span:first-child {
  color: var(--text-tertiary);
}
.modal-row span:last-child {
  color: var(--text-primary);
  font-weight: 500;
}
.modal-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.modal-total span:last-child {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-secondary);
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 48px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-primary);
  outline: none;
  font-family: 'Inter', sans-serif;
}
.btn-full { width: 100%; }

/* Product Page Responsive */
@media (max-width: 768px) {
  .brand-hero-inner { flex-direction: column; gap: 20px; }
  .brand-hero-logo { width: 60px; height: 60px; }
  .brand-hero-logo svg { width: 60px !important; height: 60px !important; }
  .brand-hero-name { font-size: 1.4rem; }
  .brand-hero-stats { gap: 20px; }
  .listing-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .listing-sort { flex-wrap: wrap; }
  .listing-filters { flex-direction: column; gap: 12px; }
  .product-table-wrap { overflow-x: auto; }
  .product-table { min-width: 600px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brand-hero-stats { flex-wrap: wrap; gap: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .modal { padding: 24px; width: 95%; }
  .step-indicator { gap: 0; }
  .step-dot label { display: none; }
  .modal-wide { max-width: 95%; }
  .pay-method { flex-direction: column; text-align: center; }
  .reg-tabs { flex-wrap: wrap; }
}

/* ===== Multi-step Purchase Flow ===== */
.modal-wide { max-width: 520px; }
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 24px; padding: 0 10px; }
.step-dot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.step-dot span { width: 28px; height: 28px; border-radius: 50%; background: var(--border); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; transition: all 0.3s; }
.step-dot label { font-size: 11px; color: var(--text-secondary); white-space: nowrap; }
.step-dot.active span { background: var(--brand); color: #fff; }
.step-dot.active label { color: var(--brand); font-weight: 600; }
.step-dot.done span { background: var(--success); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 6px; margin-bottom: 18px; max-width: 40px; }
.step-line.done { background: var(--success); }
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; text-align: center; }

/* Captcha */
.captcha-box { margin: 20px 0; }
.captcha-track { position: relative; height: 44px; border-radius: 22px; overflow: hidden; user-select: none; touch-action: none; }
.captcha-track-bg { position: absolute; inset: 0; background: var(--bg-secondary); border: 2px solid var(--border); border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.captcha-hint { font-size: 13px; color: var(--text-secondary); }
.captcha-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: linear-gradient(90deg, #d4f5dd, #b8ecc5); border-radius: 22px; transition: width 0.05s; }
.captcha-thumb { position: absolute; top: 2px; left: 2px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; cursor: grab; z-index: 2; transition: left 0.05s; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.captcha-thumb:active { cursor: grabbing; }
.captcha-thumb.success { background: var(--success); }
.captcha-status { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--text-secondary); }
.captcha-status.success { color: var(--success); }

/* Registration */
.reg-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid var(--border); }
.reg-tab { flex: 1; padding: 10px; border: none; background: none; font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.reg-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.reg-panel { display: none; }
.reg-panel.active { display: block; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; background: var(--bg); color: var(--text); transition: border-color 0.2s; box-sizing: border-box; }
.form-input:focus { outline: none; border-color: var(--brand); }
.form-row { display: flex; gap: 10px; }
.form-row .form-input { flex: 1; }
.form-select { padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; background: var(--bg); color: var(--text); cursor: pointer; }
.btn-outline { border: 1.5px solid var(--brand); color: var(--brand); background: none; border-radius: 8px; padding: 8px 16px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

/* Payment Methods */
.pay-summary { background: var(--bg-secondary); border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.pay-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
.pay-summary-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--text); }
.pay-summary-total span:last-child { color: var(--brand); }
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg); cursor: pointer; transition: all 0.2s; text-align: left; }
.pay-method:hover { border-color: var(--brand); }
.pay-method.active { border-color: var(--brand); background: rgba(196,149,106,0.06); }
.pay-method-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-method-info { display: flex; flex-direction: column; gap: 2px; }
.pay-method-info strong { font-size: 14px; color: var(--text); }
.pay-method-info span { font-size: 12px; color: var(--text-secondary); }

/* Success */
.pay-success { text-align: center; padding: 30px 0; }
.pay-success-icon { margin-bottom: 16px; }
.pay-success h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pay-success p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

/* Pay Loading */
.pay-loading { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; }
.pay-loading-spinner { width: 48px; height: 48px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-loading-text { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pay-loading-sub { font-size: 13px; color: var(--text-secondary); }

/* Pay Sub Options */
.pay-sub-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pay-sub-back { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.pay-sub-back:hover { border-color: var(--brand); background: var(--bg-secondary); }
.pay-sub-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.pay-back-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text-secondary); font-size: 13px; cursor: pointer; margin-bottom: 12px; transition: all 0.2s; }
.pay-back-btn:hover { border-color: var(--brand); color: var(--brand); }
.pay-sub-options { margin-bottom: 16px; }
.pay-sub-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg); cursor: pointer; transition: all 0.2s; }
.pay-sub-item:hover { border-color: var(--brand); background: rgba(196,149,106,0.04); }
.pay-sub-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; font-weight: 700; }
.pay-sub-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--text); }
.pay-sub-arrow { font-size: 16px; color: var(--text-secondary); }
.pay-sub-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; max-height: 280px; overflow-y: auto; }

/* Pay Account Info */
.pay-account { background: var(--bg-secondary); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.pay-account-info { background: var(--bg-secondary); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.pay-account-card { margin-top: 10px; }
.pay-account-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pay-account-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.pay-account-row:last-child { border-bottom: none; }
.pay-account-label { font-size: 13px; color: var(--text-secondary); }
.pay-account-value { font-size: 14px; font-weight: 600; color: var(--text); font-family: 'JetBrains Mono', monospace; display: flex; align-items: center; gap: 8px; }
.pay-account-note { font-size: 12px; color: var(--text-secondary); margin-top: 10px; padding: 8px 12px; background: rgba(196,149,106,0.08); border-radius: 6px; line-height: 1.5; }
.pay-qr-wrap { text-align: center; margin: 16px 0; padding: 16px; background: #fff; border-radius: 10px; border: 1px solid var(--border); }
.pay-qr-img { width: 180px; height: 180px; object-fit: contain; border-radius: 4px; }
.pay-qr-hint { font-size: 12px; color: var(--text-secondary); margin-top: 10px; }
.pay-copy-btn { background: var(--accent); color: #fff; border: none; border-radius: 4px; padding: 2px 8px; font-size: 11px; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.pay-copy-btn:hover { background: var(--accent-hover); }
.pay-notice { background: rgba(196,149,106,0.08); border-radius: 8px; padding: 12px 14px; margin-bottom: 20px; font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.pay-notice strong { color: var(--brand); }
}

/* ===== Contact Page ===== */
.contact-hero { padding: 140px 0 80px; background: var(--bg-dark); color: #fff; text-align: center; }
.contact-hero-badge { display: inline-block; background: rgba(196,149,106,0.15); color: var(--brand); border: 1px solid rgba(196,149,106,0.3); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 500; margin-bottom: 24px; }
.contact-hero-title { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.contact-hero-desc { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto; line-height: 1.7; }

.contact-benefits { padding: 80px 0; background: var(--bg); }
.contact-benefits-header { text-align: center; margin-bottom: 48px; }
.contact-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-benefit-card { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.contact-benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.contact-benefit-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contact-benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.contact-benefit-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.contact-detail { padding: 80px 0; background: #fff; }
.contact-detail-alt { background: var(--bg); }
.contact-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-detail-badge { display: inline-block; background: rgba(196,149,106,0.1); color: var(--brand); border-radius: 16px; padding: 4px 12px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.contact-detail-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-detail-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); line-height: 1.6; }
.contact-detail-list li:last-child { border-bottom: none; }
.contact-detail-list li svg { flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.contact-detail-list li strong { color: var(--text); }

.contact-detail-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-stat-box { background: var(--bg); border-radius: 12px; padding: 24px; text-align: center; border: 1px solid var(--border); }
.contact-detail-alt .contact-stat-box { background: #fff; }
.contact-stat-number { font-size: 32px; font-weight: 800; color: var(--brand); font-family: 'JetBrains Mono', monospace; }
.contact-stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.contact-section { padding: 80px 0; background: #fff; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--bg); border-radius: 12px; padding: 32px; text-align: center; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.contact-card-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.contact-card-value { font-size: 16px; font-weight: 600; color: var(--brand); margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; }
.contact-card-hint { font-size: 13px; color: var(--text-secondary); }

.contact-faq { padding: 80px 0; background: var(--bg); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 12px; border: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: none; border: none; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left; }
.faq-question svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 20px 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.nav-link-active { color: var(--brand) !important; font-weight: 600; }

@media (max-width: 1024px) {
  .contact-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-hero-title { font-size: 28px; }
  .contact-benefits-grid { grid-template-columns: 1fr; }
  .contact-detail-stats { grid-template-columns: 1fr 1fr; }
}

/* ========== Auth Page ========== */
.auth-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 80px;
  padding-bottom: 60px;
}

.auth-container {
  max-width: 420px;
  margin: 20px auto;
  padding: 0 20px;
}

.auth-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.auth-logo {
  text-align: center;
  margin-bottom: 20px;
}

.auth-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.auth-logo h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.auth-logo p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.auth-logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.auth-logo p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.auth-tab.active {
  color: var(--brand);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.auth-form-group {
  margin-bottom: 20px;
}

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

.auth-form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.auth-form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15);
}

.auth-form-group input::placeholder {
  color: var(--text-light);
}

.auth-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.auth-link {
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-submit:hover {
  background: var(--brand-hover);
}

.auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  position: relative;
  background: var(--card-bg);
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.auth-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-social-btn:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.auth-terms {
  margin-bottom: 24px;
  font-size: 13px;
}

.auth-terms a {
  color: var(--brand);
  text-decoration: none;
}

.auth-terms a:hover {
  text-decoration: underline;
}

.auth-bonus {
  text-align: center;
  margin-top: 24px;
  padding: 12px;
  background: rgba(196, 149, 106, 0.08);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-bonus strong {
  color: var(--brand);
}

/* Register type tabs */
.auth-register-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg);
  border-radius: 8px;
  padding: 4px;
}

.auth-register-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.auth-register-tab.active {
  background: var(--brand);
  color: #fff;
}

.auth-register-tab:hover:not(.active) {
  background: var(--border);
}

/* Phone input */
.auth-phone-input {
  display: flex;
  gap: 8px;
}

.auth-phone-prefix {
  width: 140px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
}

/* Auth loading */
.auth-loading {
  text-align: center;
  padding: 40px 0;
}

.auth-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: authSpin 1s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.auth-loading-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.auth-loading-progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.auth-loading-bar {
  width: 0;
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
  animation: authProgress 3.5s ease-out forwards;
}

@keyframes authProgress {
  to { width: 100%; }
}

.auth-loading-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Auth success */
.auth-success {
  text-align: center;
  padding: 20px 0;
}

.auth-success-icon {
  margin-bottom: 16px;
}

.auth-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.auth-success-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.auth-user-id {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-user-id-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-user-id-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  font-family: 'JetBrains Mono', monospace;
}

.auth-copy-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.auth-copy-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.auth-success-info {
  margin-bottom: 20px;
}

.auth-success-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(91, 154, 111, 0.08);
  border-radius: 8px;
  text-align: left;
}

.auth-success-item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.auth-success-item p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 480px) {
  .auth-container { margin: 20px auto; }
  .auth-card { padding: 24px; }
}

/* ========== Cart Page ========== */
.cart-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 80px;
  padding-bottom: 60px;
}

.cart-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.cart-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.cart-count {
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--card-bg);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.cart-empty h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.cart-empty p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.cart-empty .btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

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

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cart-item-info {
  flex: 1;
}

.cart-item-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.cart-item-spec {
  font-size: 13px;
  color: var(--text-secondary);
}

.cart-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.cart-footer {
  margin-top: 32px;
  padding: 24px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cart-summary {
  margin-bottom: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.cart-summary-row.cart-total {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.cart-summary-row.cart-total span:last-child {
  color: var(--brand);
  font-family: 'JetBrains Mono', monospace;
}

.cart-actions {
  display: flex;
  gap: 12px;
}

.cart-actions .btn-ghost {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-actions .btn-ghost:hover {
  border-color: var(--text-secondary);
}

.cart-actions .btn-primary {
  flex: 2;
  padding: 14px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-actions .btn-primary:hover {
  background: var(--brand-hover);
}

@media (max-width: 480px) {
  .cart-container { margin: 20px auto; }
  .cart-header h1 { font-size: 22px; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-price { width: 100%; text-align: right; margin-top: 8px; }
  .cart-actions { flex-direction: column; }
}
