/* =============================================
   FACEID – MOBILE CSS
   Dark Futuristic – Onion AI Style
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Serif+Display&display=swap');

:root {
    --bg: #050507; --bg-card: rgba(255,255,255,0.03); --bg-card-hover: rgba(255,255,255,0.055);
    --border: rgba(255,255,255,0.06); --border-hover: rgba(255,255,255,0.12);
    --text: #fff; --text-secondary: rgba(255,255,255,0.6); --text-muted: rgba(255,255,255,0.35);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --ease: cubic-bezier(0.4,0,0.2,1);
    --radius: 16px; --radius-lg: 20px; --radius-pill: 100px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-tap-highlight-color:transparent}
body{font-family:var(--font-sans);background:var(--bg);color:var(--text);overflow-x:hidden;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.particles-canvas{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0}

/* MARQUEE */
.marquee-banner{position:fixed;top:0;left:0;right:0;z-index:1000;height:30px;background:rgba(255,255,255,0.04);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);display:flex;align-items:center;overflow:hidden}
.marquee-track{display:flex;white-space:nowrap;animation:marquee 18s linear infinite}
.marquee-track span{font-size:0.58rem;font-weight:500;color:var(--text-secondary);letter-spacing:2px;text-transform:uppercase;padding:0 14px}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* HERO */
.hero-header{position:relative;min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:30px 0 0;overflow:hidden}
.hero-glow{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none}
.hero-glow-1{width:300px;height:300px;background:rgba(255,255,255,0.03);top:5%;left:10%}
.hero-glow-2{width:200px;height:200px;background:rgba(255,255,255,0.02);bottom:10%;right:5%}

.hero-waves{position:absolute;bottom:0;left:0;right:0;height:250px;pointer-events:none;z-index:1}
.wave{position:absolute;bottom:0;width:100%;height:100%}
.wave-1{opacity:0.5}.wave-2{opacity:0.3}

.hero-beam{position:absolute;top:45%;left:50%;transform:translate(-50%,-35%);width:1.5px;height:200px;background:linear-gradient(180deg,rgba(255,255,255,0.1),transparent);pointer-events:none;z-index:1}

.hero-content{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column;align-items:center;gap:22px;padding:30px 20px 60px}

.badge-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 16px;background:rgba(255,255,255,0.06);border:1px solid var(--border);border-radius:var(--radius-pill);font-size:0.55rem;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-secondary)}
.badge-pill svg{width:12px;height:12px;opacity:0.4}

.hero-title{font-family:var(--font-serif);font-size:2.2rem;font-weight:400;line-height:1.18;letter-spacing:-0.3px}
.hero-title-light{color:var(--text-secondary)}
.hero-subtitle{font-size:0.82rem;color:var(--text-muted);max-width:320px;line-height:1.65}

.phone-3d-container{perspective:800px;width:140px;height:280px;margin:8px 0}
.phone-float{width:100%;height:100%;position:relative;animation:phoneFloat 7s ease-in-out infinite;transform-style:preserve-3d}
@keyframes phoneFloat{0%{transform:translateY(0) rotateY(0deg)}25%{transform:translateY(-8px) rotateY(90deg)}50%{transform:translateY(-12px) rotateY(180deg)}75%{transform:translateY(-8px) rotateY(270deg)}100%{transform:translateY(0) rotateY(360deg)}}
.phone-glow{position:absolute;inset:-20px;border-radius:40px;background:radial-gradient(ellipse,rgba(255,255,255,0.06),transparent);filter:blur(30px);z-index:0}
.phone-body{position:relative;width:125px;height:260px;margin:0 auto;background:linear-gradient(160deg,#1a1a1e,#0e0e10,#1a1a1e);border-radius:26px;border:1.5px solid rgba(255,255,255,0.1);box-shadow:0 14px 40px rgba(0,0,0,0.5);overflow:hidden;z-index:1}
.phone-screen{position:absolute;top:5px;left:5px;right:5px;bottom:5px;background:linear-gradient(180deg,#111,#0a0a0c);border-radius:22px;overflow:hidden}
.phone-notch{width:65px;height:20px;background:#050507;border-radius:0 0 11px 11px;margin:0 auto}
.phone-screen-content{display:flex;flex-direction:column;align-items:center;justify-content:center;height:calc(100% - 20px);gap:4px}
.screen-time{font-size:1.8rem;font-weight:200;color:#fff}
.screen-date{font-size:0.45rem;font-weight:500;color:rgba(255,255,255,0.4);letter-spacing:1.5px;text-transform:uppercase}

.hero-cta-row{display:flex;flex-direction:column;align-items:center;gap:14px}
.btn-primary-hero{display:inline-flex;align-items:center;padding:12px 28px;background:#fff;color:#000;font-size:0.78rem;font-weight:600;border-radius:var(--radius-pill);letter-spacing:0.3px}
.hero-socials{display:flex;gap:10px}
.social-btn{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);background:rgba(255,255,255,0.04);color:var(--text-secondary)}
.social-btn svg{width:16px;height:16px}

/* CATALOG */
.catalog-section{position:relative;z-index:1;padding:60px 16px 40px;text-align:center}
.section-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;margin-bottom:16px;background:rgba(255,255,255,0.05);border:1px solid var(--border);border-radius:var(--radius-pill);font-size:0.55rem;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-secondary)}
.section-badge svg{width:12px;height:12px;opacity:0.4}
.section-title{font-family:var(--font-serif);font-size:1.8rem;margin-bottom:10px}
.section-desc{font-size:0.8rem;color:var(--text-muted);max-width:340px;margin:0 auto 36px;line-height:1.6}

/* PRODUCT CARDS */
.products-container{display:flex;flex-direction:column;gap:14px;text-align:left}

.product-card{display:flex;align-items:center;gap:0;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);position:relative;overflow:visible;min-height:110px}

.product-card-image{width:100px;height:110px;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-left:-6px;z-index:2}
.product-card-image img{max-width:90px;max-height:100px;object-fit:contain;filter:drop-shadow(0 6px 18px rgba(0,0,0,0.4));animation:cardFloat 5s ease-in-out infinite}
@keyframes cardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}

.product-card-info{flex:1;padding:14px 10px 14px 8px;min-width:0}
.product-card-title{font-family:var(--font-serif);font-size:0.92rem;margin-bottom:3px}
.product-card-desc{font-size:0.68rem;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}

.product-card-storage{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}
.storage-tag{font-size:0.52rem;font-weight:600;padding:2px 8px;border-radius:var(--radius-pill);background:rgba(255,255,255,0.06);border:1px solid var(--border);color:var(--text-secondary)}

.product-card-colors{display:flex;gap:5px}
.color-dot-mini{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,0.08);cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,0.3)}
.color-dot-mini.active{border-color:rgba(255,255,255,0.4)}

.product-card-actions{flex-shrink:0;padding:14px 12px 14px 0}
.btn-view-product{font-size:0.6rem;font-weight:600;padding:8px 14px;border:1px solid rgba(255,255,255,0.12);background:transparent;color:var(--text);border-radius:var(--radius-pill);cursor:pointer;white-space:nowrap;transition:all 0.3s}
.btn-view-product:active{background:#fff;color:#000}

.loading-state,.empty-state{text-align:center;padding:40px 16px;color:var(--text-muted);font-size:0.78rem}
.loader-ring{width:30px;height:30px;margin:0 auto 12px;border:2px solid rgba(255,255,255,0.06);border-top-color:rgba(255,255,255,0.35);border-radius:50%;animation:spin 0.8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* FEATURES */
.features-section{position:relative;z-index:1;display:flex;flex-direction:column;gap:12px;padding:40px 16px 0}
.feature-card{padding:22px 20px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg)}
.feature-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.05);border:1px solid var(--border);border-radius:10px;color:var(--text-secondary);margin-bottom:12px}
.feature-icon svg{width:20px;height:20px}
.feature-card h3{font-family:var(--font-serif);font-size:0.92rem;margin-bottom:4px}
.feature-card p{font-size:0.72rem;color:var(--text-muted);line-height:1.55}

/* MODAL */
.modal-overlay{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,0.85);backdrop-filter:blur(12px);display:flex;align-items:flex-end;justify-content:center;opacity:0;visibility:hidden;transition:all 0.4s var(--ease)}
.modal-overlay.active{opacity:1;visibility:visible}
.modal-container{position:relative;width:100%;max-height:92vh;background:#0c0c0f;border:1px solid var(--border);border-radius:var(--radius-lg) var(--radius-lg) 0 0;overflow-y:auto;transform:translateY(100%);transition:transform 0.4s var(--ease)}
.modal-overlay.active .modal-container{transform:translateY(0)}

.modal-close{position:sticky;top:10px;z-index:10;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:rgba(255,255,255,0.05);color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;margin-left:auto;margin-right:12px;margin-top:12px}
.modal-close svg{width:14px;height:14px}

.modal-content{display:flex;flex-direction:column;gap:18px;padding:10px 18px 30px}
.modal-gallery{display:flex;flex-direction:column;gap:12px}
.gallery-main{width:100%;height:240px;background:rgba(255,255,255,0.03);border-radius:var(--radius);border:1px solid var(--border);display:flex;align-items:center;justify-content:center}
.gallery-main-img{max-width:70%;max-height:70%;object-fit:contain;animation:modalFloat 5s ease-in-out infinite;filter:drop-shadow(0 6px 20px rgba(0,0,0,0.4))}
@keyframes modalFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}

.gallery-colors{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.color-dot{width:28px;height:28px;border-radius:50%;cursor:pointer;border:3px solid rgba(255,255,255,0.06);transition:all 0.3s;position:relative;box-shadow:0 2px 6px rgba(0,0,0,0.3)}
.color-dot.active{border-color:#fff;box-shadow:0 0 10px rgba(255,255,255,0.15)}
.color-dot-label{position:absolute;bottom:-16px;left:50%;transform:translateX(-50%);font-size:0.48rem;font-weight:500;color:var(--text-muted);white-space:nowrap}

.modal-info{display:flex;flex-direction:column;gap:10px}
.modal-title{font-family:var(--font-serif);font-size:1.2rem}
.modal-description{font-size:0.78rem;color:var(--text-secondary);line-height:1.6}
.modal-storage{display:flex;gap:6px;flex-wrap:wrap}
.modal-storage-tag{font-size:0.65rem;font-weight:600;padding:6px 14px;border-radius:var(--radius-pill);background:rgba(255,255,255,0.06);border:1px solid var(--border);color:var(--text-secondary)}
.modal-notes{font-size:0.72rem;color:var(--text-muted);padding:10px 14px;background:rgba(255,255,255,0.03);border-left:2px solid rgba(255,255,255,0.1);border-radius:0 10px 10px 0;font-style:italic}
.btn-consult{display:flex;align-items:center;justify-content:center;gap:8px;font-size:0.75rem;font-weight:700;padding:14px 24px;border:none;border-radius:var(--radius-pill);background:#fff;color:#000;text-decoration:none;box-shadow:0 4px 14px rgba(255,255,255,0.06)}
.btn-consult svg{width:16px;height:16px}

/* FOOTER */
.site-footer{position:relative;z-index:1;margin-top:60px;padding:36px 16px 16px;border-top:1px solid var(--border)}
.footer-content{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding-bottom:22px;border-bottom:1px solid var(--border)}
.footer-brand{grid-column:1/-1}
.footer-brand .footer-logo{font-family:var(--font-serif);font-size:1.1rem;margin-bottom:4px}
.footer-brand .footer-tagline{font-size:0.62rem;color:var(--text-muted)}
.footer-nav,.footer-links,.footer-location{display:flex;flex-direction:column;gap:6px}
.footer-nav h4,.footer-links h4,.footer-location h4{font-size:0.58rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-secondary);margin-bottom:2px}
.footer-nav a{font-size:0.72rem;color:var(--text-muted)}
.footer-socials{display:flex;flex-direction:column;gap:6px}
.footer-social-link{display:flex;align-items:center;gap:6px;font-size:0.72rem;color:var(--text-muted)}
.footer-social-link svg{width:14px;height:14px}
.footer-location p{font-size:0.72rem;color:var(--text-muted)}
.footer-bottom{padding-top:14px;text-align:center}
.footer-bottom p{font-size:0.55rem;color:var(--text-muted)}

.modal-container::-webkit-scrollbar{width:3px}
.modal-container::-webkit-scrollbar-track{background:transparent}
.modal-container::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.12);border-radius:2px}

.product-card{opacity:0;transform:translateY(16px);transition:opacity 0.5s var(--ease),transform 0.5s var(--ease),background 0.3s,border-color 0.3s}
.product-card.visible{opacity:1;transform:translateY(0)}