/* ==========================================================================
   WebViewGold – modern design layer
   Loaded after the combined theme CSS; refines typography, hero, CTAs,
   cards and sections without changing the page structure.
   ========================================================================== */

:root {
    --wvg-primary: #d60a62;
    --wvg-primary-dark: #9c0a4e;
    --wvg-primary-light: #ff3d8b;
    --wvg-ink: #1c2431;
    --wvg-radius-card: 18px;
    --wvg-radius-pill: 999px;
    --wvg-shadow-soft: 0 10px 30px -12px rgba(28, 36, 49, .18);
    --wvg-shadow-lift: 0 24px 48px -18px rgba(28, 36, 49, .28);
    --wvg-shadow-cta: 0 12px 28px -10px rgba(214, 10, 98, .55);
}

/* ---------- Global polish ---------- */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a,
.button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        box-shadow .25s ease, transform .25s ease;
}

:focus-visible {
    outline: 3px solid var(--wvg-primary-light);
    outline-offset: 2px;
}

/* ---------- Hero ---------- */

.hero.is-theme-secondary.hero-waves {
    background-image: linear-gradient(140deg, #ff2e7e 0%, #d60a62 42%, #8f0747 100%) !important;
    position: relative;
    overflow: hidden;
}

/* soft radial glows behind the hero content */
.hero.is-theme-secondary.hero-waves::before,
.hero.is-theme-secondary.hero-waves::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero.is-theme-secondary.hero-waves::before {
    width: 620px;
    height: 620px;
    top: -220px;
    right: -160px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 65%);
}

.hero.is-theme-secondary.hero-waves::after {
    width: 480px;
    height: 480px;
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle, rgba(255, 61, 139, .35) 0%, rgba(255, 61, 139, 0) 70%);
}

.hero.is-theme-secondary .hero-body {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.hero .landing-title {
    letter-spacing: -.02em;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .12);
}

.hero .subtitle.light-text {
    color: rgba(255, 255, 255, .92) !important;
    line-height: 1.6;
}

.hero figure.image img {
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .22));
}

/* Sale badge pill */
.sale-pill {
    display: inline-flex;
    margin-top: 18px;
    align-items: center;
    gap: .5em;
    margin-bottom: 18px;
    padding: 8px 18px;
    border-radius: var(--wvg-radius-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    animation: wvg-fade-up .7s ease both;
}

.sale-pill .fa,
.sale-pill .sale-pill-ico {
    color: #ffd166;
    flex-shrink: 0;
}

/* CTA buttons */
.hero .button-cta {
    border-radius: var(--wvg-radius-pill) !important;
    padding-left: 28px;
    padding-right: 28px;
    font-weight: 700 !important;
}

.hero .button-cta.primary-cta {
    background: #fff !important;
    color: var(--wvg-primary) !important;
    border: 2px solid #fff !important;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
}

.hero .button-cta.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -12px rgba(0, 0, 0, .45);
    background: #fff !important;
    color: var(--wvg-primary-dark) !important;
}

.hero .button-cta.primary-cta .fa,
.hero .button-cta.primary-cta .cta-arrow {
    margin-left: 8px;
    vertical-align: -2px;
    transition: transform .25s ease;
}

.hero .button-cta.primary-cta:hover .fa,
.hero .button-cta.primary-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.hero .button-cta.light-btn.btn-outlined {
    border: 2px solid rgba(255, 255, 255, .75) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
}

.hero .button-cta.light-btn.btn-outlined:hover {
    transform: translateY(-2px);
    color: #fff !important;
    border-color: #fff !important;
    background: rgba(255, 255, 255, .18) !important;
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .4);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-chat-link {
    margin-top: 10px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .85);
}

.hero-chat-link a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-chat-link a:hover {
    color: #ffd166;
}

/* Trust badges under the hero CTAs */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 22px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    list-style: none;
    text-align: left;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: rgba(255, 255, 255, .95);
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.hero-trust li .fa,
.hero-trust li .trust-ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--wvg-primary);
    font-size: .74rem;
    line-height: 1;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35);
}

.hero-trust li .trust-ico svg {
    width: 13px;
    height: 13px;
    display: block;
}

/* ---------- Intro video facade (click-to-play, no black box) ---------- */

.video-facade {
    cursor: pointer;
    border-radius: var(--wvg-radius-card);
    overflow: hidden;
    background: var(--wvg-ink);
    box-shadow: var(--wvg-shadow-lift);
}

.video-facade .video-facade-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, opacity .3s ease;
}

.video-facade:hover .video-facade-thumb {
    transform: scale(1.04);
}

.video-facade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 36, 49, 0) 45%, rgba(28, 36, 49, .55) 100%);
    pointer-events: none;
    transition: opacity .3s ease;
}

.video-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wvg-primary);
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(214, 10, 98, .65);
    transition: transform .25s ease, background-color .25s ease;
    z-index: 1;
}

.video-facade-play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--wvg-primary-light);
}

.video-facade.is-loaded .video-facade-thumb,
.video-facade.is-loaded .video-facade-play,
.video-facade.is-loaded::after {
    opacity: 0;
    visibility: hidden;
}

.video-facade iframe {
    border: 0;
    z-index: 2;
}

/* ---------- Feature screenshots as cards (no hard white corners) ---------- */

.featured-svg {
    border-radius: var(--wvg-radius-card);
    background: #fff;
    border: 1px solid rgba(28, 36, 49, .08);
    box-shadow: var(--wvg-shadow-soft);
}

/* The illustration files ship with a drawn card + wide white margins baked in,
   which produced a "box in a box" next to the CSS card frame. The wrapper is
   the only visible card; the oversized image inside crops those margins away
   (sides ~11.5%, top ~17%, bottom ~19% — margins are relative to the wrapper
   width, hence the recalculated percentages). */
.shot-crop {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--wvg-radius-card);
    background: #fff;
    border: 1px solid rgba(28, 36, 49, .08);
    box-shadow: var(--wvg-shadow-soft);
}

.shot-crop .featured-svg {
    display: block;
    width: 129.9%;
    max-width: none;
    margin: -22.1% -14.9% -24.7%;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

/* ---------- Workshop section ---------- */

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .workshop-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

.workshop-card {
    background: #fff;
    border-radius: var(--wvg-radius-card);
    border: 1px solid rgba(28, 36, 49, .06);
    box-shadow: var(--wvg-shadow-soft);
    padding: 32px 26px;
    text-align: center;
    transition: box-shadow .3s ease, transform .3s ease;
}

.workshop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wvg-shadow-lift);
}

.workshop-card-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(140deg, #fff5f9 0%, #fde8f1 100%);
    color: var(--wvg-primary);
}

.workshop-card-icon svg {
    width: 28px;
    height: 28px;
}

.workshop-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wvg-ink);
    margin-bottom: 10px;
}

.workshop-card-text {
    color: #4a5568;
    line-height: 1.6;
    font-size: .95rem;
}

.workshop-cta {
    margin-top: 36px;
}

.workshop-cta .button-cta {
    box-shadow: var(--wvg-shadow-cta);
}

.workshop-cta .cta-arrow {
    margin-left: 8px;
    vertical-align: -2px;
}

.workshop-cta-note {
    margin-top: 14px;
    font-size: .85rem;
    color: #6b7280;
}

/* ---------- "More features" panel ---------- */

.more-features-panel {
    max-width: 860px;
    margin: 30px auto 10px;
    padding: 44px 34px;
    border-radius: var(--wvg-radius-card);
    background: linear-gradient(140deg, #fff5f9 0%, #fde8f1 100%);
    border: 1px solid rgba(214, 10, 98, .12);
    box-shadow: var(--wvg-shadow-soft);
}

.more-features-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--wvg-ink);
    letter-spacing: -.015em;
    margin-bottom: 12px;
}

.more-features-text {
    max-width: 560px;
    margin: 0 auto 26px;
    color: #4a5568;
    line-height: 1.65;
}

.more-features-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.more-features-ctas .button-cta {
    box-shadow: var(--wvg-shadow-cta);
}

.more-features-ctas .platform-ico {
    margin-right: 9px;
    font-size: 1.1em;
    vertical-align: -1px;
}

/* The minimized FontAwesome subset dropped this class; the webfont itself
   still ships the glyph. */
.fa-android:before {
    content: "\f17b";
}

/* ---------- Navbar ---------- */

.navbar.navbar-wrapper.is-solid,
.navbar.navbar-wrapper.navbar-faded {
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 6px 24px -12px rgba(28, 36, 49, .25);
}

.navbar .navbar-item.is-slide:hover {
    color: var(--wvg-primary) !important;
}

/* ---------- Sections & titles ---------- */

.section-title-landing,
.section .section-title {
    letter-spacing: -.015em;
    text-wrap: balance;
}

.section .title-divider {
    height: 4px;
    border-radius: var(--wvg-radius-pill);
    background: linear-gradient(90deg, var(--wvg-primary-light), var(--wvg-primary)) !important;
}

.section-feature-grey {
    background: linear-gradient(180deg, #f8f9fc 0%, #f1f3f9 100%) !important;
}

/* ---------- Cards ---------- */

.flex-card {
    border-radius: var(--wvg-radius-card) !important;
    border: 1px solid rgba(28, 36, 49, .06);
    box-shadow: var(--wvg-shadow-soft);
    transition: box-shadow .3s ease, transform .3s ease;
}

.flex-card.raised:hover {
    box-shadow: var(--wvg-shadow-lift);
}

/* Pricing cards */
.header-pricing-card {
    overflow: hidden;
}

.header-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wvg-shadow-lift);
}

.header-pricing-card .plan-name {
    letter-spacing: .01em;
}

.header-pricing-card .button-cta.primary-btn {
    border-radius: var(--wvg-radius-pill) !important;
    font-weight: 700 !important;
    box-shadow: var(--wvg-shadow-cta);
}

.header-pricing-card .button-cta.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(214, 10, 98, .6);
}

.header-pricing .header-pricing-card .pricing-card-body ul.plan-features {
    max-width: 265px;
}

.header-pricing .header-pricing-card .pricing-card-body ul.plan-features li,
.plan-features li {
    transition: background-color .2s ease;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    margin: 0 26px;
    padding: 12px 0;
}

/* Green check in front of every plan feature; requirement notes get a
   neutral info icon instead (li.is-note). */
.plan-features li::before {
    content: "\f00c";
    font-family: FontAwesome;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(39, 174, 96, .13);
    color: #27ae60;
    font-size: .68rem;
    line-height: 1;
}

.plan-features li.is-note::before {
    content: "\f129";
    background: rgba(28, 36, 49, .08);
    color: #6b7280;
}

.plan-features li .feature-count-text {
    color: #4a5568;
    font-size: .92rem;
    line-height: 1.55;
}

.plan-features li .feature-count-text a {
    color: var(--wvg-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Testimonials */
.testimonial-item .flex-card {
    border-radius: var(--wvg-radius-card) !important;
}

/* FAQ accordion */
#frequently h3 {
    border-radius: 12px !important;
    transition: background-color .2s ease, color .2s ease;
}

/* ---------- Buttons (global) ---------- */

.button.button-cta.raised:hover {
    transform: translateY(-2px);
}

/* ---------- Images ---------- */

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Motion & accessibility ---------- */

@keyframes wvg-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 768px) {
    .hero .landing-title {
        font-size: 2rem !important;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-cta-row .button-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

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