:root {
    --primary: #0a58ca;
    --primary-dark: #0a3e8a;
    --gray-bg: #f8fafc;
    --card-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    padding: 12px 0;
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: #1e293b;
    transition: 0.2s;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    position: relative;
    background: linear-gradient(135deg, #fef9f5 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-img {
    max-width: 100%;
    border-radius: 32px;
    transition: transform 0.4s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-bg-gradient {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 88, 202, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Service Cards */
.services-section {
    background-color: var(--gray-bg);
}

.service-card {
    background: white;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 40px -15px rgba(0, 0, 0, 0.1);
    border-color: rgba(10, 88, 202, 0.2);
}

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 88, 202, 0.1);
    border-radius: 20px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(120deg, #ffffff 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card {
    background: white;
    transition: all 0.3s;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: scale(1.02);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(95deg, #0a58ca, #0b2b5e);
    border-radius: 0;
}

/* Contact Form */
.contact-form {
    border: 1px solid #eef2f6;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.2);
}

/* Footer */
.footer ul li {
    cursor: pointer;
    transition: 0.2s;
}

.footer ul li:hover {
    color: white;
    transform: translateX(5px);
}

/* Анимации для Intersection Observer (дополнительно к AOS) */
.fade-up-observed {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .stat-card .display-4 {
        font-size: 2.2rem;
    }
}