/* ==============================================================================
   File: pages/seller_center.css
   Description: Seller center/marketplace landing page
   ============================================================================== */

/* ═══════════════════════════════════════════
   SELLER CENTER — Premium Marketplace Landing
   ═══════════════════════════════════════════ */

/* ─── BASE ─── */

/* ==============================================================================
   SECTION: Base
   ============================================================================== */




.sc-section {
  position: relative;
}

/* ─── HERO ─── */
.sc-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 25% 40%, rgba(212,175,55,0.06), transparent 50%),
              radial-gradient(ellipse at 75% 60%, rgba(59,130,246,0.04), transparent 50%);
}
.sc-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.07), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.04), transparent 60%);
  z-index: 0;
}
.sc-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, #0a0a0a, transparent);
  z-index: 1;
}
.sc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.sc-badge {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  color: #d4af37;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(212,175,55,0.15);
}
.sc-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  color: #f0ece4;
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.sc-hero-content h1 span { color: #d4af37; }
.sc-hero-content p {
  color: #888;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.sc-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: none;
}
.sc-btn-primary {
  background: linear-gradient(135deg, #d4af37, #e0b940);
  color: #0d0d0d;
  box-shadow: 0 4px 20px rgba(212,175,55,0.2);
}
.sc-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.35);
}
.sc-btn-outline {
  background: transparent;
  color: #f0ece4;
  border: 1.5px solid #2a2a2a;
}
.sc-btn-outline:hover {
  border-color: #d4af37;
  color: #d4af37;
  background: rgba(212,175,55,0.05);
}
.sc-hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}
.sc-stat { text-align: center; }
.sc-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #d4af37;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}
.sc-stat-lbl {
  display: block;
  color: #666;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-weight: 600;
}

/* ─── MARKETPLACE WRAPPER ─── */

/* ==============================================================================
   SECTION: Marketplace Wrapper
   ============================================================================== */




.sc-mw {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── METRICS BAR ─── */
.sc-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.sc-metric-card {
  background: linear-gradient(145deg, #131313, #0e0e0e);
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.sc-metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.sc-metric-card:hover {
  transform: translateY(-4px);
  border-color: #2a2a2a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.sc-metric-card:hover::before { opacity: 1; }
.sc-metric-card:nth-child(1)::before { background: #d4af37; }
.sc-metric-card:nth-child(2)::before { background: #2ec4b6; }
.sc-metric-card:nth-child(3)::before { background: #3b82f6; }
.sc-metric-card:nth-child(4)::before { background: #d4af37; }
.sc-metric-card:nth-child(5)::before { background: #f57224; }
.sc-metric-card:nth-child(6)::before { background: #8b5cf6; }
.sc-metric-num {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}
.sc-metric-num.gold { color: #d4af37; }
.sc-metric-num.teal { color: #2ec4b6; }
.sc-metric-num.blue { color: #3b82f6; }
.sc-metric-num.orange { color: #f57224; }
.sc-metric-num.purple { color: #8b5cf6; }
.sc-metric-lbl {
  font-size: 0.6rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-top: 6px;
}

/* ─── GRID LAYOUTS ─── */

/* ==============================================================================
   SECTION: Grid Layouts
   ============================================================================== */




.sc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.sc-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .sc-grid-2,
  .sc-grid-3 { grid-template-columns: 1fr; }
}

/* ─── CARDS ─── */

/* ==============================================================================
   SECTION: Cards
   ============================================================================== */




.sc-card {
  background: linear-gradient(145deg, #131313, #0e0e0e);
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.sc-card:hover {
  border-color: #2a2a2a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.sc-card-hd {
  padding: 16px 20px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc-card-hd h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f0ece4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-card-hd h3 i { color: #d4af37; font-size: 1rem; }
.sc-card-hd .sc-badge-sm {
  color: #888;
  font-size: 0.7rem;
  font-weight: 500;
}
.sc-card-bd { padding: 4px 0; }
.sc-card-bd-pad { padding: 14px 20px; }
.sc-card-empty {
  text-align: center;
  padding: 32px;
  color: #555;
  font-size: 0.85rem;
}

/* ─── LEADERBOARD ─── */

/* ==============================================================================
   SECTION: Leaderboard
   ============================================================================== */




.sc-lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid #111;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.sc-lb-row:last-child { border-bottom: none; }
.sc-lb-row:hover {
  background: rgba(212,175,55,0.04);
  padding-left: 24px;
}
.sc-lb-rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s;
}
.sc-lb-rank.gold {
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.08));
  color: #d4af37;
  box-shadow: 0 0 16px rgba(212,175,55,0.1);
}
.sc-lb-rank.silver {
  background: linear-gradient(135deg, rgba(192,192,192,0.15), rgba(192,192,192,0.05));
  color: #c0c0c0;
}
.sc-lb-rank.bronze {
  background: linear-gradient(135deg, rgba(205,127,50,0.15), rgba(205,127,50,0.05));
  color: #cd7f32;
}
.sc-lb-rank.default {
  background: #181818;
  color: #555;
}
.sc-lb-info { flex: 1; min-width: 0; }
.sc-lb-name {
  color: #f0ece4;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-lb-store {
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-lb-meta {
  font-size: 0.68rem;
  color: #555;
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.sc-lb-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sc-lb-meta i { font-size: 0.6rem; color: #666; }

/* ─── DEMAND BARS ─── */

/* ==============================================================================
   SECTION: Demand Bars
   ============================================================================== */




.sc-dem-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  transition: all 0.2s;
}
.sc-dem-bar:hover {
  padding-left: 4px;
}
.sc-dem-bar-name {
  width: 130px;
  font-size: 0.8rem;
  color: #ccc;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-dem-bar-bg {
  flex: 1;
  height: 8px;
  background: #181818;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.sc-dem-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(.4,0,.2,1);
  min-width: 4px;
  position: relative;
}
.sc-dem-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: rgba(255,255,255,0.08);
  border-radius: 4px 4px 0 0;
}
.sc-dem-bar-val {
  width: 54px;
  text-align: right;
  font-size: 0.7rem;
  color: #777;
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── TIP CARDS ─── */

/* ==============================================================================
   SECTION: Tip Cards
   ============================================================================== */




.sc-tip-card {
  background: linear-gradient(145deg, #111, #0c0c0c);
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.sc-tip-card:hover {
  border-color: #2a2a2a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.sc-tip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all 0.2s;
}
.sc-tip-card:hover .sc-tip-icon { transform: scale(1.1); }
.sc-tip-icon.gold {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  color: #d4af37;
}
.sc-tip-icon.blue {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04));
  color: #3b82f6;
}
.sc-tip-icon.green {
  background: linear-gradient(135deg, rgba(46,204,113,0.12), rgba(46,204,113,0.04));
  color: #2ecc71;
}
.sc-tip-icon.orange {
  background: linear-gradient(135deg, rgba(245,114,36,0.12), rgba(245,114,36,0.04));
  color: #f57224;
}
.sc-tip-content h4 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: #f0ece4;
  font-weight: 700;
}
.sc-tip-content p {
  margin: 0;
  font-size: 0.73rem;
  color: #666;
  line-height: 1.5;
}

/* ─── RECENT SELLERS ─── */

/* ==============================================================================
   SECTION: Recent Sellers
   ============================================================================== */




.sc-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  padding: 8px 20px;
}
.sc-recent-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
}
.sc-recent-seller:hover {
  background: rgba(212,175,55,0.04);
}
.sc-recent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #d4af37;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(212,175,55,0.1);
}
.sc-recent-info { flex: 1; min-width: 0; }
.sc-recent-name {
  color: #f0ece4;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-recent-meta {
  color: #555;
  font-size: 0.65rem;
  margin-top: 2px;
}

/* ─── BENEFITS ─── */

/* ==============================================================================
   SECTION: Benefits
   ============================================================================== */




.sc-benefits {
  padding: 90px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.sc-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.sc-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #f0ece4;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.sc-section-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.sc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.sc-benefit-card {
  background: linear-gradient(145deg, #131313, #0e0e0e);
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.sc-benefit-card:hover {
  border-color: #2a2a2a;
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.sc-benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(212,175,55,0.08);
}
.sc-benefit-icon i { font-size: 1.5rem; color: #d4af37; }
.sc-benefit-card h3 {
  font-size: 1.1rem;
  color: #f0ece4;
  margin: 0 0 10px;
  font-weight: 700;
}
.sc-benefit-card p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── HOW IT WORKS ─── */

/* ==============================================================================
   SECTION: How It Works
   ============================================================================== */




.sc-how-it-works {
  padding: 90px 24px;
  background: radial-gradient(ellipse at 50% 30%, rgba(212,175,55,0.03), transparent 60%);
}
.sc-how-it-works .sc-section-header { max-width: 1100px; margin: 0 auto 52px; }
.sc-steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sc-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(212,175,55,0.03), transparent);
  border: 1px solid rgba(255,255,255,0.03);
  transition: all 0.25s;
}
.sc-step:hover {
  border-color: rgba(212,175,55,0.1);
  background: linear-gradient(145deg, rgba(212,175,55,0.05), transparent);
}
.sc-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  color: #d4af37;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(212,175,55,0.1);
}
.sc-step-content h3 {
  font-size: 1.05rem;
  color: #f0ece4;
  margin: 0 0 6px;
  font-weight: 700;
}
.sc-step-content p {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.7;
}

/* ─── CTA ─── */

/* ==============================================================================
   SECTION: CTA
   ============================================================================== */




.sc-cta {
  text-align: center;
  padding: 100px 24px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.06), transparent 70%);
  position: relative;
}
.sc-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(212,175,55,0.2));
}
.sc-cta-content { max-width: 560px; margin: 0 auto; }
.sc-cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #f0ece4;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.sc-cta-content p {
  color: #888;
  font-size: 1rem;
  margin: 0 0 36px;
  line-height: 1.7;
}
.sc-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FAQ ─── */

/* ==============================================================================
   SECTION: FAQ
   ============================================================================== */




.sc-faq {
  padding: 90px 24px 120px;
  max-width: 760px;
  margin: 0 auto;
}
.sc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sc-faq-item {
  background: linear-gradient(145deg, #131313, #0e0e0e);
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
}
.sc-faq-item:hover {
  border-color: #2a2a2a;
}
.sc-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #f0ece4;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: all 0.2s;
}
.sc-faq-q:hover { color: #d4af37; }
.sc-faq-q i {
  color: #555;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.sc-faq-item.open .sc-faq-q i { transform: rotate(180deg); color: #d4af37; }
.sc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1);
}
.sc-faq-item.open .sc-faq-a { max-height: 300px; }
.sc-faq-a p {
  padding: 0 22px 18px;
  margin: 0;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ─── RESPONSIVE ─── */

/* ==============================================================================
   SECTION: Responsive
   ============================================================================== */




@media (max-width: 768px) {
  
/* ==============================================================================
   SECTION: Hero
   ============================================================================== */




.sc-hero { min-height: 60vh; padding: 80px 16px 60px; }
  .sc-hero-content h1 { font-size: 2rem; }
  .sc-hero-stats { flex-direction: column; gap: 24px; }
  .sc-benefits-grid { grid-template-columns: 1fr; }
  
/* ==============================================================================
   SECTION: Metrics Bar
   ============================================================================== */




.sc-metrics { grid-template-columns: repeat(2, 1fr); }
  .sc-stat-num { font-size: 1.8rem; }
}
