/* ============================================
   Additional Styles for Missing Elements
   ============================================ */

/* Product Image Placeholder Fix */
.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 4rem;
}

/* Knowledge Center Features - Mobile Fix */
@media (max-width: 768px) {
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: var(--space-sm);
    }
}

/* Distributor Benefits - Mobile Fix */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Application Form - Mobile Fix */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
}

/* Contact Methods - Mobile Fix */
@media (max-width: 768px) {
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin-bottom: var(--space-sm);
    }
}

/* FAQ Answer Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Social Buttons Hover */
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Resource Card Hover Effect */
.resource-card:hover {
    border-color: var(--primary);
}

/* Product Card Hover Effect */
.product-card-full:hover {
    border-color: var(--primary);
}

/* Comparison Table Responsive */
@media (max-width: 768px) {
    .comparison-table-container {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
}

/* Newsletter Input Focus */
.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

/* Form Group Focus Effects */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

/* Button Hover Effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Logo Hover */
.logo:hover {
    opacity: 0.8;
}

/* Nav Link Hover Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a {
    position: relative;
}

/* Section Title Animation */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Trust Number Animation */
.trust-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Badge Animation */
.product-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Resource Type Badge Colors */
.resource-type-badge {
    background: var(--accent);
    color: var(--primary);
}

.resource-type-badge.data {
    background: #dbeafe;
    color: #2563eb;
}

.resource-type-badge.video {
    background: #fce7f3;
    color: #db2777;
}

.resource-type-badge.case {
    background: #fef3c7;
    color: #d97706;
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* Success Message */
.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 1px solid #a7f3d0;
}

/* Error Message */
.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 1px solid #fecaca;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: var(--gray-800);
    color: #fff;
    text-align: center;
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: var(--text-sm);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: var(--text-2xl);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .trust-number {
        font-size: var(--text-3xl);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}
