/* =========================================
   1. ОСНОВНЫЕ НАСТРОЙКИ (БЕЗ АНИМАЦИЙ)
   ========================================= */

:root {
    --bg-dark: #000212;         /* Глубокий черный */
    --text-main: #f7f8f8;       /* Белый текст */
    --text-muted: #8a8f98;      /* Серый текст */
    --border-subtle: rgba(255, 255, 255, 0.1); /* Рамки */
    --accent: #3b82f6;          /* Синий акцент */
    --button-bg: #f7f8f8;       /* Цвет кнопок */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    /* Анимации убраны */
}

/* --- ФОНОВЫЕ ЭФФЕКТЫ --- */

/* Точки (Particles) оставляем */
#particles-js {
    position: fixed;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

/* Сценический свет (фиолетовое пятно) - ОТКЛЮЧЕНО для четкости */
.stage-light {
    display: none;
}

/* =========================================
   2. ШАПКА И НАВИГАЦИЯ
   ========================================= */

.glass-header {
    position: fixed;
    top: 0; width: 100%; height: 60px;
    background: rgba(0, 2, 18, 0.8); /* Чуть темнее для контраста */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
    display: flex; align-items: center;
}

.nav-wrapper {
    width: 100%; max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}

.logo { font-weight: 700; font-size: 20px; letter-spacing: -0.5px; }

.nav-wrapper nav { display: flex; gap: 24px; align-items: center; }
.nav-wrapper a {
    text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: 0.2s;
}
.nav-wrapper a:hover { color: var(--text-main); }

.nav-btn {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px; border-radius: 6px;
    color: white !important; font-size: 13px;
    border: 1px solid rgba(255,255,255,0.05);
}
.nav-btn:hover { background: rgba(255,255,255,0.2); }

/* =========================================
   3. ГЛАВНЫЙ ЭКРАН (HERO)
   ========================================= */

.hero-section {
    padding-top: 180px; /* Вернул большой отступ как было раньше */
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
}

h1 {
    font-size: 64px; /* Вернул крупный шрифт */
    line-height: 1.1;
    margin: 0 0 24px 0;
    font-weight: 700;
    letter-spacing: -2px;
    color: white; /* Убрал градиент текста для четкости */
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 48px;
}

.cta-group { display: flex; gap: 16px; justify-content: center; margin-bottom: 100px; }

/* Кнопки */
.btn-primary {
    background: var(--button-bg); color: #000;
    padding: 14px 28px; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 15px;
    border: none; cursor: pointer;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    transition: 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.05); color: #fff;
    padding: 14px 28px; border-radius: 8px;
    text-decoration: none; font-weight: 500; font-size: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* =========================================
   4. СЕТКИ И КАРТОЧКИ
   ========================================= */

/* Сетка для преимуществ и каталога */
.grid-features, .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточки */
.glass-panel, .feature-box, .bot-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s; /* Оставил только легкое наведение */
}

.glass-panel:hover, .feature-box:hover, .bot-card:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255, 255, 255, 0.05);
}

.f-icon { font-size: 32px; margin-bottom: 15px; }
.feature-box h3 { font-size: 20px; margin: 0 0 10px 0; color: white; }
.feature-box p { font-size: 15px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Карточка товара */
.bot-card { display: flex; flex-direction: column; }

/* Индивидуальный заказ */
.custom-order-container {
    margin-top: 60px; display: flex; justify-content: center;
}
.custom-order-card {
    background: rgba(59, 130, 246, 0.05) !important;
    border: 1px solid var(--accent) !important;
    text-align: center; max-width: 700px; width: 100%; padding: 50px;
}

/* =========================================
   5. ФОРМА ОТЗЫВОВ И УВЕДОМЛЕНИЯ
   ========================================= */

/* Исправление кнопки отзыва (Прямая и четкая) */
form[action="/add_review"] button {
    transform: none !important;
    border-radius: 12px !important;
    width: 100%; padding: 16px;
    background: #f7f8f8; color: black;
    font-weight: 700; border: none;
    margin-top: 15px; cursor: pointer;
    box-shadow: none;
}
form[action="/add_review"] button:hover {
    background: #ffffff;
    transform: translateY(-2px) !important;
}

/* Уведомления */
.flash-container {
    position: fixed; top: 80px; right: 20px; z-index: 1000;
}
.flash-message, .alert {
    padding: 15px 25px; border-radius: 8px; margin-bottom: 10px;
    background: #1a1a1a; /* Плотный фон */
    color: white;
    border: 1px solid #333;
}
.alert-error { border-color: #ff4d4d; color: #ff4d4d; }
.alert-success { border-color: #4dff4d; color: #4dff4d; }