/* СБРОС и БАЗОВЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 28px;
}

.modal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
}
.btn-confirm {
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

.section {
    padding: 80px 0;
}

.section-dark {
    background-color: #2c3e50;
}

section.advantages  {
    background-color: #f8f8f8 !important;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: white;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* ШАПКА */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

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

.otstup tr {
   padding-top : 25px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #2c3e50;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #7f8c8d;
    letter-spacing: 0.5px;
}

/* НАВИГАЦИЯ */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #2c3e50;
    cursor: pointer;
    z-index: 1001;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

/* ГЕРОЙ */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.highlight {
    color: #3498db;
}

.hero-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}
/* ПОДВАЛ */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 70px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    text-decoration: none;
    color: inherit;
}

.footer-logo .logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-title {
    color: #fff;
    font-size: 2rem;
}

.footer-logo .logo-subtitle {
    color: #bdc3c7;
    font-size: 0.85rem;
}

.footer-description {
    color: #bdc3c7;
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #3498db;
}

.contacts-list {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    color: #3498db;
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 3px;
}

.contact-link, .contact-info span {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #3498db;
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-link i {
    color: #3498db;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-link:hover i {
    transform: translateX(3px);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
}

.copyright, .developers {
    color: #95a5a6;
    font-size: 0.9rem;
}

.developers i {
    margin: 0 5px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.how-it-works {
    background: linear-gradient(135deg, #2c3e50 0%, #2c3e50 100%);
    color: #fff;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #4cc9f0, #4361ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4cc9f0, #4361ee);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(76, 201, 240, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.step-description {
    color: #b0b0d0;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0 0 25px 0;
}

.step-line {
    height: 2px;
    background: linear-gradient(90deg, rgba(76, 201, 240, 0.3), rgba(67, 97, 238, 0.3));
    border-radius: 2px;
    margin-top: 20px;
}

/* Декоративные элементы */
.steps-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(180deg, transparent, #4cc9f0, #4361ee, transparent);
    opacity: 0.2;
}

/* Адаптивность */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 30px;
    }

    .steps-column {
        gap: 30px;
    }

    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .step-card {
        padding: 25px;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Анимация при прокрутке */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    animation: fadeInUp 0.6s ease forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.3s; }
.step-card:nth-child(3) { animation-delay: 0.5s; }
.step-card:nth-child(4) { animation-delay: 0.7s; }

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* АДАПТИВ ДЛЯ ПОДВАЛА */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-right {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }

    .footer-right {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
    }

    .footer-logo .logo-text {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.2rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 5px;
    }

    .contact-icon {
        margin-bottom: 5px;
    }
}

/* АДАПТИВ */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        padding: 100px 30px 40px;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    .nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        justify-content: flex-start;
    }
    .nav-link.active::after {
        display: none;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}