@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #3b82f6;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../assets/images/bg.jpg'); /* Ваш фон */
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: #ccc; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: white; }

.btn-nav {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    color: white !important;
    font-weight: 600 !important;
}

.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: white; margin: 5px; transition: 0.3s; }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.video-container { position: absolute; inset: 0; overflow: hidden; }
.video-container video { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; background: linear-gradient(to right, #fff, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 2rem; }

.btn-primary, .btn-secondary { padding: 1rem 2rem; border-radius: 30px; text-decoration: none; font-weight: 600; transition: transform 0.2s; display: inline-block; margin: 0 10px; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5); }
.btn-secondary { border: 2px solid white; color: white; }
.btn-primary:hover { transform: translateY(-3px); }

/* Sections */
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 1rem; }
.category-section { margin-bottom: 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.section-header p { color: #94a3b8; }
.alt-bg { background: rgba(15, 23, 42, 0.6); padding-top: 2rem; padding-bottom: 2rem; border-radius: 20px; }

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.prod-img { width: 100%; height: 200px; object-fit: cover; }
.prod-body { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; }
.prod-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.prod-desc { font-size: 0.8rem; color: #94a3b8; margin-bottom: 1rem; line-height: 1.4; flex-grow: 1; }
.badge { display: inline-block; background: #10b981; color: white; font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; width: fit-content; }

.buy-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: white;
    color: black;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.2s;
}
.buy-btn:hover { background: var(--primary); color: white; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; } 
    .burger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .products-grid { grid-template-columns: 1fr; }
}

.footer { background: black; text-align: center; padding: 2rem; font-size: 0.8rem; color: #64748b; margin-top: 2rem; }
.disclosure { margin-top: 10px; font-size: 0.7rem; }