/* ============================================ */
/* STORE FRONT - MODERN PREMIUM DESIGN          */
/* ============================================ */

/* DEMO BANNER */
.demo-banner { background: linear-gradient(135deg, #1e1b4b, #312e81); color: white; padding: 8px 16px; font-size: 0.8rem; text-align: center; position: relative; z-index: 100; }
.demo-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }
.demo-badge { background: rgba(255,255,255,0.15); padding: 2px 12px; border-radius: 20px; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.05em; }
.demo-close { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; font-size: 1.1rem; padding: 0 4px; }
.demo-close:hover { color: white; }

/* HEADER */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0f172a; font-weight: 700; font-size: 1.1rem; transition: opacity 0.2s; }
.logo:hover { opacity: 0.8; }
.logo-icon { color: var(--color-primary); }
.header-nav { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 10px; font-weight: 500; font-size: 0.85rem; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s ease; }
.btn-ghost { color: #64748b; background: transparent; }
.btn-ghost:hover { background: #f1f5f9; color: #0f172a; }
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(37,99,235,0.3); }
.btn-outline-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 13px 30px; font-size: 0.95rem; }
.btn-whatsapp-nav { background: #25d366; color: white; }
.btn-whatsapp-nav:hover { background: #1da851; color: white; transform: translateY(-1px); }

/* HERO */
.hero { position: relative; overflow: hidden; min-height: 500px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e1b4b 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.1) 0%, transparent 60%); }
.hero-particles { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 30px 30px; }
.hero-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: flex; align-items: center; justify-content: space-between; gap: 60px; width: 100%; }
.hero-text { flex: 1; max-width: 600px; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.hero-text h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: white; line-height: 1.15; margin: 0 0 16px; }
.gradient-text { background: linear-gradient(135deg, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 1.1rem; color: rgba(255,255,255,0.55); margin: 0 0 32px; max-width: 460px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cred { flex-shrink: 0; }
.cred-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; gap: 14px; min-width: 240px; }
.cred-emoji { font-size: 1.8rem; }
.cred-card div { display: flex; flex-direction: column; }
.cred-card strong { color: white; font-size: 0.9rem; }
.cred-card span { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.cred-link { color: #818cf8; text-decoration: none; font-weight: 500; font-size: 0.85rem; white-space: nowrap; transition: color 0.2s; }
.cred-link:hover { color: #a5b4fc; }

/* CATEGORIES */
.categories { max-width: 1200px; margin: 32px auto 24px; padding: 0 24px; }
.categories-inner { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chip { padding: 8px 20px; border-radius: 100px; border: 1px solid #e2e8f0; background: white; color: #64748b; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }
.cat-chip:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(37,99,235,0.04); }
.cat-chip.active { background: var(--color-primary); color: white; border-color: var(--color-primary); box-shadow: 0 4px 14px rgba(37,99,235,0.25); }

/* GRID */
.grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr !important; gap: 16px !important; } }

/* PRODUCT CARD */
.product-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); will-change: transform; position: relative; }
.product-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border-color: transparent; }
.product-link { text-decoration: none; color: inherit; display: block; }
.product-img { position: relative; aspect-ratio: 4/5; background: #f8fafc; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img-svg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-img-svg svg { width: 100%; height: 100%; }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 40%); opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: flex-end; padding: 20px; }
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay span { color: white; font-weight: 600; font-size: 0.85rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); padding: 6px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.2); }
.badge-featured { position: absolute; top: 12px; left: 12px; z-index: 2; width: 36px; height: 36px; background: linear-gradient(135deg, #f59e0b, #d97706); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 12px rgba(245,158,11,0.4); }
.badge-variants { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); color: white; padding: 4px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; }
.badge-stock-out { position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(239,68,68,0.9); color: white; padding: 4px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; }
.product-info { padding: 18px 18px 20px; }
.product-meta { margin-bottom: 4px; }
.product-category { font-size: 0.72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.product-title { font-size: 0.95rem; font-weight: 600; color: #0f172a; line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price-row { display: flex; align-items: center; gap: 8px; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); }
.product-featured-tag { font-size: 0.75rem; }

/* CATALOG SECTION */
.catalog { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; }
.catalog-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.catalog-header h2 { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px; color: #0f172a; }
.catalog-sub { color: #94a3b8; font-size: 0.9rem; margin: 0; }
.count { color: #94a3b8; font-size: 0.85rem; font-weight: 500; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 100px 20px; }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; margin: 0 0 8px; }
.empty-state p { color: #94a3b8; margin: 0; }

/* CREDENTIALS */
.creds-section { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; }
.creds-details { background: white; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.creds-details summary { padding: 14px 20px; cursor: pointer; font-weight: 500; color: #64748b; font-size: 0.85rem; user-select: none; }
.creds-details summary:hover { background: #f8fafc; }
.creds-body { padding: 0 20px 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.creds-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #f1f5f9; border-radius: 10px; font-size: 0.85rem; }
.creds-label { font-weight: 500; font-size: 0.78rem; color: #64748b; }
.creds-item code { font-family: 'SF Mono', monospace; background: #e2e8f0; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.creds-btn { padding: 4px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; cursor: pointer; border: none; background: #e2e8f0; color: #475569; text-decoration: none; transition: all 0.2s; }
.creds-btn:hover { background: #cbd5e1; }

/* FOOTER */
.footer { background: white; border-top: 1px solid #e2e8f0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand h3 { font-size: 1.1rem; margin: 0 0 8px; }
.footer-brand p { color: #64748b; font-size: 0.85rem; margin: 4px 0; }
.footer-social { display: flex; gap: 8px; }
.social-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #f1f5f9; color: #64748b; transition: all 0.2s ease; }
.social-link:hover { background: var(--color-primary); color: white; transform: translateY(-2px); }
.social-link.wa:hover { background: #25d366; color: white; }
.footer-bar { border-top: 1px solid #e2e8f0; padding: 20px 24px; text-align: center; }
.footer-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: white; padding: 14px 36px; border-radius: 100px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; }
.footer-whatsapp:hover { background: #1da851; color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }

/* FLOATING WHATSAPP */
.floating-wa { position: fixed; bottom: 28px; right: 28px; z-index: 50; width: 60px; height: 60px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s cubic-bezier(0.4,0,0.2,1); animation: pulse 2s infinite; }
.floating-wa:hover { transform: scale(1.12); background: #1da851; animation: none; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* STAGGER DELAYS */
.stagger-1 { transition-delay: 0.05s !important; }
.stagger-2 { transition-delay: 0.1s !important; }
.stagger-3 { transition-delay: 0.15s !important; }
.stagger-4 { transition-delay: 0.2s !important; }
.stagger-5 { transition-delay: 0.25s !important; }
.stagger-6 { transition-delay: 0.3s !important; }
.stagger-7 { transition-delay: 0.35s !important; }
.stagger-8 { transition-delay: 0.4s !important; }

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  .header { background: rgba(15,23,42,0.85); border-color: rgba(255,255,255,0.06); }
  .header .logo { color: #f1f5f9; }
  .btn-ghost { color: #94a3b8; }
  .btn-ghost:hover { background: #1e293b; color: #f1f5f9; }
  .product-card { background: #1e293b; border-color: #334155; }
  .product-title { color: #f1f5f9; }
  .product-category { color: #64748b; }
  .product-img { background: #0f172a; }
  .catalog-header h2 { color: #f1f5f9; }
  .cat-chip { background: #1e293b; border-color: #334155; color: #94a3b8; }
  .cat-chip:hover { border-color: var(--color-primary); }
  .cat-chip.active { background: var(--color-primary); color: white; }
  .creds-details { background: #1e293b; border-color: #334155; }
  .creds-details summary { color: #94a3b8; }
  .creds-details summary:hover { background: #0f172a; }
  .creds-item { background: #0f172a; }
  .creds-item code { background: #334155; }
  .creds-btn { background: #334155; color: #cbd5e1; }
  .creds-btn:hover { background: #475569; }
  .footer { background: #1e293b; border-color: #334155; }
  .footer-brand h3 { color: #f1f5f9; }
  .footer-brand p { color: #64748b; }
  .social-link { background: #0f172a; color: #64748b; }
  .footer-bar { border-color: #334155; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content { flex-direction: column; padding: 60px 24px; text-align: center; gap: 32px; }
  .hero-text p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-cred { width: 100%; }
  .cred-card { min-width: auto; justify-content: center; }
  .catalog-header { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 480px) {
  .header-nav .btn-ghost span { display: none; }
  .header-nav .btn-whatsapp-nav span { display: none; }
  .hero-text h1 { font-size: 1.6rem; }
}