/* ========== HERO ========== */
.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden;padding:6rem 1.5rem 4rem}
.hero-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hero-orb{position:absolute;border-radius:50%;filter:blur(100px);will-change:transform}
.hero-orb.o1{width:600px;height:600px;background:rgba(0,180,255,.08);top:-15%;left:-10%;animation:heroFloat 20s ease-in-out infinite alternate}
.hero-orb.o2{width:500px;height:500px;background:rgba(0,210,255,.05);bottom:-10%;right:-10%;animation:heroFloat 25s ease-in-out infinite alternate-reverse}
.hero-orb.o3{width:300px;height:300px;background:rgba(168,85,247,.04);top:40%;right:20%;animation:heroFloat 18s ease-in-out infinite alternate}
.hero-grid-bg{position:absolute;inset:0;background-image:radial-gradient(rgba(0,180,255,.03) 1px,transparent 1px);background-size:40px 40px;mask-image:radial-gradient(circle at center,black 30%,transparent 70%)}
@keyframes heroFloat{0%{transform:translate(0,0) scale(1)}33%{transform:translate(20px,-25px) scale(1.06)}66%{transform:translate(-10px,-15px) scale(1.03)}100%{transform:translate(30px,-10px) scale(1)}}
.hero-content .hero-badge{animation:heroBadgeIn .8s cubic-bezier(.22,1,.36,1) .2s both}
.hero-content h1{animation:heroTitleIn .9s cubic-bezier(.22,1,.36,1) .35s both}
.hero-content .hero-sub{animation:heroSubIn .9s cubic-bezier(.22,1,.36,1) .5s both}
.hero-content .search-bar{animation:heroSearchIn .8s cubic-bezier(.22,1,.36,1) .65s both}
.hero-content .hero-cats{animation:heroCatsIn .8s cubic-bezier(.22,1,.36,1) .8s both}
@keyframes heroBadgeIn{from{opacity:0;transform:translateY(20px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes heroTitleIn{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes heroSubIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes heroSearchIn{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes heroCatsIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.hero-content{position:relative;z-index:1;max-width:720px}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1.15rem;border-radius:24px;background:var(--em-bg);border:1px solid rgba(0,180,255,.1);font-size:.76rem;font-weight:600;color:var(--em2);margin-bottom:1.75rem;backdrop-filter:blur(8px)}
.hero-badge svg{width:14px;height:14px}
.hero h1{font-size:3.4rem;font-weight:800;line-height:1.08;margin-bottom:1.15rem;letter-spacing:-.03em}
.hero h1 span{background:linear-gradient(135deg,var(--em),var(--cyan),var(--em3));-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-style:italic;background-size:200% auto;animation:shimmer 4s linear infinite}
@keyframes shimmer{0%{background-position:0% center}100%{background-position:200% center}}
.hero-sub{font-size:1.05rem;color:var(--text2);margin-bottom:2.25rem;max-width:520px;margin-left:auto;margin-right:auto;line-height:1.7}
.hero .search-bar{margin:0 auto 2.75rem;max-width:500px;background:var(--card-glass);backdrop-filter:blur(16px);box-shadow:var(--shadow)}
.hero-cats{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}
.hero-cat{display:flex;flex-direction:column;align-items:center;gap:.45rem;padding:.9rem 1.05rem;border-radius:var(--radius-lg);background:var(--card-glass);backdrop-filter:blur(12px);border:1px solid var(--border);cursor:pointer;transition:all var(--transition);min-width:82px}
.hero-cat:hover{border-color:rgba(0,180,255,.25);background:var(--em-bg);transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.hero-cat svg{color:var(--em2);transition:all var(--transition)}
.hero-cat:hover svg{filter:drop-shadow(0 0 6px rgba(0,180,255,.4))}
.hero-cat span{font-size:.68rem;font-weight:600;color:var(--text2)}

@media(max-width:768px){
  .hero h1{font-size:2.2rem}
  .hero-sub{font-size:.9rem}
  .hero-cats{gap:.5rem}
  .hero-cat{min-width:68px;padding:.7rem .8rem}
  .hero{min-height:auto;padding:7rem 1rem 3rem}
}

/* ========== TRUST ========== */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.trust-card:nth-child(1)::before{background:linear-gradient(90deg,var(--em),var(--cyan))}
.trust-card:nth-child(2)::before{background:linear-gradient(90deg,var(--gold),var(--gold2))}
.trust-card:nth-child(3)::before{background:linear-gradient(90deg,var(--blue),#60a5fa)}
.trust-card:nth-child(4)::before{background:linear-gradient(90deg,var(--purple),#c084fc)}
.trust-card:nth-child(1) .tc-icon{background:var(--em-bg);color:var(--em2)}
.trust-card:nth-child(2) .tc-icon{background:rgba(232,169,16,.08);color:var(--gold2)}
.trust-card:nth-child(3) .tc-icon{background:rgba(59,130,246,.08);color:var(--blue)}
.trust-card:nth-child(4) .tc-icon{background:rgba(168,85,247,.08);color:var(--purple)}

@media(max-width:768px){.trust-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.trust-grid{grid-template-columns:1fr}}

/* ========== STATS ========== */
.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
@media(max-width:768px){.stats-strip{grid-template-columns:1fr 1fr}}

/* ========== REVIEWS ========== */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
@media(max-width:768px){.reviews-grid{grid-template-columns:1fr}}

/* ========== CTA ========== */
.cta-box{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-xl);padding:3.5rem;text-align:center;position:relative;overflow:hidden}
.cta-box::before{content:'';position:absolute;top:50%;left:50%;width:400px;height:400px;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(0,180,255,.05),transparent 70%);pointer-events:none}
.cta-box::after{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--em),transparent);opacity:.3}
.cta-box h2{font-size:1.8rem;font-weight:800;margin-bottom:.6rem;position:relative}
.cta-box p{font-size:.92rem;color:var(--text2);margin-bottom:1.75rem;position:relative}
.cta-btns{display:flex;justify-content:center;gap:1rem;position:relative;flex-wrap:wrap}

/* ========== PRODUCT DETAIL ========== */
@keyframes pdVisualIn{from{opacity:0;transform:translateX(-24px) scale(.97)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes pdInfoIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@keyframes pdFeatureIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.product-detail .pd-visual{animation:pdVisualIn .7s cubic-bezier(.22,1,.36,1) .1s both}
.product-detail .pd-info{animation:pdInfoIn .7s cubic-bezier(.22,1,.36,1) .25s both}
.pd-features li{opacity:0;animation:pdFeatureIn .5s cubic-bezier(.22,1,.36,1) both}
.pd-features li:nth-child(1){animation-delay:.3s}
.pd-features li:nth-child(2){animation-delay:.36s}
.pd-features li:nth-child(3){animation-delay:.42s}
.pd-features li:nth-child(4){animation-delay:.48s}
.pd-features li:nth-child(5){animation-delay:.54s}
.pd-features li:nth-child(n+6){animation-delay:.58s}
.pd-price-box{animation:pdInfoIn .6s cubic-bezier(.22,1,.36,1) .5s both}
.pd-actions{animation:pdInfoIn .6s cubic-bezier(.22,1,.36,1) .6s both}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.pd-visual{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-xl);padding:3rem;display:flex;align-items:center;justify-content:center;min-height:320px;position:relative;overflow:hidden}
.pd-visual::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 30% 40%,rgba(0,180,255,.05),transparent 60%);pointer-events:none}
.pd-visual svg{width:80px;height:80px;color:var(--em2);opacity:.4}
.pd-info h1{font-size:1.8rem;margin-bottom:.6rem;background:linear-gradient(135deg,var(--text),var(--text2));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.pd-meta{display:flex;gap:.75rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap}
.pd-desc{font-size:.88rem;color:var(--text2);line-height:1.75;margin-bottom:1.5rem}
.pd-features{list-style:none;margin-bottom:1.5rem}
.pd-features li{display:flex;align-items:center;gap:.5rem;padding:.55rem 0;font-size:.86rem;color:var(--text2);border-bottom:1px solid var(--border)}
.pd-features li svg{color:var(--em);flex-shrink:0}
.pd-price-box{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.35rem;margin-bottom:1.5rem;position:relative;overflow:hidden}
.pd-price-box::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--em),transparent);opacity:.2}
.pd-price{font-family:'Plus Jakarta Sans',sans-serif;font-size:2rem;font-weight:800;background:linear-gradient(135deg,var(--em),var(--em3));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.pd-price .period{font-size:.85rem;font-weight:400;-webkit-text-fill-color:var(--text3)}
.pd-stock{display:flex;align-items:center;gap:.4rem;font-size:.82rem;margin-top:.5rem}
.pd-stock .dot{width:7px;height:7px;border-radius:50%}
.pd-actions{display:flex;gap:.75rem}

@media(max-width:768px){
  .product-detail{grid-template-columns:1fr}
  .pd-visual{min-height:200px}
}

/* ========== ORDER PAGE ========== */
@keyframes orderFormIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes orderSummaryIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@keyframes orderSuccessIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
.order-success{animation:orderSuccessIn .7s cubic-bezier(.22,1,.36,1) .1s both}
.order-layout>div:first-child{animation:orderFormIn .7s cubic-bezier(.22,1,.36,1) .15s both}
.order-layout .order-summary{animation:orderSummaryIn .7s cubic-bezier(.22,1,.36,1) .3s both}
.order-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:start}
.order-summary{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;position:sticky;top:100px}
.order-summary h3{font-size:1rem;font-weight:700;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:.5rem}
.order-product{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid var(--border)}
.order-total{display:flex;justify-content:space-between;padding:1rem 0 0;font-weight:700;font-size:1.1rem}
.order-total .price{color:var(--em2);font-family:'Plus Jakarta Sans',sans-serif}

@media(max-width:768px){
  .order-layout{grid-template-columns:1fr}
  .order-summary{position:static}
}

/* ========== ORDER TRACKING ========== */
@keyframes timelineIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.timeline-item{animation:timelineIn .5s cubic-bezier(.22,1,.36,1) both}
.timeline-item:nth-child(1){animation-delay:.15s}
.timeline-item:nth-child(2){animation-delay:.25s}
.timeline-item:nth-child(3){animation-delay:.35s}
.timeline-item:nth-child(4){animation-delay:.45s}
.timeline-item:nth-child(5){animation-delay:.55s}
.tracking-box{max-width:600px;margin:0 auto}
.timeline{position:relative;padding-left:2rem}
.timeline::before{content:'';position:absolute;left:7px;top:0;bottom:0;width:2px;background:var(--border)}
.timeline-item{position:relative;padding-bottom:1.5rem}
.timeline-dot{position:absolute;left:-2rem;top:4px;width:16px;height:16px;border-radius:50%;background:var(--bg3);border:2px solid var(--border);transition:all var(--transition)}
.timeline-item.active .timeline-dot{background:var(--em);border-color:var(--em);box-shadow:0 0 12px rgba(0,180,255,.4)}
.timeline-item.done .timeline-dot{background:var(--em);border-color:var(--em)}
.timeline-title{font-weight:600;font-size:.88rem}
.timeline-time{font-size:.73rem;color:var(--text3);margin-top:.15rem}

/* ========== RELATED ========== */
.related-section{margin-top:4rem}
.related-section h2{font-size:1.3rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}
.related-section .p-card{animation:catalogIn .5s cubic-bezier(.22,1,.36,1) both}
.related-section .p-card:nth-child(1){animation-delay:.1s}
.related-section .p-card:nth-child(2){animation-delay:.18s}
.related-section .p-card:nth-child(3){animation-delay:.26s}
.related-section .p-card:nth-child(4){animation-delay:.34s}
/* --- ENHANCED HERO BACKGROUND --- */
.hero-bg {
    background: radial-gradient(circle at center, rgba(0, 30, 60, 0.3) 0%, transparent 100%);
}
.hero-orb.o1 { background: rgba(0, 195, 255, 0.15) !important; width: 800px !important; height: 800px !important; top: -30% !important; left: -20% !important; }
.hero-orb.o2 { background: rgba(168, 85, 247, 0.15) !important; width: 700px !important; height: 700px !important; bottom: -20% !important; right: -20% !important; }
.hero-orb.o3 { background: rgba(16, 185, 129, 0.12) !important; width: 600px !important; height: 600px !important; top: 30% !important; right: 40% !important; }
.hero-grid-bg {
    background-image: radial-gradient(rgba(0, 195, 255, 0.08) 1px, transparent 1px) !important;
    background-size: 50px 50px !important;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%) !important;
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%) !important;
}

.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute;
    background: rgba(0, 195, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle linear infinite;
    bottom: -50px;
}
.particle.p1 { width: 6px; height: 6px; left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle.p2 { width: 4px; height: 4px; left: 25%; animation-duration: 18s; animation-delay: 2s; background: rgba(168, 85, 247, 0.5); }
.particle.p3 { width: 8px; height: 8px; left: 40%; animation-duration: 14s; animation-delay: 5s; }
.particle.p4 { width: 5px; height: 5px; left: 60%; animation-duration: 22s; animation-delay: 0s; background: rgba(16, 185, 129, 0.5); }
.particle.p5 { width: 7px; height: 7px; left: 75%; animation-duration: 16s; animation-delay: 7s; }
.particle.p6 { width: 3px; height: 3px; left: 85%; animation-duration: 25s; animation-delay: 1s; }
.particle.p7 { width: 10px; height: 10px; left: 15%; animation-duration: 19s; animation-delay: 9s; background: rgba(0, 195, 255, 0.3); border-radius: 0; transform: rotate(45deg); }
.particle.p8 { width: 8px; height: 8px; left: 55%; animation-duration: 15s; animation-delay: 3s; border-radius: 0; transform: rotate(45deg); background: rgba(168, 85, 247, 0.4); }
.particle.p9 { width: 4px; height: 4px; left: 90%; animation-duration: 20s; animation-delay: 6s; }
.particle.p10 { width: 12px; height: 12px; left: 35%; animation-duration: 17s; animation-delay: 12s; background: transparent; border: 1px solid rgba(0, 195, 255, 0.6); }

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}