/* ===== GATEWAYS PAGE STYLES ===== */
.gateways-container {
    background: #f8fafc;
    min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.gateways-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0fdf4 100%);
    padding: 4rem 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GATEWAYS GRID ===== */
.gateways-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.grid-title {
    text-align: center;
    margin-bottom: 3rem;
}

.grid-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.grid-title p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
}

/* ===== GATEWAY CARD ===== */
.gateway-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.gateway-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.gateway-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.gateway-logo {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    border: 2px solid #f3f4f6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.gateway-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.gateway-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.gateway-info p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.gateway-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.product-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.product-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

/* ===== EAZYTRAX GATEWAY SPECIAL STYLING ===== */
.gateway-card.eazytrax-gateway {
    border: 2px solid #e0f2fe;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.gateway-card.eazytrax-gateway .gateway-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.eazytrax-logo-placeholder {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .gateway-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .gateway-logo {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
        padding: 0 1rem 1rem 1rem;
    }
    
    .product-item {
        padding: 0.75rem;
        min-height: 80px;
    }
    
    .product-item span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .gateways-grid {
        padding: 2rem 0.5rem;
    }
    
    .gateway-header {
        padding: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
