/* ===========================================
   GEELY HOLDING - ЦИФРОВОЙ ПОРТАЛ 2026
   Стили: Технологичный минимализм
   Акцент: Электрический циан (#00f0ff)
   =========================================== */

/* ---------- ПЕРЕМЕННЫЕ ---------- */
:root {
    --accent-cyan: #00f0ff;
    --accent-cyan-dark: #00b8c4;
    --accent-cyan-glow: rgba(0, 240, 255, 0.5);
    --bg-deep: #03050a;
    --bg-card: rgba(12, 18, 28, 0.7);
    --bg-card-solid: #0c121c;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c5;
    --text-muted: #6e7a8a;
    --border-color: rgba(0, 240, 255, 0.15);
    --border-color-hover: rgba(0, 240, 255, 0.4);
    --shadow-cyan: 0 15px 40px -10px rgba(0, 240, 255, 0.3);
    --shadow-cyan-hover: 0 25px 50px -10px rgba(0, 240, 255, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius-card: 32px;
    --border-radius-btn: 60px;
}

/* ---------- БАЗОВЫЙ СБРОС ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.2px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.03) 0%, transparent 30%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300f0ff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ---------- ПРЕЛОАДЕР ---------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: preloaderGlow 2s infinite ease-in-out;
}

.preloader-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
    opacity: 0.9;
}

.preloader-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.preloader-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 300;
}

@keyframes preloaderGlow {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 10px var(--accent-cyan-glow)); }
    50% { opacity: 0.8; filter: drop-shadow(0 0 30px var(--accent-cyan)); }
}

/* ---------- ШАПКА ---------- */
.header {
    position: sticky;
    top: 0;
    background: rgba(3, 5, 10, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(3, 5, 10, 0.95);
    border-bottom-color: var(--accent-cyan);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.5s ease;
}

.logo:hover .logo-img {
    transform: rotate(360deg) scale(1.1);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-year {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-left: 5px;
    opacity: 0.9;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* ---------- НАВИГАЦИЯ ---------- */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--border-radius-btn);
    transition: var(--transition-smooth);
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link i {
    font-size: 16px;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-link:hover {
    background: rgba(0, 240, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.nav-link.active i {
    opacity: 1;
    color: var(--text-primary);
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}

.dropdown .fa-chevron-down {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--bg-card-solid);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: var(--shadow-cyan);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(12px);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 28px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 240, 255, 0.05);
    border-left-color: var(--accent-cyan);
    padding-left: 38px;
    color: var(--text-primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

/* ---------- ПРАВАЯ ЧАСТЬ ШАПКИ ---------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Поиск */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-btn);
    padding: 4px 4px 4px 20px;
    width: 280px;
    transition: var(--transition-smooth);
}

.search-container:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px var(--accent-cyan-glow);
    width: 320px;
    background: rgba(0, 0, 0, 0.4);
}

.search-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 0;
    outline: none;
    font-weight: 400;
}

.search-container input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.search-container button {
    background: var(--accent-cyan);
    border: none;
    color: var(--bg-deep);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.search-container button:hover {
    background: #ffffff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 25px var(--accent-cyan);
}

/* Язык */
.lang-switcher {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-btn);
    padding: 8px 16px;
    cursor: default;
    transition: var(--transition-smooth);
}

.lang-switcher:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.lang-current {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Гамбургер для мобильных */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.hamburger:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
    width: 25px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -6px);
    width: 25px;
}

/* ---------- ОСНОВНОЙ КОНТЕНТ ---------- */
.page {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    min-height: calc(100vh - 160px);
    padding: 60px 0 80px;
}

.page.active-page {
    display: block;
    opacity: 1;
}

/* ---------- ГЛАВНАЯ (HOME) ---------- */
.hero-swiper {
    width: 100%;
    height: 85vh;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8);
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 5px 40px rgba(0, 240, 255, 0.3);
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Статистика */
.stats-section {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 70px 0;
    margin: 40px 0 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.stat-item:hover {
    background: rgba(0, 240, 255, 0.03);
    border-color: var(--border-color-hover);
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-cyan);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 30px var(--accent-cyan-glow);
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Инфо блок на главной */
.home-info {
    margin: 80px 0;
}

.info-block {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 80px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 80px;
}

.info-block h2 {
    font-size: 42px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.info-block p {
    font-size: 18px;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- ЗАГОЛОВКИ СЕКЦИЙ ---------- */
.section-title {
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    border-radius: 2px;
}

/* ---------- ТАЙМЛАЙН ---------- */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent-cyan), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border: 4px solid var(--bg-deep);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 25px var(--accent-cyan);
    transition: var(--transition-smooth);
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 40px var(--accent-cyan);
}

.timeline-item.left::before {
    right: -8px;
}

.timeline-item.right::before {
    left: -8px;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: scale(1.02) translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan-hover);
}

.timeline-content h2 {
    font-size: 36px;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.timeline-item.highlight .timeline-content {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan);
}

.timeline-item.future .timeline-content {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

/* ---------- СТРАНИЦА ОСНОВАТЕЛЯ ---------- */
.founder-page {
    margin: 40px 0;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.founder-image {
    position: sticky;
    top: 120px;
}

.founder-image img {
    width: 100%;
    border-radius: 40px;
    border: 3px solid var(--accent-cyan);
    box-shadow: var(--shadow-cyan-hover);
    transition: var(--transition-smooth);
}

.founder-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -10px var(--accent-cyan);
}

.founder-bio h2 {
    font-size: 36px;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    font-weight: 700;
}

.founder-bio p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.source {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 40px;
    font-style: italic;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    letter-spacing: 0.3px;
}

/* ---------- СТРАНИЦЫ СТРУКТУРЫ ---------- */
.text-center {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 70px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.structure-block {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 50px;
    margin-bottom: 50px;
    transition: var(--transition-smooth);
}

.structure-block:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan);
}

.structure-block h2 {
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    list-style: none;
}

.brand-list li {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    border-left: 4px solid var(--accent-cyan);
    transition: var(--transition-smooth);
    color: var(--text-secondary);
    line-height: 1.7;
}

.brand-list li:hover {
    transform: translateX(10px) translateY(-5px);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: var(--shadow-cyan);
}

.brand-list strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

/* ---------- СТРАНИЦЫ МОДЕЛЕЙ ---------- */
.model-page {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.02) 100%);
}

.model-intro {
    max-width: 1000px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.model-specs {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 50px;
    margin: 70px 0;
}

.model-specs h3 {
    font-size: 28px;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    font-weight: 600;
}

.model-specs table {
    width: 100%;
    border-collapse: collapse;
}

.model-specs td {
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
}

.model-specs td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 40%;
}

.model-specs td:last-child {
    color: var(--text-secondary);
}

.model-specs tr:last-child td {
    border-bottom: none;
}

/* ---------- СТРАНИЦА ТЕХНОЛОГИЙ ---------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 70px 0;
}

.tech-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 45px;
    padding: 45px;
    transition: var(--transition-smooth);
}

.tech-card:hover {
    transform: translateY(-20px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan-hover);
}

.tech-card h3 {
    font-size: 26px;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    font-weight: 600;
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

/* ---------- ГАЛЕРЕЯ ---------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 70px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 36px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-cyan);
    color: var(--bg-deep);
    border-color: var(--accent-cyan);
    font-weight: 600;
    box-shadow: 0 10px 25px var(--accent-cyan-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan-hover);
    z-index: 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.9) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

#load-more {
    display: block;
    margin: 70px auto 0;
    padding: 18px 58px;
    font-size: 18px;
}

/* ---------- СТРАНИЦА КОНТАКТОВ ---------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 70px;
    padding: 70px;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--accent-cyan);
    margin-bottom: 50px;
    font-weight: 700;
}

.contact-info p {
    margin: 30px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--accent-cyan);
    width: 30px;
    font-size: 22px;
    text-align: center;
}

.contact-info a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.contact-info a:hover {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.contact-form-container h3 {
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    font-weight: 600;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#contact-form input,
#contact-form textarea {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px var(--accent-cyan-glow);
    background: rgba(0, 0, 0, 0.3);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

/* ---------- ПОДВАЛ ---------- */
.footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 70px 0 40px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.footer-logo img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 15px var(--accent-cyan-glow));
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--accent-cyan);
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin: 18px 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 16px;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(8px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto;
}

/* ---------- МОДАЛЬНОЕ ОКНО ПОИСКА ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-card-solid);
    padding: 60px;
    border-radius: 70px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--accent-cyan);
    position: relative;
    box-shadow: var(--shadow-cyan-hover);
}

.close-modal {
    position: absolute;
    top: 35px;
    right: 40px;
    font-size: 45px;
    cursor: pointer;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
    line-height: 1;
    font-weight: 300;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--text-primary);
}

#search-results {
    margin-top: 40px;
}

#search-results p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.search-result-item {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 20px;
    margin-bottom: 10px;
}

.search-result-item:hover {
    background: rgba(0, 240, 255, 0.05);
    padding-left: 35px;
    border-left: 4px solid var(--accent-cyan);
}

.search-result-item h4 {
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-size: 20px;
}

.search-result-item p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 15px;
}

.search-result-item small {
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- КНОПКИ ---------- */
.btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: var(--border-radius-btn);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-deep);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--accent-cyan-glow);
    border-color: var(--accent-cyan);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--bg-deep);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.3);
}

/* ---------- АНИМАЦИИ ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* ---------- СКРОЛЛБАР ---------- */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan-dark);
    border-radius: 10px;
    border: 3px solid var(--bg-deep);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ---------- АДАПТИВНОСТЬ ---------- */
@media (max-width: 1400px) {
    .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .search-container {
        width: 240px;
    }
    
    .search-container:focus-within {
        width: 280px;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-link {
        padding: 8px 16px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .hero-content h1 {
        font-size: 60px;
    }
    
    .hero-content h2 {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .hero-swiper {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
    }
    
    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 22px !important;
        right: auto !important;
    }
    
    .timeline-content {
        padding: 30px;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .founder-image {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
    
    .search-container {
        flex: 1;
        max-width: none;
    }
    
    .search-container:focus-within {
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 30px 20px;
        background: rgba(3, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-link {
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .info-block {
        padding: 40px 25px;
        border-radius: 40px;
    }
    
    .info-block h2 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 60px;
    }
    
    .section-title::after {
        width: 100px;
        bottom: -20px;
    }
    
    .structure-block {
        padding: 35px 25px;
        border-radius: 40px;
    }
    
    .structure-block h2 {
        font-size: 28px;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 0 10px;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0) scale(1.05);
    }
    
    .modal-content {
        padding: 40px 25px;
        border-radius: 40px;
    }
    
    .close-modal {
        top: 25px;
        right: 30px;
        font-size: 35px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-card {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-swiper {
        height: 70vh;
        border-radius: 0 0 30px 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 16px 35px;
        font-size: 15px;
        width: 100%;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-content h2 {
        font-size: 28px;
    }
    
    .timeline-content h3 {
        font-size: 20px;
    }
    
    .contact-container {
        padding: 30px 20px;
        border-radius: 40px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .contact-form-container h3 {
        font-size: 24px;
    }
    
    #contact-form input,
    #contact-form textarea {
        padding: 16px 22px;
    }
    
    .model-specs {
        padding: 30px 20px;
    }
    
    .model-specs td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .brand-list li {
        padding: 15px 18px;
    }
}

/* ---------- УТИЛИТЫ ---------- */
.text-cyan {
    color: var(--accent-cyan);
}

.bg-cyan-glow {
    box-shadow: 0 0 30px var(--accent-cyan-glow);
}

.glow-text {
    text-shadow: 0 0 15px var(--accent-cyan-glow);
}

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[src=""],
img:not([src]) {
    opacity: 0;
    min-height: 100px;
    background: rgba(255, 255, 255, 0.02);
}