*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-footer {
    margin-top: 72px;
    background:
        radial-gradient(circle at top left, rgba(181, 56, 183, 0.14) 0%, transparent 34%),
        linear-gradient(180deg, rgba(9, 14, 24, 0.98) 0%, rgba(4, 8, 15, 1) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 56px 20px 0;
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
    gap: 56px;
    align-items: start;
}

.footer-brand {
    max-width: 460px;
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-logo img {
    width: 140px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
    filter: drop-shadow(0 0 8px rgba(181, 56, 183, 0.18));
}

.footer-logo:hover img {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 12px rgba(181, 56, 183, 0.35));
}

.footer-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #8bc3ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.footer-title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.12;
    color: #edf2ff;
    letter-spacing: -0.02em;
}

.footer-text {
    margin: 0;
    color: #9ba7bd;
    font-size: 15px;
    line-height: 1.72;
}

.footer-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.footer-cta:hover {
    transform: translateY(-1px);
}

.footer-cta-primary {
    background: #5ea2ff;
    color: #08101c;
    border: 1px solid #5ea2ff;
    box-shadow: 0 10px 30px rgba(94, 162, 255, 0.18);
}

.footer-cta-primary:hover {
    background: #7ab4ff;
    border-color: #7ab4ff;
}

.footer-cta-secondary {
    background: rgba(255,255,255,0.04);
    color: #edf2ff;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.footer-cta-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.footer-col {
    min-width: 0;
    padding: 22px 22px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 30px rgba(0,0,0,0.16);
    backdrop-filter: blur(10px);
}

.footer-col h3 {
    margin: 0 0 14px;
    color: #edf2ff;
    font-size: 16px;
    line-height: 1.3;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li + li {
    margin-top: 10px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #8bc3ff;
    transform: translateX(2px);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0 22px;
}

.footer-bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #6f7d94;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #6f7d94;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.18s ease;
}

.footer-legal a:hover {
    color: #8bc3ff;
}

@media (max-width: 1100px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 56px;
        padding: 34px 16px 0;
    }

    .footer-inner {
        gap: 28px;
    }

    .footer-logo {
        margin-bottom: 16px;
    }

    .footer-logo img {
        width: 148px;
    }

    .footer-title {
        margin: 0 0 14px;
        font-size: 28px;
        line-height: 1.14;
    }

    .footer-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .footer-cta-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 20px;
        width: 100%;
        max-width: 420px;
    }

    .footer-cta {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding: 10px 10px;
        font-size: 12px;
        line-height: 1.2;
        border-radius: 14px;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }

    .footer-col {
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 16px 16px 14px;
        border-radius: 16px;
    }

    .footer-col h3 {
        margin: 0 0 12px;
        font-size: 15px;
        line-height: 1.3;
    }

    .footer-col li + li {
        margin-top: 9px;
    }

    .footer-col a {
        display: block;
        font-size: 14px;
        line-height: 1.4;
    }

    .footer-bottom {
        margin-top: 24px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer-legal {
        justify-content: center;
        gap: 10px 14px;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding: 32px 14px 0;
    }

    .footer-inner {
        gap: 24px;
    }

    .footer-title {
        font-size: 24px;
        line-height: 1.16;
    }

    .footer-text {
        font-size: 14px;
        line-height: 1.62;
    }

    .footer-cta-group {
        max-width: 100%;
        gap: 8px;
    }

    .footer-cta {
        min-height: 40px;
        padding: 9px 8px;
        font-size: 11px;
        border-radius: 13px;
    }

    .footer-links-grid {
        gap: 12px;
    }

    .footer-col {
        padding: 15px 14px 13px;
        border-radius: 14px;
    }

    .footer-col h3 {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .footer-col a {
        font-size: 13px;
        line-height: 1.38;
    }

    .footer-bottom {
        margin-top: 22px;
    }
}

@media (max-width: 420px) {
    .site-footer {
        padding: 30px 12px 0;
    }

    .footer-eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .footer-title {
        font-size: 22px;
        line-height: 1.16;
    }

    .footer-text {
        font-size: 13px;
        line-height: 1.58;
    }

    .footer-cta-group {
        gap: 8px;
    }

    .footer-cta {
        min-height: 40px;
        padding: 8px 8px;
        font-size: 11px;
        border-radius: 12px;
    }

    .footer-links-grid {
        gap: 10px;
    }

    .footer-col {
        padding: 14px 13px 12px;
    }

    .footer-col a {
        font-size: 13px;
        line-height: 1.35;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}