/* Trade Subdomain Specific Styles */

/* Header Override */
.header {
    border-bottom-color: rgba(16, 185, 129, 0.2);
    /* Green tint border */
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    /* Green gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.btn-outline:hover {
    border-color: var(--color-text-main);
    color: var(--color-text-main);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent-main);
    color: white;
    border-color: var(--color-accent-main);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    height: 200px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.product-info {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.75rem;
    color: var(--color-accent-main);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.details-link {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: auto;
}

.details-link:hover {
    color: var(--color-accent-main);
}

/* Resources */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.resource-card {
    display: flex;
    flex-direction: column;
}

.resource-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.link-btn {
    color: var(--color-accent-main);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Matching Section */
.matching-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to right, #064e3b 0%, #065f46 100%);
    /* Lush green bg */
    border-radius: 0;
    margin-top: var(--spacing-xl);
}

.matching-container {
    display: flex;
    justify-content: center;
}

.matching-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.matching-content h2 {
    margin-bottom: var(--spacing-xs);
}

.matching-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

.matching-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group select,
.form-group input {
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
}

.form-group select:focus,
.form-group input:focus {
    outline: 2px solid var(--color-accent-main);
    background: rgba(0, 0, 0, 0.4);
}

.footer {
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    text-align: center;
    color: var(--color-text-muted);
    background: var(--color-bg-body);
}

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

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

/* Responsive */
@media (max-width: 768px) {
    .matching-content {
        padding: var(--spacing-md);
    }

    .footer .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}