.home-page {
    background: var(--site-bg);
    color: var(--site-text);
}

.home-page .container {
    max-width: 1440px;
}

.home-hero {
    min-height: 0;
    padding: 44px 0 34px;
    background:
        radial-gradient(circle at 86% 8%, color-mix(in srgb, var(--brand-primary) 18%, transparent), transparent 30%),
        linear-gradient(135deg, var(--site-bg) 0%, var(--site-surface) 52%, color-mix(in srgb, var(--brand-primary) 9%, var(--site-bg)) 100%);
    color: var(--site-text);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--site-border);
}

.home-hero:after {
    content: "";
    position: absolute;
    inset: auto -8% -38% 52%;
    height: 210px;
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    transform: rotate(-6deg);
    border-radius: 8px 0 0 0;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero h1 {
    color: var(--site-text);
    font-size: 3.2rem;
    line-height: 1.04;
    letter-spacing: 0;
    margin-bottom: 1.25rem;
    max-width: 720px;
}

.home-hero-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    margin-bottom: 16px;
    background: color-mix(in srgb, var(--brand-primary) 8%, var(--site-surface));
    border: 1px solid color-mix(in srgb, var(--brand-primary) 16%, var(--site-border));
    border-radius: 8px;
    color: var(--site-muted);
    font-weight: 700;
}

.home-hero-mark i,
.hero-points i,
.domain-search-field i {
    color: var(--brand-primary);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
}

.hero-points li {
    align-items: center;
    background: color-mix(in srgb, var(--site-surface) 82%, transparent);
    border: 1px solid var(--site-border);
    border-radius: 8px;
    color: var(--site-muted);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    gap: 8px;
    list-style: none;
    min-height: 34px;
    padding: 0 12px;
}

.domain-search {
    display: flex;
    gap: 10px;
    max-width: 760px;
    padding: 8px;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
}

.domain-search-field {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 12px;
    min-width: 0;
    padding-left: 12px;
}

.domain-search .form-control {
    background: transparent;
    flex: 1;
    min-height: 50px;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    padding-left: 0;
}

.domain-search .btn {
    min-width: 148px;
    min-height: 50px;
    border-radius: 6px !important;
}

.domain-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
    padding-left: 8px;
}

.domain-price {
    min-height: 120px;
    padding: 20px 18px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 8%, var(--site-surface)), var(--site-surface));
    border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, var(--site-border));
    border-radius: 8px;
    color: var(--site-text);
    position: relative;
    text-align: center;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
    overflow: hidden;
}

.domain-price:before {
    background: var(--brand-primary);
    content: "";
    height: 3px;
    left: 18px;
    position: absolute;
    right: 18px;
    top: 0;
}

.domain-price:after {
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    border-radius: 999px;
    content: "";
    height: 54px;
    position: absolute;
    right: -20px;
    top: -22px;
    width: 54px;
}

.domain-price span {
    display: block;
    color: var(--site-muted);
    font-size: .95rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.domain-price strong {
    display: block;
    margin-top: 10px;
    font-size: 1.85rem;
    line-height: 1;
    color: var(--site-text);
    position: relative;
    z-index: 1;
}

.home-offers {
    padding: 42px 0 18px;
}

.home-section-head {
    margin-bottom: 18px;
}

.home-section-head h2 {
    color: var(--site-text);
    font-size: 1.7rem;
    letter-spacing: 0;
    margin: 0;
}

.offer-card {
    height: 100%;
    padding: 28px;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.offer-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
    color: var(--brand-primary);
    border-radius: 8px;
    font-size: 1.2rem;
}

.offer-card h2 {
    color: var(--site-text);
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: .45rem;
}

.offer-card h4 {
    color: var(--site-muted);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.offer-copy {
    color: var(--site-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.offer-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    background: var(--brand-primary);
    color: var(--brand-primary-text) !important;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
}

.offer-price {
    min-width: 180px;
    align-self: stretch;
    padding: 22px 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 86%, #111827), #0f172a);
    color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.offer-price span {
    color: #cbd5e1;
    font-size: .88rem;
    font-weight: 700;
}

.offer-price strong {
    margin: 8px 0;
    font-size: 1.8rem;
    line-height: 1;
    color: #fff;
}

.offer-price small {
    color: #e2e8f0;
    font-weight: 700;
}

.home-product-section {
    padding: 8px 0 18px;
}

.home-product-section .home-section-head {
    margin-bottom: 26px;
    text-align: center;
}

.home-product-section .home-section-head h2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    background: color-mix(in srgb, var(--brand-primary) 8%, var(--site-surface));
    border: 1px solid color-mix(in srgb, var(--brand-primary) 16%, var(--site-border));
    border-radius: 8px;
    color: var(--site-text);
    font-size: 1.45rem;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.home-product-section-last {
    padding-bottom: 34px;
}

.service-card {
    height: 100%;
    min-height: 190px;
    padding: 28px;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card-storage {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
}

.service-card-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card h3 {
    color: var(--site-text);
    font-size: 1.22rem;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 10px;
}

.service-card p {
    color: var(--site-muted);
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 18px;
}

.service-card-tag-price {
    width: 100%;
    padding: 13px 14px;
    background: color-mix(in srgb, var(--brand-primary) 8%, var(--site-surface));
    border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, var(--site-border));
    border-radius: 8px;
}

.service-card-tag-price strong {
    color: var(--site-text);
    font-size: 1.15rem;
}

.service-card-price {
    width: 100%;
    padding: 16px;
    margin: 0 0 20px;
    background: color-mix(in srgb, var(--brand-primary) 8%, var(--site-surface));
    border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, var(--site-border));
    border-radius: 8px;
}

.service-card-storage .service-card-price {
    width: 138px;
    min-width: 138px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.service-card-price span,
.service-card-price small {
    display: block;
    color: var(--site-muted);
    font-size: .82rem;
    font-weight: 800;
}

.service-card-price strong {
    display: block;
    color: var(--site-text);
    font-size: 1.6rem;
    line-height: 1;
    margin: 8px 0 6px;
}

.service-card .offer-link {
    margin-top: auto;
}

#movetop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    display: none;
    background: var(--brand-primary);
    color: var(--brand-primary-text);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .2);
    z-index: 99;
}

@media (max-width: 991.98px) {
    .home-page .container {
        max-width: 100%;
    }

    .home-hero {
        min-height: auto;
        padding: 34px 0 32px;
    }

    .home-hero h1 {
        font-size: 2.35rem;
    }

    .domain-prices {
        margin-top: 22px;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding-top: 43px;
        text-align: center;
    }

    .home-hero h1 {
        font-size: 2rem;
    }

    .hero-points {
        justify-content: center;
    }

    .domain-search {
        display: block;
        padding: 10px;
    }

    .domain-search-field {
        min-height: 48px;
        padding-left: 8px;
    }

    .domain-search .form-control {
        margin-bottom: 10px;
    }

    .domain-search .btn {
        width: 100%;
    }

    .domain-prices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .domain-price {
        min-height: 104px;
        padding: 18px 12px;
    }

    .offer-card {
        display: block;
        padding: 22px;
    }

    .service-card {
        min-height: 170px;
        padding: 22px;
    }

    .service-card-storage {
        display: block;
    }

    .service-card-storage .service-card-price {
        width: 100%;
        min-width: 0;
        margin: 0 0 18px;
    }

    .offer-price {
        margin-top: 18px;
        min-width: 100%;
    }
}
