.ve-page {
    --ve-ink: #111317;
    --ve-muted: #606975;
    --ve-blue: #1778bf;
    --ve-cyan: #21aee4;
    --ve-orange: #f59a1b;
    --ve-green: #31aa4a;
    --ve-line: #d8dde4;
    --ve-surface: #ffffff;
    --ve-soft: #f3f6f9;
    color: var(--ve-ink);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

.ve-page * {
    box-sizing: border-box;
}

.ve-hero {
    background:
        linear-gradient(110deg, rgba(9, 12, 17, 0.92) 0%, rgba(9, 12, 17, 0.78) 52%, rgba(9, 12, 17, 0.28) 100%),
        linear-gradient(135deg, rgba(23, 120, 191, 0.42), rgba(49, 170, 74, 0.28)),
        #111317;
    color: #f8fbff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(56px, 8vw, 104px) 24px;
}

.ve-hero__inner,
.ve-section {
    width: min(1120px, calc(100vw - 32px));
    margin: 0 auto;
}

.ve-eyebrow,
.ve-card-kicker,
.ve-filter__label {
    color: var(--ve-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ve-hero .ve-eyebrow {
    color: #80d5ff;
}

.ve-hero h1 {
    max-width: 760px;
    margin: 8px 0 14px;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
}

.ve-hero p {
    max-width: 670px;
    margin: 0;
    color: #edf4f8;
    font-size: 20px;
    line-height: 1.5;
}

.ve-section {
    padding: clamp(34px, 5vw, 64px) 0;
}

.ve-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.ve-filter__label {
    flex-basis: 100%;
    color: var(--ve-muted);
}

.ve-filter__link {
    border: 1px solid var(--ve-line);
    color: var(--ve-ink);
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ve-filter__link:hover,
.ve-filter__link:focus,
.ve-filter__link.is-current {
    border-color: var(--ve-blue);
    color: var(--ve-blue);
    transform: translateY(-1px);
}

.ve-download-grid,
.ve-product-grid {
    display: grid;
    gap: 24px;
}

.ve-download-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ve-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ve-download-card,
.ve-product-card {
    background: var(--ve-surface);
    border: 1px solid var(--ve-line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(18, 29, 43, 0.08);
    overflow: hidden;
}

.ve-download-card {
    display: flex;
    flex-direction: column;
}

.ve-download-card__media {
    align-items: center;
    background: #ffffff;
    display: flex;
    min-height: 126px;
    justify-content: center;
    padding: 18px;
}

.ve-download-card__media img {
    display: block;
    height: 96px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.ve-download-card__body,
.ve-product-card__body {
    padding: 24px;
}

.ve-download-card h2,
.ve-product-card h2 {
    color: var(--ve-ink);
    font-size: 22px;
    line-height: 1.18;
    margin: 8px 0 12px;
}

.ve-page .ve-product-card__body h2 {
    color: var(--ve-blue) !important;
    display: block !important;
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.35;
    margin: 10px 0 18px;
    text-align: center;
    visibility: visible !important;
    -webkit-text-fill-color: var(--ve-blue);
}

.ve-download-card p,
.ve-product-card p {
    color: var(--ve-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ve-button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 800;
    transition: background-color 160ms ease, transform 160ms ease;
}

.ve-button--primary {
    background: var(--ve-ink) !important;
    color: #ffffff !important;
}

.ve-button--primary:hover,
.ve-button--primary:focus {
    background: var(--ve-blue) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ve-button:disabled,
.ve-button[aria-busy="true"] {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.ve-product-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.ve-product-card__media {
    align-items: center;
    background: #ffffff;
    display: flex;
    min-height: 168px;
    justify-content: center;
    padding: 18px 24px 6px;
}

.ve-product-card__media img {
    display: block;
    height: 142px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.ve-product-card__purchase {
    align-items: center;
    border-top: 1px solid var(--ve-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 24px;
}

.ve-product-card__purchase strong {
    font-size: 28px;
    line-height: 1;
}

.ve-checkout-error {
    color: #b42318;
    flex-basis: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.ve-section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.ve-section-heading h2 {
    margin: 6px 0 10px;
    color: var(--ve-ink);
    font-size: 32px;
    line-height: 1.15;
}

.ve-section-heading p:last-child {
    margin: 0;
    color: var(--ve-muted);
    font-size: 17px;
    line-height: 1.6;
}

.ve-page--pricing .ve-pricing-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.ve-pricing-grid {
    display: grid;
    gap: 24px;
}

.ve-page--pricing .ve-pricing-pair {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.ve-pricing-pair__price,
.ve-pricing-pair__details {
    min-width: 0;
}

.ve-pricing-pair__price .ve-pricing-card {
    height: auto;
    min-height: 0;
}

.ve-pricing-detail-only {
    margin-top: 24px;
}

.ve-pricing-card {
    border: 1px solid var(--ve-line);
    background: var(--ve-surface);
    box-shadow: 0 18px 36px rgba(17, 19, 23, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.ve-pricing-card__header {
    background: var(--ve-blue);
    padding: 18px 24px;
}

.ve-pricing-card__header h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.18;
    margin: 0;
    min-height: 58px;
}

.ve-pricing-plan__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
}

.ve-pricing-plan__logo {
    align-items: center;
    display: flex;
    height: 66px;
    justify-content: center;
}

.ve-pricing-plan__logo img {
    display: block;
    max-height: 58px;
    max-width: 180px;
    object-fit: contain;
}

.ve-page--pricing .ve-pricing-plan__logo--ve img {
    max-height: 58px;
    max-width: 188px;
}

.ve-page--pricing .ve-pricing-plan__logo--metro {
    height: 88px;
}

.ve-page--pricing .ve-pricing-plan__logo--metro img {
    max-height: 78px;
    max-width: 160px;
}

.ve-page--pricing .ve-pricing-plan__logo--trak img {
    max-height: 50px;
    max-width: 150px;
}

.ve-pricing-plan__price {
    align-items: baseline;
    color: var(--ve-muted);
    display: flex;
    gap: 8px;
}

.ve-pricing-plan__price strong {
    color: var(--ve-blue);
    font-size: 40px;
    line-height: 1;
}

.ve-pricing-plan__price span {
    font-weight: 700;
}

.ve-pricing-card__footer {
    background: var(--ve-soft);
    border-top: 1px solid var(--ve-line);
    padding: 18px 24px;
}

.ve-pricing-card .ve-button {
    background: var(--ve-blue);
    justify-content: center;
    width: 100%;
}

.ve-pricing-plan__features {
    border-top: 1px solid var(--ve-line);
    color: var(--ve-ink);
    line-height: 1.55;
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
}

.ve-pricing-plan__features li {
    padding: 5px 0 5px 22px;
    position: relative;
}

.ve-pricing-plan__features li::before {
    border: solid var(--ve-green);
    border-width: 0 2px 2px 0;
    content: "";
    height: 11px;
    left: 0;
    position: absolute;
    top: 9px;
    transform: rotate(45deg);
    width: 6px;
}

.ve-plugin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ve-plugin-card {
    border: 1px solid var(--ve-line);
    background: var(--ve-surface);
    box-shadow: 0 18px 36px rgba(17, 19, 23, 0.08);
    overflow: hidden;
}

.ve-pricing-detail-card__header {
    background: var(--ve-blue);
    padding: 18px 24px;
}

.ve-pricing-detail-card__header h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.18;
    margin: 0;
}

.ve-pricing-detail-body {
    padding: 26px;
}

.ve-page--pricing .ve-pricing-detail-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px 24px;
}

.ve-plugin-card p {
    color: var(--ve-muted);
    line-height: 1.65;
}

.ve-page--pricing .ve-pricing-detail-body p {
    line-height: 1.55;
    margin: 0;
}

.ve-plugin-logo {
    align-items: center;
    background: var(--ve-soft);
    display: flex;
    justify-content: center;
    margin: -26px -26px 24px;
    min-height: 118px;
    padding: 22px;
}

.ve-plugin-logo img {
    display: block;
    max-height: 76px;
    max-width: 260px;
    object-fit: contain;
}

.ve-source-list,
.ve-benefit-list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--ve-ink);
    line-height: 1.55;
}

.ve-source-list {
    padding: 0;
    list-style: none;
}

.ve-source-list li {
    border-left: 4px solid var(--ve-cyan);
    background: var(--ve-soft);
    margin-bottom: 8px;
    padding: 9px 12px;
    font-weight: 700;
}

.ve-page--pricing .ve-source-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.ve-page--pricing .ve-source-list li {
    border-left-width: 3px;
    margin: 0;
    padding: 8px 11px;
}

.ve-page--pricing .ve-benefit-list {
    margin: 0;
}

.ve-page--pricing .ve-benefit-list li {
    margin-bottom: 6px;
}

.ve-plugin-card__note {
    border-top: 1px solid var(--ve-line);
    margin-top: 20px;
    padding-top: 16px;
    font-weight: 700;
}

.ve-page--pricing .ve-plugin-card__note {
    background: #f7fafb;
    border-top: 1px solid var(--ve-line);
    font-weight: 600;
    margin: 0;
    padding: 14px 16px;
}

header .ve-header-login-link {
    background: transparent !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px !important;
    text-decoration: none;
    text-transform: none;
}

header .ve-header-login-link:hover,
header .ve-header-login-link:focus {
    color: #ffa300 !important;
}

.ve-account-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 20;
}

.ve-account-menu__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    height: 50px;
    justify-content: center;
    padding: 0 18px;
    transition: color 160ms ease, background-color 160ms ease;
    width: auto;
}

.ve-account-menu__toggle:hover,
.ve-account-menu__toggle:focus,
.ve-account-menu.is-open .ve-account-menu__toggle {
    background: transparent;
    color: #ffa300;
}

.ve-account-menu__dropdown {
    background: #ffffff;
    border: 1px solid rgba(17, 19, 23, 0.12);
    box-shadow: 0 18px 42px rgba(17, 19, 23, 0.18);
    min-width: 238px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 15px);
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.ve-account-menu.is-open .ve-account-menu__dropdown,
.ve-account-menu:hover .ve-account-menu__dropdown,
.ve-account-menu:focus-within .ve-account-menu__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ve-account-menu__item {
    color: #111317;
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 50px;
    padding: 16px 18px;
    text-decoration: none;
    white-space: nowrap;
}

.ve-account-menu__item:hover,
.ve-account-menu__item:focus {
    background: #f3f6f9;
    color: #008693;
}

@media (max-width: 900px) {
    .ve-download-grid,
    .ve-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ve-page--pricing .ve-pricing-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ve-page--pricing .ve-pricing-pair {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ve-hero {
        padding: 44px 18px;
    }

    .ve-hero p {
        font-size: 17px;
    }

    .ve-download-grid,
    .ve-product-grid {
        grid-template-columns: 1fr;
    }

    .ve-plugin-grid {
        grid-template-columns: 1fr;
    }

    .ve-page--pricing .ve-pricing-top-grid {
        grid-template-columns: 1fr;
    }

    .ve-page--pricing .ve-pricing-plan__logo--metro {
        height: 82px;
    }

    .ve-page--pricing .ve-pricing-plan__logo--metro img {
        max-height: 72px;
        max-width: 150px;
    }

    .ve-pricing-detail-body {
        padding: 22px;
    }

    .ve-pricing-card__header h3 {
        min-height: auto;
    }

    .ve-plugin-logo {
        margin: -22px -22px 22px;
    }

    .ve-product-card__media {
        min-height: 132px;
        padding-inline: 18px;
    }

    .ve-product-card__media img {
        height: 112px;
    }

    .ve-product-card__purchase {
        align-items: flex-start;
        flex-direction: column;
    }

    .ve-account-menu__dropdown {
        right: auto;
        left: 0;
    }
}
