/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}
.logo span {
    color: #2563eb;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #2563eb;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #0f172a;
}

/* ===== ГЕРОЙ ===== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    color: #60a5fa;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-info {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #60a5fa;
}
.btn-secondary:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-2px);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 4rem 0;
    background: white;
}
.advantages h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #0f172a;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.adv-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}
.adv-item:hover {
    transform: translateY(-5px);
}
.adv-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0f172a;
}
.adv-item p {
    color: #475569;
}

/* ===== ВКЛАДКИ ===== */
.tabs-section {
    padding: 4rem 0;
    background: #f1f5f9;
}
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.8rem 2rem;
    background: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.tab-btn.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.tab-btn:hover:not(.active) {
    background: #e2e8f0;
}
.tabs-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fade 0.5s ease;
}
@keyframes fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.tab-pane h3 {
    color: #0f172a;
    margin: 1rem 0 0.5rem;
}
.tab-pane ul {
    list-style: none;
    padding: 0;
}
.tab-pane ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

/* ===== ПОДВАЛ ===== */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
}
footer a {
    color: #60a5fa;
    text-decoration: none;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
}
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    max-width: 480px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease;
}
.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #0f172a;
}
.modal-content h2 {
    margin-top: 0;
    color: #0f172a;
    font-size: 1.8rem;
}
.modal-subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}
.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}
.modal-agreement {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 1rem;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 600px) {
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        max-width: 90%;
    }
}

/* ===== ВСПЛЫВАЮЩЕЕ УВЕДОМЛЕНИЕ ===== */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 380px;
    z-index: 2000;
    border-left: 4px solid #22c55e;
}
.notification.show {
    transform: translateX(0);
}
.notification-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}
.notification-content {
    flex: 1;
}
.notification-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 2px;
}
.notification-message {
    color: #64748b;
    font-size: 0.9rem;
}
.notification-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
    align-self: flex-start;
}
.notification-close:hover {
    color: #0f172a;
}
@media (max-width: 600px) {
    .notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        padding: 14px 18px;
    }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 0.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .navbar .container {
        flex-wrap: wrap;
    }
    .tabs-header {
        flex-direction: column;
        align-items: stretch;
    }
    .tab-btn {
        text-align: center;
    }
}