/*
Theme Name: Vireonix AI
Theme URI: https://vireonix.org
Author: Vireonix Team
Description: Premium teamplate.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: vireonix-ai
*/

:root {
    --bg-dark: #030305;
    --card-glass: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.06);
    --neon-cyan: #00f0ff;
    --neon-emerald: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    font-family: "Inter", -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* background lights ( Vireonix) */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
    top: -200px;
    left: -200px;
    z-index: -1;
    border-radius: 50%;
}
.ambient-glow.emerald {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    top: 20%;
    right: -200px;
    left: auto;
}

.vx-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
/* ===== ОБНУЛЕНИЕ ОТСТУПОВ ===== */
* {

    box-sizing: border-box;
}

/* ===== ШАПКА ===== */
.vx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vx-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    min-height: 70px;
    gap: 2rem;
}

/* ===== ЛЕВАЯ ЧАСТЬ ===== */
.vx-header-left {
    flex-shrink: 0; /* Логотип не сжимается */
}

.vx-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #581cff, #00ffc8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* ===== ЦЕНТРАЛЬНАЯ ЧАСТЬ (МЕНЮ) ===== */
.vx-nav {
    flex: 1; /* Растягивается */
    display: flex;
    justify-content: center; /* Центрирует меню */
}

.vx-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.vx-nav-list li {
    margin: 0;
    padding: 0;
}

.vx-nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.vx-nav-list a:hover {
    color: #fff;
}

.vx-nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #581cff, #00ffc8);
    transition: width 0.3s ease;
}

.vx-nav-list a:hover::after {
    width: 100%;
}

.vx-nav-cta {
    background: linear-gradient(135deg, #581cff, #00ffc8) !important;
    color: #fff !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-text-fill-color: #fff !important; /* Для градиента */
}

.vx-nav-cta::after {
    display: none !important;
}

.vx-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 28, 255, 0.4);
    color: #fff !important;
}

/* ===== ПРАВАЯ ЧАСТЬ (КОНТАКТЫ) ===== */
.vx-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0; /* Не сжимается */
}

.vx-header-contacts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vx-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.vx-contact-item svg {
    flex-shrink: 0;
}

.vx-contact-item:hover {
    color: #fff;
}

/* ===== БУРГЕР-МЕНЮ ===== */
.vx-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.vx-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.vx-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.vx-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.vx-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .vx-header-contacts {
        gap: 1rem;
    }
    
    .vx-contact-item span {
        display: none; /* Скрываем текст, оставляем иконки */
    }
}

@media (max-width: 768px) {
    .vx-header-container {
        padding: 0.6rem 1rem;
        min-height: 60px;
    }
    
    .vx-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .vx-nav.active {
        display: flex;
        justify-content: center;
    }
    
    .vx-nav-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .vx-nav-list a {
        font-size: 1.1rem;
        text-align: center;
        display: block;
    }
    
    .vx-nav-cta {
        text-align: center !important;
    }
    
    .vx-header-contacts .vx-contact-item span {
        display: none;
    }
    
    .vx-menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .vx-header-container {
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
    }
    
    .vx-logo {
        font-size: 1.2rem;
    }
    
    .vx-contact-item {
        font-size: 0.75rem;
    }
}



/* Nav */
.vx-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-glass);
}
.vx-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

/* Hero Section */

/* ===== HERO С ВИДЕО ===== */
.vx-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px; /* Отступ под фиксированную шапку */
    overflow: hidden;
}

.vx-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.vx-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vx-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.7) 0%, rgba(26, 10, 46, 0.5) 100%);
    z-index: 1;
}

.vx-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.vx-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vx-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.06em; /* Слегка сжимаем заголовок */
    
}
.vx-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
        letter-spacing: 0.02em; /* Наоборот, чуть расширяем текст для легкого чтения */
    line-height: 1.8;
}

/* Кнопки */
.vx-btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-emerald));
    color: #000;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}
.vx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

/* product grid (Glassmorphism) */
.vx-shop {
    padding: 80px 0;
}
.vx-grid {
    display: grid;
    /* 3 колонки равной ширины */
    grid-template-columns: repeat(3, 1fr); 
    gap: 32px;
}

/* Добавьте адаптивность для планшетов, чтобы они не были слишком узкими */
@media (max-width: 1024px) {
    .vx-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vx-grid {
        grid-template-columns: 1fr;
    }
}
.vx-card {
    background: var(--card-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.vx-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
     transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 240, 255, 0.1);
}
.vx-media-box {
    height: 240px;
    background: #111;
    position: relative;
}
.vx-media-box video, .vx-media-box img {
    
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.vx-card:hover .vx-media-box video {
    opacity: 1;
}
.vx-card-body {
    padding: 32px;
}
.vx-card-body h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
}
.vx-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
}
.vx-buy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vx-price {
    font-size: 1.5rem;
    font-weight: 700;
}
.vx-btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.vx-btn-outline:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

@media (max-width: 768px) {
    .vx-hero h1 { font-size: 3rem; }
    .vx-hero p { font-size: 1.1rem; }
}

 .vx-body {
    background: radial-gradient(circle at 50% -20%, #1e1b4b, #030305);
}
