/* v3.27 — Premium public-page animated layer */
/* ------------------------------------------------------------------
 * Adds a sticky premium navbar, animated gradient blobs background,
 * mouse-glow / tilt / reveal utilities, FAQ accordion, and 3D float
 * helpers. All selectors are namespaced (.ez-prem-*) so nothing here
 * collides with the existing .public-nav / .hero / .section system
 * shipped in public_base.html. Purely additive.
 * ------------------------------------------------------------------ */

/* =========================================================
 * 1. Animated background — fixed full-viewport layer
 * ========================================================= */
.ez-prem-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ez-prem-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}

.ez-prem-bg__blob--a {
    width: 520px;
    height: 520px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle at 30% 30%, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
    animation: ezPremDriftA 18s ease-in-out infinite;
}

.ez-prem-bg__blob--b {
    width: 620px;
    height: 620px;
    top: 30vh;
    right: -180px;
    background: radial-gradient(circle at 70% 30%, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
    animation: ezPremDriftB 22s ease-in-out infinite;
}

.ez-prem-bg__blob--c {
    width: 480px;
    height: 480px;
    bottom: -160px;
    left: 40%;
    background: radial-gradient(circle at 50% 50%, #0ea5e9 0%, rgba(14, 165, 233, 0) 70%);
    animation: ezPremDriftC 26s ease-in-out infinite;
    opacity: 0.40;
}

@keyframes ezPremDriftA {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(60px, 80px, 0) scale(1.08); }
}
@keyframes ezPremDriftB {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(-80px, 60px, 0) scale(1.1); }
}
@keyframes ezPremDriftC {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(40px, -60px, 0) scale(0.92); }
}

/* Faint dot grid overlay with edge fade-out via mask. */
.ez-prem-bg__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 102, 241, 0.45) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.18;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
            mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

/* v3.39 — Signature aurora arc glow behind the hero. A large soft elliptical
   brand glow (indigo → violet → fuchsia) centred near the top, with a slow
   breathing pulse. On-brand premium SaaS focal light; reduced-motion safe. */
.ez-prem-bg__aurora {
    position: absolute;
    top: -32vh;
    left: 50%;
    width: min(1300px, 150vw);
    height: 95vh;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(ellipse 60% 55% at 50% 44%, rgba(139, 92, 246, 0.52) 0%, rgba(139, 92, 246, 0) 60%),
        radial-gradient(ellipse 46% 42% at 33% 40%, rgba(99, 102, 241, 0.50) 0%, rgba(99, 102, 241, 0) 62%),
        radial-gradient(ellipse 46% 42% at 68% 42%, rgba(217, 70, 239, 0.40) 0%, rgba(217, 70, 239, 0) 60%);
    filter: blur(36px);
    opacity: 1;
    animation: ezPremAurora 16s ease-in-out infinite;
}
@keyframes ezPremAurora {
    0%, 100% { transform: translateX(-50%) scale(1);   opacity: 0.85; }
    50%      { transform: translateX(-50%) scale(1.07); opacity: 1; }
}
@media (max-width: 575px) {
    /* Lighter, smaller glow on phones (perf + it shouldn't dominate). */
    .ez-prem-bg__aurora { height: 60vh; top: -18vh; opacity: 0.7; filter: blur(34px); }
}

/* v3.39 — Hero entrance: a subtle staggered fade-up on first paint (the hero
   is above the fold, so scroll-reveal never fires for it). */
.ez-prem-hero-grid__text > *,
.ez-prem-hero > .ez-prem-eyebrow,
.ez-prem-hero > .ez-prem-headline,
.ez-prem-hero > .ez-prem-sub,
.ez-prem-hero > .ez-prem-cta-row {
    animation: ezHeroIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.ez-prem-hero-grid__text > *:nth-child(1) { animation-delay: 0.02s; }
.ez-prem-hero-grid__text > *:nth-child(2) { animation-delay: 0.10s; }
.ez-prem-hero-grid__text > *:nth-child(3) { animation-delay: 0.18s; }
.ez-prem-hero-grid__text > *:nth-child(4) { animation-delay: 0.26s; }
.ez-prem-hero-grid__text > *:nth-child(5) { animation-delay: 0.34s; }
@keyframes ezHeroIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
 * 2. Premium navbar
 * ========================================================= */
.ez-prem-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: clamp(64px, 8vh, 80px);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.10);
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ez-prem-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    border-bottom-color: rgba(99, 102, 241, 0.18);
}

.ez-prem-nav__inner {
    max-width: var(--public-max-width, 1180px);
    margin: 0 auto;
    padding: 0 var(--content-padding, clamp(16px, 3vw, 32px));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ez-prem-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ez-prem-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    transition: color 220ms ease;
}

.ez-prem-nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.ez-prem-nav__link:hover,
.ez-prem-nav__link:focus-visible {
    color: #4338ca;
}

.ez-prem-nav__link:hover::after,
.ez-prem-nav__link:focus-visible::after,
.ez-prem-nav__link.is-active::after {
    transform: scaleX(1);
}

.ez-prem-nav__link.is-active {
    color: #4338ca;
}

.ez-prem-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.28);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.ez-prem-nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.42);
    color: #fff;
}

/* Burger button (mobile only) */
.ez-prem-nav__burger {
    display: none;
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.18);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background 200ms ease;
}

.ez-prem-nav__burger:hover {
    background: rgba(99, 102, 241, 0.08);
}

.ez-prem-nav__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
    transition: transform 220ms ease, opacity 220ms ease;
}

.ez-prem-nav__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.ez-prem-nav__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.ez-prem-nav__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down menu */
.ez-prem-mobile-menu {
    display: none;
    position: fixed;
    top: clamp(64px, 8vh, 80px);
    left: 0;
    right: 0;
    z-index: 49;
    padding: 18px 20px 24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
}

.ez-prem-mobile-menu.is-open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.ez-prem-mobile-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.ez-prem-mobile-menu a:hover,
.ez-prem-mobile-menu a.is-active {
    background: rgba(99, 102, 241, 0.10);
    color: #4338ca;
}

.ez-prem-mobile-menu .ez-prem-mobile-menu__cta-row {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(99, 102, 241, 0.10);
}

/* =========================================================
 * 3. Hero kit
 * ========================================================= */
.ez-prem-hero {
    min-height: clamp(380px, 60vh, 640px);
    max-width: var(--public-max-width, 1180px);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 96px) var(--content-padding, 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.ez-prem-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ez-prem-headline {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 auto;
    max-width: 920px;
}

.ez-prem-sub {
    color: #475569;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.65;
    max-width: 620px;
    margin: 18px auto 0;
}

/* =========================================================
 * 4. Glass cards + mouse glow + tilt
 * ========================================================= */
.ez-prem-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 20px;
    /* Gradient border via the double-bg trick: a solid inner bg over a
       gradient outer bg using background-clip border-box/padding-box. */
    border: 1px solid transparent;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
        linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.18));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: clamp(20px, 3vw, 32px);
    overflow: hidden;
}

/* Tilt card — JS owns the transform; CSS only sets the transition + perspective. */
.ez-prem-tilt-card {
    perspective: 1000px;
    transition: transform 200ms ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Mouse-glow — element drives --mx / --my from JS. */
.ez-prem-mouse-glow {
    position: relative;
    isolation: isolate;
}

.ez-prem-mouse-glow::before {
    content: "";
    position: absolute;
    left: var(--mx, 50%);
    top: var(--my, 50%);
    width: 480px;
    height: 480px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(139, 92, 246, 0.10) 35%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 320ms ease;
}

.ez-prem-mouse-glow.is-active::before {
    opacity: 0.8;
}

/* =========================================================
 * 5. Reveal-on-scroll utility
 * ========================================================= */
.ez-prem-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}

.ez-prem-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ez-prem-stagger-1 { transition-delay: 0.05s; }
.ez-prem-stagger-2 { transition-delay: 0.15s; }
.ez-prem-stagger-3 { transition-delay: 0.25s; }

/* =========================================================
 * 6. Premium CTA pill
 * ========================================================= */
.ez-prem-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.32);
    transition: transform 220ms ease, box-shadow 220ms ease;
    isolation: isolate;
}

.ez-prem-cta::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.55), rgba(139, 92, 246, 0.45));
    filter: blur(18px);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 220ms ease;
}

.ez-prem-cta:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.46);
}

.ez-prem-cta:hover::before {
    opacity: 0.85;
}

/* =========================================================
 * 7. Floating 3D utility
 * ========================================================= */
.ez-prem-float-3d {
    transform-style: preserve-3d;
    animation: ezPremFloatY 4s ease-in-out infinite;
    will-change: transform;
}

.ez-prem-float-3d:nth-child(2) { animation-delay: -1.2s; }
.ez-prem-float-3d:nth-child(3) { animation-delay: -2.4s; }

@keyframes ezPremFloatY {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    50%      { transform: translateY(-12px) rotateX(2deg) rotateY(-1deg); }
}

/* =========================================================
 * 8. FAQ accordion (optional)
 * ========================================================= */
.ez-prem-faq-item {
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 220ms ease, border-color 220ms ease;
}

.ez-prem-faq-item:hover {
    border-color: rgba(99, 102, 241, 0.30);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ez-prem-faq-item button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 16px 18px;
    font-size: 15.5px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.ez-prem-faq-item button[aria-expanded="true"] {
    color: #4338ca;
}

.ez-prem-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms ease;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.65;
}

.ez-prem-faq-answer__inner {
    padding: 0 18px 18px;
}

/* =========================================================
 * 9. Responsive
 * ========================================================= */
@media (max-width: 991.98px) {
    .ez-prem-nav__links {
        display: none;
    }
    .ez-prem-nav__burger {
        display: inline-flex;
    }
    .ez-prem-nav__cta--desktop {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .ez-prem-nav__inner {
        padding: 0 16px;
    }
    .ez-prem-hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .ez-prem-bg__blob--a,
    .ez-prem-bg__blob--b,
    .ez-prem-bg__blob--c {
        width: 360px;
        height: 360px;
    }
}

/* =========================================================
 * 10. Reduced-motion accessibility
 * ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .ez-prem-bg__blob,
    .ez-prem-bg__aurora,
    .ez-prem-reveal,
    .ez-prem-tilt-card,
    .ez-prem-float-3d,
    .ez-prem-hero-grid__text > *,
    .ez-prem-hero > .ez-prem-eyebrow,
    .ez-prem-hero > .ez-prem-headline,
    .ez-prem-hero > .ez-prem-sub,
    .ez-prem-hero > .ez-prem-cta-row {
        animation: none !important;
        transition: none !important;
    }
    .ez-prem-hero-grid__text > * { opacity: 1 !important; transform: none !important; }
    .ez-prem-reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .ez-prem-mouse-glow::before {
        display: none !important;
    }
}

/* === v3.28 — polish repair (icon-box, preloader, CTA row, 3D hero, polished bg) === */

/* ---------------------------------------------------------
 * 11. .ez-icon-box utility — universal icon container
 *     The bug: SVG icons were rendering at random sizes / bare,
 *     and the public templates had no shared icon container. This
 *     utility gives a predictable square frame with a soft brand
 *     wash and forces inner SVGs to fill 60% so stroke widths read
 *     consistently across all sizes. Variants follow Bootstrap's
 *     sm/md/lg/xl naming so they're easy to remember.
 * --------------------------------------------------------- */
.ez-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
    vertical-align: middle;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.10);
    color: #4338ca;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.10);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.ez-icon-box > svg {
    width: 60%;
    height: 60%;
    display: block;
}

.ez-icon-box--sm { width: 28px; height: 28px; border-radius: 9px; }
.ez-icon-box--md { width: 40px; height: 40px; border-radius: 12px; }
.ez-icon-box--lg { width: 56px; height: 56px; border-radius: 16px; }
.ez-icon-box--xl { width: 72px; height: 72px; border-radius: 20px; }

.ez-icon-box--ghost {
    background: transparent;
    box-shadow: none;
}

.ez-icon-box--brand {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(99, 102, 241, 0.28);
}

.ez-icon-box--accent {
    background: rgba(255, 255, 255, 0.78);
    color: #4338ca;
    box-shadow: inset 0 0 0 1.5px rgba(99, 102, 241, 0.32),
                0 6px 14px rgba(15, 23, 42, 0.06);
}

/* ---------------------------------------------------------
 * 12. .ez-prem-cta-row — horizontal flex container for hero CTAs
 *     The bug: .ez-prem-hero is column-flex, so two .ez-prem-cta
 *     buttons (which are inline-flex) stacked vertically. Wrapping
 *     them in this row puts them side-by-side with a gap.
 * --------------------------------------------------------- */
.ez-prem-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

@media (max-width: 575.98px) {
    .ez-prem-cta-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .ez-prem-cta-row > .ez-prem-cta,
    .ez-prem-cta-row > a,
    .ez-prem-cta-row > button {
        width: 100%;
        justify-content: center;
    }
}

/* ---------------------------------------------------------
 * 13. .ez-preloader — brand splash shown while the page boots
 *     Always rendered with .is-active by JS on DOMContentLoaded
 *     and hidden with .is-hidden on window.load (or 4s safety net).
 * --------------------------------------------------------- */
.ez-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%,
                rgba(99, 102, 241, 0.18) 0%,
                rgba(255, 255, 255, 0.96) 70%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 500ms ease, visibility 500ms ease;
}

.ez-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ez-preloader__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.ez-preloader__mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.36);
    animation: ezPreBreathe 2s ease-in-out infinite;
    will-change: transform;
}

@keyframes ezPreBreathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.ez-preloader__bar {
    position: relative;
    width: 220px;
    height: 4px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    overflow: hidden;
}

.ez-preloader__bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    animation: ezPreBarSlide 1.4s ease-in-out infinite;
}

@keyframes ezPreBarSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(280%); }
}

.ez-preloader__label {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.2px;
}

/* ---------------------------------------------------------
 * 14. .ez-prem-hero-3d — perspective stack used by hero mockups
 *     Gives a layered, slightly tilted card stack that feels
 *     premium without being gimmicky. Pair each card with a
 *     translateZ() to control depth.
 * --------------------------------------------------------- */
.ez-prem-hero-3d {
    perspective: 1200px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ez-prem-hero-3d__stack {
    position: relative;
    display: grid;
    gap: 14px;
    transform: rotateY(-6deg) rotateX(4deg);
    transform-style: preserve-3d;
}

.ez-prem-hero-3d__card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
    transform-style: preserve-3d;
}

.ez-prem-hero-3d__card--front  { transform: translateZ(40px); }
.ez-prem-hero-3d__card--middle { transform: translateZ(20px); }
.ez-prem-hero-3d__card--back   { transform: translateZ(0); opacity: 0.92; }

/* ---------------------------------------------------------
 * 15. Polished background extras — animated diagonal line + sparkles
 *     Both are decorative-only and pointer-event ignored. They add
 *     just enough motion to the 2D background that the page feels
 *     alive without overwhelming the foreground content.
 * --------------------------------------------------------- */
.ez-prem-bg__blob--a,
.ez-prem-bg__blob--b,
.ez-prem-bg__blob--c {
    filter: blur(80px) saturate(135%);
}

.ez-prem-bg__line {
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 1px;
    background: linear-gradient(90deg,
                transparent 0%,
                rgba(99, 102, 241, 0.45) 40%,
                rgba(139, 92, 246, 0.55) 60%,
                transparent 100%);
    opacity: 0.18;
    transform: rotate(-12deg);
    transform-origin: 50% 50%;
    animation: ezPremLineSweep 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ezPremLineSweep {
    0%   { transform: rotate(-12deg) translateY(-30vh); opacity: 0; }
    20%  { opacity: 0.22; }
    50%  { transform: rotate(-12deg) translateY(40vh); opacity: 0.18; }
    80%  { opacity: 0.22; }
    100% { transform: rotate(-12deg) translateY(110vh); opacity: 0; }
}

.ez-prem-bg__sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.85) 0%, rgba(99, 102, 241, 0) 70%);
    opacity: 0.45;
    pointer-events: none;
    animation: ezPremTwinkle 6s ease-in-out infinite;
}

.ez-prem-bg__sparkle--1 { top: 18%; left: 14%; animation-delay: 0s; }
.ez-prem-bg__sparkle--2 { top: 32%; right: 18%; animation-delay: -1.5s; }
.ez-prem-bg__sparkle--3 { bottom: 28%; left: 32%; animation-delay: -3s; }
.ez-prem-bg__sparkle--4 { bottom: 14%; right: 22%; animation-delay: -4.5s; }

@keyframes ezPremTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.4); }
}

/* ---------------------------------------------------------
 * 16. Reduced-motion overrides for the v3.28 layer
 * --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .ez-preloader__mark,
    .ez-preloader__bar::before {
        animation: none !important;
    }
    .ez-preloader__bar::before {
        width: 100%;
        background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    }
    .ez-prem-hero-3d__stack {
        transform: none !important;
    }
    .ez-prem-hero-3d__card--front,
    .ez-prem-hero-3d__card--middle,
    .ez-prem-hero-3d__card--back {
        transform: none !important;
    }
    .ez-prem-bg__line,
    .ez-prem-bg__sparkle {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* =========================================================
 * === v3.28.2 — home hero split-grid + auth visual cleanup ===
 *
 * A clean two-column grid for the public home hero. The text
 * column sits on the left, the polished 3D mockup on the right.
 * Mobile collapses to a single column and the visual relaxes
 * its min-height so it never creates dead vertical space.
 * ========================================================= */

.ez-prem-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    max-width: var(--public-max-width);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) var(--content-padding);
}

@media (min-width: 992px) {
    .ez-prem-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.ez-prem-hero-grid__text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.ez-prem-hero-grid__visual {
    min-height: clamp(360px, 50vh, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .ez-prem-hero-grid__visual {
        min-height: auto;
    }
}

/* ---------------------------------------------------------
 * Polished 3D hero mockup — a glass frame hosting three
 * stacked sub-cards (icon + label/value + tiny sparkline).
 * --------------------------------------------------------- */
.ez-prem-hero-mockup {
    max-width: 440px;
    width: 100%;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.ez-prem-hero-mockup__frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    min-height: 320px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    border-radius: 24px;
    box-shadow:
        0 30px 60px -25px rgba(15, 23, 42, 0.35),
        0 10px 25px -10px rgba(99, 102, 241, 0.25);
    transform-style: preserve-3d;
}

.ez-prem-hero-mockup__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        140deg,
        rgba(99, 102, 241, 0.55) 0%,
        rgba(139, 92, 246, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.ez-prem-hero-mockup__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 16px;
    box-shadow: 0 10px 28px -14px rgba(15, 23, 42, 0.22);
    will-change: transform;
    transform-style: preserve-3d;
}

.ez-prem-hero-mockup__row-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.ez-prem-hero-mockup__row-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.ez-prem-hero-mockup__row-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ez-prem-hero-mockup__row-label {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #6b7280;
    line-height: 1.2;
}

.ez-prem-hero-mockup__row-value {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ez-prem-hero-mockup__row-spark {
    width: 44px;
    height: 22px;
    flex: 0 0 auto;
    color: #6366f1;
    opacity: 0.9;
}

.ez-prem-hero-mockup__row-spark svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Staggered float — 3 rows with different durations + delays. */
.ez-prem-hero-mockup__row--a {
    animation: ezPremHeroFloatY 4s ease-in-out 0s infinite;
}

.ez-prem-hero-mockup__row--b {
    animation: ezPremHeroFloatY 5s ease-in-out 0.5s infinite;
}

.ez-prem-hero-mockup__row--c {
    animation: ezPremHeroFloatY 6s ease-in-out 1s infinite;
}

@keyframes ezPremHeroFloatY {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ez-prem-hero-mockup__row--a,
    .ez-prem-hero-mockup__row--b,
    .ez-prem-hero-mockup__row--c {
        animation: none !important;
        transform: none !important;
    }
}
/* === end v3.28.2 — home hero split-grid + auth visual cleanup === */

/* === v3.29.1 — Home hero trust chips + headline softener + mockup column polish === */

/* Trust chips — replaces the plain "Stock·Sales·Profit·Approvals" text */
.ez-prem-trust-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 18px !important;
  align-items: center !important;
}
.ez-prem-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: #4338ca;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: background 150ms ease, transform 150ms ease;
}
.ez-prem-trust-chip:hover {
  background: rgba(99, 102, 241, 0.14);
  transform: translateY(-1px);
}
.ez-prem-trust-chip svg, .ez-prem-trust-chip i {
  width: 14px; height: 14px; color: #6366f1; display: block;
}
.ez-prem-trust-chip__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #6366f1;
  display: inline-block;
}

/* Soften the headline — keep the gradient but mature the saturation */
.ez-prem-headline {
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 60%, #7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
}

/* Mockup row — fix the awkward wrapping of value text */
.ez-prem-hero-mockup__frame {
  padding: 16px !important;
  gap: 14px !important;
}
.ez-prem-hero-mockup__row {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 12px 30px -16px rgba(15, 23, 42, 0.10) !important;
}
.ez-prem-hero-mockup__row .ez-icon-box {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
}
.ez-prem-hero-mockup__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
.ez-prem-hero-mockup__label {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.7px !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  line-height: 1.2 !important;
}
.ez-prem-hero-mockup__value {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ez-prem-hero-mockup__spark {
  width: 44px !important;
  height: 22px !important;
  color: #6366f1 !important;
  flex: 0 0 auto !important;
}

/* Soften CTA buttons — more mature SaaS look */
.ez-prem-cta--primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  box-shadow: 0 16px 32px -16px rgba(79, 70, 229, 0.55) !important;
}
.ez-prem-cta--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.ez-prem-cta--ghost {
  background: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(99,102,241,0.22) !important;
  color: #4338ca !important;
}
.ez-prem-cta--ghost:hover {
  background: rgba(255,255,255,0.95) !important;
  border-color: rgba(99,102,241,0.45) !important;
}

@media (max-width: 575.98px) {
  .ez-prem-trust-row { gap: 6px !important; }
  .ez-prem-trust-chip { padding: 5px 10px; font-size: 12px; }
}
/* === end v3.29.1 === */

/* === v3.29.2 — eyebrow icon + pure-white CTA icon === */

.ez-prem-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.ez-prem-eyebrow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.16);
  color: #4338ca;
  flex: 0 0 auto;
}
.ez-prem-eyebrow__icon svg,
.ez-prem-eyebrow__icon i {
  width: 12px !important;
  height: 12px !important;
  display: block !important;
  stroke-width: 2.2 !important;
}

/* Primary CTA: every icon child rendered pure white at full opacity */
.ez-prem-cta--primary,
a.ez-prem-cta--primary,
button.ez-prem-cta--primary {
  color: #ffffff !important;
}
.ez-prem-cta--primary .ez-icon-box,
.ez-prem-cta--primary .ez-icon-box--ghost,
.ez-prem-cta--primary .ez-icon-box--brand,
a.ez-prem-cta--primary .ez-icon-box {
  background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}
.ez-prem-cta--primary svg,
.ez-prem-cta--primary i,
.ez-prem-cta--primary .ez-icon-box svg,
.ez-prem-cta--primary .ez-icon-box i {
  color: #ffffff !important;
  fill: none !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

/* end v3.29.2 */

/* === v3.29.3 — Neatly seat the MOST POPULAR ribbon === */

.ez-prem-glass-card--popular {
  overflow: visible !important;
  padding-top: 32px !important;
  position: relative !important;
}
/* Modern browsers also catch it via :has() — safety net */
.ez-prem-glass-card:has(.badge-popular) {
  overflow: visible !important;
}
.ez-prem-glass-card--popular .badge-popular,
.badge-popular {
  position: absolute !important;
  top: -14px !important;
  right: 20px !important;
  left: auto !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 28px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow:
    0 12px 28px -10px rgba(79, 70, 229, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.9) !important;
  border: 0 !important;
  transform: none !important;
}
.ez-prem-glass-card--popular .badge-popular::before,
.badge-popular::before {
  content: '★';
  font-size: 11px;
  color: #fff;
  margin-right: 2px;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .ez-prem-glass-card--popular .badge-popular,
  .badge-popular {
    right: 14px !important;
    top: -12px !important;
    height: 24px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
  }
}

/* end v3.29.3 */

/* === v3.29.4 — mobile nav polish + outside-click backdrop + CTA white text + responsive sizing === */

/* Backdrop overlay that appears with the mobile menu */
.ez-prem-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms;
}
.ez-prem-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Body scroll lock when nav is open */
body.ez-prem-nav-open {
  overflow: hidden !important;
  position: relative;
}

/* Mobile menu refinements */
@media (max-width: 991.98px) {
  .ez-prem-mobile-menu {
    z-index: 51;
    padding: 16px 18px clamp(20px, 4vw, 28px) !important;
  }
  .ez-prem-mobile-menu .ez-prem-nav__link,
  .ez-prem-mobile-menu a.ez-prem-nav__link {
    display: block;
    padding: 12px 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
  }
  /* Mobile menu CTA row — "Sign in" + "Get started" */
  .ez-prem-mobile-menu .cta-row,
  .ez-prem-mobile-menu .ez-prem-mobile-cta-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(99, 102, 241, 0.12);
  }
  .ez-prem-mobile-menu .cta-row > *,
  .ez-prem-mobile-menu .ez-prem-mobile-cta-row > * {
    flex: 1 1 0;
    min-width: 0;
  }
  /* Force the "Get started" / brand CTA text to pure white on its gradient */
  .ez-prem-mobile-menu .btn-brand,
  .ez-prem-mobile-menu .ez-prem-nav__cta,
  .ez-prem-mobile-menu a.btn-brand,
  .ez-prem-mobile-menu a.ez-prem-nav__cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px -12px rgba(79, 70, 229, 0.55) !important;
    border: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    white-space: nowrap;
  }
  .ez-prem-mobile-menu .btn-brand:hover,
  .ez-prem-mobile-menu .ez-prem-nav__cta:hover {
    filter: brightness(1.04);
  }
  /* Ghost "Sign in" sibling */
  .ez-prem-mobile-menu .btn-ghost,
  .ez-prem-mobile-menu a.btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    color: #4338ca !important;
    border: 1px solid rgba(99, 102, 241, 0.22) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    white-space: nowrap;
  }

  /* Hero CTAs tighter on mobile */
  .ez-prem-cta {
    height: 46px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }
  .ez-prem-cta-row {
    gap: 10px !important;
  }
  /* Single column hero on phones */
  .ez-prem-hero-grid {
    padding: 28px 16px !important;
    gap: 28px !important;
  }
  .ez-prem-hero-grid__visual { min-height: auto !important; }
  .ez-prem-hero-mockup { max-width: 100%; }

  /* Trust chips tighter */
  .ez-prem-trust-row {
    gap: 6px !important;
    margin-top: 14px !important;
  }
  .ez-prem-trust-chip {
    padding: 5px 10px;
    font-size: 12px;
    gap: 5px;
  }
}

@media (max-width: 575.98px) {
  .ez-prem-mobile-menu .cta-row,
  .ez-prem-mobile-menu .ez-prem-mobile-cta-row {
    flex-direction: column;
    gap: 8px;
  }
  .ez-prem-cta { width: 100%; }
  .ez-prem-cta-row { flex-direction: column; align-items: stretch; gap: 8px; }
}

/* end v3.29.4 */

/* =========================================================
 * v3.32 — Contact page premium layout (.ez-contact-*)
 *   Self-contained: does not depend on the half-applied
 *   .contact-card .cc-* rules in eazydev.css.
 * ========================================================= */
.ez-contact-section {
    max-width: var(--public-max-width, 1180px);
    margin: 0 auto;
    padding: 0 var(--content-padding, 32px) clamp(48px, 7vw, 88px);
}
.ez-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 28px);
    align-items: start;
}
@media (max-width: 991.98px) {
    .ez-contact-grid { grid-template-columns: 1fr; }
}

/* ---- Form card ---- */
.ez-contact-form-card { padding: clamp(22px, 3vw, 36px); }
.ez-contact-form-head {
    display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.ez-contact-form-head__icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-500, #6366f1), var(--accent-500, #8b5cf6));
    box-shadow: 0 10px 22px rgba(99, 102, 241, 0.30);
}
.ez-contact-form-head__icon svg { width: 20px; height: 20px; display: block; }
.ez-contact-form-head h2 {
    margin: 0; font-size: clamp(18px, 2vw, 21px); font-weight: 800;
    color: var(--ink-900, #0f172a); letter-spacing: -0.3px;
}
.ez-contact-form-head p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-500, #64748b); }

/* ---- Form fields ---- */
.ez-cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 575.98px) { .ez-cf-grid { grid-template-columns: 1fr; } }
.ez-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ez-field--full { grid-column: 1 / -1; }
.ez-field label {
    font-size: 13px; font-weight: 600; color: var(--ink-700, #334155); letter-spacing: 0.1px;
}
.ez-field label .req { color: #ef4444; font-weight: 700; }
.ez-contact-form .form-control,
.ez-contact-form .form-select {
    width: 100%; border-radius: 12px; border: 1.5px solid var(--ink-200, #e2e8f0);
    padding: 12px 14px; font-size: 14.5px; background: #fff; color: var(--ink-900, #0f172a);
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}
.ez-contact-form textarea.form-control { resize: vertical; min-height: 132px; line-height: 1.6; }
.ez-contact-form .form-control:focus,
.ez-contact-form .form-select:focus {
    outline: none; border-color: var(--brand-500, #6366f1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}
.ez-contact-form__foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-top: 20px;
}
.ez-contact-form__assure {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; color: var(--ink-500, #64748b);
}
.ez-contact-form__assure svg { color: #10b981; width: 14px; height: 14px; }
.ez-contact-form__btn { white-space: nowrap; }

/* ---- Contact info cards ---- */
.ez-contact-info { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 18px); }
.ez-contact-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px; text-decoration: none;
    transition: transform .18s ease, box-shadow .25s ease;
}
.ez-contact-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.30); }
.ez-contact-card__icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-500, #6366f1), var(--accent-500, #8b5cf6));
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.24);
}
.ez-contact-card__icon svg { width: 20px; height: 20px; display: block; }
.ez-contact-card__icon--green { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.22); }
.ez-contact-card__icon--blue  { background: linear-gradient(135deg, #0ea5e9, #38bdf8); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.22); }
.ez-contact-card__icon--amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 10px 20px rgba(245, 158, 11, 0.22); }
.ez-contact-card__body { display: flex; flex-direction: column; min-width: 0; }
.ez-contact-card__label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase;
    color: var(--brand-700, #4338ca); margin-bottom: 3px;
}
.ez-contact-card__value { font-size: 15px; font-weight: 700; color: var(--ink-900, #0f172a); overflow-wrap: anywhere; line-height: 1.3; }
.ez-contact-card__value a { color: var(--brand-600, #4f46e5); text-decoration: none; }
.ez-contact-card__value a:hover { text-decoration: underline; }
.ez-contact-card__sub { font-size: 13px; color: var(--ink-500, #64748b); margin-top: 4px; line-height: 1.5; }
.ez-contact-card__link {
    margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--brand-600, #4f46e5);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.ez-contact-card__link:hover { text-decoration: underline; }
.ez-contact-card__link svg { width: 14px; height: 14px; }
.ez-contact-card--faq { background-image:
        linear-gradient(rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.05)),
        linear-gradient(135deg, rgba(99, 102, 241, 0.38), rgba(139, 92, 246, 0.22)); }

/* =========================================================
 * v3.32 — Reusable global cursor spotlight
 *   A subtle radial glow that follows the cursor, painted
 *   BEHIND content (z-index:-1, pointer-events:none). JS adds
 *   the .ez-cursor-glow element + sets --gx/--gy on it, and
 *   toggles body.ez-cursor-active. Desktop fine-pointer only.
 * ========================================================= */
.ez-cursor-glow {
    position: fixed;
    left: var(--gx, 50%);
    top: var(--gy, 50%);
    width: 520px;
    height: 520px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.13) 0%, rgba(139, 92, 246, 0.07) 42%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}
body.ez-cursor-active .ez-cursor-glow { opacity: 1; }
@media (max-width: 768px) { .ez-cursor-glow { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ez-cursor-glow { display: none !important; } }

/* end v3.32 */

/* =========================================================
 * v3.32.3 — Equal-height trust cards (reviews strip)
 *   Bootstrap row columns already stretch to equal height;
 *   h-100 (height:100%) makes each card fill its column, and a
 *   reserved 2-line title slot keeps the icon / title / sub
 *   aligned across all four cards regardless of text length.
 * ========================================================= */
.ez-trust-card {
    height: 100%;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ez-trust-card__title {
    font-weight: 700;
    color: var(--ink-900, #0f172a);
    font-size: 14px;
    line-height: 1.3;
    margin-top: 8px;
    min-height: 2.6em;            /* reserve ~2 lines so 1- and 2-line titles line up */
    display: flex;
    align-items: center;
    justify-content: center;
}
.ez-trust-card__sub {
    font-size: 12px;
    color: var(--ink-500, #64748b);
    line-height: 1.4;
    margin-top: 2px;
}
/* end v3.32.3 */
