/* Custom Variables */
:root {
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --primary: #6366F1;
    --primary-hover: #818CF8;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent: #22D3EE;
    --border: #334155;
    --card-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    --neon-glow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.display-1 {
    font-size: 4.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-primary);
}

/* Cards */
.neo-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.neo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary);
}

/* Header */
.site-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

/* Стили для ссылок в шапке */
.site-header .navbar .nav-link {
    color: var(--text-primary); /* Белый цвет для ссылок */
    padding-left: 0.75rem; /* Добавим небольшой отступ для мобильных */
    padding-right: 0.75rem;
}

.site-header .navbar .nav-link:hover,
.site-header .navbar .nav-link:focus {
    color: var(--primary); /* Цвет при наведении/фокусе */
}

/* Стили для кнопки-гамбургера */
.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 250, 252, 0.5); /* Белая обводка при фокусе */
    outline: 0;
}

.site-header .navbar-toggler .fa-bars {
    font-size: 1.25rem; /* Немного увеличим иконку */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 3rem 0;
}

.feature-card {
    position: relative;
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 24px;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(34, 211, 238, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(
        circle at top right,
        rgba(99, 102, 241, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(99, 102, 241, 0.2);
}

.feature-card:hover::before,
.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 
        0 10px 20px rgba(99, 102, 241, 0.2),
        0 0 10px rgba(99, 102, 241, 0.1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-icon i {
    font-size: 28px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Locations Flow */
.locations-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 2rem 0;
}

.location-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.location-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.location-pill.more {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    color: white;
}

.location-pill.more:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Location Cards */
.location-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-card:hover {
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

/* Blog Cards */
.blog-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.8); }
    100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.5); }
}

.glow {
    animation: glow 3s ease-in-out infinite;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(30, 41, 59, 0.8);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .display-1 {
        font-size: 3.5rem;
    }
    
    .hero {
        padding-top: 80px;
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767.98px) {
    .display-1 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .neo-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .feature-text {
        font-size: 14px;
    }
}

/* Hero Variations */
.hero-small {
    min-height: 60vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-small::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item {
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary);
}

/* Location Cards Improvements */
.location-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover::before {
    opacity: 0.1;
}

.location-card:hover {
    transform: translateY(-5px);
}

/* Benefits List */
.benefits-list li {
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
}

/* Price Card */
.price-card {
    border: 2px solid var(--primary);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
} 