.hdv2-vds-page {
    --hdv2-vds-a11y-muted: var(--hdv2-home-muted);
    --hdv2-vds-a11y-spec-label: var(--hdv2-home-muted);
    --hdv2-vds-a11y-spec-meta: var(--hdv2-home-muted);
    --hdv2-vds-a11y-decorative: var(--hdv2-home-muted);
    width: 100%;
    max-width: 100%;
    padding-bottom: 0;
    overflow-x: clip;
}

:root[data-hdv2-theme="dark"] .hdv2-vds-page {
    --hdv2-vds-a11y-muted: var(--hdv2-home-muted);
    --hdv2-vds-a11y-spec-label: var(--hdv2-home-muted);
    --hdv2-vds-a11y-spec-meta: var(--hdv2-home-muted);
    --hdv2-vds-a11y-decorative: var(--hdv2-home-muted);
}

:root[data-hdv2-theme="dark"] .hdv2-vds-hero {
    background-image:
        radial-gradient(circle at 1px 1px, hsl(213 94% 68% / 0.16) 1px, transparent 0),
        radial-gradient(circle at 1px 1px, hsl(213 94% 68% / 0.16) 1px, transparent 0);
}

:root[data-hdv2-theme="dark"] .hdv2-vds-hero::before {
    background:
        radial-gradient(90% 80% at 0% 100%, hsl(252 83% 55% / 0.1) 0%, transparent 50%),
        linear-gradient(180deg, hsl(0 0% 0% / 0) 45%, var(--hdv2-home-bg) 100%);
}

.hdv2-home-legacy.hdv2-vds-page {
    padding-bottom: 0;
}

body:has(.hdv2-vds-page) #main-body {
    overflow-x: clip;
}

.hdv2-vds-hero {
    position: relative;
    padding: 2.75rem 0 1.75rem;
    overflow: hidden;
    border-bottom: 1px solid var(--hdv2-home-border);
    background-color: var(--hdv2-home-bg);
    background-image:
        radial-gradient(circle at 1px 1px, hsl(221 83% 53% / 0.14) 1px, transparent 0),
        radial-gradient(circle at 1px 1px, hsl(221 83% 53% / 0.14) 1px, transparent 0);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
}

.hdv2-vds-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(90% 80% at 0% 100%, hsl(252 83% 55% / 0.08) 0%, transparent 50%),
        linear-gradient(180deg, hsl(0 0% 100% / 0) 45%, var(--hdv2-home-bg) 100%);
}

.hdv2-vds-hero > .hdv2-home__container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.hdv2-vds-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 32rem);
    gap: 2rem;
    align-items: center;
}

.hdv2-vds-hero__content,
.hdv2-vds-hero__media {
    min-width: 0;
}

.hdv2-vds-hero__title {
    margin: 0 0 1rem;
    max-width: 34rem;
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hdv2-home-text);
}

.hdv2-vds-hero__lead {
    margin: 0 0 1.5rem;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--hdv2-home-muted);
}

.hdv2-vds-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hdv2-vds-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hdv2-vds-hero__btn--primary {
    background: var(--hdv2-home-text);
    color: var(--hdv2-home-bg);
}

.hdv2-vds-hero__btn--primary:hover {
    opacity: 0.9;
}

.hdv2-vds-hero__btn--secondary {
    border: 1px solid var(--hdv2-home-border);
    background: var(--hdv2-home-bg);
    color: var(--hdv2-home-text);
}

.hdv2-vds-hero__btn--secondary:hover {
    background: var(--hdv2-home-surface-muted);
}

.hdv2-vds-hero__media {
    margin: 0;
}

.hdv2-vds-hero__media img {
    display: block;
    width: min(100%, 32rem);
    margin-left: auto;
    height: auto;
}

.hdv2-vds-pricing {
    padding: 2rem 0 4rem;
}

.hdv2-vds-pricing__head {
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.hdv2-vds-pricing__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}

.hdv2-vds-pricing__lead {
    margin: 0;
    color: var(--hdv2-home-muted);
    line-height: 1.65;
}

.hdv2-vds-pricing__toggle {
    display: inline-flex;
    margin: 0 auto 2rem;
    padding: 0.25rem;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 999px;
    background: var(--hdv2-home-surface-muted);
    width: fit-content;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.hdv2-vds-pricing__toggle-btn {
    border: 0;
    background: transparent;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hdv2-vds-a11y-muted);
    cursor: pointer;
    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.hdv2-vds-pricing__toggle-btn.is-active {
    background: var(--hdv2-home-bg);
    color: var(--hdv2-home-text);
    box-shadow: 0 1px 3px hsl(220 20% 10% / 0.08);
    transform: translateY(-1px);
}

.hdv2-vds-pricing__discount {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--hdv2-home-primary);
    background: var(--hdv2-home-primary-soft);
}

.hdv2-vds-pricing__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hdv2-vds-plan {
    position: relative;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 0.75rem;
    background: var(--hdv2-home-bg);
}

.hdv2-vds-plan--featured {
    border-color: hsl(221 83% 53% / 0.45);
    box-shadow: 0 0 0 1px hsl(221 83% 53% / 0.12);
}

.hdv2-vds-plan__badge {
    position: absolute;
    top: 0;
    right: 1rem;
    transform: translateY(-50%);
    padding: 0.2rem 0.55rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    background: var(--hdv2-home-primary);
}

.hdv2-vds-plan__main {
    display: grid;
    grid-template-columns: minmax(8.5rem, 0.85fr) minmax(0, 2.8fr) minmax(6.5rem, 0.65fr) minmax(7rem, auto);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.25rem;
}

.hdv2-vds-plan__identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hdv2-vds-plan__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.hdv2-vds-plan__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hdv2-vds-plan__specs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.hdv2-vds-plan__spec {
    margin: 0;
    min-width: 0;
}

.hdv2-vds-plan__spec dt {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: var(--hdv2-vds-a11y-spec-label);
}

.hdv2-vds-plan__spec dd:not(.hdv2-vds-plan__spec-meta) {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hdv2-home-text);
}

.hdv2-vds-plan__spec-meta {
    margin-top: 0.1rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--hdv2-vds-a11y-spec-meta);
}

.hdv2-vds-plan__price {
    text-align: right;
    white-space: nowrap;
}

.hdv2-vds-plan__amount {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hdv2-home-text-strong);
}

.hdv2-vds-plan__period {
    font-size: 0.8125rem;
    color: var(--hdv2-home-muted);
}

.hdv2-vds-plan__action {
    display: flex;
    justify-content: flex-end;
}

.hdv2-vds-plan__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--hdv2-home-bg);
    background: var(--hdv2-home-text);
    transition: background 0.15s ease, color 0.15s ease;
}

.hdv2-vds-plan__cta:hover {
    background: var(--hdv2-home-text-strong);
}

.hdv2-vds-plan__cta--disabled {
    opacity: 1;
    cursor: not-allowed;
    color: var(--hdv2-home-muted);
    background: var(--hdv2-home-surface-muted);
}

.hdv2-vds-plan__cta--disabled:hover {
    background: var(--hdv2-home-surface-muted);
}

.hdv2-vds-info {
    padding: 0 0 4rem;
}

.hdv2-vds-info__block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hdv2-vds-info__block--reverse .hdv2-vds-info__media {
    order: -1;
}

.hdv2-vds-info__title {
    margin: 0 0 1rem;
    font-size: clamp(1.28rem, 2.1vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hdv2-vds-info__content p {
    margin: 0 0 0.85rem;
    color: var(--hdv2-home-muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

.hdv2-vds-info__content p:last-child {
    margin-bottom: 0;
}

.hdv2-vds-info__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

@media (max-width: 1100px) {
    .hdv2-vds-plan__main {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.25rem;
    }

    .hdv2-vds-plan__identity {
        grid-column: 1 / -1;
    }

    .hdv2-vds-plan__specs {
        grid-column: 1 / -1;
    }

    .hdv2-vds-plan__price,
    .hdv2-vds-plan__action {
        justify-self: stretch;
        text-align: left;
    }

    .hdv2-vds-plan__action {
        justify-content: flex-start;
    }
}

@media (max-width: 960px) {
    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero {
        padding: 1.35rem 0 1.75rem;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__grid,
    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-info__block {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__content {
        display: contents;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__content > .hdv2-landing-hero__breadcrumb {
        order: 0;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__title {
        order: 1;
        max-width: none;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__lead {
        order: 2;
        max-width: none;
        margin-bottom: 0;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__media {
        order: 3;
        display: block;
        justify-self: center;
        width: min(100%, 24rem);
        max-width: 24rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__media img {
        display: block;
        width: 100%;
        max-width: 24rem;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        object-fit: contain;
        object-position: center;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__actions {
        order: 4;
        flex-wrap: wrap;
    }

    .hdv2-vds-info__block--reverse .hdv2-vds-info__content {
        order: -1;
    }

    .hdv2-vds-info__block--reverse .hdv2-vds-info__media {
        order: 0;
    }

}

@media (max-width: 640px) {
    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero {
        padding: 1.25rem 0 1.5rem;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__title {
        font-size: clamp(1.55rem, 6.5vw, 1.95rem);
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__lead {
        font-size: 1rem;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__media,
    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__media img {
        width: min(100%, 20rem);
        max-width: 20rem;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hdv2-home-legacy.hdv2-vds-page .hdv2-vds-hero__actions .hdv2-vds-hero__btn {
        width: 100%;
    }

    .hdv2-vds-plan__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdv2-vds-plan__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
