html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #161616;
    color: #E5E5E5;
    overflow-x: hidden;
}

.accent-color {
    color: #ffd700;
}

.accent-bg {
    background-color: #ffd700;
}

.border-color {
    border-color: #333333;
}

.section-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid #333333;
}

@media (min-width: 768px) {
    .section-container {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}
#main-content > div > header > p {
    font-size: 1.2rem;
}

/* ИЗМЕНЕНИЕ: Уменьшены размеры заголовка для мобильных и скорректированы для десктопа */
.main-heading {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

@media (min-width: 640px) {
    .main-heading {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .main-heading {
        font-size: 4.5rem;
    }
}

.section-heading {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 3rem;
    }
}

.card {
    border: 1px solid #333333;
    border-radius: 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    border-color: #ffd700;
    transform: translateY(-4px);
}

.card-highlight {
    border-color: #ffd700;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #A3A3A3;
}

.feature-list svg {
    flex-shrink: 0;
    margin-right: 1rem;
    margin-top: 6px;
    color: #ffd700;
}

.cta-button {
    background-color: #ffd700;
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: #161616;
    color: #ffd700;
    border-color: #ffd700;
    transform: scale(1.05);
}

.secondary-button {
    background-color: transparent;
    color: #E5E5E5;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #333333;
}

.secondary-button:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
    border-color: #555555;
    transform: scale(1.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #0A0A0A;
    border: 1px solid #333333;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-card {
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.modal-open {
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0 3rem;
    color: #A3A3A3;
}

.marquee-item .accent-color {
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 1rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.team-photo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.process-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.process-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #A3A3A3;
}

.process-list li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    top: 3px;
    font-weight: 700;
    font-size: 1rem;
    color: #ffd700;
    line-height: 1.6;
}

.process-list a {
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.process-list a:hover {
    color: #FFFFFF;
}