﻿@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

/* ── Wrapper ── */
.ft-wrap {
    background: #040711;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

/* ── Blobs ── */
.ft-blob1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7b5ef8 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.12;
    top: -200px;
    left: -150px;
    pointer-events: none;
}

.ft-blob2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.07;
    bottom: 40px;
    right: -120px;
    pointer-events: none;
}

.ft-blob3 {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.06;
    bottom: 100px;
    left: 40%;
    pointer-events: none;
}

/* ── Top gradient line ── */
.ft-top-line {
    height: 1px;
    background: linear-gradient( 90deg, transparent 0%, rgba(123,94,248,0.6) 30%, rgba(0,229,255,0.6) 60%, transparent 100% );
}

/* ── Main container ── */
.ft-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 52px;
    position: relative;
    z-index: 2;
}

/* ── Grid ── */
.ft-grid {
    display: grid;
    grid-template-columns: 1.9fr repeat(calc(var(--cols, 4) - 1), 1fr);
    gap: 52px;
    margin-bottom: 60px;
}

/* ── Logo ── */
.ft-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.ft-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(123,94,248,0.2), rgba(0,229,255,0.15));
    border: 1px solid rgba(123,94,248,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: #a78bfa;
    font-size: 1.1rem;
}

.ft-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ft-logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #e8eaf6 40%, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Brand desc ── */
.ft-brand-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 24px;
}

/* ── Contact items ── */
.ft-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #4b5563;
    margin-bottom: 11px;
    transition: color 0.2s;
}

    .ft-contact-item:hover {
        color: #9ca3af;
    }

.ft-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(0,229,255,0.06);
    border: 1px solid rgba(0,229,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.ft-contact-item:hover .ft-contact-icon {
    background: rgba(0,229,255,0.12);
    border-color: rgba(0,229,255,0.25);
}

.ft-contact-icon i {
    font-size: 0.65rem;
    color: #00e5ff;
}

/* ── Social buttons ── */
.ft-socials {
    display: flex;
    gap: 8px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.ft-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .ft-social-btn:hover {
        background: rgba(0,229,255,0.1);
        border-color: rgba(0,229,255,0.3);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0,229,255,0.12);
    }

    .ft-social-btn i {
        font-size: 0.75rem;
        color: #6b7280;
        transition: color 0.25s;
    }

    .ft-social-btn:hover i {
        color: #00e5ff;
    }

/* ── Column titles ── */
.ft-col-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c4c9d4;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ft-col-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(0,229,255,0.35), transparent);
    }

/* ── Link list ── */
.ft-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .ft-link-list li {
        margin-bottom: 11px;
    }

    .ft-link-list a {
        font-size: 0.875rem;
        color: #4b5563;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: color 0.22s, padding-left 0.22s;
    }

        .ft-link-list a::before {
            content: '›';
            color: #00e5ff;
            opacity: 0;
            margin-right: 0;
            transition: opacity 0.22s, margin-right 0.22s;
            font-size: 1.1rem;
            line-height: 1;
        }

        .ft-link-list a:hover {
            color: #d1d5db;
        }

            .ft-link-list a:hover::before {
                opacity: 1;
                margin-right: 6px;
            }

/* ── Bottom bar ── */
.ft-divider {
    height: 1px;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent );
    margin-bottom: 28px;
}

.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-copy {
    font-size: 0.82rem;
    color: #374151;
    margin: 0;
}

    .ft-copy span {
        background: linear-gradient(135deg, #00e5ff, #a78bfa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 500;
    }

.ft-bottom-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #374151;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 100px;
    padding: 6px 16px;
}

.ft-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e5ff;
    flex-shrink: 0;
    animation: ft-pulse 2s infinite;
    box-shadow: 0 0 6px rgba(0,229,255,0.5);
}

@keyframes ft-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.65);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .ft-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .ft-brand-col {
        grid-column: 1 / -1;
    }

    .ft-main {
        padding: 48px 20px 32px;
    }
}

@media (max-width: 400px) {
    .ft-grid {
        grid-template-columns: 1fr;
    }
}
