/* ============================================================
   MY LAPTOP MARKET — Modern Dark Glass Theme
   Scoped to .theme-dark and .page-home
   ============================================================ */

.theme-dark, .page-home {
  --bg-deep: #0a0e17;
  --bg-mid: #111827;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.12);
  --blue-neon: #3376cd;
  --green-neon: #2ecc71;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --glow-blue: 0 0 24px rgba(51, 118, 205, 0.45);
  --glow-green: 0 0 24px rgba(46, 204, 113, 0.35);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

.theme-dark, .page-home {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4 {
  font-family: var(--font-heading);
}

/* ── Ambient background mesh ── */
.theme-dark::before,
.page-home::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(51, 118, 205, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(46, 204, 113, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.theme-dark > main,
.theme-dark > footer,
.page-home > main,
.page-home > footer {
  position: relative;
  z-index: 1;
}

/* ── Navbar ── */
.theme-dark .navbar , .page-home .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 118, 205, 0.25);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.theme-dark .navbar.scrolled , .page-home .navbar.scrolled {
  background: rgba(10, 14, 23, 0.92);
  border-bottom-color: rgba(51, 118, 205, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.theme-dark .nav-links a , .page-home .nav-links a {
  color: var(--text-primary);
  position: relative;
  font-weight: 500;
}

.theme-dark .nav-links a::after , .page-home .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-neon), var(--green-neon));
  box-shadow: var(--glow-blue);
  transition: width 0.3s ease;
}

.theme-dark .nav-links a:hover , .page-home .nav-links a:hover {
  color: #fff;
}

.theme-dark .nav-links a:hover::after , .page-home .nav-links a:hover::after {
  width: 100%;
}

.theme-dark .contact-btn , .page-home .contact-btn {
  background: linear-gradient(135deg, var(--blue-neon), #2563b5);
  border: 1px solid rgba(51, 118, 205, 0.5);
  border-radius: 8px;
  box-shadow: var(--glow-blue);
  animation: pulse-glow 3s ease-in-out infinite;
}

.theme-dark .contact-btn:hover , .page-home .contact-btn:hover {
  background: linear-gradient(135deg, #2563b5, var(--green-neon));
  box-shadow: var(--glow-green);
}

.theme-dark .contact-btn.vendor-logged-in,
.theme-dark .hero-btn-permanent.vendor-logged-in,
.page-home .contact-btn.vendor-logged-in,
.page-home .hero-btn-permanent.vendor-logged-in {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: #16a34a;
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.45);
}

.theme-dark .contact-btn.vendor-logged-in:hover,
.theme-dark .hero-btn-permanent.vendor-logged-in:hover,
.page-home .contact-btn.vendor-logged-in:hover,
.page-home .hero-btn-permanent.vendor-logged-in:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  box-shadow: 0 0 24px rgba(22, 163, 74, 0.55);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(51, 118, 205, 0.4); }
  50% { box-shadow: 0 0 28px rgba(51, 118, 205, 0.65); }
}

.theme-dark .logo img , .page-home .logo img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.theme-dark .nav-container , .page-home .nav-container {
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.theme-dark .logo , .page-home .logo {
  justify-self: start;
  grid-column: 1;
}

.theme-dark .nav-links , .page-home .nav-links {
  z-index: 1001;
  justify-self: center;
  grid-column: 2;
}

.theme-dark .contact-btn , .page-home .contact-btn {
  justify-self: end;
  grid-column: 3;
}

.theme-dark .hamburger , .page-home .hamburger {
  color: var(--text-primary);
  position: relative;
  z-index: 1002;
  justify-self: end;
  grid-column: 3;
}

@media (max-width: 768px) {
  .theme-dark .nav-container , .page-home .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .theme-dark .nav-links , .page-home .nav-links {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
    background: rgba(10, 14, 23, 0.98) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1001 !important;
    grid-column: auto;
    justify-self: auto;
    transform: translateX(-110%);
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .theme-dark .nav-links.active , .page-home .nav-links.active {
    transform: translateX(0) !important;
    left: 0 !important;
    pointer-events: auto;
  }

  .theme-dark .nav-links li , .page-home .nav-links li {
    width: 100%;
  }

  .theme-dark .nav-links a , .page-home .nav-links a {
    display: block;
    padding: 14px 22px;
    color: #fff !important;
  }

  .theme-dark .contact-btn , .page-home .contact-btn {
    display: none !important;
  }

  .theme-dark .mobile-vendor-login , .page-home .mobile-vendor-login {
    display: block !important;
    background: linear-gradient(135deg, var(--blue-neon), #2563b5);
    border: 1px solid rgba(51, 118, 205, 0.5);
    border-radius: 8px;
    box-shadow: var(--glow-blue);
    color: #fff !important;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    margin: 8px 22px 0;
  }

  .theme-dark .hamburger , .page-home .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
  }

  .theme-dark .hero-copy , .page-home .hero-copy {
    top: auto;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    text-align: center;
    width: min(92%, 900px);
  }

  .theme-dark .hero-content , .page-home .hero-content {
    text-align: center;
  }

  .theme-dark .hero-subtitle , .page-home .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .theme-dark .hero-btn-permanent , .page-home .hero-btn-permanent {
    position: relative;
    top: auto;
    left: auto;
    translate: none;
    transform: none;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  .theme-dark .feature-grid , .page-home .feature-grid {
    grid-template-columns: 1fr;
  }
}
.theme-dark .hero , .page-home .hero {
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
}

.theme-dark .slide , .page-home .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.theme-dark .slide.active , .page-home .slide.active {
  pointer-events: auto;
}

.theme-dark .hero-copy , .page-home .hero-copy,
.theme-dark .hero-btn-permanent , .page-home .hero-btn-permanent,
.theme-dark .hero-dots , .page-home .hero-dots {
  pointer-events: auto;
}

.theme-dark .slide .slide-bg , .page-home .slide .slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}

.theme-dark .slide .slide-bg img , .page-home .slide .slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.theme-dark .hero-copy-slides .hero-content:not(.active),
.page-home .hero-copy-slides .hero-content:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.theme-dark .slide , .page-home .slide {
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.theme-dark .slide.active , .page-home .slide.active {
  opacity: 1;
  z-index: 1;
}

.theme-dark .slide.active .slide-bg , .page-home .slide.active .slide-bg {
  animation: kenBurns 8s ease forwards;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.theme-dark .overlay , .page-home .overlay {
  background:
    linear-gradient(135deg, rgba(10, 14, 23, 0.85) 0%, rgba(17, 24, 39, 0.75) 50%, rgba(51, 118, 205, 0.25) 100%);
}

.theme-dark .hero-copy , .page-home .hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(90%, 900px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  text-align: left;
}

.theme-dark .hero-copy-slides , .page-home .hero-copy-slides {
  display: grid;
  width: 100%;
}

.theme-dark .hero-content , .page-home .hero-content {
  grid-area: 1 / 1;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  text-align: left;
}

.theme-dark .hero-title , .page-home .hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .hero-subtitle , .page-home .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 640px;
  padding: 16px 20px;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
}

.theme-dark .hero-btn-permanent , .page-home .hero-btn-permanent {
  position: relative;
  top: auto;
  left: auto;
  translate: none;
  transform: none;
  z-index: 10;
  width: max-content;
  max-width: 100%;
  text-align: center;
  pointer-events: auto;
  flex-shrink: 0;
}

.theme-dark .hero-btn,
.theme-dark .glow-btn,
.page-home .hero-btn,
.page-home .glow-btn {
  background: linear-gradient(135deg, var(--blue-neon), #1d5aa0);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid rgba(51, 118, 205, 0.6);
  box-shadow: var(--glow-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-dark .hero-btn:hover,
.theme-dark .glow-btn:hover,
.page-home .hero-btn:hover,
.page-home .glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(51, 118, 205, 0.6);
  background: linear-gradient(135deg, var(--blue-neon), var(--green-neon));
  color: #fff;
}

.theme-dark .hero-btn-permanent:hover,
.page-home .hero-btn-permanent:hover {
  transform: translateY(-2px);
}

.theme-dark .hero-dots , .page-home .hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.theme-dark .hero-dot , .page-home .hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-dark .hero-dot.active , .page-home .hero-dot.active {
  background: var(--blue-neon);
  box-shadow: var(--glow-blue);
  width: 28px;
  border-radius: 5px;
}

/* ── Section titles ── */
.theme-dark .section-title , .page-home .section-title {
  background: linear-gradient(135deg, var(--blue-neon), var(--green-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.theme-dark .small-title , .page-home .small-title {
  color: var(--green-neon);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Glass card base ── */
.theme-dark .glass-card , .page-home .glass-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.theme-dark .glass-card:hover , .page-home .glass-card:hover {
  transform: translateY(-10px) rotateX(6deg) scale(1.02);
  border-color: rgba(51, 118, 205, 0.5);
  box-shadow:
    0 28px 48px rgba(0, 0, 0, 0.5),
    0 10px 0 rgba(51, 118, 205, 0.18),
    var(--glow-blue);
}

/* ── About ── */
.theme-dark .about , .page-home .about {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .about-content h2 , .page-home .about-content h2 {
  color: var(--text-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.theme-dark .about-content p , .page-home .about-content p {
  color: var(--text-muted);
}

.theme-dark .about-image img,
.theme-dark .laptop-solutions-image img,
.page-home .about-image img,
.page-home .laptop-solutions-image img {
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow:
    24px 28px 50px rgba(0, 0, 0, 0.45),
    var(--glow-blue);
  transform: perspective(1200px) rotateY(-8deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.theme-dark .about-image img:hover,
.theme-dark .laptop-solutions-image img:hover,
.page-home .about-image img:hover,
.page-home .laptop-solutions-image img:hover {
  transform: perspective(1200px) rotateY(0deg) scale(1.03);
  box-shadow: 0 0 40px rgba(51, 118, 205, 0.5);
}

.theme-dark .primary-btn , .page-home .primary-btn {
  background: transparent;
  border: 1px solid var(--blue-neon);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.theme-dark .primary-btn:hover , .page-home .primary-btn:hover {
  background: linear-gradient(135deg, var(--blue-neon), var(--green-neon));
  border-color: transparent;
  box-shadow: var(--glow-blue);
  color: #fff;
}

/* ── Laptop solutions ── */
.theme-dark .laptop-solutions , .page-home .laptop-solutions {
  background: var(--bg-mid);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.theme-dark .laptop-solutions::before , .page-home .laptop-solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 118, 205, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 118, 205, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.theme-dark .laptop-solutions-content h2 , .page-home .laptop-solutions-content h2 {
  color: var(--text-primary);
}

.theme-dark .laptop-solutions-content p , .page-home .laptop-solutions-content p {
  color: var(--text-muted);
}

/* ── Quick assistance ── */
.theme-dark .quick-assistance , .page-home .quick-assistance {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
}

.theme-dark .assistance-card , .page-home .assistance-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px;
}

.theme-dark .assistance-card:hover , .page-home .assistance-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(51, 118, 205, 0.4);
  box-shadow: var(--glow-blue);
}

.theme-dark .assistance-card i , .page-home .assistance-card i {
  color: var(--blue-neon);
  background: rgba(51, 118, 205, 0.15);
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(51, 118, 205, 0.3);
  font-size: 28px;
  min-width: 64px;
  flex-shrink: 0;
}

.theme-dark .assistance-content h3 , .page-home .assistance-content h3 {
  color: var(--text-primary);
}

.theme-dark .assistance-content p , .page-home .assistance-content p {
  color: var(--text-muted);
}

/* ── Features ── */
.theme-dark .features , .page-home .features {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .feature-card , .page-home .feature-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px;
}

.theme-dark .feature-card::after , .page-home .feature-card::after {
  display: none;
}

.theme-dark .feature-card:hover , .page-home .feature-card:hover {
  border-color: rgba(46, 204, 113, 0.4);
  box-shadow: var(--glow-green);
}

.theme-dark .feature-card i , .page-home .feature-card i {
  color: var(--blue-neon);
  background: rgba(51, 118, 205, 0.12);
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.theme-dark .feature-card h3 , .page-home .feature-card h3 {
  color: var(--text-primary);
}

.theme-dark .feature-card p , .page-home .feature-card p {
  color: var(--text-muted);
}

/* ── Guarantee ── */
.theme-dark .quality-guarantee , .page-home .quality-guarantee {
  padding: 100px 0;
  background: var(--bg-mid);
}

.theme-dark .guarantee-text , .page-home .guarantee-text {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.theme-dark .guarantee-card , .page-home .guarantee-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
}

.theme-dark .guarantee-card:hover , .page-home .guarantee-card:hover {
  border-color: rgba(51, 118, 205, 0.5);
  box-shadow: var(--glow-blue);
  background: var(--bg-card-hover);
}

.theme-dark .guarantee-card h3 , .page-home .guarantee-card h3 {
  color: var(--text-primary);
}

.theme-dark .guarantee-card p , .page-home .guarantee-card p {
  color: var(--text-muted);
}

/* ── Services ── */
.theme-dark .services-home , .page-home .services-home {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .services-home > .container > p , .page-home .services-home > .container > p {
  color: var(--text-muted) !important;
}

.theme-dark .service-card , .page-home .service-card {
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.theme-dark .service-card:hover , .page-home .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-blue);
}

.theme-dark .service-card img , .page-home .service-card img {
  transition: transform 0.6s ease;
}

.theme-dark .service-card:hover img , .page-home .service-card:hover img {
  transform: scale(1.08);
}

.theme-dark .service-info , .page-home .service-info {
  background: linear-gradient(transparent, rgba(10, 14, 23, 0.95));
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.theme-dark .service-info h3 , .page-home .service-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ── Counter ── */
.theme-dark .counter-section , .page-home .counter-section {
  padding: 120px 0;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.theme-dark .counter-section::before , .page-home .counter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(51, 118, 205, 0.12) 0%, transparent 60%);
  animation: counterPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes counterPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.theme-dark .counter-section .section-title , .page-home .counter-section .section-title {
  -webkit-text-fill-color: var(--text-primary);
  background: none;
  color: var(--text-primary);
}

.theme-dark .counter-grid > div , .page-home .counter-grid > div {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-dark .counter-grid > div:hover , .page-home .counter-grid > div:hover {
  border-color: rgba(51, 118, 205, 0.5);
  box-shadow: var(--glow-blue);
}

.theme-dark .counter , .page-home .counter {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--blue-neon);
  text-shadow: var(--glow-blue);
}

.theme-dark .counter-grid div p , .page-home .counter-grid div p {
  color: var(--text-muted);
}

/* ── CTA ── */
.theme-dark .cta , .page-home .cta {
  padding: 100px 0;
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.theme-dark .cta::before , .page-home .cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--blue-neon), var(--green-neon), var(--blue-neon));
  background-size: 200% 200%;
  animation: borderGradient 4s ease infinite;
  z-index: 0;
  border-radius: 0;
}

.theme-dark .cta::after , .page-home .cta::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(10, 14, 23, 0.95);
  z-index: 0;
}

@keyframes borderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.theme-dark .cta .container , .page-home .cta .container {
  position: relative;
  z-index: 1;
}

.theme-dark .cta h2 , .page-home .cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 32px;
  color: var(--text-primary);
}

/* ── FAQ ── */
.theme-dark .faq , .page-home .faq {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .faq-item , .page-home .faq-item {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.theme-dark .faq-btn , .page-home .faq-btn {
  width: 100%;
  padding: 22px 24px;
  background: rgba(17, 24, 39, 0.85);
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.theme-dark .faq-btn:hover , .page-home .faq-btn:hover {
  background: var(--bg-card-hover);
}

.theme-dark .faq-btn .faq-chevron , .page-home .faq-btn .faq-chevron {
  color: var(--blue-neon);
  transition: transform 0.3s ease;
  font-size: 14px;
}

.theme-dark .faq-item.open .faq-chevron , .page-home .faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.theme-dark .faq-content , .page-home .faq-content {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: rgba(17, 24, 39, 0.8);
  color: var(--text-muted);
  line-height: 1.7;
}

.theme-dark .faq-content p , .page-home .faq-content p {
  padding-bottom: 20px;
}

.theme-dark .faq-content.active , .page-home .faq-content.active {
  display: block;
}

/* ── Testimonials ── */
.theme-dark .testimonials , .page-home .testimonials {
  padding: 120px 0;
  background: var(--bg-mid);
}

.theme-dark .testimonial-card , .page-home .testimonial-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: none;
}

.theme-dark .testimonial-card:hover , .page-home .testimonial-card:hover {
  border-color: rgba(51, 118, 205, 0.4);
  box-shadow: var(--glow-blue);
}

.theme-dark .testimonial-card img , .page-home .testimonial-card img {
  border: 2px solid rgba(51, 118, 205, 0.5);
  box-shadow: var(--glow-blue);
}

.theme-dark .testimonial-card h4 , .page-home .testimonial-card h4 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.theme-dark .testimonial-role , .page-home .testimonial-role {
  font-size: 0.8rem;
  color: var(--blue-neon);
  margin-bottom: 10px;
  font-weight: 500;
}

.theme-dark .stars , .page-home .stars {
  color: var(--green-neon);
  text-shadow: var(--glow-green);
}

.theme-dark .testimonial-card p , .page-home .testimonial-card p {
  color: var(--text-muted);
}

/* ── Footer ── */
.theme-dark .footer , .page-home .footer {
  background: rgba(10, 14, 23, 0.98);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0;
  color: var(--text-primary);
}

.theme-dark .footer h3 , .page-home .footer h3 {
  color: var(--blue-neon);
  font-family: var(--font-heading);
}

.theme-dark .footer-summary , .page-home .footer-summary {
  color: var(--text-muted);
}

.theme-dark .footer ul li a , .page-home .footer ul li a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.theme-dark .footer ul li a:hover , .page-home .footer ul li a:hover {
  color: var(--green-neon);
}

.theme-dark .footer ul li , .page-home .footer ul li {
  color: var(--text-muted);
}

.theme-dark .footer-contact i , .page-home .footer-contact i {
  background: rgba(51, 118, 205, 0.2);
  border: 1px solid rgba(51, 118, 205, 0.4);
  color: var(--blue-neon);
  transition: box-shadow 0.3s ease;
}

.theme-dark .social-icons a , .page-home .social-icons a {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.theme-dark .social-icons a:hover , .page-home .social-icons a:hover {
  border-color: var(--blue-neon);
  box-shadow: var(--glow-blue);
  color: var(--blue-neon);
}

.theme-dark .footer-contact p , .page-home .footer-contact p {
  color: var(--text-muted);
}

.theme-dark .footer-contact-link , .page-home .footer-contact-link {
  border-radius: 10px;
  padding: 4px 6px;
  margin: -4px -6px;
}

.theme-dark .footer-contact-link:hover , .page-home .footer-contact-link:hover {
  background: rgba(51, 118, 205, 0.1);
}

.theme-dark .footer-contact-link:hover i , .page-home .footer-contact-link:hover i {
  box-shadow: var(--glow-blue);
}

.theme-dark .footer-logo img,
.page-home .footer-logo img,
.theme-dark footer .footer-logo img {
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  height: 96px;
  max-width: 150px;
  width: auto;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Marquee ── */
.theme-dark .marquee , .page-home .marquee {
  background: var(--bg-deep);
  border-color: var(--border-glass);
  padding: 24px 0;
}

.theme-dark .marquee-track span , .page-home .marquee-track span {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, var(--blue-neon), var(--green-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
}

.theme-dark .copyright , .page-home .copyright {
  background: linear-gradient(135deg, #1a3a6b, var(--bg-deep));
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
}

/* ── Reveal helper ── */
.theme-dark [data-reveal] , .page-home [data-reveal] {
  /* no will-change — avoids extra GPU layers */
}

/* ── Reduced motion + mobile perf ── */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  .theme-dark .slide.active .slide-bg , .page-home .slide.active .slide-bg {
    animation: none;
  }

  .theme-dark .contact-btn , .page-home .contact-btn {
    animation: none;
  }

  .theme-dark .counter-section::before , .page-home .counter-section::before {
    animation: none;
  }

  .theme-dark .cta::before , .page-home .cta::before {
    animation: none;
  }

  .theme-dark .marquee-track , .page-home .marquee-track {
    animation-duration: 30s;
  }

  .theme-dark .navbar , .page-home .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 14, 23, 0.97);
  }
}

/* ── Responsive (shared mobile hero stacking) ── */
@media (max-width: 768px) {
  .theme-dark .hero-copy , .page-home .hero-copy {
    top: auto !important;
    bottom: 88px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    align-items: center;
    text-align: center;
    width: min(92%, 900px);
  }

  .theme-dark .hero-content , .page-home .hero-content {
    text-align: center;
  }

  .theme-dark .hero-subtitle , .page-home .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .theme-dark .hero-btn-permanent , .page-home .hero-btn-permanent {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    translate: none !important;
    transform: none !important;
  }

  .theme-dark .hero-btn-permanent:hover , .page-home .hero-btn-permanent:hover {
    transform: translateY(-2px) !important;
  }

  .theme-dark .feature-grid , .page-home .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .theme-dark .contact-btn , .page-home .contact-btn {
    display: none;
  }

  .theme-dark .mobile-vendor-login , .page-home .mobile-vendor-login {
    display: block;
    background: linear-gradient(135deg, var(--blue-neon), #2563b5);
    border: 1px solid rgba(51, 118, 205, 0.5);
    border-radius: 8px;
    box-shadow: var(--glow-blue);
    color: #fff !important;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
  }
}

/* ── WHY REGISTER STRIP ───────────────────────────────── */
.why-register-strip {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0f1e 0%, #0d1424 100%);
  position: relative;
  overflow: hidden;
}
.why-register-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(37,99,235,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.why-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-strip-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 18px;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-strip-left > p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.why-strip-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.why-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 16px;
  transition: background .25s, border-color .25s;
}
.why-pillar:hover {
  background: rgba(37,99,235,0.15);
  border-color: rgba(37,99,235,0.4);
}
.why-pillar i {
  color: var(--blue-neon);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.why-pillar span {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
}
.why-strip-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.why-tour-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #93c5fd;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap .2s, color .2s;
}
.why-tour-btn:hover {
  gap: 14px;
  color: #fff;
}
.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  perspective: 1200px;
}
.why-stat-card {
  padding: 28px 22px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform-style: preserve-3d;
  transition: transform .3s;
}
.why-stat-card:hover { transform: translateY(-8px) rotateX(8deg) translateZ(12px); }
.why-stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--blue-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.accent-plus {
  font-size: 1.8rem;
}
.why-stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
@media (max-width: 900px) {
  .why-strip-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 480px) {
  .why-strip-pillars { grid-template-columns: 1fr; }
  .why-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Homepage live products + popular vendors ── */
.page-home .home-showcase,
.page-home .home-vendors {
  padding: 80px 0;
  position: relative;
}
.page-home .home-showcase {
  background:
    radial-gradient(ellipse 70% 60% at 10% 20%, rgba(51, 118, 205, 0.16), transparent 55%),
    var(--bg-deep);
}
.page-home .home-vendors {
  background:
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(46, 204, 113, 0.1), transparent 55%),
    var(--bg-mid);
}
.page-home .showcase-heading {
  max-width: 640px;
  margin-bottom: 40px;
}
.page-home .showcase-heading.is-centered {
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.page-home .showcase-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 8px 0 10px;
  color: var(--text-primary);
}
.page-home .showcase-heading p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.page-home .showcase-cta {
  margin-top: 36px;
  text-align: center;
}
.page-home .home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  perspective: 1400px;
}
.page-home .home-vendors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}
.page-home .showcase-skeleton {
  min-height: 280px;
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.1) 18%, rgba(255,255,255,0.04) 33%);
  background-size: 200% 100%;
  animation: showcase-shimmer 1.4s linear infinite;
}
.page-home .showcase-skeleton.vendor-skel {
  min-height: 180px;
  border-radius: 24px;
}
@keyframes showcase-shimmer {
  to { background-position: -200% 0; }
}

.page-home .home-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(17, 24, 39, 0.92));
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.page-home .home-product-card:hover {
  border-color: rgba(51, 118, 205, 0.55);
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(51, 118, 205, 0.25),
    var(--glow-blue);
}
.page-home .home-product-visual {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #0b1224;
  transform: translateZ(18px);
}
.page-home .home-product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.45s ease;
}
.page-home .home-product-card:hover .home-product-visual img {
  transform: scale(1.12);
}
.page-home .home-product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 23, 0.92));
  pointer-events: none;
}
.page-home .home-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(51, 118, 205, 0.9);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.page-home .home-product-body {
  padding: 16px 16px 18px;
  transform: translateZ(28px);
}
.page-home .home-product-body h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .home-product-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: #93c5fd;
  margin-bottom: 12px;
}
.page-home .home-product-vendor {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.page-home .home-product-vendor img,
.page-home .home-product-vendor .vendor-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}
.page-home .home-product-vendor .vendor-fallback {
  display: grid;
  place-items: center;
  background: var(--blue-neon);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.page-home .home-product-vendor span {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-vendor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  text-decoration: none;
  color: inherit;
  width: 210px;
  max-width: 210px;
  min-height: 210px;
  padding: 22px 16px 18px;
  border-radius: 24px;
  background: rgba(10, 14, 23, 0.72);
  border: 1px solid var(--border-glass);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.page-home .home-vendor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.45);
  box-shadow:
    0 26px 40px rgba(0, 0, 0, 0.45),
    var(--glow-green);
}
.page-home .home-vendor-logo-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 22px;
}
.page-home .home-vendor-logo {
  width: 84px !important;
  height: 84px !important;
  max-width: none !important;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  background: #fff;
  box-shadow:
    0 16px 24px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(255, 255, 255, 0.06);
}
.page-home .home-vendor-logo.fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-neon), #1d4ed8);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
.page-home .home-vendor-card h3,
.page-home .home-vendor-card p {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center !important;
}
.page-home .home-vendor-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .home-vendor-card p {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .home-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}

@media (max-width: 1100px) {
  .page-home .home-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .page-home .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page-home .home-product-visual { height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .home-product-card,
  .page-home .home-vendor-card,
  .page-home .glass-card,
  .page-home .why-stat-card {
    transform: none !important;
  }
}
