/* css/partner_merchants.css */

.pm-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pm-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 120%;
    height: 100px;
    background: var(--background);
    transform: rotate(-3deg);
}

.pm-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(45, 183, 204, 0.15);
    border: 1px solid rgba(45, 183, 204, 0.3);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pm-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pm-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pm-grid-container {
    background: var(--background);
    padding: 60px 20px 100px;
    position: relative;
    z-index: 2;
}

.pm-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pm-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pm-cover {
    height: 160px;
    width: 100%;
    background-color: #f1f5f9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.pm-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.pm-content {
    padding: 0 24px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pm-logo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: white;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: -40px;
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
}

.pm-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
}

.pm-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.pm-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.pm-meta svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.pm-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--background);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 12px;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .pm-hero h1 {
        font-size: 2.5rem;
    }
}
