/**
 * Tempmails Ecosystem Styles
 * Communication layer UI block
 * 
 * @package Tempmails
 * @since 1.0.2
 */

.tempmails-ecosystem-wrapper {
    margin: 48px 0 0 0;
    padding-top: 32px;
    border-top: 1px solid #E2E8F0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 100%;
    box-sizing: border-box;
}

.tempmails-ecosystem-header {
    margin-bottom: 24px;
}

/* UI Label style from Design System */
.tempmails-ecosystem-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #64748B; /* Muted Text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.tempmails-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Design System Card Component: Radius-lg (16px), Shadow-card, Panel White */
.tempmails-eco-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px; /* radius-lg */
    padding: 24px; /* Space-24 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06); /* shadow-card */
    min-height: 180px;
}

.tempmails-eco-card:hover {
    border-color: #3B82F6; /* Soft Blue */
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10); /* shadow-hover */
}

/* Card Titles - Poppins 600 (Bold enough for headers) */
.tempmails-eco-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0F172A; /* Primary Text */
    margin: 0 0 12px 0;
}

/* Body Text - Inter 400 */
.tempmails-eco-content p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #64748B; /* Muted Text */
    margin: 0 0 16px 0;
}

.tempmails-eco-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.tempmails-eco-list li {
    margin-bottom: 8px;
}

.tempmails-eco-list a {
    color: #2563EB; /* TempMails Blue */
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.tempmails-eco-list a:hover {
    color: #3B82F6; /* Soft Blue */
    text-decoration: underline;
}

.tempmails-eco-footer {
    margin-top: auto;
}

/* Secondary Button Style from Design System: Transparent, Border Blue, Text Blue, Radius 12px */
.tempmails-eco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px; /* Standard height */
    background: transparent;
    color: #2563EB; /* TempMails Blue */
    font-family: 'Poppins', sans-serif; /* Brand font for buttons */
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px; /* radius-md */
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #2563EB;
    box-sizing: border-box;
}

.tempmails-eco-btn:hover {
    background: #2563EB;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .tempmails-ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tempmails-ecosystem-grid {
        grid-template-columns: 1fr;
    }
}
