/* SON/assets/css/style.css */
:root {
    --primary: #FF6B6B;
    --primary-accent: #FF8E53;
    --secondary: #6366f1;
    --secondary-accent: #8b5cf6;
    --dark: #020617;
    --surface: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark);
    color: #e2e8f0;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;
    position: relative;
}

h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; }

/* --- ANIMATIONS --- */
@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes mesh-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes typing {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fade-slide {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- BACKGROUND MESH --- */
.mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    min-height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--dark);
}

.mesh-blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: mesh-spin 20s infinite linear;
}

.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--secondary); animation-duration: 25s; }
.blob-2 { bottom: -10%; right: -10%; width: 500px; height: 500px; background: var(--primary); animation-duration: 30s; animation-direction: reverse; }
.blob-3 { top: 40%; left: 40%; width: 300px; height: 300px; background: #c084fc; opacity: 0.2; }

/* --- COMPONENT CLASSES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 100px; font-weight: 700;
    text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden; border: 1px solid transparent; cursor: pointer;
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-accent));
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}
.btn-glow:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 107, 107, 0.7); }

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

.heading-xl { font-size: 5rem; line-height: 0.95; font-weight: 700; letter-spacing: -2px; margin-bottom: 30px; }

.text-gradient {
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block; padding: 8px 16px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 20px;
}

/* --- NAV --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), transparent);
}

.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    padding: 12px 24px; border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo { font-size: 1.5rem; font-weight: 700; color: white; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: white; }

.mobile-menu-btn {
    display: none; background: none; border: none; color: white;
    font-size: 1.5rem; cursor: pointer; z-index: 1001;
}

.mobile-menu {
    display: none; position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
    background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(20px);
    z-index: 1000; padding: 80px 30px; transition: right 0.3s ease;
}
.mobile-menu.active { right: 0; }
.mobile-menu a {
    display: block; color: #94a3b8; text-decoration: none;
    font-size: 1.2rem; padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu a:hover { color: var(--primary); }

/* --- HERO SLIDER --- */
.hero {
    padding-top: 100px; padding-bottom: 100px;
    text-align: center; position: relative;
}

.slider-container {
    position: relative; max-width: 1000px; height: 600px; margin: 60px auto 0;
    perspective: 1000px;
}

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: all 0.8s ease-in-out;
    transform: scale(0.9) translateY(20px); pointer-events: none;
    display: flex; justify-content: center; align-items: center;
}
.slide.active { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; z-index: 10; }

.slide-content { position: relative; width: 100%; height: 100%; }

.slide-img-frame {
    width: 80%; height: 90%; margin: 0 auto;
    background: #1e293b; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1); position: relative;
}
.slide-img-frame img { width: 100%; height: 100%; object-fit: cover; }

.slide-info {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px);
    padding: 15px 30px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.1);
    color: white; font-weight: 600; display: flex; gap: 10px; align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); white-space: nowrap;
}

.slider-controls { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dot {
    width: 12px; height: 12px; background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; cursor: pointer; transition: all 0.3s;
}
.dot.active { background: var(--primary); transform: scale(1.3); }

.slide-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s;
}
.slide-nav-btn:hover { background: rgba(255, 255, 255, 0.2); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- STATS & MARQUEE --- */
.stats-grid { display: flex; justify-content: space-around; padding: 60px 0; border-top: 1px solid var(--border); }
.stat-item h3 { font-size: 4rem; font-weight: 700; color: white; margin-bottom: 5px; }
.stat-item p { color: #94a3b8; font-size: 1.1rem; }

.brand-marquee {
    padding: 40px 0; background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden; margin-bottom: 40px;
}
.brand-track { display: flex; gap: 80px; width: max-content; animation: marquee 30s linear infinite; }
.brand-item {
    font-size: 1.5rem; font-weight: 700; color: #64748b;
    display: flex; align-items: center; gap: 15px; white-space: nowrap;
    opacity: 0.6; transition: opacity 0.3s;
}
.brand-item:hover { opacity: 1; color: white; }

/* --- BENTO GRID --- */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px); gap: 24px; padding: 80px 0;
}
.bento-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 32px; padding: 40px; position: relative; overflow: hidden;
    transition: transform 0.3s; display: flex; flex-direction: column; justify-content: space-between;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.3); }
.span-2 { grid-column: span 2; }

.card-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.1); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}

.typing-box {
    background: rgba(0, 0, 0, 0.3); padding: 20px; border-radius: 16px;
    font-family: monospace; color: #a5b4fc; margin-top: auto;
}
.typing-line {
    display: block; overflow: hidden; white-space: nowrap; border-right: 2px solid transparent;
    width: 0; animation: typing 3s steps(40, end) infinite;
}

/* --- SCANNER --- */
.scanner-section { padding: 120px 0; position: relative; }
.scanner-container { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.scan-phone {
    width: 140px; height: 280px; background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 20px;
    position: absolute; left: 50%; transform: translateX(-50%);
    animation: scanMove 4s ease-in-out infinite; backdrop-filter: blur(5px); z-index: 2;
}
.scan-tag {
    width: 120px; height: 120px; background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 50%; position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); display: flex; align-items: center; justify-content: center;
    font-size: 3rem; box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}
.scan-beam {
    position: absolute; top: 20px; left: 10px; right: 10px; height: 2px;
    background: #10b981; box-shadow: 0 0 10px #10b981;
    animation: scanBeam 4s ease-in-out infinite;
}
@keyframes scanMove { 0%, 100% { top: 0; opacity: 0.5; } 50% { top: 60px; opacity: 1; } }
@keyframes scanBeam { 0%, 100% { top: 20px; opacity: 0; } 50% { top: 200px; } }

/* --- LOST MODE --- */
.lost-mode {
    background: linear-gradient(to bottom, #450a0a, #020617);
    padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.pulse-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px; border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%; animation: pulse-out 3s infinite;
}
@keyframes pulse-out {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; border-width: 10px; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; border-width: 0; }
}

/* --- TESTIMONIALS --- */
.testimonial-carousel {
    overflow: hidden; padding: 60px 0; background: rgba(255, 255, 255, 0.02);
    margin-top: 60px; margin-bottom: 60px;
}
.t-track { display: flex; gap: 30px; width: max-content; animation: marquee 40s linear infinite; }
.t-card {
    background: var(--surface); border: 1px solid var(--border);
    padding: 30px; border-radius: 20px; width: 350px; flex-shrink: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .heading-xl { font-size: 2.5rem; }
    .container { padding: 0 16px; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .span-2 { grid-column: span 1; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu { display: block; }
    .btn-glow { display: none !important; }
    .stats-grid { flex-direction: row !important; gap: 20px !important; text-align: center; justify-content: space-around; }
    .stat-item h3 { font-size: 2rem !important; }
    .stat-item p { font-size: 0.85rem !important; }
    
    .slider-container {
        height: auto !important; min-height: 400px !important;
        max-width: calc(100% - 32px) !important; margin: 20px 16px !important;
        padding: 20px !important; background: rgba(15, 23, 42, 0.6) !important;
    }
    .slide-img-frame img { max-height: 300px !important; object-fit: contain !important; }
    .scanner-section .container { grid-template-columns: 1fr !important; gap: 40px !important; }
}
