/*
 * EZ PIN - Global Design System
 * Load via Fluent Snippets -> CSS -> All Pages
 */

/* --- 1. DESIGN TOKENS & RESET --- */
:root {
    --ez-orange:      #F2672A;
    --ez-dark:        #12344D;
    --ez-slate:       #0F172A;
    --ez-red:         #DC2625;
    --ez-text:        #0F172A;
    --ez-gray:        #475569;
    --ez-light:       #64748B;
    --ez-border:      #E2E8F0;
    --ez-white:       #FFFFFF;
    --ez-green:       #22C55E;
    --ez-bg:          #F8FAFC;
    --ez-orange-soft: #FFF7ED;
    --ez-blue-soft:   #DBEAFE;
    --ez-r-sm:        8px;
    --ez-r-md:        12px;
    --ez-r-lg:        16px;
    --ez-r-xl:        24px;
    --ez-r-2xl:       32px;
    --ez-r-full:      9999px;
    --ez-shadow-sm:   0 2px 4px rgba(0,0,0,.05);
    --ez-shadow-md:   0 10px 20px rgba(0,0,0,.10);
    --ez-shadow-lg:   0 25px 50px rgba(0,0,0,.15);
    --ez-helper-gap:  12px;
    --ez-helper-line-height: 1.5;
    --ez-t:           color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .3s ease, transform .3s ease;
    --ez-t-spring:    color .3s cubic-bezier(.4,0,.2,1), background-color .3s cubic-bezier(.4,0,.2,1), border-color .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1), opacity .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--ez-text);
    background-color: var(--ez-bg);
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(at 0%   0%,   hsla(215,98%,61%,.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%,   hsla(16,90%,60%,.04)  0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(215,98%,61%,.03) 0px, transparent 50%),
        radial-gradient(at 0%   100%, hsla(16,90%,60%,.04)  0px, transparent 50%);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ez-t); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#page, .site-content { margin-bottom: 0; padding-bottom: 0; }

@supports (content-visibility: auto) {
    main.ez-global-wrapper .ez-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }
    main.ez-global-wrapper .ez-section:first-child { content-visibility: visible; }
}

@media print {
    main.ez-global-wrapper .ez-section { content-visibility: visible; }
}

/* --- 2. CONTAINERS & BACKGROUNDS --- */
.ez-container, .ez-why-container, .ez-pillars-container, .ez-stats-container,
.ez-api-container, .ez-channels-container, .ez-global-content, .ez-gateway-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.ez-bg-white { background: var(--ez-white); }
.ez-bg-body  { background: var(--ez-bg); }
.ez-bg-soft  { background: linear-gradient(135deg, rgba(255,247,237,0.8) 0%, rgba(240,249,255,0.9) 50%, rgba(255,255,255,1) 100%); }
.ez-bg-vivid {
    background:
        radial-gradient(circle at 20% 30%, rgba(242,103,42,0.28) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59,130,246,0.28) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(242,103,42,0.14) 0%, transparent 50%),
        linear-gradient(135deg, rgba(240,249,255,0.6) 0%, rgba(224,242,254,0.4) 100%);
}

/* --- 3. BUTTONS & UI ELEMENTS --- */
.ez-btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; min-height: 44px; padding: 16px 32px; border-radius: var(--ez-r-md); font-size: 1rem; font-weight: 700;
    font-family: inherit; border: none; cursor: pointer; white-space: nowrap; line-height: 1;
    transition: var(--ez-t-spring); text-decoration: none;
}
.ez-btn::after {
    content: ""; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.60) 50%, transparent 100%);
    transform: translate3d(0,0,0) skewX(-20deg); animation: ez-sheen 6s ease-in-out infinite;
    will-change: transform, opacity; pointer-events: none;
}
@keyframes ez-sheen {
    0% { transform: translate3d(0,0,0) skewX(-20deg); opacity: 0; }
    15% { opacity: .7; }
    40%, 100% { transform: translate3d(600%,0,0) skewX(-20deg); opacity: 0; }
}
.ez-btn svg { flex-shrink: 0; transition: transform .3s ease; }
.ez-btn:hover svg { transform: translateX(5px); }

.ez-btn-primary { background-color: var(--ez-orange); color: #FFF; box-shadow: 0 10px 25px rgba(242,103,42,.25); }
.ez-btn-primary:hover { background-color: var(--ez-dark); color: #FFF; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(242,103,42,.35); }

.ez-btn-outline {
    background: rgba(255,255,255,.50); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: var(--ez-text); border: 2px solid var(--ez-dark); box-shadow: 0 4px 15px rgba(15,23,42,.08);
}
.ez-btn-outline::after { animation-duration: 7s; }
.ez-btn-outline:hover { background-color: var(--ez-slate); color: #FFF; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(15,23,42,.20); }

.ez-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px;
    background: var(--ez-orange-soft); border: 1px solid #FFEDD5; border-radius: var(--ez-r-full);
    color: var(--ez-orange); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 20px 0;
}
.ez-ping { width: 8px; height: 8px; background: var(--ez-orange); border-radius: 50%; position: relative; flex-shrink: 0; }
.ez-ping::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--ez-orange); opacity: .4; animation: ez-ping-pulse 1.5s infinite; }
@keyframes ez-ping-pulse { 75%, 100% { transform: scale(2); opacity: 0; } }

.ez-icon-box {
    display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
    background: var(--ez-orange-soft); color: var(--ez-orange); border-radius: var(--ez-r-lg); flex-shrink: 0; transition: var(--ez-t);
}
.ez-icon-box svg { width: 28px; height: 28px; stroke-width: 1.75; }
[class*="ez-"][class*="-card"]:hover .ez-icon-box { background: var(--ez-orange); color: #FFF; transform: rotate(-3deg) scale(1.1); }

/* --- 4. TYPOGRAPHY ANIMATIONS --- */
.ez-h2-gradient {
    background: linear-gradient(135deg, var(--ez-orange) 0%, var(--ez-slate) 100%); background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    background-position: 50% 50%;
}
@keyframes ez-grad-move { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.ez-h2-shimmer {
    background: linear-gradient(90deg, var(--ez-orange) 0%, var(--ez-red) 25%, var(--ez-dark) 50%, var(--ez-slate) 75%, var(--ez-orange) 100%);
    background-size: 300% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    background-position: 50% 50%;
}
@keyframes ez-shimmer-move { 0% { background-position: 0%; } 100% { background-position: 200%; } }

@media (prefers-reduced-motion: reduce) {
    .ez-btn::after, .ez-h2-gradient, .ez-h2-shimmer, .ez-ping::after { animation: none; }
    .ez-h2-gradient, .ez-h2-shimmer { background: linear-gradient(135deg, var(--ez-orange) 0%, var(--ez-slate) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
}

/* --- 5. HEADER --- */
.ez-header-wrapper { position: fixed; top: 24px; left: 0; right: 0; z-index: 9999; padding: 0 20px; pointer-events: none; transition: var(--ez-t); }
.ez-header-inner {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.50); border-radius: var(--ez-r-lg); padding: 14px 28px;
    box-shadow: 0 10px 30px rgba(18,52,77,.08); pointer-events: auto;
    transform: translateZ(0); backface-visibility: hidden;
}
.ez-logo-img { max-height: 52px; width: auto; }

.ez-hero-wrapper, .ez-hero, .ez-about-hero, .ez-contact-hero-wrapper, .ez-leadership-hero, .ez-partners-hero-wrapper, .ez-legal-page-header { padding-top: 160px; }
.site-main > article > .inside-article { padding-top: 140px; }
.site-main > article > .inside-article:has(.ez-hero-wrapper), .site-main > article > .inside-article:has(.ez-hero), .site-main > article > .inside-article:has(.ez-about-hero), .site-main > article > .inside-article:has(.ez-contact-hero-wrapper), .site-main > article > .inside-article:has(.ez-leadership-hero), .site-main > article > .inside-article:has(.ez-partners-hero-wrapper), .site-main > article > .inside-article:has(.ez-legal-page-trigger) { padding-top: 0; }

@media (min-width: 1024px) {
    .ez-hamburger-btn, .ez-mobile-overlay, .ez-mobile-login-btn { display: none; }
    .ez-desktop-nav, .ez-header-actions { display: flex; }
    .ez-desktop-nav { flex: 1; justify-content: center; align-items: center; }
    .ez-nav-list, .ez-nav-list ul, .ez-nav-list .sub-menu { list-style: none; padding: 0; margin: 0; }
    .ez-nav-list { display: flex; gap: 30px; }
    .ez-nav-list li { position: relative; }
    .ez-nav-list a, .ez-nav-list .ez-nav-parent-label { color: var(--ez-text); font-weight: 500; font-size: .92rem; min-height: 44px; padding: 10px 0; display: inline-flex; align-items: center; transition: var(--ez-t); }
    .ez-nav-list .ez-nav-parent-label { appearance: none; border: 0; background: transparent; font-family: inherit; line-height: inherit; cursor: pointer; }
    .ez-nav-list a::after, .ez-nav-list .ez-nav-parent-label::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--ez-orange); border-radius: var(--ez-r-full); transition: var(--ez-t); }
    .ez-nav-list a:hover, .ez-nav-list .ez-nav-parent-label:hover, .ez-nav-list .ez-nav-parent-label:focus-visible { color: var(--ez-orange); }
    .ez-nav-list a:hover::after, .ez-nav-list .ez-nav-parent-label:hover::after, .ez-nav-list .ez-nav-parent-label:focus-visible::after, .ez-nav-list .current-menu-item a::after { width: 100%; }
    .ez-nav-list .current-menu-item a { color: var(--ez-orange); }
    .ez-header-actions {flex-direction: row-reverse; gap: 12px; }
    .ez-header-actions .ez-btn { padding: 14px 24px; font-size: .95rem; border-radius: var(--ez-r-md); box-shadow: none; }
    .ez-header-actions .ez-btn:hover { transform: translateY(-2px); }
    .ez-nav-list .menu-item-has-children { padding-right: 14px; }
    .ez-nav-list .menu-item-has-children > .ez-nav-parent-label::before { content: ''; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); border: 4px solid transparent; border-top: 5px solid var(--ez-text); transition: var(--ez-t); }
    .ez-nav-list .menu-item-has-children:hover > .ez-nav-parent-label::before, .ez-nav-list .menu-item-has-children:focus-within > .ez-nav-parent-label::before { border-top-color: var(--ez-orange); transform: translateY(-50%) rotate(180deg); }
    .ez-nav-list .sub-menu { position: absolute; top: 120%; left: 0; min-width: 240px; background: rgba(255,255,255,.95); backdrop-filter: blur(20px); border: 1px solid rgba(226,232,240,.80); border-radius: var(--ez-r-md); box-shadow: 0 15px 35px rgba(18,52,77,.10); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(15px); transition: var(--ez-t-spring); z-index: 10000; }
    .ez-nav-list .menu-item-has-children:hover > .sub-menu,
    .ez-nav-list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); top: 100%; }
    .ez-nav-list .sub-menu a { display: flex; min-height: 44px; padding: 10px 24px; font-size: .95rem; font-weight: 600; color: var(--ez-gray); }
    .ez-nav-list .sub-menu a::after { display: none; }
    .ez-nav-list .sub-menu a:hover { color: var(--ez-orange); background: var(--ez-orange-soft); padding-left: 30px; }
}

@media (max-width: 1023px) {
    .ez-hero-wrapper, .ez-hero, .ez-about-hero, .ez-contact-hero-wrapper, .ez-leadership-hero, .ez-partners-hero-wrapper, .ez-legal-page-header { padding-top: 130px; }
    .site-main > article > .inside-article { padding-top: 110px; }
    .ez-desktop-nav, .ez-header-actions { display: none; }
    .ez-header-inner { padding: 12px 20px; position: relative; justify-content: center; }
    .ez-header-logo { flex: unset; margin: 0; padding: 0; justify-content: center; }
    .ez-mobile-login-btn { display: flex; position: absolute; left: 20px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--ez-dark); color: #FFF; border-radius: var(--ez-r-sm); box-shadow: 0 4px 15px rgba(18,52,77,.25); transition: var(--ez-t); overflow: hidden; }
    .ez-mobile-login-btn svg { width: 20px; height: 20px; z-index: 2; }
    .ez-mobile-login-btn:hover { background: var(--ez-orange); transform: translateY(-2px); }
    .ez-hamburger-btn { position: absolute; right: 20px; margin: 0; }
}

/* --- 6. MOBILE OVERLAY & ACCORDION MENU --- */
.ez-hamburger-btn { cursor: pointer; color: var(--ez-dark); display: flex; align-items: center; justify-content: center; padding: 8px; background: var(--ez-white); border-radius: var(--ez-r-sm); box-shadow: var(--ez-shadow-sm); transition: var(--ez-t); flex-shrink: 0; }
.ez-hamburger-btn:hover { color: var(--ez-orange); }
.ez-hamburger-btn svg { width: 24px; height: 24px; }
.ez-mobile-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); z-index: 10000; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s cubic-bezier(.85,0,.15,1), opacity .4s ease; opacity: 0; visibility: hidden; overflow-y: auto; pointer-events: none; }
.ez-mobile-overlay.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); opacity: 1; visibility: visible; pointer-events: auto; }
.ez-mobile-overlay-inner { display: flex; flex-direction: column; min-height: 80vh; padding: 50px 25px; }
.ez-mobile-overlay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ez-mobile-overlay-logo { display: flex; justify-content: center; flex: 1; }
.ez-mobile-overlay-logo .ez-logo-img { max-height: 72px; }
.ez-close-btn { cursor: pointer; color: var(--ez-text); padding: 8px; background: var(--ez-orange-soft); border-radius: var(--ez-r-full); display: flex; align-items: center; justify-content: center; transition: var(--ez-t); }
.ez-close-btn:hover { background: var(--ez-orange); color: var(--ez-white); transform: rotate(90deg); }
.ez-close-btn svg { width: 24px; height: 24px; }

.ez-mobile-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.ez-mobile-nav-list, .ez-mobile-nav-list ul, .ez-mobile-nav-list li, .ez-mobile-nav-list .sub-menu { list-style: none; list-style-type: none; padding: 0; margin: 0; }
.ez-mobile-nav-list { text-align: center; width: 100%; }
.ez-mobile-nav-list > li { margin-bottom: 12px; transform: translateY(20px); opacity: 0; transition: color .4s ease, background-color .4s ease, border-color .4s ease, box-shadow .4s ease, opacity .4s ease, transform .4s ease; }
.ez-mobile-overlay.is-open .ez-mobile-nav-list > li { transform: translateY(0); opacity: 1; }
.ez-mobile-overlay.is-open .ez-mobile-nav-list > li:nth-child(1) { transition-delay: .2s; }
.ez-mobile-overlay.is-open .ez-mobile-nav-list > li:nth-child(2) { transition-delay: .3s; }
.ez-mobile-overlay.is-open .ez-mobile-nav-list > li:nth-child(3) { transition-delay: .4s; }
.ez-mobile-overlay.is-open .ez-mobile-nav-list > li:nth-child(4) { transition-delay: .5s; }
.ez-mobile-overlay.is-open .ez-mobile-nav-list > li:nth-child(5) { transition-delay: .6s; }

.ez-mobile-nav-list a, .ez-mobile-nav-list .ez-nav-parent-label { text-decoration: none; min-height: 44px; font-size: 1.25rem; font-weight: 700; color: var(--ez-dark); transition: var(--ez-t); display: flex; align-items: center; justify-content: center; }
.ez-mobile-nav-list a:hover { color: var(--ez-orange); }

.ez-mobile-nav-list .menu-item-has-children { display: grid; grid-template-columns: auto 44px; justify-content: center; align-items: center; position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ez-mobile-nav-list .menu-item-has-children > .ez-nav-parent-label { display: inline-flex; align-items: center; gap: 8px; }
.ez-submenu-toggle { width: 44px; height: 44px; min-height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.ez-submenu-toggle::after { content: ''; position: absolute; left: 17px; top: 18px; width: 8px; height: 8px; border-right: 2px solid var(--ez-dark); border-bottom: 2px solid var(--ez-dark); transform: rotate(45deg); transition: transform .2s ease; }
.ez-submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px,-2px); }
.ez-mobile-nav-list .sub-menu { grid-column: 1 / -1; width: min(100%, 360px); display: flex; flex-direction: column; gap: 10px; max-height: 0; opacity: 0; overflow: hidden; border-top: 1px solid transparent; transition: max-height .3s ease, opacity .2s ease, margin .3s ease, padding .3s ease, border-color .3s ease; }
.ez-mobile-nav-list .menu-item-has-children.is-submenu-open > .sub-menu { max-height: 420px; opacity: 1; margin-top: 8px; padding-top: 12px; border-top-color: var(--ez-border); }
.ez-mobile-nav-list .sub-menu a { font-size: 1.15rem; font-weight: 400; color: var(--ez-gray); }
.ez-mobile-nav-list .sub-menu a:hover, .ez-mobile-nav-list .sub-menu a:focus { color: var(--ez-orange); font-weight: 600; }

.ez-mobile-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: auto; padding-bottom: 16px; }
.ez-mobile-actions .ez-btn { width: 100%; justify-content: center; padding: 14px 20px; }

body.ez-menu-open { overflow: hidden; }

@media (min-width: 1024px) {
    .ez-hamburger-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }
}

/* --- 7. FOOTER --- */
.ez-unified-footer { background: transparent; border: none; margin: 40px 0 0 0; padding: 0; display: block; }

/* Top Box: Newsletter */
.ez-global-newsletter { position: relative; z-index: 20; padding: 0 20px; margin-bottom: -80px; }
.ez-newsletter-card {
    max-width: 1200px; width: 100%; margin: 0 auto; 
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
    background: rgba(255,255,255,.15); backdrop-filter: blur(40px) saturate(250%); -webkit-backdrop-filter: blur(40px) saturate(250%);
    border: 2px solid var(--ez-orange);
    border-radius: 32px; padding: 60px 50px;
    box-shadow: 0 40px 80px rgba(18,52,77,.15), inset 0 20px 40px rgba(255,255,255,.50);
}

.ez-nl-glow { position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; pointer-events: none; }
.ez-nl-glow-1 { top: -20%; left: -10%; width: 50%; height: 150%; background: radial-gradient(circle, rgba(242, 103, 42, 0.15) 0%, transparent 70%); }
.ez-nl-glow-2 { bottom: -50%; right: -10%; width: 60%; height: 150%; background: radial-gradient(circle, rgba(18, 52, 77, 0.1) 0%, transparent 70%); }

.ez-nl-content { flex: 1 1 50%; max-width: 500px; }
.ez-nl-title { font-size: 2.2rem; font-weight: 900; color: var(--ez-dark); margin: 0 0 12px 0; letter-spacing: -0.02em; line-height: 1.1; }
.ez-nl-desc { font-size: 1.05rem; color: var(--ez-gray); margin: 0; line-height: 1.6; font-weight: 500; }

.ez-nl-form-wrapper { flex: 1 1 50%; max-width: 500px; width: 100%; position: relative; z-index: 2; }
.ez-nl-form-wrapper .fluentform { margin: 0; }
.ez-nl-form-wrapper .fluentform .ff-el-group { margin-bottom: 0; }
.ez-nl-trust {
    display: flex; align-items: center; justify-content: center; width: 100%; gap: 6px;
    margin-top: var(--ez-helper-gap); font-size: 0.85rem; line-height: var(--ez-helper-line-height);
    font-weight: 700; color: var(--ez-red);
}

/* Bottom Box: Footer */
.ez-footer-bottom-wrapper { padding: 0 20px; display: flex; justify-content: center; position: relative; z-index: 10; }
.ez-footer-glass-box {
    width: 100%; max-width: 1200px; margin: 0 auto;
    background: rgba(255,255,255,.15); backdrop-filter: blur(40px) saturate(250%); -webkit-backdrop-filter: blur(40px) saturate(250%);
    border: 1px solid rgba(255,255,255,.30); border-top: 1px solid rgba(255,255,255,.80); border-bottom: none;
    border-radius: 32px 32px 0 0;
    padding: 130px 50px 20px;
    box-shadow: 0 -10px 40px rgba(18,52,77,.05), inset 0 20px 40px rgba(255,255,255,.50);
    position: relative; overflow: hidden;
}

.inside-footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.ez-footer-divider { height: 1px; width: 100%; border: none; margin: 40px 0 20px 0; background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.15) 50%, transparent 100%); }

.ez-unified-footer .wp-block-heading { background: linear-gradient(135deg, var(--ez-dark) 0%, var(--ez-orange) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1.4rem; font-weight: 900; letter-spacing: -.03em; margin: 0 0 30px; }
.ez-unified-footer .wp-block-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.ez-unified-footer .wp-block-list a { color: var(--ez-gray); font-weight: 600; display: inline-flex; align-items: center; transition: color .4s cubic-bezier(.16,1,.3,1), background-color .4s cubic-bezier(.16,1,.3,1), border-color .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1), opacity .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1); }
.ez-unified-footer .wp-block-list a::before { content: ''; width: 6px; height: 6px; background: var(--ez-orange); border-radius: 50%; margin-right: 10px; opacity: 0; transform: scale(0); transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .3s ease, transform .3s ease; }
.ez-unified-footer .wp-block-list a:hover { color: var(--ez-dark); transform: translateX(10px); }
.ez-unified-footer .wp-block-list a:hover::before { opacity: 1; transform: scale(1); }

.ez-unified-footer .wp-block-social-links { gap: 16px; margin-top: 30px; padding-left: 0; display: flex; flex-wrap: wrap; }
.ez-unified-footer .wp-social-link { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.60); border: 1px solid rgba(255,255,255,1); border-radius: 12px; box-shadow: 0 5px 15px rgba(18,52,77,.05); transition: color .5s cubic-bezier(.16,1,.3,1) , background-color .5s cubic-bezier(.16,1,.3,1) , border-color .5s cubic-bezier(.16,1,.3,1) , box-shadow .5s cubic-bezier(.16,1,.3,1) , opacity .5s cubic-bezier(.16,1,.3,1) , transform .5s cubic-bezier(.16,1,.3,1); overflow: hidden; }
.ez-unified-footer .wp-social-link a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; color: var(--ez-dark); }
.ez-unified-footer .wp-social-link svg { width: 22px; height: 22px; margin: auto; transition: transform 0.3s ease; }
.ez-unified-footer .wp-social-link:hover { background: linear-gradient(135deg, var(--ez-orange), #D9531E); border-color: transparent; transform: translateY(-8px) rotate(10deg) scale(1.15); box-shadow: 0 15px 30px rgba(242,103,42,.40); }
.ez-unified-footer .wp-social-link:hover a { color: #FFF; }

.site-info { text-align: center; padding: 0 20px 10px; background: transparent; border: none; }
.copyright-text { color: var(--ez-gray); font-size: .95rem; font-weight: 500; }
.copyright-text a { color: var(--ez-dark); font-weight: 800; border-bottom: 2px solid rgba(242,103,42,.30); padding-bottom: 2px; }
.copyright-text a:hover { color: var(--ez-orange); border-bottom-color: var(--ez-orange); }

@media (max-width: 1023px) {
    .ez-newsletter-card { flex-direction: column; text-align: center; padding: 40px 30px; gap: 30px; }
    .ez-nl-content { max-width: 100%; }
    .ez-nl-title { font-size: 1.8rem; }
    .ez-nl-form-wrapper { max-width: 100%; }
    .inside-footer-widgets { grid-template-columns: repeat(2,1fr); }
    .ez-footer-glass-box { padding: 110px 40px 20px; }
}

@media (max-width: 768px) {
    .ez-unified-footer { margin-top: 20px; }
    .ez-global-newsletter { padding: 0 20px; margin-bottom: -50px; }
    .ez-newsletter-card { border-radius: 24px; padding: 40px 20px; }
    .ez-footer-bottom-wrapper { padding: 0 20px; }
    .ez-footer-glass-box { padding: 90px 24px 20px; border-radius: 24px 24px 0 0; }
    .inside-footer-widgets { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .ez-unified-footer .wp-block-list { align-items: center; }
    .ez-unified-footer .wp-block-social-links { justify-content: center; }
    .copyright-text { font-size: 0.9rem; letter-spacing: -0.02em; }
}

/* --- 8. FLUENT FORMS --- */
.fluentform { font-family: inherit; width: 100%; }
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--ez-text); font-size: .95rem; margin-bottom: 8px; display: inline-block; }
.fluentform .ff-el-is-required.asterisk-right label::after { color: var(--ez-orange); font-weight: 800; margin-left: 4px; }

.fluentform .ff-el-form-control { 
    background: var(--ez-white); border: 1px solid var(--ez-border); 
    border-radius: var(--ez-r-md); height: 52px; padding: 0 16px; 
    font-size: 1rem; color: var(--ez-text); width: 100%; 
    font-family: inherit; transition: var(--ez-t); box-sizing: border-box;
}
.fluentform.ff-default .ff-el-form-control {
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--ez-border);
    border-radius: var(--ez-r-md);
    font-size: 1rem;
    color: var(--ez-text);
    transition: var(--ez-t);
}
.fluentform select.ff-el-form-control:not([size]):not([multiple]),
.fluentform.ff-default select.ff-el-form-control:not([size]):not([multiple]) {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 44px 0 16px !important;
    line-height: 1.5;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2312344D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}
.fluentform .ff-el-form-control:focus { border-color: var(--ez-orange); box-shadow: 0 0 0 4px var(--ez-orange-soft); outline: none; }
.fluentform .ff-el-group { margin-bottom: 24px; }

.ez-contact-direct-link {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}
.ez-contact-direct-link:hover { color: var(--ez-orange); text-decoration: underline; }
.ez-contact-direct-link:focus-visible { outline: 2px solid var(--ez-orange); outline-offset: 3px; border-radius: 2px; }

.fluentform .ff-btn-submit { 
    position: relative; overflow: hidden; background-color: var(--ez-orange) !important; color: #FFF !important; 
    height: 52px; padding: 0 32px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--ez-r-md); font-size: 1rem; font-weight: 700; border: 1px solid var(--ez-orange) !important; cursor: pointer; width: 100%; opacity: 1 !important;
    transition: var(--ez-t-spring); box-shadow: 0 10px 25px rgba(242,103,42,.25); box-sizing: border-box;
}
.fluentform .ff_submit_btn_wrapper_custom button.ff-btn-submit { margin-bottom: 0 !important; }
.fluentform.ff-default .ff-btn-submit {
    height: 52px;
    padding: 0 32px;
    border-radius: var(--ez-r-md);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: var(--ez-t-spring);
}
.fluentform .ff-btn-submit::after {
    content: ""; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.60) 50%, transparent 100%);
    transform: translate3d(0,0,0) skewX(-20deg); animation: ez-sheen 6s ease-in-out infinite; pointer-events: none;
    will-change: transform, opacity;
    transition: opacity .18s ease;
}
.fluentform .ff-btn-submit:hover { 
    background-color: var(--ez-slate) !important; color: #FFF !important; border-color: var(--ez-slate) !important; opacity: 1 !important; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(15,23,42,.20); 
}
.fluentform.ff-default .ff-btn-submit:hover {
    border-color: var(--ez-slate);
    opacity: 1;
}
.fluentform .ff-btn-submit:hover::after,
.fluentform .ff-btn-submit:focus-visible::after {
    opacity: 0;
    animation: none;
}
.fluentform .text-danger, .fluentform .error { color: #DC2626; font-size: .85rem; margin-top: 6px; display: block; }

@media (min-width: 768px) {
    .fluentform.ff-form-inline .ff-el-group { margin-bottom: 0; }
}


/* --- 9. MOBILE SPACING PERFECTION --- */
@media (max-width: 768px) {
    .ez-btn-primary, .ez-btn-outline, .ez-gateway-btn, .ez-gateway-btn-outline, .ez-cta-btn, .ez-cta-btn-outlined,
    .ez-btn-group .ez-btn-primary, .ez-btn-group .ez-btn-outline, .ez-gateway-actions .ez-btn-primary, .ez-gateway-actions .ez-btn-outline,
    .ez-cta-container .ez-btn-primary, .ez-cta-container .ez-btn-outline {
        width: 100%; max-width: none; display: flex; justify-content: center; align-items: center; text-align: center;
    }
    .ez-hero-wrapper, .ez-why-section, .ez-gateway-section, .ez-stats-section, .ez-pillars-section, .ez-api-section, .ez-channels-section, .ez-global-section { padding-left: 20px; padding-right: 20px; }
    .ez-container, .ez-why-container, .ez-stats-container, .ez-pillars-container, .ez-api-container, .ez-channels-container, .ez-global-content, .ez-gateway-container { padding-left: 20px; padding-right: 20px; }
}
