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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

/* Landing Page */
.landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8rem;
    background-color: white;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 0.875rem 5rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.logo {
    object-fit: contain;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 1.59;
    width: 81px;
}

.navigation {
    display: flex;
    gap: 2.5rem;
    align-self: stretch;
    margin: auto 0;
    color: black;
    margin-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: black;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link-auto {
    flex-basis: auto;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-self: stretch;
    margin: auto 0;
}

/* Buttons */
.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn-login {
    padding: 0.75rem 3.5rem;
    color: black;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
    background-color: #f9fafb;
}

.btn-signup {
    padding: 0.75rem 0.875rem;
    color: white;
    background-color: black;
    border: 1px solid rgba(0, 0, 0, 0.2);

}

.btn-signup:hover {
background: #cfcfff;
background: linear-gradient(120deg, rgba(207, 207, 255, 1) 0%, rgba(172, 172, 255, 1) 50%, rgba(120, 120, 227, 1) 100%);
border: 1px solid rgb(255, 255, 255);
}

/* Hero Section */
.hero-section {
    margin-top: 0;
    max-width: 100%;
    width: 1210px;
}

.hero-content {
    display: flex;
    gap: 1.25rem;
}

.hero-text {
    width: 60%;
    display: flex;
    z-index: 10;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4rem;
    width: 100%;
    font-size: 1.25rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: black;
}

.hero-description {
    margin-top: 0.875rem;
    color: black;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    padding: 0.75rem 1.25rem;
    color: white;
    background: #cfcfff;
    background: linear-gradient(120deg, rgba(207, 207, 255, 1) 0%, rgba(172, 172, 255, 1) 50%, rgba(120, 120, 227, 1) 100%);
    border: 1px solid rgb(255, 255, 255);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background: #000000;
    border: 1px solid rgb(0, 0, 0);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    color: black;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

/* Stats Section */
.stats-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
    font-size: 1.25rem;
    color: black;
}

.stat-item {
    color: black;
}

.stat-number {
    font-weight: 500;
}

.stat-description {
    font-weight: 300;
}

.hero-subtitle {
    align-self: stretch;
    margin-top: 2rem;
    margin-right: 3rem;
    color: black;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.hero-process {
    align-self: stretch;
    margin-top: 0.375rem;
    font-weight: 500;
    color: black;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-image {
    margin-left: 1.25rem;
    width: 100%;
}

.hero-img {
    object-fit: contain;
    width: 100%;
    aspect-ratio: 1;
}

/* Services Section */
.services-section {
    margin-top: 2.75rem;
    max-width: 100%;
    width: 1210px;
}

.services-grid {
    display: flex;
}

.services-main {
    width: 75%;
}

.services-hosting {
    margin-left: 1.25rem;
    width: 25%;
}

/* Service Cards */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 5rem 1.25rem 1.25rem;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(30, 27, 75, 0.3);
}

.service-card-main {
    margin-bottom: 20px;
    background-image: url("https://mounteam.ru/images/sitesgallery.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;

}

.service-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: black;
}

.service-subtitle {
    z-index: 10;
    margin-top: -0.375rem;
    font-size: 1.25rem;
    color: black;
}

.service-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 7rem;
    font-size: 1rem;
    font-weight: 600;
}

.service-buttons-design {
    margin-top: 9rem;
}

.btn-service-primary {
    padding: 0.75rem 1.75rem;
    color: white;
    background-color: black;
}

.btn-service-primary:hover {
background: #cfcfff;
background: linear-gradient(120deg, rgba(207, 207, 255, 1) 0%, rgba(172, 172, 255, 1) 50%, rgba(120, 120, 227, 1) 100%);
}

.btn-service-secondary {
    padding: 0.75rem 2rem;
    color: black;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-service-secondary:hover {
    background-color: #f9fafb;
}

.services-row {
    display: flex;
}

.services-left {
    width: 66%;
}

.services-right {
    margin-left: 1.25rem;
    width: 34%;
}

.service-card-design {
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    background-image: url("https://mounteam.ru/images/colorpallete.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.service-card-design::after {
    content: '→';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card-design:hover::after {
    opacity: 1;
}

.service-card-promotion {
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.service-card-promotion::after {
    content: '→';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card-promotion:hover::after {
    opacity: 1;
}

.service-card-domains {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.service-card-domains::after {
    content: '→';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card-domains:hover::after {
    opacity: 1;
}

.service-card-hosting {
    min-height: 775px;
    position: relative;
}

.service-card-hosting::after {
    content: '→';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card-hosting:hover::after {
    opacity: 1;
}

.service-title-hosting {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
}

.service-description {
    margin-top: 1.25rem;
    font-size: 1.25rem;
    color: rgb(0, 0, 0);
}

.business-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 3.25rem;
    color: black;
    width: 1210px;
}

.footer {
    color: black; /* Темный текст для контраста */
    padding: 40px 0;
    padding: 0.875rem 5rem;
}

.container {
    max-width: 1210px; /* Как у hero-section */
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column-column {
    margin-bottom: 1rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box; /* Чтобы padding не увеличивал ширину */
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: #000000; /* Dark color */
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #6c757d; /* Gray color */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #212529;
}

/* Стили для формы подписки */
.footer-column form {
    margin-top: 20px;
}

.footer-column input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
}

.footer-column button[type="submit"] {
    background-color: #007bff; /* Primary color */
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.footer-column button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-page {
        padding-bottom: 6rem;
    }

    .header {
        padding: 0.875rem 1.25rem;
    }

    .navigation {
        display: none; /* Simplified for mobile */
    }

    .btn-login {
        padding: 0.75rem 1.25rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        width: 100%;
        margin-top: 2.5rem;
        margin-right: -1rem;
    }

    .hero-image {
        margin-left: 0;
        width: 100%;
    }

    .hero-subtitle {
        margin-right: 0.625rem;
    }

    .services-grid {
        flex-direction: column;
    }

    .services-main {
        width: 100%;
        margin-top: 0.75rem;
    }

    .services-hosting {
        margin-left: 0;
        width: 100%;
        margin-top: 0.75rem;
    }

.services-row {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
}


    .services-left {
        width: 100%;
        margin-top: 0.75rem;
    }

    .services-right {
        margin-left: 0;
        width: 100%;
        margin-top: 0.75rem;
    }

    .service-card {
        padding-right: 1.25rem;
    }

    .service-card-promotion {
        padding-bottom: 6rem;
    }

    .service-card-domains {
        padding-bottom: 6rem;
    }

    .service-card-hosting {
        padding-bottom: 6rem;
    }

.service-buttons,
.service-buttons-design {
    margin-top: auto !important;
}

}
