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

body {
    font-family: 'Open Sans', -apple-system, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Шапка */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    background: #1a237e;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('/static/images/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(57, 73, 160, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 44px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6f00;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.35);
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 111, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #1a237e;
    transform: translateY(-3px);
}

/* Скролл-индикатор */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Анимации появления */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* Секции */
.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: #1a237e;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Преимущества */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 45px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a237e;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

/* Автопарк */
.fleet-preview {
    padding: 100px 0;
}

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

.fleet-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    background: white;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.fleet-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.fleet-card:hover .fleet-image {
    transform: scale(1.08);
}

.fleet-info {
    padding: 25px;
}

.fleet-info h3 {
    color: #1a237e;
    font-size: 20px;
    margin-bottom: 8px;
}

.fleet-info p {
    color: #666;
}

.fleet-action {
    text-align: center;
    margin-top: 50px;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a237e 0%, #3949a0 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Подвал */
footer {
    background: #0d1440;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Reveal-анимация при скролле */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптив */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 10px;
        font-size: 14px;
    }
    .section-title {
        font-size: 28px;
    }
    .cta h2 {
        font-size: 28px;
    }
    .logo {
        font-size: 20px;
    }
}
