/* ============================================================
   D Zone Footer — Component System (scoped .dz-footer)
   ============================================================ */

.dz-footer.web-footer {
    background: var(--dz-bg) !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.dz-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.35), rgba(56, 189, 248, 0.35), transparent);
    z-index: 2;
}

/* Hide legacy footer elements if any leak through */
.dz-footer .footer-bg,
.dz-footer .web-footer-cta,
.dz-footer .web-footer-top,
.dz-footer .web-footer-bottom,
.dz-footer .web-footer-inner {
    display: none !important;
}

/* ---- CTA Card ---- */
.dz-footer__cta-wrap {
    padding: 56px 0 0;
    position: relative;
    z-index: 1;
}

.dz-footer__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 40px 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 27, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.dz-footer__cta-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.dz-footer__cta-content {
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.dz-footer__cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dz-primary-light);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 999px;
}

.dz-footer__cta-badge i {
    font-size: 14px;
}

.dz-footer__cta-title {
    font-family: var(--dz-font-display, "Syne", sans-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.dz-footer__cta-desc {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
    max-width: 480px;
    line-height: 1.6;
}

.dz-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Buttons */
.dz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.dz-btn--primary {
    color: #fff;
    background: var(--dz-gradient);
    box-shadow: var(--dz-shadow-glow);
}

.dz-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
    color: #fff;
}

.dz-btn--ghost {
    color: #e2e8f0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dz-btn--ghost:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.05);
    color: #fff;
}

/* Waveform inside CTA only — removed */
.dz-footer__cta-wave {
    display: none;
}

/* ---- Main grid ---- */
.dz-footer__main {
    padding: 56px 0 40px;
    position: relative;
    z-index: 1;
}

.dz-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 48px 64px;
    align-items: start;
}

.dz-footer__brand {
    max-width: 340px;
}

.dz-footer__logo {
    display: inline-block;
    margin-bottom: 20px;
}

.dz-footer__logo img {
    height: auto;
    max-height: 68px;
    width: auto;
}

.dz-footer__tagline {
    font-size: 15px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 28px;
}

/* Social icons — always visible brand colors */
.dz-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dz-social {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.dz-social svg {
    width: 20px;
    height: 20px;
}

.dz-social--instagram {
    background: rgba(225, 48, 108, 0.15);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.dz-social--instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(221, 42, 123, 0.35);
}

.dz-social--linkedin {
    background: rgba(10, 102, 194, 0.15);
    color: #0a66c2;
    border: 1px solid rgba(10, 102, 194, 0.3);
}

.dz-social--linkedin:hover {
    background: #0a66c2;
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}

.dz-social--facebook {
    background: rgba(24, 119, 242, 0.15);
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.3);
}

.dz-social--facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.dz-social--youtube {
    background: rgba(255, 0, 0, 0.12);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.25);
}

.dz-social--youtube:hover {
    background: #ff0000;
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
}

.dz-social--x {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dz-social--x:hover {
    background: #fff;
    color: #000;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Nav columns */
.dz-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.dz-footer__col-title {
    font-family: var(--dz-font-display, "Syne", sans-serif);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f1f5f9;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dz-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dz-footer__links li {
    margin: 0;
    padding: 0;
}

.dz-footer__links a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8 !important;
    text-decoration: none;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
}

/* ---- Bottom bar ---- */
.dz-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.35);
    padding: 0;
}

.dz-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
}

.dz-footer__copy {
    font-size: 13px;
    color: #64748b;
}

.dz-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-left: auto;
    font-size: 13px;
}

.dz-footer__legal a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.dz-footer__legal a:hover {
    color: var(--dz-accent) !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .dz-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dz-footer__brand {
        max-width: 100%;
    }

    .dz-footer__nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .dz-footer__cta {
        padding: 32px 28px 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .dz-footer__cta-actions {
        width: 100%;
    }

    .dz-footer__cta-actions .dz-btn {
        flex: 1;
        justify-content: center;
    }

    .dz-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .dz-footer__bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dz-footer__legal {
        justify-content: flex-start;
        margin-left: 0;
    }
}

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

    .dz-footer__cta-actions {
        flex-direction: column;
    }

    .dz-footer__cta-actions .dz-btn {
        width: 100%;
    }
}
