/* ============================================
   121212 GBM — Global Black Marketplace
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

:root {
  --black:      #1a1a1a;
  --black-mid:  #2d2d2d;
  --black-soft: #3a3a3a;
  --red:        #c41e3a;
  --red-dark:   #8b1528;
  --green:      #2d5f3f;
  --green-dark: #1e3f2a;
  --tan:        #f4e4c1;
  --tan-mid:    #d4a574;
  --tan-dark:   #8b5a3c;
  --brown:      #654321;
  --white:      #ffffff;
  --light:      #f8f8f8;
  --gray:       #666666;
  --border:     #f0f0f0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #333;
  overflow-x: hidden;
  background: var(--white);
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 60px;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--red) 0%, var(--tan) 100%);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 2rem;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  height: 60px;
  display: flex;
  align-items: center;
}

nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
}

.logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--tan); }
.nav-links a:hover::after { width: 100%; }

.nav-links .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.3s ease !important;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--red-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?w=1600&h=900&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 60px;
}

.hero-content { animation: fadeInUp 0.9s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  font-weight: 300;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  padding: 1.1rem 2.8rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.btn:hover::before { width: 320px; height: 320px; }

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(196,30,58,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(196,30,58,0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2.5px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: #333;
  transform: translateY(-3px);
}

/* ── Stats ── */
.stats-wrapper {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-mid) 100%);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--red);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.65);
}

/* ── Categories ── */
.categories {
  background: var(--black);
  padding: 5rem 2rem;
  text-align: center;
}

.categories h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 3rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.35s ease;
  position: relative;
}

.category-item:hover { transform: translateY(-12px) scale(1.05); }

.category-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  border: 3px solid;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.category-item:hover .category-icon {
  transform: rotate(360deg);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.category-item:nth-child(1) .category-icon,
.category-item:nth-child(2) .category-icon,
.category-item:nth-child(6) .category-icon {
  background: linear-gradient(135deg, var(--tan), var(--tan-mid));
  border-color: var(--tan-mid);
  color: var(--tan-dark);
}
.category-item:nth-child(3) .category-icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: var(--green-dark);
  color: var(--white);
}
.category-item:nth-child(4) .category-icon,
.category-item:nth-child(7) .category-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: var(--red-dark);
  color: var(--white);
}
.category-item:nth-child(5) .category-icon,
.category-item:nth-child(8) .category-icon {
  background: linear-gradient(135deg, var(--tan-dark), var(--brown));
  border-color: var(--brown);
  color: var(--white);
}

.category-label {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
}

/* ── Featured Vendors ── */
.featured-vendors {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
  text-align: center;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 4rem;
  display: inline-block;
  position: relative;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.vendor-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  text-align: center;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vendor-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 16px 44px rgba(0,0,0,0.18);
}

.vendor-image-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
}

.vendor-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.vendor-card:hover .vendor-image {
  border-color: var(--red);
  transform: scale(1.05);
}

.vendor-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--green);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.vendor-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.vendor-country {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.verified-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.vendor-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.vendor-stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}

.vendor-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ── Tagline ── */
.tagline {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.tagline::before {
  content: '💎';
  position: absolute;
  font-size: 12rem;
  opacity: 0.04;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Seller CTA ── */
.seller-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.seller-image {
  background: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&h=600&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.seller-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(196,30,58,0.25) 100%);
}

.seller-content {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.seller-content::before {
  content: '✨';
  position: absolute;
  font-size: 14rem;
  opacity: 0.04;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  pointer-events: none;
}

.seller-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.seller-content h3 {
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--tan);
}
.seller-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0.9;
}

.seller-features {
  list-style: none;
  margin-bottom: 2.5rem;
}
.seller-features li {
  font-size: 1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.seller-features li::before {
  content: '✓';
  background: var(--white);
  color: var(--red);
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Newsletter ── */
.newsletter {
  background: var(--black);
  padding: 5rem 2rem;
  text-align: center;
}
.newsletter h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.newsletter p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-input {
  flex: 1;
  min-width: 240px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  outline: none;
  font-family: inherit;
}
.newsletter-status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--tan);
  display: none;
}

/* ── Footer ── */
footer {
  background: #111;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  line-height: 1.8;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--tan); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 12px 24px; }
  .nav-hamburger { display: flex; }
  .seller-cta { grid-template-columns: 1fr; }
  .seller-content { padding: 3rem 2rem; }
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .category-icon { width: 80px; height: 80px; font-size: 2rem; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .category-icon { width: 64px; height: 64px; font-size: 1.6rem; }
  .category-label { font-size: 0.8rem; }
}
