/* ==========================================================
   ALEX SELLER — Homepage & shared layout styles
   ========================================================== */

/* ---------------- Navbar ---------------- */
.navbar{
  position: sticky; top:0; z-index:1000;
  background: rgba(10,6,17,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}
.navbar.scrolled{ background: rgba(10,6,17,0.85); box-shadow: var(--shadow-soft); }
.navbar-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.navbar-brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-heading); font-weight:700; font-size:20px; }
.navbar-logo{ height:36px; width:36px; border-radius:10px; object-fit:cover; }
.navbar-logo-fallback{
  font-size:17px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:10px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  box-shadow: 0 0 10px rgba(168,85,247,0.5);
  position:relative;
  animation: navLogoPulse 2.4s ease-in-out infinite;
}
.navbar-logo-fallback::before{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:13px;
  background: conic-gradient(from 0deg, var(--c-accent), var(--c-accent-2), var(--c-primary), var(--c-accent));
  opacity:0.55;
  filter: blur(5px);
  z-index:-1;
  animation: navLogoSpin 3s linear infinite;
}
.navbar-logo-fallback span,
.navbar-logo-fallback{
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.65));
}
@keyframes navLogoPulse{
  0%,100%{
    box-shadow: 0 0 8px rgba(168,85,247,0.45);
    transform: scale(1);
  }
  50%{
    box-shadow: 0 0 16px rgba(168,85,247,0.85), 0 0 26px rgba(251,146,60,0.35);
    transform: scale(1.08);
  }
}
@keyframes navLogoSpin{
  to{ transform: rotate(360deg); }
}
.navbar-links{ display:flex; align-items:center; gap:32px; }
.navbar-links a{ color: var(--text-secondary); font-weight:500; font-size:15px; transition: var(--transition); }
.navbar-links a:hover{ color: var(--text-primary); }
.navbar-actions{ display:flex; align-items:center; gap:14px; }
.navbar-cart{ position:relative; display:flex; }
.navbar-cart i{ width:22px; height:22px; }
.cart-badge{
  position:absolute; top:-8px; right:-10px;
  background: var(--grad-primary); color:#fff;
  font-size:10px; font-weight:700;
  width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.navbar-toggle{ display:none; background:none; border:none; color:var(--text-primary); cursor:pointer; }
.navbar-toggle i{ width:26px; height:26px; }

@media (max-width: 860px){
  .navbar-links{
    position:fixed; top:76px; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background: rgba(10,6,17,0.97);
    border-bottom:1px solid var(--border-glass);
    max-height:0; overflow:hidden; transition: max-height 0.35s ease;
  }
  .navbar-links.open{ max-height:320px; }
  .navbar-links a{ width:100%; padding:16px 20px; border-bottom:1px solid var(--border-glass); }
  .navbar-cta{ display:none; }
  .navbar-toggle{ display:block; }
}

/* ---------------- Hero ---------------- */
.hero{ padding:100px 0 70px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:50px; align-items:center; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:999px;
  background: var(--bg-glass-strong); border:1px solid var(--border-glow);
  font-size:13px; font-weight:600; margin-bottom:24px;
}
.hero-badge i{ width:15px; height:15px; color: var(--c-accent); }
.hero-title{ font-size:56px; line-height:1.05; margin-bottom:18px; }
.hero-title .accent{ display:block; }
.hero-subtitle{ font-size:18px; max-width:520px; margin-bottom:32px; }
.hero-badge-items{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; }
.hero-badge-items span{
  font-size:12.5px; padding:6px 12px; border-radius:999px;
  background: var(--bg-glass); border:1px solid var(--border-glass); color: var(--text-secondary);
  display:inline-flex; align-items:center; gap:6px;
}
.hero-badge-items i{ width:13px; height:13px; color: var(--c-success); }
.hero-buttons{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-visual{ position:relative; height:460px; }
.hero-orb{
  position:absolute; border-radius:50%;
  background: var(--grad-primary);
  filter: blur(2px);
  box-shadow: 0 0 80px rgba(168,85,247,0.5);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-orb.o1{ width:220px; height:220px; top:10%; left:15%; opacity:0.85; }
.hero-orb.o2{ width:140px; height:140px; bottom:12%; right:8%; background: var(--grad-orange); animation-delay:1.2s; }
.hero-orb.o3{ width:90px; height:90px; top:50%; right:25%; background: linear-gradient(135deg,var(--c-accent),var(--c-primary)); animation-delay:2.4s; }
.hero-glass-card{
  position:absolute; top:8%; right:5%;
  padding:20px; width:210px;
  animation: heroFloat 5s ease-in-out infinite; animation-delay:0.6s;
}
.hero-glass-card i{ width:26px; height:26px; color: var(--c-accent-2); margin-bottom:10px; }
.hero-glass-card-2{
  position:absolute; bottom:6%; left:2%;
  padding:16px 20px; width:190px;
  animation: heroFloat 5.6s ease-in-out infinite; animation-delay:1.6s;
}
@keyframes heroFloat{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-18px);} }

@media (max-width: 992px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-title{ font-size:40px; }
  .hero-visual{ height:320px; margin-top:20px; }
}

/* ---------------- Featured Banner ---------------- */
.featured-banner{
  padding: 40px 40px;
  background: linear-gradient(120deg, rgba(251,146,60,0.18), rgba(168,85,247,0.22));
  border: 1px solid var(--border-glow);
  display:grid; grid-template-columns: auto 1fr auto; gap:32px; align-items:center;
  position:relative; overflow:hidden;
}
.featured-banner[data-theme="blue-purple"]{ background: linear-gradient(120deg, rgba(59,130,246,0.18), rgba(168,85,247,0.22)); }
.featured-banner-image{ width:140px; height:140px; border-radius: var(--radius-lg); object-fit:cover; }
.featured-banner-body .badge{ margin-bottom:10px; }
.featured-banner-body h3{ font-size:26px; margin-bottom:6px; }
.featured-banner-body p{ max-width:520px; }
.featured-banner-prices{ display:flex; align-items:center; gap:12px; margin-top:12px; }
.featured-banner-cta{ text-align:center; }
.price-main{ font-size:22px; font-weight:700; color: var(--text-primary); }
.price-old{ font-size:15px; color: var(--text-muted); text-decoration:line-through; }
.price-usd{ font-size:13px; color: var(--text-muted); }

@media (max-width: 860px){
  .featured-banner{ grid-template-columns:1fr; text-align:center; }
  .featured-banner-image{ margin:0 auto; }
  .featured-banner-prices{ justify-content:center; }
}

/* ---------------- Trust Bar ---------------- */
.trust-bar{ padding:26px 0; border-top:1px solid var(--border-glass); border-bottom:1px solid var(--border-glass); overflow:hidden; }
.trust-track{ display:flex; gap:56px; width:max-content; animation: trustScroll 22s linear infinite; }
.trust-track:hover{ animation-play-state: paused; }
.trust-item{ display:flex; align-items:center; gap:10px; font-weight:600; color: var(--text-secondary); white-space:nowrap; }
.trust-item i{ width:18px; height:18px; color: var(--c-accent-2); }
@keyframes trustScroll{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ---------------- Section headers ---------------- */
.section-head{ text-align:center; max-width:640px; margin:0 auto 48px; }
.section-eyebrow{ color: var(--c-accent-2); font-weight:700; font-size:13px; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:10px; display:block; }
.section-head h2{ font-size:36px; }

/* ---------------- Feature Cards ---------------- */
.feature-card{ padding:32px 26px; text-align:left; }
.feature-card-icon{
  width:52px; height:52px; border-radius:16px;
  background: var(--grad-primary);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  box-shadow: 0 8px 22px rgba(168,85,247,0.35);
}
.feature-card-icon i{ width:24px; height:24px; color:#fff; }
.feature-card h3{ font-size:18px; margin-bottom:8px; }
.feature-card p{ font-size:14px; margin:0; }
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-glow); }

/* ---------------- Product Grid ---------------- */
.product-card{ overflow:hidden; position:relative; }
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-glow), var(--glow-pink); }
.product-card-media{ position:relative; display:block; aspect-ratio: 4/3; overflow:hidden; }
.product-card-media img{ width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-media img{ transform: scale(1.08); }
.product-card-tags{ position:absolute; top:12px; left:12px; display:flex; gap:6px; flex-wrap:wrap; }
.product-card-tags .badge{ background: rgba(10,6,17,0.65); font-size:11px; padding:4px 10px; }
.product-card-discount{
  position:absolute; top:12px; right:12px;
  background: var(--c-danger); color:#fff; font-size:12px; font-weight:700;
  padding:4px 10px; border-radius:999px;
}
.product-card-body{ padding:20px; }
.product-card-title{ font-size:17px; margin-bottom:6px; }
.product-card-desc{ font-size:13.5px; margin-bottom:10px; }
.product-card-lastsold{ display:flex; align-items:center; gap:6px; font-size:12px; color: var(--c-success); margin-bottom:12px; }
.pulse-dot{ width:7px; height:7px; border-radius:50%; background: var(--c-success); animation: tagPulse 1.4s ease-in-out infinite; }
.product-card-price-row{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:16px; }
.product-card-price{ display:flex; align-items:baseline; gap:8px; }
.product-card-actions{ display:flex; gap:10px; }
.product-card-actions .btn{ flex:1; }

.products-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
@media (max-width: 1100px){ .products-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 780px){ .products-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .products-grid{ grid-template-columns: 1fr; } }

.products-empty{ text-align:center; padding:60px 20px; color: var(--text-muted); }

/* ---------------- Reviews ---------------- */
.reviews-slider{ display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:12px; }
.reviews-slider::-webkit-scrollbar{ height:6px; }
.review-card{ min-width:320px; max-width:320px; padding:26px; scroll-snap-align:start; }
.review-stars{ display:flex; gap:3px; color: var(--c-warning); margin-bottom:14px; }
.review-stars i{ width:16px; height:16px; fill: var(--c-warning); }
.review-text{ font-size:14.5px; margin-bottom:18px; }
.review-author{ display:flex; align-items:center; gap:12px; }
.review-avatar{ width:42px; height:42px; border-radius:50%; object-fit:cover; background: var(--grad-primary); }
.review-author-name{ font-weight:600; font-size:14px; color: var(--text-primary); display:flex; align-items:center; gap:6px; }
.review-verified{ width:14px; height:14px; color: var(--c-success); }

/* ---------------- FAQ ---------------- */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ overflow:hidden; }
.faq-question{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:22px 26px; display:flex; align-items:center; justify-content:space-between;
  color: var(--text-primary); font-weight:600; font-size:15.5px; font-family: var(--font-body);
}
.faq-question i{ width:20px; height:20px; color: var(--c-accent-2); transition: transform 0.3s ease; flex-shrink:0; }
.faq-item.open .faq-question i{ transform: rotate(180deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height 0.35s ease; }
.faq-answer-inner{ padding: 0 26px 22px; font-size:14.5px; color: var(--text-secondary); }

/* ---------------- Footer ---------------- */
.site-footer{ border-top:1px solid var(--border-glass); padding-top:60px; margin-top:40px; }
.footer-inner{ display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap:40px; padding-bottom:40px; }
.footer-tagline{ margin-top:14px; max-width:320px; font-size:14px; }
.footer-links h4{ font-size:14px; text-transform:uppercase; letter-spacing:0.08em; color: var(--text-muted); margin-bottom:16px; }
.footer-links a{ display:block; color: var(--text-secondary); font-size:14.5px; margin-bottom:12px; transition: var(--transition); }
.footer-links a:hover{ color: var(--c-accent-2); }
.footer-bottom{ border-top:1px solid var(--border-glass); padding:22px 0; text-align:center; font-size:13px; color: var(--text-muted); }
@media (max-width: 780px){ .footer-inner{ grid-template-columns:1fr; } }

/* ---------------- Floating Telegram Button ---------------- */
.floating-telegram{
  position:fixed; bottom:26px; right:26px; z-index:900;
  width:58px; height:58px; border-radius:50%;
  background: var(--grad-primary);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 30px rgba(168,85,247,0.55);
  animation: floatBtn 3s ease-in-out infinite;
}
.floating-telegram i{ width:26px; height:26px; color:#fff; }
@keyframes floatBtn{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

/* ---------------- Exit Popup ---------------- */
.exit-popup-box{ text-align:center; position:relative; }
.modal-close{ position:absolute; top:16px; right:16px; background:none; border:none; color: var(--text-muted); cursor:pointer; }
.modal-close i{ width:20px; height:20px; }
.exit-popup-icon{ width:64px; height:64px; border-radius:50%; background: var(--grad-primary); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.exit-popup-icon i{ width:30px; height:30px; color:#fff; }
.exit-popup-price{ display:flex; justify-content:center; gap:12px; margin:16px 0 10px; }
.exit-popup-btn{ margin-top:18px; width:100%; }