:root {
    --primary: #0056b3;
    --primary-hover: #004494;
    --secondary: #10b981; /* WhatsApp Greenish */
    --secondary-hover: #059669;
    --telegram: #0088cc;
    --telegram-hover: #0077b5;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-whatsapp {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-telegram {
    background-color: var(--telegram);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    background-color: var(--telegram-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-contacts {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-switcher {
    display: flex;
    gap: 5px;
    font-weight: 600;
    margin-right: 10px;
    font-size: 0.95rem;
}

.lang-switcher a {
    color: var(--text-light);
    padding: 2px 5px;
    border-radius: 4px;
}

.lang-switcher a.active {
    color: var(--primary);
    background: rgba(0, 86, 179, 0.1);
}

.lang-switcher a:hover:not(.active) {
    color: var(--text-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero_bg.webp') center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s backwards;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
    list-style: none;
    animation: fadeInUp 1s ease 0.45s backwards;
}

.hero-features li {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-features li i {
    color: #10b981; /* Зеленый цвет для галочки */
}

/* Routes Section */
.routes {
    padding: 100px 0;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.route-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.route-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #00c6ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.route-card:hover::before {
    transform: scaleX(1);
}

.route-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.route-info {
    color: var(--text-light);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.route-info div {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
    background-color: var(--white);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.adv-card {
    padding: 30px;
    transition: var(--transition);
}

.adv-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.adv-card:hover .adv-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.adv-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.adv-desc {
    color: var(--text-light);
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
}

.comp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comp-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.comp-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-color);
}

.comp-bad .comp-item i { color: #ef4444; }
.comp-good .comp-item i { color: #10b981; }

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--bg-color);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Page Specific Header (for subpages) */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary), #00c6ff);
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-content {
    padding: 80px 0;
}

/* Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .comp-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1050px) {
    .nav-links {
        display: none; /* Hide on mobile initially, JS will handle mobile menu */
    }
    
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .logo {
        flex: 1;
    }
    
    .header-contacts {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
        order: 3;
    }
    
    .header-contacts .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-features {
        gap: 8px;
        margin-bottom: 2rem;
    }
    
    .hero-features li {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }
    
    .hero-buttons .btn-primary {
        grid-column: span 2;
    }
    
    .hero-buttons .btn-whatsapp,
    .hero-buttons .btn-telegram {
        padding: 10px 5px;
        font-size: 0.85rem;
        width: 100%;
    }
    
    /* Mobile menu active state */
    .nav-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    
    .nav-active a {
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-cookie-accept {
    background: var(--primary);
    color: #ffffff;
}

.btn-cookie-accept:hover {
    background: var(--primary-hover);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
