/* =========================
   DY FOOTER CSS
   ========================= */
:root {
    --dy-brand: #000000;
    --dy-white: #ffffff;
    --dy-primary: #e045e4;
    --dy-primaryDark: #2563EB;
    --dy-b10: rgba(255, 255, 255, .10);
    --dy-b15: rgba(255, 255, 255, .15);
    --dy-w80: rgba(255, 255, 255, .80);
    --dy-w70: rgba(255, 255, 255, .70);
    --dy-w60: rgba(255, 255, 255, .60);
    --dy-w50: rgba(255, 255, 255, .50);
    --dy-shadow: 0 20px 40px rgba(224, 69, 228, .28);
}

.dy-footer {
    background: var(--dy-brand);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: Montserrat, system-ui, sans-serif;
}

.dy-footer__wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 40px;
}

.dy-footer__top {
    text-align: center;
    margin-bottom: 46px;
}

.dy-footer__kicker {
    font-size: 10px;
    letter-spacing: .25em;
    font-weight: 800;
    opacity: .55;
    margin: 0;
}

.dy-footer__brand {
    font-size: 12px;
    opacity: .6;
    margin-top: 8px;
}

.dy-footer__title {
    margin: 18px auto 0;
    max-width: 920px;
    margin-top: 16px;
    font-weight: 700;
    line-height: 1.1;
    font-size: clamp(24px, 3.2vw, 44px)
}

.dy-footer__subtitle {
    margin: 12px auto 0;
    max-width: 920px;
    font-weight: 400;
    line-height: 1.5;
    font-size: clamp(14px, 1.5vw, 18px);
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.dy-footer__cta {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.dy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    transition: .25s;
    text-decoration: none;
}

.dy-btn--primary {
    background: linear-gradient(135deg, #e045e4, #2563EB);
    color: #fff;
}

.dy-btn--primary:hover {
    transform: translateY(-2px)
}

.dy-btn--ghost {
    background: #0B1119;
    border: 1px solid var(--dy-b15);
}

/* =========================
   CTA Animations (Global)
   ========================= */
.cta-demo {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background-size: 200% 200%;
    animation: gradientMove 3.5s ease infinite, glowPulse 3s ease-in-out infinite;
    box-shadow: 0 18px 40px rgba(224, 69, 228, 0.25);
}
.cta-demo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-18deg);
    animation: ctaSheen 2.4s ease-in-out infinite;
    pointer-events: none;
}
.cta-demo-soft {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background-size: 200% 200%;
    animation: gradientMove 6.5s ease-in-out infinite, glowPulse 4.5s ease-in-out infinite;
    box-shadow: 0 14px 32px rgba(224, 69, 228, 0.22);
}
.cta-demo-soft::before {
    content: "";
    position: absolute;
    top: 0;
    left: -45%;
    height: 100%;
    width: 28%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-16deg);
    animation: ctaSheen 4.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes glowPulse {
    0% { box-shadow: 0 14px 32px rgba(224, 69, 228, 0.25); }
    50% { box-shadow: 0 22px 52px rgba(37, 99, 235, 0.28); }
    100% { box-shadow: 0 14px 32px rgba(224, 69, 228, 0.25); }
}
@keyframes ctaSheen {
    0% { left: -40%; }
    50% { left: 110%; }
    100% { left: 110%; }
}

/* Apply fast animation to all gradient CTAs by default */
a[class*="bg-[linear-gradient(135deg,#e045e4_0%,#2563EB_100%)]"] {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background-size: 200% 200%;
    animation: gradientMove 3.5s ease infinite, glowPulse 3s ease-in-out infinite;
    box-shadow: 0 18px 40px rgba(224, 69, 228, 0.25);
}
a[class*="bg-[linear-gradient(135deg,#e045e4_0%,#2563EB_100%)]"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-18deg);
    animation: ctaSheen 2.4s ease-in-out infinite;
    pointer-events: none;
}
/* When two gradient CTAs are together, make subsequent ones softer */
a[class*="bg-[linear-gradient(135deg,#e045e4_0%,#2563EB_100%)]"] ~ a[class*="bg-[linear-gradient(135deg,#e045e4_0%,#2563EB_100%)]"] {
    animation: gradientMove 6.5s ease-in-out infinite, glowPulse 4.5s ease-in-out infinite;
}
a[class*="bg-[linear-gradient(135deg,#e045e4_0%,#2563EB_100%)]"] ~ a[class*="bg-[linear-gradient(135deg,#e045e4_0%,#2563EB_100%)]"]::before {
    width: 28%;
    left: -45%;
    animation: ctaSheen 4.2s ease-in-out infinite;
}

/* Add animation to primary footer CTA */
.dy-footer .dy-btn--primary {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background-size: 200% 200%;
    animation: gradientMove 3.5s ease infinite, glowPulse 3s ease-in-out infinite;
    box-shadow: var(--dy-shadow);
}
.dy-footer .dy-btn--primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-18deg);
    animation: ctaSheen 2.4s ease-in-out infinite;
    pointer-events: none;
}

.dy-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: #2563EB;
}

.dy-footer__grid {
    margin-top: 44px;
    display: grid;
    gap: 16px;
}

@media(min-width:900px) {
    .dy-footer__grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.dy-card {
    border: 1px solid var(--dy-b10);
    background: #0B1119;
    border-radius: 18px;
    padding: 10px; /* Reduced from 16px */
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: .3s;
}

.dy-card:hover {
    transform: translateY(-6px);
    border-color: #2563EB;
    box-shadow: var(--dy-shadow);
}

.dy-card__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 2px; /* Reduced from 8px */
}

.dy-card__list {
    margin-top: 2px; /* Reduced from 8px */
    display: flex;
    flex-direction: column;
    gap: 0px; /* Reduced from 4px */
    font-size: 14px;
    line-height: 1.4; /* Tighter line height */
    color: var(--dy-w70);
}

/* Services */
.dy-service {
    display: flex;
    gap: 10px;
    margin-bottom: 0; /* Reduced from 10px */
}


.dy-service a {
    color: var(--dy-w80);
    text-decoration: none;
}

.dy-service a:hover {
    color: var(--dy-primaryDark)
}

/* Contact Items */
.dy-contact-item {
    margin-bottom: 0; /* Reduced from 10px */
}

/* Bio */
.dy-bio {
    margin-top: 14px;
}

.dy-bio a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s !important;
}

.dy-bio a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: rgba(37, 99, 235, 0.1) !important;
}

/* Follow */
.dy-follow {
    margin-top: 10px;
}

.dy-follow a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s !important;
}

.dy-follow a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: rgba(139, 92, 246, 0.1) !important;
}

/* Bottom */
.dy-footer__bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

@media(min-width:640px) {
    .dy-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.dy-legal a {
    color: var(--dy-w60);
    text-decoration: none;
}

.dy-legal a:hover {
    color: var(--dy-primaryDark)
}