/* =============================================
   HOME PAGE STYLES
   ============================================= */

/* =============================================
   HERO
   ============================================= */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .15; }
/*.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.95) 0%, rgba(99,102,241,.2) 50%, rgba(15,23,42,.9) 100%);
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}*/
/*code by zee*/
.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.70);
    z-index: 1;
}
.hero-section .container{
    position: relative;
    z-index: 2;
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://res.cloudinary.com/dz00pvxhl/image/upload/fl_preserve_transparency/v1773452593/banners/banner_gzvoqj.jpg?_s=public-apps');
    background-size: cover;
    background-repeat: no-repeat;
}



.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.4);
  border-radius: 50px;
  color: #a5b4fc;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown .6s ease;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: #6366f1;
  border-radius: 50%;
  box-shadow: 0 0 8px #6366f1;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.2); } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform: translateY(0); } }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp .7s ease .1s both;
}
.hero-title span {
  background: linear-gradient(135deg, #6366f1, #a78bfa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeInUp .7s ease .2s both;
}
@keyframes fadeInUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }

/* Hero Search */
.hero-search { margin-bottom: 32px; animation: fadeInUp .7s ease .3s both; }
.hero-search-form { width: 100%; }
.hero-search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all .2s ease;
}
.hero-search-wrap:focus-within {
  border-color: rgba(99,102,241,.7);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 4px rgba(99,102,241,.15);
}
.hero-search-icon { padding: 0 16px; font-size: 1.1rem; }
.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 16px 0;
  font-size: 1rem;
  color: #fff;
  font-family: var(--font-body);
}
.hero-search-input::placeholder { color: rgba(255,255,255,.45); }
.hero-search-cat {
  background: rgba(255,255,255,.1);
  border: none;
  border-left: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  padding: 0 16px;
  height: 100%;
  outline: none;
  font-size: .9rem;
  cursor: pointer;
  min-width: 140px;
}
.hero-search-cat option { background: #1e293b; color: #fff; }
.hero-search-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
}
.hero-search-btn:hover { background: #4f46e5; }
.hero-search-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}
.search-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  transition: all .2s;
}
.search-tag:hover { background: rgba(99,102,241,.3); color: #fff; border-color: rgba(99,102,241,.5); }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp .7s ease .4s both; }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 40px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: #fff; }
.btn-outline-light {
  padding: 10px 22px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* Hero Stats */
.hero-stats {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  z-index: 2;
}
.hero-stat { text-align: center; padding: 0 36px; }
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.5); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.1); }
.hero-scroll-hint {
  position: absolute;
  bottom: 100px;
  right: 40px;
  z-index: 2;
}
.scroll-dot {
  display: block;
  width: 30px; height: 50px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 15px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim { 0% { top:6px; opacity:1; } 100% { top:28px; opacity:0; } }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon { font-size: 1.6rem; }
.trust-item strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.trust-item span { display: block; font-size: .78rem; color: var(--text-muted); }

/* =============================================
   FLOATING SHAPES (Hero)
   ============================================= */
.hero-floating-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.float-shape {
  position: absolute;
  border-radius: 50%;
  animation: floatAnim 8s ease-in-out infinite;
}
.float-shape.s1 { width:500px;height:500px;top:-150px;right:-150px;background:radial-gradient(circle,rgba(99,102,241,.12),transparent 70%); animation-delay:0s; }
.float-shape.s2 { width:350px;height:350px;bottom:-80px;left:-80px;background:radial-gradient(circle,rgba(245,158,11,.08),transparent 70%); animation-delay:-3s; }
.float-shape.s3 { width:250px;height:250px;top:40%;right:15%;background:radial-gradient(circle,rgba(16,185,129,.07),transparent 70%); animation-delay:-5s; }
@keyframes floatAnim { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(15px,-20px) scale(1.04);} 66%{transform:translate(-10px,15px) scale(0.97);} }

/* =============================================
   HERO STATS BAR
   ============================================= */
.hero-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 2;
}
.hero-title-accent {
  background: linear-gradient(135deg, #6366f1, #a78bfa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   CATEGORIES MEGA GRID
   ============================================= */
.categories-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.cat-mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-mega-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.04), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.cat-mega-card:hover { border-color: var(--secondary); box-shadow: 0 8px 24px rgba(99,102,241,.12); transform: translateY(-4px); }
.cat-mega-card:hover::before { opacity: 1; }
.cat-mega-card.cat-featured { border-color: rgba(99,102,241,.25); background: linear-gradient(135deg, rgba(99,102,241,.04), var(--bg-card)); }
.cat-mega-card.cat-view-all { border-style: dashed; color: var(--secondary); }
.cat-mega-icon { font-size: 2rem; line-height: 1; }
.cat-mega-name { font-weight: 700; font-size: .82rem; color: var(--text-primary); line-height: 1.3; }
.cat-mega-count { font-size: .7rem; color: var(--text-muted); }

/* Legacy category styles */
.categories-scroll { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 16px; flex-wrap: wrap; justify-content: center; }
.category-card-home { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); min-width: 110px; text-align: center; transition: all .25s ease; }
.category-card-home:hover { border-color: var(--secondary); box-shadow: 0 8px 24px rgba(99,102,241,.12); transform: translateY(-4px); }
.cat-icon-wrap { font-size: 2rem; }
.cat-name { font-weight: 700; font-size: .85rem; color: var(--text-primary); }
.cat-count { font-size: .72rem; color: var(--text-muted); }

/* =============================================
   DARK SECTION
   ============================================= */
.section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
}
.section-muted { background: var(--bg-muted); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.subtitle-badge.light {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}
.empty-state-light { text-align: center; padding: 60px 0; color: rgba(255,255,255,.5); }
.empty-state-light a { color: #a5b4fc; }

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.products-scroll-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-card-link { display: block; }
.product-name-link { text-decoration: none; }
.product-name-link:hover .product-name { color: var(--secondary); }

/* =============================================
   SELL BANNER
   ============================================= */
.sell-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sell-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sell-features { list-style: none; margin: 20px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.sell-features li { font-size: .95rem; color: var(--text-secondary); font-weight: 500; }
.sell-cta { display: flex; gap: 12px; }

/* Sell visual mockup */
.sell-banner-visual { display: flex; justify-content: center; }
.sell-visual-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 340px;
  box-shadow: 0 40px 80px rgba(15,23,42,.3);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.sell-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sell-visual-dots { display: flex; gap: 6px; }
.sell-visual-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.sell-visual-stats { display: flex; gap: 20px; margin-bottom: 24px; }
.sell-vis-stat { flex: 1; }
.sell-vis-num { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
.sell-vis-label { display: block; font-size: .75rem; color: rgba(255,255,255,.4); margin: 2px 0; }
.sell-vis-up { font-size: .75rem; color: #34d399; font-weight: 700; }
.sell-visual-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.chart-bar { flex: 1; background: rgba(99,102,241,.3); border-radius: 4px 4px 0 0; transition: all .3s; }
.chart-bar.active { background: var(--secondary); }
.chart-bar:hover { background: var(--secondary); }

/* =============================================
   STORES GRID
   ============================================= */
.stores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.store-card-home {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.store-card-home:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.store-banner-home {
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
}
.store-logo-home {
  width: 60px; height: 60px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 3px solid var(--bg-card);
  margin: -30px 0 0 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-display);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  overflow: hidden;
  flex-shrink: 0;
}
.store-logo-home img { width: 100%; height: 100%; object-fit: cover; }
.store-info-home { padding: 12px 20px 16px; flex: 1; }
.store-info-home h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; }
.store-meta-home { display: flex; gap: 12px; font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; }
.store-desc-home { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.store-visit-btn {
  padding: 12px 20px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  transition: all .2s;
}
.store-card-home:hover .store-visit-btn { background: var(--secondary); color: #fff; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-tabs { max-width: 900px; margin: 0 auto; }
.how-tab-nav {
  display: flex;
  gap: 8px;
  background: var(--bg-muted);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 40px;
}
.how-tab-btn {
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-secondary);
  transition: all .2s;
}
.how-tab-btn.active { background: var(--bg-card); color: var(--text-primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.how-tab-content { display: none; }
.how-tab-content.active { display: block; }
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all .3s;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(99,102,241,.3); }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(99,102,241,.12);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: .85rem; color: var(--text-muted); }
.step-connector { font-size: 1.5rem; color: var(--border); padding: 0 8px; flex-shrink: 0; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.testimonial-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.15); }
.testimonial-stars { font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card p { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--secondary), #818cf8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  font-family: var(--font-display);
}
.testimonial-author strong { display: block; color: #fff; font-size: .9rem; }
.testimonial-author span { font-size: .75rem; color: rgba(255,255,255,.4); }

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-section { padding: 60px 0; background: var(--bg-card); border-top: 1px solid var(--border); }
.newsletter-box {
  background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-content h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-content p { color: rgba(255,255,255,.6); max-width: 400px; }
.newsletter-form { display: flex; gap: 0; min-width: 380px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #fff;
  font-size: .95rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .products-scroll-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-scroll-row { grid-template-columns: repeat(3, 1fr); }
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
  .sell-banner-inner { grid-template-columns: 1fr; }
  .sell-banner-visual { display: none; }
  .steps-grid { flex-wrap: wrap; }
  .step-connector { display: none; }
  .step-card { flex: 0 0 calc(50% - 12px); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 100px 0 80px; }
  .hero-stats { position: relative; flex-wrap: wrap; justify-content: center; padding: 16px; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hero-scroll-hint { display: none; }
  .hero-search-cat { display: none; }
  .trust-grid { gap: 24px; justify-content: flex-start; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-scroll-row { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; }
  .step-card { flex: 1; width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; padding: 32px 24px; }
  .newsletter-form { min-width: 100%; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-xl { width: 100%; justify-content: center; }
}
