/* BrandMatch - Main CSS
   Micro-influencer brand-match platform styles
   Bootstrap 5 compliant - No overrides */

/* Color Variables - Pastel High-Contrast Palette */
:root {
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4338ca;
    
    --secondary-color: #ec4899;
    --secondary-light: #f9a8d4;
    --secondary-dark: #be185d;
    
    --accent-color: #10b981;
    --accent-light: #6ee7b7;
    --accent-dark: #047857;
    
    --neutral-color: #6b7280;
    --neutral-light: #d1d5db;
    --neutral-dark: #374151;
    
    --warning-color: #f59e0b;
    --warning-light: #fcd34d;
    --warning-dark: #d97706;
    
    --bg-light: #f8fafc;
    --bg-dark: #293548; /* Updated to be slightly brighter for better readability */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-family-primary);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography - Conservative Sizes */
.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: var(--primary-color);
}

h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    z-index: 0;
}

/* Card Styles */
.card {
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    height: 200px;
    object-fit: cover;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto;
}

/* Process Steps */
.process-step {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto;
}

.step-number.bg-success {
    background: var(--accent-color);
}

/* Timeline Styles */
.timeline-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Metric Icons */
.metric-icon {
    margin-bottom: 1rem;
}

.earning-tier {
    margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    height: 100%;
}

/* Form Styles */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: #ffffff;
}

footer .text-light {
    color: #ffffff;
}

footer a.text-light {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}

footer a.text-light:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

footer p.text-light, 
footer small {
    color: #ffffff !important;
    opacity: 0.9;
}

footer h5, 
footer h6 {
    color: #ffffff;
    font-weight: 600;
}

/* Animations - Sal.js compatible */
[data-sal] {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

.text-success {
    color: var(--accent-color);
}

.bg-success {
    background-color: var(--accent-color);
}

.border-success {
    border-color: var(--accent-color);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
}

.rounded-3 {
    border-radius: var(--border-radius-lg);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    font-size: 0.875rem;
}

/* List Styles */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-sal] {
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    [data-sal] {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
