/* style.css - премиум сбалансированная тема */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #eef2f5;
    color: #1a2c3e;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a2c3e;
    text-decoration: none;
}

.logo span {
    font-weight: 400;
    color: #6c7a8e;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: #3a4a5c;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a2c3e;
    border-bottom: 2px solid #1a2c3e;
}

/* ===== СПЕЦИАЛЬНАЯ КНОПКА "РАССРОЧКА 0%" ===== */
.nav-link-credit {
    color: #dc2626 !important;
    border: 2px solid #dc2626;
    border-radius: 40px;
    padding: 6px 18px;
    background: rgba(220, 38, 38, 0.05);
    animation: bounce 2s ease infinite;
    font-weight: 700 !important;
}

.nav-link-credit:hover {
    background: #dc2626;
    color: #fff !important;
    border-color: #dc2626;
    animation: none;
}

.nav-link-credit.active {
    background: #dc2626;
    color: #fff !important;
    border-color: #dc2626;
}

/* Анимация подпрыгивания */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    75% {
        transform: translateY(2px);
    }
}

.phone-link {
    background: #e8edf2;
    padding: 8px 20px;
    border-radius: 40px;
    color: #1a2c3e !important;
    border-bottom: none !important;
}

.phone-link:hover {
    background: #dce3ea;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #1a2c3e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 44, 62, 0.15);
}

.btn-primary:hover {
    background: #243b52;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #bdc4cc;
    color: #3a4a5c;
}

.btn-outline:hover {
    border-color: #1a2c3e;
    background: rgba(26, 44, 62, 0.04);
    transform: translateY(-2px);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #1a2c3e;
}

.section-sub {
    color: #6c7a8e;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Cards */
.premium-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.premium-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
}

.premium-card i {
    font-size: 2rem;
    color: #1a2c3e;
    margin-bottom: 20px;
}

.premium-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a2c3e;
}

.premium-card p {
    color: #5a6a7e;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Footer */
footer {
    background: #ffffff;
    padding: 50px 0 30px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    color: #8a9aae;
    margin-top: 60px;
}

/* Forms */
input {
    background: #ffffff;
    border: 1px solid #dce3ea;
    border-radius: 40px;
    padding: 14px 22px;
    font-size: 0.9rem;
    transition: 0.2s;
    color: #1a2c3e;
}

input:focus {
    outline: none;
    border-color: #1a2c3e;
    box-shadow: 0 0 0 3px rgba(26, 44, 62, 0.08);
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a2c3e;
    border-radius: 16px;
    padding: 14px 24px;
    color: #fff;
    font-weight: 500;
    z-index: 2100;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.toast-notification.show {
    transform: translateX(0);
}

/* Animations */
.fade-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .navbar {
        flex-direction: column;
    }
    .nav-links {
        justify-content: center;
    }
    .toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(100px);
    }
    .toast-notification.show {
        transform: translateY(0);
    }
}