* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px 0;
    margin-bottom: 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
}

.logo-text {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

header h1 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.tagline {
    color: #666;
    font-size: 1.1em;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: #f0f0f0;
}

.lang-btn.active {
    background: #667eea;
    color: white;
}

/* Search Section */
.search-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#searchInput {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#searchInput:focus {
    outline: none;
    border-color: #667eea;
}

.search-bar button {
    padding: 12px 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #5568d3;
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filters select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background: white;
    min-width: 150px;
}

/* Stats */
.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.stat-item {
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    display: block;
    color: #666;
    margin-top: 5px;
}

/* Suppliers Grid */
.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.supplier-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.supplier-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.supplier-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

.supplier-info h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 5px;
}

.supplier-industry {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85em;
}

.supplier-details {
    margin: 15px 0;
}

.detail-item {
    margin: 10px 0;
    color: #666;
    font-size: 0.95em;
}

.detail-item strong {
    color: #333;
    display: inline-block;
    width: 80px;
}

.detail-item a {
    color: #667eea;
    text-decoration: none;
    word-break: break-all;
}

.detail-item a:hover {
    text-decoration: underline;
}

.supplier-products {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.supplier-products h4 {
    color: #667eea;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.products-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #666;
}

.contact-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: opacity 0.3s;
}

.contact-btn:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 1.8em;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .suppliers-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filters select {
        width: 100%;
    }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    color: #666;
}

.no-results h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}
