/* Footer Styles */
.cm-footer-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0 0;
    overflow: hidden;
    color: #ffffff;
    position: relative;
}

.cm-footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.cm-container {
    width: 90%;
    max-width: 1630px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cm-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 60px 40px;
    margin-bottom: 60px;
}

/* Row 1 - Brand spans first column */
.cm-brand-section {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
}

.cm-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.cm-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b9d, #c44cf1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.cm-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.cm-tagline {
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cm-social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cm-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cm-social-link:hover {
    background: linear-gradient(135deg, #ff6b9d, #c44cf1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

/* Row 1 - Banking (Column 2) */
.cm-banking-section {
    grid-column: 2;
    grid-row: 1;
}

/* Row 1 - Payments (Column 3) */
.cm-payments-section {
    grid-column: 3;
    grid-row: 1;
}

/* Row 1 - Payout (Column 4) */
.cm-payout-section {
    grid-column: 4;
    grid-row: 1;
}

/* Row 2 - Contact (Column 1) */
.cm-contact-section {
    grid-column: 4;
    grid-row: 2;
}

/* Row 2 - Escrow (Column 2) */
.cm-escrow-section {
    grid-column: 2;
    grid-row: 2;
}

/* Row 2 - Pages (Column 3) */
.cm-pages-section {
    grid-column: 3;
    grid-row: 2;
}

.cm-footer-column {
    display: flex;
    flex-direction: column;
}

.cm-column-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.cm-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 0;
}

.cm-footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cm-footer-link:hover {
    color: #ff6b9d;
    transform: translateX(4px);
}

.cm-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.6;
}

.cm-contact-icon {
    color: #ff6b9d;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cm-policy-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: center;
}

.cm-legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.cm-privacy-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.cm-privacy-link:hover {
    color: #ff6b9d;
}

.cm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cm-copyright {
    color: #a0a0a0;
    font-size: 14px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cm-container {
        width: 95%;
    }

    .cm-footer-content {
        gap: 50px 30px;
    }
}

@media (max-width: 1024px) {
    .cm-footer-content {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto auto;
        gap: 40px 30px;
    }

    .cm-brand-section {
        grid-column: 1;
        grid-row: 1;
    }

    .cm-banking-section {
        grid-column: 2;
        grid-row: 1;
    }

    .cm-payments-section {
        grid-column: 3;
        grid-row: 1;
    }

    .cm-payout-section {
        grid-column: 1;
        grid-row: 2;
    }

    .cm-escrow-section {
        grid-column: 2;
        grid-row: 2;
    }

    .cm-pages-section {
        grid-column: 3;
        grid-row: 2;
    }

    .cm-contact-section {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .cm-footer-section {
        padding: 60px 0 0;
    }
}

@media (max-width: 768px) {
    .cm-footer-content {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 40px 30px;
    }

    .cm-brand-section {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .cm-banking-section,
    .cm-payments-section,
    .cm-payout-section,
    .cm-escrow-section,
    .cm-pages-section,
    .cm-contact-section {
        grid-column: auto;
        grid-row: auto;
    }

    .cm-footer-section {
        padding: 40px 0 0;
    }

    .cm-legal-links {
        gap: 16px;
    }

    .cm-logo-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cm-container {
        width: 90%;
    }

    .cm-footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cm-brand-section,
    .cm-banking-section,
    .cm-payments-section,
    .cm-payout-section,
    .cm-escrow-section,
    .cm-pages-section,
    .cm-contact-section {
        grid-column: 1;
        grid-row: auto;
    }

    .cm-contact-item {
        font-size: 14px;
    }

    .cm-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}