/* --- 1. GLOBAL DESIGN SYSTEM & VARIABLES --- */
:root {
    --bg-dark: #050505;          
    --bg-surface: #111111;       
    --bg-surface-hover: #1a1a1a; 
    
    --neon-cyan: #06b6d4;
    --neon-purple: #8b5cf6;
    --neon-blue: #3b82f6;
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main); 
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--text-main); }

/* --- TYPOGRAPHY & GRADIENTS --- */
.text-gradient {
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-xl { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 24px; }
.heading-lg { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 20px; }

/* --- ADVANCED BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 100px; font-weight: 600; font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer; border: none; position: relative; overflow: hidden;
    z-index: 1;
}

.btn-glow {
    background: var(--text-main);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-glow::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-purple));
    transition: all 0.4s ease; z-index: -1;
}

.btn-glow:hover { color: white; box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); transform: translateY(-3px); }
.btn-glow:hover::before { left: 0; }

.btn-outline {
    background: transparent; border: 1px solid var(--border-color); color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--neon-cyan); background: rgba(6, 182, 212, 0.05); transform: translateY(-2px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 20px 5%;
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(12px);
    z-index: 100; border-bottom: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center;
}
.brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s;}
.nav-links a:hover { color: var(--neon-cyan); }

/* --- HERO & BLOBS --- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 5% 60px; position: relative; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;}

.glow-blob {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
}

/* --- STATS COUNTER --- */
.stats-section { padding: 80px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--bg-surface); }
.stat-box { text-align: center; }
.stat-number { font-size: 4rem; font-weight: 800; color: var(--neon-cyan); line-height: 1; margin-bottom: 10px; display: flex; align-items: center; justify-content: center;}
.stat-label { color: var(--text-muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- BENTO GRID --- */
.services-section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 24px; margin-top: 60px; }
.bento-card {
    background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 24px; padding: 40px;
    transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.bento-card:hover { background: var(--bg-surface-hover); border-color: rgba(6, 182, 212, 0.4); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.bento-card i { font-size: 2.5rem; color: var(--neon-cyan); margin-bottom: auto; transition: transform 0.3s ease;}
.bento-card:hover i { transform: scale(1.1) rotate(-5deg); }
.bento-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: white;}
.bento-card p { color: var(--text-muted); font-size: 0.95rem; }
.span-2-cols { grid-column: span 2; }
.span-2-rows { grid-row: span 2; }

/* --- SHOWCASE GRIDS (SHOP & BLOG) --- */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }

/* Product Card */
.product-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; transition: all 0.3s ease; text-align: center; position: relative; overflow: hidden; }
.product-card:hover { border-color: var(--neon-purple); transform: translateY(-5px); }
.product-image { height: 250px; background: #1a1a2e; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; color: var(--neon-purple); font-size: 3rem; transition: transform 0.5s ease;}
.product-card:hover .product-image { transform: scale(1.05); }
.product-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 5px; }
.product-price { color: var(--neon-cyan); font-weight: 800; font-size: 1.1rem; margin-bottom: 15px;}
.add-to-cart { opacity: 0; transform: translateY(20px); transition: all 0.3s ease; width: 100%; background: var(--text-main); color: var(--bg-dark); border: none; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; }
.product-card:hover .add-to-cart { opacity: 1; transform: translateY(0); }

/* Blog Card */
.blog-card { background: transparent; border-bottom: 1px solid var(--border-color); padding: 30px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; transition: all 0.3s ease; }
.blog-card:hover { transform: translateX(10px); }
.blog-image { background: #0f172a; border-radius: 12px; height: 200px; display: flex; align-items: center; justify-content: center; color: var(--neon-cyan); font-size: 2rem;}
.blog-meta { color: var(--neon-purple); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.blog-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; color: white; }
.blog-excerpt { color: var(--text-muted); margin-bottom: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2-cols, .span-2-rows { grid-column: span 1; grid-row: span 1; }
    .nav-links { display: none; }
    .blog-card { grid-template-columns: 1fr; }
    .stats-section { flex-direction: column; }
}