/* Product Cards Partial View Styles */

.product-card {
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transform: translateY(-6px);
    border-color: #bfdbfe;
    background: white;
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.05) rotate(2deg);
}

.product-icon.usa {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.product-icon.india {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.product-icon.global {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.product-card .card-header {
    background: transparent;
    border-bottom: none;
    padding: 2rem 2rem 1rem;
}

.product-card .card-title a {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 1.375rem;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.product-card:hover .card-title a {
    color: #3b82f6 !important;
}

.country-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.country-badge.usa {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.country-badge.india {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
    border: 1px solid #fb923c;
}

.country-badge.global {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #34d399;
}

.product-card .card-body {
    padding: 1rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-body ul li {
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

.product-card .card-body ul li i {
    color: #10b981;
    font-size: 1.125rem;
}

.endpoint-list {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.endpoint-list .list-group-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
}

.endpoint-list .list-group-item:last-child {
    margin-bottom: 0;
}

.endpoint-list .badge {
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.endpoint-list code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    color: #475569;
}

.product-card .card-footer {
    background: transparent;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 2rem;
}

.product-card .btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.product-card .btn-primary {
    background: transparent;
    border: 2px solid #000000;
    color: #000000;
    font-weight: 600;
}

.product-card .btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1f2937 0%, #000000 100%);
    border-color: #000000;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.product-card .btn-outline-secondary {
    border: 2px solid #e5e7eb;
    color: #64748b;
}

.product-card .btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-2px);
}
