/* ==========================================================================
   SocialMax.store | Premium SMM Services | TRUE BLACK EDITION 🖤
   Designed and Developed by Sabir Ansari
   ========================================================================== */

/* --- 1. Variables & Root --- */
:root {
    /* True Black Palette for Maximum Contrast & Premium Feel */
    --bg-dark: #000000;
    --bg-gradient: radial-gradient(circle at top center, #0a0a0f 0%, #000000 60%, #000000 100%);
    
    /* Dynamic Platform Colors (Defaulted to Info) */
    --card-glow: #00e5ff; 
    
    /* Core Accents */
    --primary: #8a2be2;
    --secondary: #00e5ff; 
    --accent: #ff0057; 
    
    /* Semantic Colors */
    --success: #00ff88;
    --warning: #ffb300; 
    --info: #00e5ff;
    
    /* Text */
    --text-main: #ffffff;
    --text-muted: #a1a1aa; 
    
    /* 3D & Glass Properties */
    --glass-bg: rgba(255, 255, 255, 0.03); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    
    /* Gradients */
    --neon-gradient: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
    
    /* Fonts */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Animation Timing */
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.27, 1.55);
    --transition-smooth: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: 0.2s ease;
}

/* --- 2. Base & Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg-dark); }
body.dark-theme {
    background-color: var(--bg-dark);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

/* --- 3. Subtle Background Animations --- */
.background-anim { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; perspective: 1500px; }
.blob { position: absolute; filter: blur(120px); border-radius: 50%; opacity: 0.2; animation: float3D 30s infinite linear alternate; mix-blend-mode: screen; }
.blob-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; }
.blob-2 { width: 600px; height: 600px; background: var(--secondary); bottom: -200px; right: -100px; animation-delay: -5s; }
.blob-3 { width: 400px; height: 400px; background: var(--accent); top: 40%; left: 40%; opacity: 0.1; animation-delay: -10s; }
.noise-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.06"/%3E%3C/svg%3E');
    pointer-events: none; z-index: 1;
}
@keyframes float3D { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, 80px) scale(1.1); } 100% { transform: translate(-30px, 50px) scale(0.9); } }
#particleCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.4; }

/* --- 4. Preloader --- */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.6s ease, visibility 0.6s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.neon-spinner { width: 80px; height: 80px; border: 3px solid rgba(255,255,255,0.05); border-top-color: var(--secondary); border-radius: 50%; animation: spinSpinner 1s linear infinite; box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); margin: 0 auto 1.5rem; }
@keyframes spinSpinner { 100% { transform: rotate(360deg); } }
#scrollProgress { position: fixed; top: 0; left: 0; height: 4px; background: var(--neon-gradient); background-size: 200% auto; z-index: 99999; width: 0%; box-shadow: 0 0 15px var(--secondary); transition: width 0.1s; }

/* --- 5. Typography & Trust Indicators --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: #fff; line-height: 1.2; }
.gradient-text { background: linear-gradient(to right, #fff, var(--secondary), var(--primary), #fff); background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 300% center; } }
.neon-text { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px var(--card-glow); }

.trust-indicators { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.trust-badge { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 0.6rem 1.2rem; border-radius: 100px; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; backdrop-filter: blur(10px); }

.text-primary { color: var(--primary); } .text-success { color: var(--success); } .text-warning { color: var(--warning); } .text-info { color: var(--info); } .text-accent { color: var(--accent); } .text-muted { color: var(--text-muted); }
.text-center { text-align: center; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .w-full { width: 100%; } .d-inline-block { display: inline-block; } .hidden { display: none !important; }

/* --- 6. 3D Components & Cards --- */
.glass-panel { background: rgba(15, 15, 20, 0.6); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--glass-shadow); }
.glass-card { background: #08080a; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; transition: var(--transition-smooth); position: relative; overflow: hidden; }
.glass-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.05); transform: translateY(-8px); border-color: var(--card-glow); }
.card-content-wrapper { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.platform-bg-icon { position: absolute; bottom: -30px; right: -30px; font-size: 12rem; color: var(--card-glow); opacity: 0.05; z-index: 0; transform: rotate(-10deg); transition: var(--transition-smooth); pointer-events: none; }
.glass-card:hover .platform-bg-icon { opacity: 0.15; transform: rotate(0deg) scale(1.1); }
.glass-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; background: rgba(255, 255, 255, 0.08); border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Spotlight Hover Effect */
.service-card { position: relative; z-index: 1; }
.service-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.08), transparent 40%); z-index: -1; }
.service-card:hover::after { opacity: 1; }

/* --- 7. Direct Action Buttons --- */
.btn { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 100px; transition: var(--transition-fast); border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1rem 2.2rem; font-size: 1rem; position: relative; overflow: hidden; }
.btn-lg { padding: 1.2rem 3rem; font-size: 1.15rem; } .btn-block { width: 100%; }
.neon-btn { background: var(--neon-gradient); background-size: 200% auto; color: #fff; box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4); animation: shine 5s linear infinite; }
.neon-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0, 229, 255, 0.5); }
.glass-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; }
.glass-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); border-color: rgba(255,255,255,0.3); }
.order-btn { background: var(--card-glow) !important; color: #000 !important; font-weight: 800; border: none !important; box-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: all 0.3s; }
.order-btn:hover { filter: brightness(1.2); box-shadow: 0 10px 25px var(--card-glow); transform: translateY(-4px); }
.order-btn i { color: #000 !important; }

/* --- 8. Navbar & Mobile Menu --- */
.glass-navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000; transition: var(--transition-smooth); }
.glass-navbar.scrolled { padding: 1rem 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); display: flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; gap: 3rem; font-weight: 600; }
.nav-link { color: var(--text-muted); position: relative; padding: 0.5rem 0; }
.nav-link:hover, .nav-link.active { color: #fff; }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: #050505; border-left: 1px solid rgba(255,255,255,0.1); z-index: 1001; padding: 2.5rem; transition: var(--transition-smooth); display: flex; flex-direction: column; }
.mobile-menu.open { right: 0; box-shadow: -20px 0 50px rgba(0,0,0,0.9); }
.close-menu { align-self: flex-end; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; width: 40px; height: 40px; color: white; font-size: 1.2rem; cursor: pointer; margin-bottom: 2rem; }
.mobile-links { display: flex; flex-direction: column; gap: 2rem; }
.mobile-link { font-size: 1.3rem; font-family: var(--font-heading); font-weight: 700; }

/* --- 9. Hero Section --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; }
.hero-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.pulse-dot { width: 10px; height: 10px; background: var(--success); border-radius: 50%; box-shadow: 0 0 15px var(--success); animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { to { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); } }
.hero-title { font-size: 4.5rem; margin-bottom: 1rem; letter-spacing: -2px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-visual { position: relative; height: 500px; }
.hero-stats-card { position: absolute; padding: 1.5rem; display: flex; align-items: center; gap: 1.2rem; width: 300px; background: #0a0a0f; border-color: rgba(255,255,255,0.1); }
.hero-stats-card:nth-child(1) { top: 15%; right: 0; z-index: 2; }
.hero-stats-card:nth-child(2) { bottom: 20%; left: 0%; z-index: 1; }
.card-icon { width: 55px; height: 55px; border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; }
.float-anim { animation: floatY 6s ease-in-out infinite; }
.float-anim-reverse { animation: floatYrev 7s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes floatYrev { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(20px); } }

/* Live Viewers & Ticker */
.live-viewers { display: inline-flex; align-items: center; gap: 10px; background: rgba(0, 255, 136, 0.08); border: 1px solid rgba(0, 255, 136, 0.2); padding: 0.6rem 1.2rem; border-radius: 100px; font-size: 0.85rem; color: var(--success); font-weight: 600; box-shadow: 0 5px 15px rgba(0, 255, 136, 0.05); }
.blinking-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 10px var(--success); animation: fastPulse 1.2s infinite; }
@keyframes fastPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.8); } }

.payment-ticker-wrapper { width: 100%; overflow: hidden; background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1.5rem 0; position: relative; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.payment-ticker { display: flex; width: max-content; animation: tickerScroll 20s linear infinite; }
.ticker-content { display: flex; gap: 4rem; padding-right: 4rem; }
.ticker-content span { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; font-family: var(--font-heading); letter-spacing: 1px; color: var(--text-muted); font-size: 1.1rem;}
.ticker-content span i { font-size: 1.8rem; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- 10. Stats Section --- */
.stats { padding: 4rem 0 4rem 0; position: relative; z-index: 10; }
.stats-grid { display: flex; justify-content: space-around; align-items: center; padding: 2.5rem; flex-wrap: wrap; gap: 2rem; }
.stat-item { text-align: center; }
.stat-item h2 { font-size: 3rem; margin-bottom: 0.2rem; }
.stat-item p { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* --- 11. Services Section --- */
.services { padding: 5rem 0; }
.section-header { margin-bottom: 4rem; }
.section-title { font-size: 3.5rem; margin-bottom: 0.5rem; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; }
.controls-glass { padding: 1.2rem; margin-bottom: 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.search-box { position: relative; flex: 1; min-width: 300px; }
.search-box i { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box input { width: 100%; padding: 1rem 1rem 1rem 3.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; color: white; font-family: var(--font-main); font-size: 1rem; outline: none; transition: var(--transition-fast); }
.search-box input:focus { border-color: var(--secondary); background: rgba(0,0,0,0.8); }
.filter-wrapper { overflow-x: auto; max-width: 65%; scrollbar-width: none; }
.filter-wrapper::-webkit-scrollbar { display: none; } 
.filter-scroll { display: flex; gap: 0.8rem; white-space: nowrap; padding: 0.5rem; }
.filter-btn { padding: 0.8rem 1.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; color: #fff; cursor: pointer; font-family: var(--font-main); font-weight: 600; transition: var(--transition-fast); display: flex; align-items: center; gap: 0.5rem; }
.filter-btn:hover, .filter-btn.active { background: #fff; color: #000; border-color: transparent; }
.filter-btn.active i, .filter-btn:hover i { color: #000 !important; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card { padding: 2rem; }
.card-tag { align-self: flex-start; padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 800; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; line-height: 1.4; font-weight: 700; }
.service-price { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; font-family: var(--font-heading); color: #fff; }
.service-meta { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.service-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; flex-grow: 1; line-height: 1.6; }
.empty-state { text-align: center; padding: 5rem 2rem; }

.skeleton-card { border-color: transparent; background: rgba(255,255,255,0.02); }
.skeleton-card div { background: rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 1rem; position: relative; overflow: hidden; }
.skeleton-card div::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transform: translateX(-100%); animation: shimmer 1.5s infinite; }
.skeleton-header { width: 40%; height: 25px; border-radius: 100px !important; }
.skeleton-title { width: 90%; height: 30px; }
.skeleton-text { width: 100%; height: 16px; }
.skeleton-text.short { width: 70%; }
.skeleton-button { width: 100%; height: 50px; border-radius: 100px !important; margin-bottom: 0 !important; margin-top: auto; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* --- 12. Additional Sections (Testimonials, FAQ) --- */
.testimonials { padding: 6rem 0; overflow: hidden; }
.testimonial-slider { display: flex; gap: 2rem; overflow-x: auto; padding: 2rem 0.5rem; scrollbar-width: none; perspective: 1000px; }
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-card { min-width: 350px; padding: 2rem; border-radius: 20px; background: #0a0a0f; border: 1px solid rgba(255,255,255,0.05); transform-style: preserve-3d; transition: transform 0.5s var(--ease-elastic); }
.testimonial-card:hover { transform: scale(1.05) translateZ(20px); border-color: var(--secondary); }
.user-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.user-info img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--secondary); }
.user-info h5 { font-size: 1.1rem; margin: 0; }
.user-info p { font-size: 0.8rem; color: var(--text-muted); }
.review-text { font-style: italic; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }

.faq { padding: 4rem 0 8rem 0; }
.faq-accordion { max-width: 800px; margin: 0 auto; padding: 2rem; background: rgba(20,20,25,0.4); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: white; font-size: 1.2rem; font-family: var(--font-heading); font-weight: 600; padding: 1.5rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition-fast); }
.faq-question:hover { color: var(--secondary); }
.faq-question i { transition: transform 0.3s; background: rgba(255,255,255,0.05); width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: #000; background: var(--secondary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* --- 13. Reseller & Legal Pages Styling --- */
.page-header { padding: 120px 0 4rem 0; text-align: center; background: linear-gradient(to bottom, rgba(138, 43, 226, 0.1), transparent); border-bottom: 1px solid rgba(255,255,255,0.05); }
.page-title { font-size: 4rem; margin-bottom: 1rem; }
.page-content { padding: 5rem 0; max-width: 900px; margin: 0 auto; }
.legal-content h3 { margin: 2.5rem 0 1rem 0; font-size: 1.5rem; color: var(--secondary); }
.legal-content p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; font-size: 1.05rem; }
.legal-content ul { color: var(--text-muted); margin-bottom: 1.5rem; padding-left: 1.5rem; list-style: disc;}
.legal-content ul li { margin-bottom: 0.5rem; }
.reseller-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin: 3rem 0; }
.reseller-card { padding: 2rem; text-align: center; }
.reseller-card i { font-size: 3rem; margin-bottom: 1.5rem; color: var(--primary); }

/* --- 14. Footer --- */
.glass-footer { border-top: 1px solid rgba(255,255,255,0.05); background: #050505; padding: 5rem 0 2rem 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-desc { color: var(--text-muted); max-width: 320px; font-size: 1rem; line-height: 1.6; }
.glass-footer h4 { margin-bottom: 1.5rem; font-size: 1.3rem; color: white; }
.glass-footer ul li { margin-bottom: 0.8rem; color: var(--text-muted); font-size: 1rem; }
.glass-footer ul li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.9rem; }
.social-icons { display: flex; gap: 1rem; }
.glass-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; color: white; font-size: 1.2rem; transition: var(--transition-fast); }
.glass-icon:hover { background: #fff; color: #000; border-color: transparent; transform: translateY(-5px); }

/* --- 15. Simple & Clean Modal --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 1rem; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container { width: 100%; max-width: 500px; background: #0a0a0f; border: 1px solid var(--card-glow); box-shadow: 0 10px 40px rgba(0,0,0,0.9); border-radius: 24px; padding: 2.5rem; position: relative; transform: translateY(30px) scale(0.95); transition: 0.4s; }
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,0.1); border: none; color: white; font-size: 1.2rem; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.modal-close:hover { background: var(--accent); transform: rotate(90deg); }
.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-title { font-size: 2rem; margin-top: 1rem; font-weight: 800; line-height: 1.2; }
.price-box { padding: 1.5rem; margin-bottom: 1.5rem; border-color: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.02); border-radius: 16px; }
.price-box h2 { font-size: 3rem; }
.desc-box { padding: 1.5rem; text-align: left; margin-bottom: 2rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; }
.desc-box h4 { margin-bottom: 0.8rem; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.desc-box p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* --- 16. Chatbot, FOMO, Coupon & Custom Cursor --- */
@media (min-width: 1024px) { 
    body, a, button, input { cursor: none !important; } 
    .cursor-dot { width: 8px; height: 8px; background: var(--info); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); z-index: 99999; pointer-events: none; transition: width 0.2s, height 0.2s; box-shadow: 0 0 10px var(--info); }
    .cursor-outline { width: 40px; height: 40px; border: 2px solid rgba(0, 229, 255, 0.5); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); z-index: 99998; pointer-events: none; transition: width 0.2s, height 0.2s, background 0.2s; }
}

.chatbot-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 9999; perspective: 1000px; }
.chat-toggle-btn { width: 65px; height: 65px; border-radius: 50%; background: var(--neon-gradient); background-size: 200% auto; border: none; color: white; font-size: 1.8rem; cursor: pointer; box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4); animation: floatSlow 4s ease-in-out infinite, shine 5s linear infinite; transition: transform 0.5s; display: flex; justify-content: center; align-items: center; }
.chat-toggle-btn:hover { transform: scale(1.1) rotate(5deg); }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chat-window { position: absolute; bottom: 85px; right: 0; width: 350px; height: 480px; max-height: 70vh; background: rgba(10, 10, 15, 0.95); border: 1px solid var(--card-glow); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 30px rgba(0, 229, 255, 0.1); opacity: 0; visibility: hidden; transform: translateY(40px) scale(0.9); transform-origin: bottom right; transition: all 0.7s cubic-bezier(0.25, 1, 0.2, 1); }
.chat-window.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header { padding: 1.2rem; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); display: flex; justify-content: space-between; align-items: center; }
.chat-header h4 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.chat-header p { font-size: 0.8rem; color: var(--success); margin-top: 3px;}
.chat-header button { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.chat-header button:hover { color: var(--accent); transform: translateY(3px); }
.chat-body { flex-grow: 1; padding: 1.5rem 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; scrollbar-width: none; }
.chat-msg { max-width: 85%; padding: 0.8rem 1rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; animation: fadeInMsg 0.5s cubic-bezier(0.25, 1, 0.2, 1) forwards; opacity: 0; transform: translateY(15px); }
@keyframes fadeInMsg { to { opacity: 1; transform: translateY(0); } }
.ai-msg { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--text-main); }
.user-msg { background: var(--neon-gradient); background-size: 200% auto; color: white; border-bottom-right-radius: 4px; align-self: flex-end; box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3); }
.chat-options { padding: 1rem; background: rgba(0, 0, 0, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chat-option-btn { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); color: var(--info); padding: 0.6rem 1rem; border-radius: 100px; font-size: 0.85rem; cursor: pointer; transition: 0.3s; font-family: var(--font-main); }
.chat-option-btn:hover { background: var(--info); color: #000; transform: translateY(-2px); }
.typing-dots { display: flex; gap: 4px; align-items: center; padding: 0.2rem; }
.typing-dots span { display: block; width: 6px; height: 6px; background: var(--info); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.typing-dots span:nth-child(1) { animation-delay: -0.32s; } .typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.fomo-popup { position: fixed; bottom: 30px; left: -400px; width: 320px; background: rgba(10, 10, 15, 0.95); border-left: 4px solid var(--success); padding: 1rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem; z-index: 9998; box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(0, 255, 136, 0.2); transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.27, 1.55), opacity 0.6s; opacity: 0; }
.fomo-popup.show { transform: translateX(430px); opacity: 1; }
.fomo-icon { width: 45px; height: 45px; background: rgba(0, 255, 136, 0.1); color: var(--success); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; }
.fomo-content { flex-grow: 1; } .fomo-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; color: #fff;} .fomo-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; } .fomo-time { font-size: 0.75rem; color: var(--success); }

.coupon-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); z-index: 100000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.5s ease; }
.coupon-overlay.show { opacity: 1; visibility: visible; }
.coupon-box { position: relative; width: 90%; max-width: 400px; padding: 2.5rem; text-align: center; background: #08080a; border: 1px solid var(--accent); box-shadow: 0 20px 50px rgba(255, 0, 87, 0.3), inset 0 0 30px rgba(255, 0, 87, 0.1); transform: scale(0.8) translateY(50px); transition: 0.6s var(--ease-elastic); border-radius: 20px;}
.coupon-overlay.show .coupon-box { transform: scale(1) translateY(0); }
.coupon-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 35px; height: 35px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; }
.coupon-close:hover { background: var(--accent); transform: rotate(90deg); }
.coupon-header i { font-size: 3.5rem; margin-bottom: 1rem; display: inline-block; }
.bounce-anim { animation: bounceGift 2s infinite; }
@keyframes bounceGift { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-10px); } }

/* --- 17. Animations Classes --- */
.fade-up { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.tracking-in { animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both; }
@keyframes tracking-in-expand { 0% { letter-spacing: -0.8em; opacity: 0; } 40% { opacity: 0.6; } 100% { opacity: 1; } }

/* --- 18. Mobile Overflow & Responsive Fixes --- */
html, body { max-width: 100vw; overflow-x: hidden !important; position: relative; }

@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-subtitle { margin: 0 auto 2rem auto; }
    .trust-indicators { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .stats-grid { flex-direction: column; gap: 2rem; }
    .stat-divider { width: 100%; height: 1px; }
    .controls-glass { flex-direction: column; align-items: stretch; }
    .filter-wrapper { max-width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .hero-title { font-size: 3rem !important; word-wrap: break-word; }
    .page-title { font-size: 3rem; }
    
    body, a, button, input { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none !important; }
    .fomo-popup { bottom: auto; top: 20px; left: 50%; transform: translateX(-50%) translateY(-150px); width: 90%; }
    .fomo-popup.show { transform: translateX(-50%) translateY(0); }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    .hero { padding-top: 120px; }
    .hero-title { font-size: 2.2rem !important; letter-spacing: -1px !important; line-height: 1.2; }
    .hero-buttons { width: 100%; flex-direction: column; }
    .hero-buttons .btn { width: 100%; margin-bottom: 0.5rem; }
    .trust-indicators { flex-direction: column; gap: 0.5rem; align-items: stretch; }
    .trust-badge { justify-content: center; font-size: 0.85rem; padding: 0.8rem; }
    .section-title { font-size: 2.5rem; }
    .modal-container { padding: 1.5rem; }
    .modal-title { font-size: 1.6rem; }
    .price-box h2 { font-size: 2.5rem; }
    .chatbot-wrapper { bottom: 20px; right: 20px; }
    .chat-window { width: calc(100vw - 40px); height: 450px; bottom: 80px; }
    .testimonial-card { min-width: 280px; }
}