/*!
Theme Name: Digital East Custom
Theme URI: http://underscores.me/
Author: Harish
Author URI: http://underscores.me/
Description: Digital East Custom Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: digitaleast
*/

/* ============================================================
   DIGITAL EAST GLOBALS
   ============================================================ */
:root {
    --de-bg:     #0f1419;
    --de-hbg:    rgba(15, 20, 25, 0.96);
    --de-mm-bg:  #161d26;
    --de-mob-bg: #0f1419;
    --de-border: rgba(255,255,255,0.08);
    --de-text:   #ffffff;
    --de-muted:  rgba(255,255,255,0.72);
    --de-teal:   #2a9d94;
    --de-teal-h: #23827b;
    --de-gold:   #d4a574;
    --de-hover:  rgba(255,255,255,0.06);
    --de-hh:     80px;
}

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

html { 
    line-height: 1.5; 
    -webkit-text-size-adjust: 100%; 
    overflow-x: hidden; 
}

body {
    margin: 0;
    padding: 0;
    background: var(--de-bg);
    color: var(--de-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    overflow-x: hidden; 
}

img { height: auto; max-width: 100%; border-style: none; display: block; }
embed, iframe, object { max-width: 100%; }

a { background-color: transparent; }
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
}

ul, ol { list-style: none; margin: 0; padding: 0; }
li { list-style: none; }

.site-content { padding-top: var(--de-hh); }

/* ============================================================
   HEADER
   ============================================================ */
body .de-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    height: var(--de-hh) !important; 
    background: var(--de-hbg) !important; 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--de-border);
    z-index: 99999 !important;
    overflow: visible !important;
}

body.admin-bar .de-header { top: 32px !important; }
body.admin-bar .de-mobile-drawer { top: 32px !important; height: calc(100dvh - 32px) !important; }
@media screen and (max-width: 782px) {
    body.admin-bar .de-header { top: 46px !important; }
    body.admin-bar .de-mobile-drawer { top: 46px !important; height: calc(100dvh - 46px) !important; }
}

body .de-header-inner {
    max-width: 1560px !important;
    margin: 0 auto !important;
    height: 100% !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    overflow: visible !important;
}

body .de-logo { display: flex !important; align-items: center !important; flex-shrink: 0 !important; text-decoration: none !important; }
body .de-logo img { height: 46px !important; width: auto !important; display: block !important; }

/* ============================================================
   DESKTOP NAV
   ============================================================ */
body .de-desktop-nav {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    overflow: visible !important;
}

body .de-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: 100% !important;
    gap: 7px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .de-menu > li {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    position: relative !important; 
    list-style: none !important;
}

body .de-menu > li > a,
body .de-solutions-btn {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 14px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    transition: opacity 0.15s !important;
    gap: 5px !important;
}
body .de-menu > li > a:hover,
body .de-solutions-btn:hover { opacity: 0.75 !important; color: #ffffff !important; }

body .de-chevron {
    font-size: 13px !important;
    transition: transform 0.25s !important;
    display: inline-flex !important;
    align-items: center !important;
}
body .de-dropdown-wrap:hover .de-chevron { transform: rotate(180deg) !important; }

/* ============================================================
   HEADER CTAS
   ============================================================ */
body .de-header-ctas {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex-shrink: 0 !important;
}

body .de-nav-link {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}
body .de-nav-link:hover { opacity: 0.75 !important; }

body .de-demo-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}
body .de-demo-btn:hover { background: rgba(255, 255, 255, 0.08) !important; }

body .de-signup-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--de-teal) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}
body .de-signup-btn:hover { background: var(--de-teal-h) !important; color: #fff !important; }

/* ============================================================
   MEGA MENUS
   ============================================================ */
body .de-megamenu {
    position: absolute !important;
    top: 100% !important; 
    background: var(--de-mm-bg) !important;
    border: 1px solid var(--de-border) !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 32px 80px rgba(0,0,0,0.75) !important;
    padding: 32px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s !important;
    z-index: 999999 !important;
    display: block !important;
}

body .de-dropdown-wrap:hover .de-megamenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s !important;
}

body .de-megamenu-platform {
    width: 860px !important;
    left: -24px !important;
}

body .de-megamenu-about {
    width: 760px !important;
    left: -24px !important;
}

body .de-megamenu-resources {
    width: 250px !important;
    left: -24px !important;
}

body .de-megamenu-inner {
    display: grid !important;
    grid-template-columns: 1fr 1px 1fr 1px 1fr !important;
    gap: 16px !important; 
    align-items: start !important;
}

body .de-megamenu-resources .de-megamenu-inner { grid-template-columns: 1fr !important; }

body .de-megamenu-divider {
    background: var(--de-border) !important;
    width: 1px !important;
    align-self: stretch !important;
    min-height: 160px !important;
    display: block !important;
}

body .de-col-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: rgba(255,255,255,0.35) !important;
    margin-bottom: 16px !important;
}

body .de-megamenu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .de-megamenu-list > li { display: block !important; list-style: none !important; }

body .de-megamenu-list a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important; 
    padding: 7px 10px !important; 
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.15s !important;
    width: 100% !important;
}
body .de-megamenu-list a:hover { background: var(--de-hover) !important; color: #ffffff !important; }

body .de-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}
body .de-icon-teal { background: rgba(42,157,148,0.15) !important; color: var(--de-teal) !important; }
body .de-icon-gold { background: rgba(212,165,116,0.15) !important; color: var(--de-gold) !important; }
body .de-icon-wrap iconify-icon { font-size: 17px !important; display: inline-flex !important; }
body .de-link-text { display: inline !important; color: #ffffff !important; }

/* ============================================================
   MOBILE OVERLAY & DRAWER
   ============================================================ */
body .de-hamburger {
    display: none;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 26px !important;
    height: 18px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    z-index: 100001 !important;
}
body .de-hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #fff !important;
    border-radius: 2px !important;
    transition: transform 0.3s, opacity 0.3s !important;
    transform-origin: center !important;
}
body .de-hamburger.de-active span:nth-child(1) { transform: translateY(8px) rotate(45deg) !important; }
body .de-hamburger.de-active span:nth-child(2) { opacity: 0 !important; }
body .de-hamburger.de-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) !important; }

body .de-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.6) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.35s !important;
    display: block !important;
}
body .de-overlay.de-show { opacity: 1 !important; pointer-events: auto !important; }

body .de-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 85% !important;
    max-width: 400px !important;
    height: 100dvh !important;
    background: var(--de-mob-bg) !important;
    border-right: 1px solid var(--de-border) !important;
    z-index: 100000 !important;
    transition: transform 0.35s ease !important;
    overflow-y: auto !important;
    display: block !important;
    transform: translateX(-100%) !important;
}
body .de-mobile-drawer.de-open { transform: translateX(0) !important; }

body .de-drawer-inner {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
    padding: 0 0 40px !important;
}

body .de-drawer-logo {
    display: flex !important;
    align-items: center !important;
    padding: 0 28px !important;
    height: var(--de-hh) !important;
    border-bottom: 1px solid var(--de-border) !important;
    flex-shrink: 0 !important;
}
body .de-drawer-logo img { height: 38px !important; width: auto !important; display: block !important; }

body .de-mobile-menu {
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
}
body .de-mobile-menu > li {
    display: block !important;
    list-style: none !important;
    border-bottom: 1px solid var(--de-border) !important;
}
body .de-mobile-menu > li > a {
    display: block !important;
    padding: 20px 28px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body .de-mob-accordion { display: block !important; list-style: none !important; }
body .de-mob-accordion-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 20px 28px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--de-border) !important;
    cursor: pointer !important;
    font-family: inherit !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
body .de-mob-chevron {
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: transform 0.25s !important;
    color: #ffffff !important;
}
body .de-mob-accordion-btn.de-btn-open .de-mob-chevron { transform: rotate(180deg) !important; }

body .de-mob-accordion-panel {
    display: none !important;
    background: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid var(--de-border) !important;
    padding: 20px 28px 24px !important;
}
body .de-mob-accordion-panel.de-panel-open { display: block !important; }

body .de-mob-panel-main-link {
    display: block !important;
    color: var(--de-teal) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    width: 100% !important;
}

body .de-mob-col { margin-bottom: 24px !important; }
body .de-mob-col:last-child { margin-bottom: 0 !important; }

body .de-mob-col-label {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--de-gold) !important;
    margin-bottom: 12px !important;
}

body .de-mob-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .de-mob-links > li { display: block !important; list-style: none !important; }
body .de-mob-links a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 8px !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
body .de-mob-links .de-icon-wrap { width: 30px !important; height: 30px !important; }
body .de-mob-links .de-icon-wrap iconify-icon { font-size: 15px !important; }

body .de-mob-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 28px !important;
    margin-top: auto !important;
}
body .de-mob-nav-link {
    text-align: center !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 12px !important;
}
body .de-mob-demo-btn {
    display: block !important;
    padding: 14px !important;
    background: transparent !important;
    color: #ffffff !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
body .de-mob-signup-btn {
    display: block !important;
    padding: 14px !important;
    background: var(--de-teal) !important;
    color: #fff !important;
    text-align: center !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
    body .de-header-inner { padding: 0 20px !important; gap: 16px !important; }
    body .de-logo img { height: 38px !important; }
    body .de-desktop-nav { display: none !important; }
    body .de-header-ctas { display: none !important; }
    body .de-hamburger { display: flex !important; }
}

@media (min-width: 1025px) {
    body .de-mobile-drawer { display: none !important; }
    body .de-overlay { display: none !important; }
    body .de-hamburger { display: none !important; }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    body .de-megamenu-platform { 
        width: 700px !important; 
    }
}

/* ============================================================
   CLEAN HERO SECTION & ORBS
   ============================================================ */
.de-hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 130px; 
    padding-bottom: 80px;
    text-align: center;
    background-color: transparent; 
}

.de-hero-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1; 
}

.de-hero-title, 
.de-hero-heading {
    font-size: clamp(36px, 5vw, 76px);
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 32px 0; 
    letter-spacing: -0.02em;
    text-align: center;
}

.de-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-family: system-ui, -apple-system, sans-serif;
    color: #b8b0a6;
    margin: 0 auto 56px auto; 
    font-weight: 500;
    line-height: 1.7;
    max-width: 800px;
}

.de-text-teal { color: var(--de-teal); display: inline; }
.de-text-gold { color: var(--de-gold); display: inline; }

.de-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px; 
}

.de-btn-gold {
    background-color: var(--de-gold);
    color: #0f1419;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    text-decoration: none;
}
.de-btn-gold:hover { transform: translateY(-2px); color: #0f1419; }

.de-btn-dark {
    background-color: #161a1e; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    text-decoration: none;
}
.de-btn-dark:hover { 
    background-color: #1e2329; 
    border-color: rgba(255, 255, 255, 0.2); 
    color: #ffffff;
}

.de-hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42,157,148,0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    top: -200px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
    animation: de-orb-float 10s ease-in-out infinite;
}

.de-hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,165,116,0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    top: -150px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
    animation: de-orb-float 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes de-orb-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-28px); }
}

.de-hero-section .de-hero-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .de-hero-section {
        padding-top: 100px; 
        padding-bottom: 40px;
    }
    .de-hero-section::before {
        width: 280px;
        height: 280px;
        top: -80px;
        left: -60px;
        filter: blur(60px);
    }
    .de-hero-section::after {
        width: 240px;
        height: 240px;
        top: -60px;
        right: -60px;
        filter: blur(60px);
    }
    .de-hero-title, 
    .de-hero-heading { 
        font-size: 38px; 
        line-height: 1.25;
        margin: 0 0 24px 0; 
    }
    .de-hero-subtitle {
        font-size: 17px;
        margin-bottom: 40px; 
        padding: 0 16px;
    }
    .de-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        gap: 16px; 
    }
    .de-btn-gold, .de-btn-dark {
        width: 100%;
        padding: 16px 0; 
    }
}

@media (max-width: 480px) {
    .de-hero-title, 
    .de-hero-heading { font-size: 34px; }
    .de-hero-subtitle { font-size: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.de-footer {
    background: #0a0e13;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.de-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.de-footer-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 72px 0 56px;
    align-items: start;
}

.de-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.de-footer-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.de-footer-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 0;
    max-width: 340px;
}

.de-footer-social {
    display: flex;
    gap: 12px;
}

.de-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.de-social-link:hover {
    border-color: rgba(42,157,148,0.5);
    color: var(--de-teal);
    background: rgba(42,157,148,0.08);
}
.de-social-link iconify-icon { display: inline-flex; }

.de-footer-newsletter {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.de-newsletter-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.de-newsletter-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 16px;
    line-height: 1.5;
}

.de-newsletter-form {
    display: flex;
    gap: 10px;
}

.de-newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.de-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.de-newsletter-input:focus { border-color: rgba(42,157,148,0.5); }

.de-newsletter-btn {
    background: var(--de-teal);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.de-newsletter-btn:hover { background: var(--de-teal-h); }

.de-footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.de-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 48px 0;
}

.de-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.50);
    margin: 0 0 20px;
}

.de-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.de-footer-links li { list-style: none; }

.de-footer-links a {
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
    line-height: 1.4;
}
.de-footer-links a:hover { opacity: 0.7; }

.de-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.de-footer-copy {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}
.de-footer-copy a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}
.de-footer-copy a:hover { color: #ffffff; }

.de-footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.de-footer-legal a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: none;
    letter-spacing: normal;
    transition: color 0.2s;
}
.de-footer-legal a:hover { color: #ffffff; }

@media (max-width: 1024px) {
    .de-footer-container { padding: 0 24px; }
    .de-footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 0 40px;
    }
    .de-footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .de-footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        padding: 36px 0;
    }
    .de-newsletter-form { flex-direction: column; }
    .de-newsletter-btn { width: 100%; }
    .de-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .de-footer-legal { gap: 16px; }
}

@media (max-width: 480px) {
    .de-footer-container { padding: 0 16px; }
    .de-footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .de-footer-newsletter {
        padding: 24px;
        border-radius: 16px;
    }
    .de-newsletter-title { font-size: 17px; }
    .de-footer-top { padding: 40px 0 32px; }
    .de-footer-legal { gap: 12px; }
    .de-footer-legal a { font-size: 12px; }
}







/* ============================================================
   SEAMLESS SAAS TABS (ANTI-FOUC & FULLY RESPONSIVE)
   ============================================================ */
.de-l-tabs-section {
    padding: 80px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.de-l-tabs-wrapper {
    display: flex;
    flex-direction: row;
    background: #1a1f2e; 
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px; 
    width: 100%; /* HARD LOCK: Prevents grid blowout */
}

.de-l-tabs-list {
    width: 40%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.1);
    z-index: 2;
}

.de-l-tab {
    padding: 36px 40px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.de-l-tab:last-child {
    border-bottom: none;
}

.de-l-tab:hover:not(.active) {
    background: rgba(255,255,255,0.02);
}

.de-l-tab.active {
    background: #101318;
}

.de-l-tab.active::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #101318;
}

.de-vtab-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.de-vtab-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.5;
}

.de-l-tabs-content {
    width: 60%;
    background: #101318; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden; /* HARD LOCK: Prevents images from stretching the page on load */
}

.de-l-img-wrapper {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px; 
}

.de-l-img-wrapper.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0s;
}

.de-l-tabs-content .de-l-img-wrapper img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 16px !important; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important; 
    display: block !important;
}

@media (max-width: 1024px) {
    .de-l-tabs-wrapper {
        flex-direction: column-reverse; 
        min-height: auto;
    }
    .de-l-tabs-list {
        width: 100%;
        border-right: none;
    }
    .de-l-tab.active::after {
        display: none; 
    }
    .de-l-tabs-content {
        width: 100%;
        min-height: 400px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .de-l-img-wrapper {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .de-l-tabs-section { padding: 60px 16px; }
    .de-l-tabs-content { min-height: 300px; }
    .de-l-tab { padding: 24px; }
    .de-vtab-title { font-size: 18px; }
    .de-vtab-desc { font-size: 14px; }
}




/* ============================================================
   CUSTOM FAQ ACCORDION (SEPARATED CARDS)
   ============================================================ */
.de-faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
}

.de-faq-item {
    background: #161b27;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.de-faq-item:hover {
    background: rgba(255,255,255,0.02);
}

.de-faq-item.active {
    border-color: rgba(42,157,148,0.4);
}

.de-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    cursor: pointer;
    user-select: none;
    background: transparent;
}

.de-faq-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding-right: 24px;
    line-height: 1.4;
}

/* Animated Plus to Cross Icon */
.de-faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.de-faq-icon::before,
.de-faq-icon::after {
    content: '';
    position: absolute;
    background-color: #2a9d94;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.de-faq-icon::before { width: 16px; height: 2px; }
.de-faq-icon::after { width: 2px; height: 16px; }

.de-faq-item.active .de-faq-icon::before { transform: translate(-50%, -50%) rotate(225deg); }
.de-faq-item.active .de-faq-icon::after { transform: translate(-50%, -50%) rotate(225deg); }

/* Smooth Grid Animation */
.de-faq-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.de-faq-item.active .de-faq-content-wrapper {
    grid-template-rows: 1fr;
}

.de-faq-content {
    overflow: hidden;
}

.de-faq-text {
    padding: 0 32px 32px 32px;
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .de-faq-header { padding: 24px; }
    .de-faq-text { padding: 0 24px 24px 24px; }
    .de-faq-title { font-size: 18px; }
}














/* ============================================================
   CUSTOM DYNAMIC BLOG GRID (SaaS Style - Mac Glitch & Fat Line Fix)
   ============================================================ */
.de-resources-section {
    padding: 80px 24px;
    max-width: 1280px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
}

.de-resources-heading {
    text-align: center;
    color: #ffffff;
    font-size: 46px; 
    font-weight: 700;
    margin-bottom: 64px; 
    letter-spacing: -0.02em;
}

/* Individual Card */
.de-resource-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    /* REMOVED GAP: Flexbox gap causes the Safari overflow glitch */
}

/* THE CONCRETE WALL: Image Wrapper */
.de-resource-img-wrap {
    position: relative; 
    width: 100%;
    padding-top: 50%; 
    border-radius: 6px; 
    overflow: hidden;
    margin-bottom: 4px; /* EXACTLY 4PX STATIC GAP - Cannot be overridden by Flexbox */
    z-index: 1; /* Forces strict layer order */
    
    /* Safari Locks */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
}

.de-resource-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    transition: transform 0.3s ease-out;
    z-index: -1; 
}

/* Zoom ONLY the image */
.de-resource-card:hover .de-resource-img {
    transform: scale(1.05); 
}

/* BOTTOM BOX: Content Area */
.de-resource-content {
    background: #181e26;
    border-radius: 6px;
    padding: 24px 20px 32px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Meta Data (Tags, Date) */
.de-resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.de-resource-tag {
    border: 1px solid #ffffff; 
    padding: 6px 14px; 
    border-radius: 4px; 
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.de-resource-details {
    display: flex;
    gap: 16px;
}

.de-resource-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff; 
    font-size: 15px;
    font-weight: 500;
}

.de-resource-detail-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-top: -2px; 
}

/* Typography (Thin White Underlines on Hover) */
.de-resource-title {
    font-size: 20px; 
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 32px 0;
    line-height: 1.3;
    text-decoration: none;
}

.de-resource-card:hover .de-resource-title {
    text-decoration: underline; 
    text-decoration-thickness: 1px; /* FIX: Makes the fat line thin */
    text-underline-offset: 4px; /* Pushes the line down slightly */
}

/* Bottom Link & Animated Arrow */
.de-resource-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700; 
    font-size: 15px;
    margin-top: auto; 
    text-decoration: none;
}

.de-resource-card:hover .de-resource-link {
    text-decoration: underline; 
    text-decoration-thickness: 1px; /* FIX: Makes the fat line thin */
    text-underline-offset: 4px;
}

.de-resource-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transform: rotate(-135deg); 
    transition: transform 0.3s ease;
}

.de-resource-card:hover .de-resource-link svg {
    transform: rotate(-135deg) translate(-3px, 3px); 
}
