* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #101010;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 96px;
    width: 100%;
}

.hero {
    width: 100%;
    min-height: 100vh;
    background: #101010 url('img/background.png') no-repeat center / cover;
    display: flex;
    flex-direction: column;
}

.hero-layout {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero__logo {
    width: 120px;
}

.hero__title {
    display: inline-block;
    font-size: 72px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(to right, #909090 0%, #FFFFFF 20%, #FFFFFF 80%, #909090 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__actions {
    margin-top: 48px;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(to top, #1C1C1C 0%, #2C2C2C 100%);
    padding: 10px 28px 10px 14px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.main-btn:hover {
    background: linear-gradient(to top, #222222 0%, #323232 100%);
}

.main-btn:active {
    background: linear-gradient(to top, #151515 0%, #202020 100%) !important;
}

.main-btn__circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #1C1C1C 0%, #2C2C2C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.main-btn:hover .main-btn__circle {
    background: linear-gradient(to bottom, #222222 0%, #323232 100%);
}

.main-btn:active .main-btn__circle {
    background: linear-gradient(to bottom, #151515 0%, #202020 100%) !important;
}

.main-btn__icon, 
.main-btn__icon-copy {
    position: absolute;
    width: 24px;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.main-btn__icon-copy {
    transform: translateX(-60px);
}

.main-btn:hover .main-btn__icon {
    transform: translateX(60px);
}

.main-btn:hover .main-btn__icon-copy {
    transform: translateX(0);
}

.main-btn__text {
    margin-left: 14px;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 500;
}

.hero__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-plus {
    width: 24px;
    margin-bottom: 16px;
}

.info-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.info-text p:first-child {
    margin-bottom: 4px;
}

.hero__domain {
    font-size: 22px;
    color: #909090;
}

.plans {
    width: 100%;
    padding: 96px 0;
}

.plans__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.plans__title {
    font-size: 72px;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(to right, #909090 0%, #FFFFFF 20%, #FFFFFF 80%, #909090 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plans__locations {
    display: flex;
    gap: 12px;
}

.location-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #2C2C2C 0%, #1C1C1C 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: linear-gradient(to bottom, #333333 0%, #252525 100%);
}

.location-btn--active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #FF8200;
}

.location-btn img {
    width: 32px;
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background-color: #1C1C1C;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.card--wide {
    grid-column: span 2;
}

.card__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card__row--header {
    gap: 12px;
}

.card__name {
    color: #BEBEBE;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap;
}

.card__name--promo {
    color: #FF8200;
}

.card__cpu-model {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    text-align: right;
    line-height: 1.2;
}

.card__specs {
    flex-grow: 1;
    margin-top: 24px;
    margin-bottom: 24px;
}

.spec-label {
    color: #BEBEBE;
    font-weight: 500;
}

.spec-value {
    color: #FFFFFF;
    font-weight: 600;
}

.card__btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to bottom, #3C3C3C 0%, #2C2C2C 100%);
    border-radius: 12px;
    border: none;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card__btn:hover {
    background: linear-gradient(to bottom, #444444 0%, #343434 100%);
}

.card__btn:active {
    background: linear-gradient(to bottom, #2C2C2C 0%, #222222 100%) !important;
}

.card__period {
    color: #BEBEBE;
    font-weight: 400;
    font-size: 16px;
}

.footer {
    width: 100%;
    padding-bottom: 96px;
}

.footer__line {
    width: 100%;
    height: 1px;
    background-color: #2C2C2C;
    margin-bottom: 48px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
}

.footer__block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__block--right {
    align-items: flex-end;
    text-align: right;
}

.footer__label {
    color: #909090;
    font-size: 16px;
    text-transform: uppercase;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    transition: 0.2s;
}

.footer__link:hover {
    opacity: 0.7;
}

.footer__link--email {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__icon {
    width: 20px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 48px;
    }
    .plans__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        padding: 40px 24px;
        box-sizing: border-box;
    }

    .hero__logo {
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .hero-layout {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero__title {
        font-size: 36px;
        line-height: 1.1;
        margin: 0;
    }

    .hero__actions {
        margin-top: 24px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .main-btn {
        white-space: nowrap;
        display: inline-flex;
        width: auto;
        min-width: max-content;
    }

    .hero__footer {
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
        padding: 0 24px;
    }

    .hero__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        max-width: 320px;
    }

    .container {
        padding: 0 24px;
    }

    .plans__grid {
        grid-template-columns: 1fr;
    }

    .card--wide {
        grid-column: span 1;
    }

    .footer__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer__block--right {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}


@media (max-width: 480px) {
    .hero__title, .plans__title {
        font-size: 32px;
    }

    .plans__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .card__row--header {
        flex-direction: column;
        gap: 8px;
    }

    .card__cpu-model {
        text-align: left;
    }

    .main-btn {
        width: auto;
        justify-content: center;
    }

    .hero__actions {
        display: flex;
        justify-content: center;
    }
}
