/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f0f2e 0%, #16163f 50%, #1a1a4a 100%);
  min-height: 540px;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 80px 24px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(86,207,225,.13) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(232,184,75,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(86,207,225,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,207,225,.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-inner {
  max-width: 800px; margin: 0 auto; text-align: center;
  position: relative; z-index: 2; color: var(--white);
}
.hero-inner > * { animation: heroFadeUp .65s ease both; }
.hero-eyebrow   { animation-delay: .1s;  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 20px; }
.hero-inner h1  { animation-delay: .25s; font-size: clamp(32px,5vw,54px); line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero-inner h1 span { color: var(--accent); }
.hero-sub       { animation-delay: .4s;  font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; font-weight: 300; }
.hero-ctas      { animation-delay: .55s; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn-primary { background: transparent; border: 2px solid rgba(255,255,255,.7); color: var(--white); border-radius: 4px; letter-spacing: .1em; }
.hero-ctas .btn-primary:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.hero-ctas .btn-accent  { background: var(--accent); border: 2px solid var(--accent); color: var(--primary); border-radius: 4px; letter-spacing: .1em; }
.hero-ctas .btn-accent:hover  { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
@keyframes heroFadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

/* ── FEATURES BAR ────────────────────────────────────────────── */
.features-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 32px 0; }
.features-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(86,207,225,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon i { color: var(--accent); font-size: 18px; }
.feature-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.feature-sub   { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ── SECTION LABELS ──────────────────────────────────────────── */
.section-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.section-title { font-family: var(--font-heading); font-size: clamp(24px,3vw,34px); font-weight: 800; color: var(--primary); letter-spacing: -.5px; margin-bottom: 8px; }
.section-title em { font-style: italic; color: var(--gold); font-weight: 700; }
.section-sub   { font-size: 14px; color: var(--gray-500); font-weight: 300; }
.section-header { margin-bottom: 40px; }

/* ── FEATURED / TRENDING PRODUCTS ───────────────────────────── */
.featured-section { padding: 72px 0; background: var(--white); }
.trending-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.view-all-link-underline { font-size: 13px; font-weight: 600; color: var(--accent-dark); border-bottom: 1px solid var(--accent-dark); padding-bottom: 2px; letter-spacing: .05em; text-decoration: none; transition: color var(--transition), border-color var(--transition); white-space: nowrap; }
.view-all-link-underline:hover { color: var(--primary); border-color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 36px; }
.product-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--gray-200); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; cursor: pointer; position: relative; }
.product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-4px); }
.product-img-wrap { position: relative; height: 200px; overflow: hidden; flex-shrink: 0; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-img-wrap .product-emoji-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.prod-bg-smartphones    { background: linear-gradient(135deg,#1a2340,#2a3560); }
.prod-bg-earbuds-audio  { background: linear-gradient(135deg,#1e3a2f,#2a5240); }
.prod-bg-laptops        { background: linear-gradient(135deg,#3d1a1a,#5a2020); }
.prod-bg-computer-parts { background: linear-gradient(135deg,#2d1a3d,#3d2a54); }
.prod-bg-accessories    { background: linear-gradient(135deg,#1a2a3d,#2a3d5a); }
.prod-bg-wearables      { background: linear-gradient(135deg,#1a1a2a,#2a2a40); }
.prod-bg-default        { background: linear-gradient(135deg,#1e2a1a,#2a3d2a); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 4px; font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--primary); z-index: 1; }
.product-badge-hot  { background: #e53e3e; color: #fff; }
.product-badge-new  { background: #3182ce; color: #fff; }
.product-badge-sale { background: var(--gold); color: var(--primary); }
.product-body  { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat   { font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 6px; }
.product-name  { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--primary); line-height: 1.35; margin-bottom: 8px; }
.product-stars-row { color: var(--gold); font-size: 11px; margin-bottom: 10px; }
.product-stars-row span { color: var(--gray-500); font-family: var(--font-body); }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.product-price     { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--primary); }
.product-price-old { font-size: 12px; color: var(--gray-500); text-decoration: line-through; }
.add-cart-btn { background: var(--primary); color: var(--white); border: none; border-radius: 6px; padding: 8px 14px; font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: .05em; cursor: pointer; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.add-cart-btn:hover { background: var(--accent); color: var(--primary); }

/* ── CATEGORIES (bento) ──────────────────────────────────────── */
.categories-section { padding: 72px 0; background: var(--gray-100); }
.bento-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 280px 220px; gap: 16px; }
.bento-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.bento-item:first-child { grid-row: span 2; }
.bento-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.bento-item:hover .bento-bg { transform: scale(1.05); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 50%, transparent 100%); }
.bento-emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 80px; opacity: .25; pointer-events: none; }
.bento-item:first-child .bento-emoji { font-size: 120px; }
.bento-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; z-index: 2; }
.bento-label { font-family: var(--font-heading); font-weight: 800; color: var(--white); letter-spacing: -.3px; text-shadow: 0 2px 8px rgba(0,0,0,.4); font-size: 20px; }
.bento-item:first-child .bento-label { font-size: 28px; }
.bento-btn { background: var(--white); color: var(--black); font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: none; padding: 9px 20px; border-radius: 4px; cursor: pointer; transition: all var(--transition); text-decoration: none; display: inline-block; }
.bento-btn:hover { background: var(--accent); color: var(--primary); }
.bento-phones  { background: linear-gradient(135deg,#1a1a3e,#2d2d6b); }
.bento-audio   { background: linear-gradient(135deg,#1e3a2f,#2a5240); }
.bento-access  { background: linear-gradient(135deg,#3d1a1a,#5a2a2a); }
.bento-laptops { background: linear-gradient(135deg,#1a2a3d,#1e3d5a); }
.bento-parts   { background: linear-gradient(135deg,#2d1a3d,#3d2a54); }
.bento-wear    { background: linear-gradient(135deg,#1a1a2a,#2a2a40); }

/* ── CTA / PROMO BANNER ──────────────────────────────────────── */
.cta-section { background: linear-gradient(90deg,var(--primary) 0%,#1e1e5a 100%); padding: 72px 0; position: relative; overflow: hidden; text-align: center; }
.cta-section::before { content:''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(86,207,225,.15) 0%, transparent 60%); pointer-events: none; }
.promo-tag { display: inline-block; background: rgba(86,207,225,.2); color: var(--accent); font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(86,207,225,.3); margin-bottom: 20px; }
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(24px,4vw,40px); color: var(--white); margin-bottom: 12px; letter-spacing: -.5px; }
.cta-content p  { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 32px; line-height: 1.7; font-weight: 300; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-section { padding: 72px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow var(--transition), transform var(--transition); }
.testimonial-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.testimonial-rating { font-size: 16px; margin-bottom: 14px; color: var(--gold); }
.testimonial-text { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--primary); margin-bottom: 2px; }
.testimonial-author span  { font-size: 12px; color: var(--gray-500); }

/* ── FAQ PREVIEW ─────────────────────────────────────────────── */
.faq-preview-section { padding: 72px 0; background: var(--gray-100); }
.faq-preview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.faq-preview-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; transition: border-color var(--transition); }
.faq-preview-item:hover { border-color: var(--accent); }
.faq-preview-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 8px; }
.faq-preview-item p  { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ── FOOTER TRIANGLE ─────────────────────────────────────────── */
.footer-chevron { display: flex; justify-content: center; background: var(--black); }
.footer-chevron::before { content:''; display: block; width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 30px solid var(--gray-100); }
.faq-preview-section + .footer-chevron::before { border-top-color: var(--gray-100); }

/* ── CHAT FAB ─────────────────────────────────────────────────── */
.chat-fab { position: fixed; bottom: 32px; right: 32px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; box-shadow: 0 4px 20px rgba(86,207,225,.45); border: none; z-index: 998; transition: transform .2s, box-shadow .2s; }
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(86,207,225,.6); }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width:1024px) { .product-grid { grid-template-columns: repeat(3,1fr); } .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .bento-item:first-child { grid-row: span 1; } .features-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width:768px)  { .product-grid { grid-template-columns: repeat(2,1fr); } .testimonial-grid { grid-template-columns: 1fr; } .faq-preview-grid { grid-template-columns: 1fr; } .trending-header { flex-direction: column; align-items: flex-start; } .chat-fab { bottom: 20px; right: 20px; } }
@media (max-width:480px)  { .product-grid { grid-template-columns: 1fr; } .bento-grid { grid-template-columns: 1fr; } .features-inner { grid-template-columns: 1fr; } }
