/* Value Upgrade Page (page-value-upgrade.php)
   Scoped to this template to avoid affecting the rest of the theme. */

body.page-template-page-value-upgrade,
body.page-template-page-value-upgrade-php {
    background:
        radial-gradient(1200px 700px at 15% -10%, rgba(91, 188, 176, 0.20), transparent 55%),
        radial-gradient(900px 600px at 90% 0%, rgba(44, 62, 80, 0.10), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

body.page-template-page-value-upgrade main,
body.page-template-page-value-upgrade-php main {
    /* App-like spacing on small screens */
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.vu-main {
    padding: 12px 0 28px;
}

.vu-hero {
    position: relative;
    padding: 28px 0 10px;
}

.vu-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(91, 188, 176, 0.22) 1px, transparent 1px),
        radial-gradient(rgba(44, 62, 80, 0.10) 1px, transparent 1px);
    background-size: 28px 28px, 44px 44px;
    background-position: 0 0, 12px 16px;
    opacity: 0.35;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
}

.vu-hero-card {
    position: relative;
    border-radius: 26px;
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 18px 60px rgba(44, 62, 80, 0.12);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.vu-hero-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(91, 188, 176, 0.45), rgba(91, 188, 176, 0));
    transform: rotate(18deg);
    pointer-events: none;
}

.vu-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(91, 188, 176, 0.10);
    color: var(--text-dark);
    border: 1px solid rgba(91, 188, 176, 0.25);
    font-weight: 700;
    font-size: 0.9rem;
}

.vu-hero-title {
    margin: 14px 0 8px;
    font-size: clamp(1.55rem, 3.3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.vu-hero-subtitle {
    margin: 0;
    color: rgba(44, 62, 80, 0.78);
    line-height: 1.8;
    font-size: 1rem;
    max-width: 42rem;
}

.vu-hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vu-btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    padding: 12px 16px;
    font-weight: 800;
}

.vu-section-head {
    margin: 26px auto 14px;
    max-width: 46rem;
}

.vu-section-title {
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
}

.vu-section-subtitle {
    margin: 10px 0 0;
    color: rgba(44, 62, 80, 0.70);
    line-height: 1.8;
}

.vu-features {
    padding: 14px 0 10px;
}

.vu-feature-card {
    height: 100%;
    border-radius: 22px;
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 14px 38px rgba(44, 62, 80, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vu-feature-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -40% -30%;
    height: 90px;
    background: radial-gradient(circle at 50% 40%, rgba(91, 188, 176, 0.22), transparent 62%);
    pointer-events: none;
}

.vu-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(44, 62, 80, 0.12);
    border-color: rgba(91, 188, 176, 0.35);
}

.vu-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(91, 188, 176, 0.18), rgba(91, 188, 176, 0.06));
    border: 1px solid rgba(91, 188, 176, 0.25);
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.vu-feature-title {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.5;
}

.vu-catalog {
    padding: 18px 0 8px;
}

.vu-catalog-stage {
    display: grid;
    place-items: center;
    padding: 20px 0 6px;
}

.vu-catalog-mock {
    position: relative;
    width: min(260px, 78vw);
    aspect-ratio: 3 / 4;
    transform-style: preserve-3d;
    transform: perspective(900px) rotateY(-18deg) rotateX(6deg);
    transition: transform 280ms ease;
}

.vu-catalog-mock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(44, 62, 80, 0.12);
    box-shadow: 0 28px 70px rgba(44, 62, 80, 0.22);
    background: #fff;
}

.vu-catalog-spine {
    position: absolute;
    inset: 6px auto 6px -10px;
    width: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.22), rgba(44, 62, 80, 0.06));
    transform: translateZ(-6px);
    filter: blur(0.1px);
}

.vu-catalog-shadow {
    position: absolute;
    inset: auto 10% -26px 10%;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(44, 62, 80, 0.22), rgba(44, 62, 80, 0));
    transform: translateZ(-20px);
    pointer-events: none;
}

.vu-catalog-mock:hover {
    transform: perspective(900px) rotateY(-12deg) rotateX(4deg) translateY(-2px);
}

.vu-empty-note {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(44, 62, 80, 0.20);
    color: rgba(44, 62, 80, 0.82);
    font-weight: 700;
}

.vu-contact {
    padding: 18px 0 42px;
}

.vu-contact-shell {
    border-radius: 28px;
    padding: 18px;
    background:
        radial-gradient(900px 380px at 10% 0%, rgba(91, 188, 176, 0.22), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86));
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 20px 70px rgba(44, 62, 80, 0.10);
    backdrop-filter: blur(12px);
}

.vu-call-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.vu-call-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(44, 62, 80, 0.12);
    border-color: rgba(91, 188, 176, 0.32);
}

.vu-call-ico {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(91, 188, 176, 0.20), rgba(91, 188, 176, 0.06));
    border: 1px solid rgba(91, 188, 176, 0.25);
    color: var(--primary-dark);
    flex: 0 0 auto;
    font-size: 1.15rem;
}

.vu-call-meta {
    min-width: 0;
}

.vu-call-label {
    color: rgba(44, 62, 80, 0.70);
    font-weight: 700;
    font-size: 0.9rem;
}

.vu-call-num {
    font-weight: 900;
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-top: 2px;
}

.vu-call-cta {
    margin-right: auto;
    color: rgba(44, 62, 80, 0.35);
    font-size: 1rem;
}

.vu-contact-foot {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

@media (max-width: 576px) {
    .vu-hero-card {
        padding: 18px 14px;
        border-radius: 24px;
    }

    .vu-hero-actions {
        gap: 10px;
    }

    .vu-hero-actions .vu-btn-lg {
        width: 100%;
        justify-content: center;
    }

    .vu-feature-card {
        border-radius: 20px;
        padding: 16px 12px;
    }

    .vu-contact-shell {
        padding: 14px;
        border-radius: 26px;
    }
}
