/* MAIN STYLES - ForexBrokerLead */
/* ============================ */

/* Global Styles */
:root {
    --primary: #0a58ca;
    --primary-dark: #084298;
    --secondary: #6c757d;
    --success: #198754;
    --warning: #e0a800;
    --danger: #dc3545;
    --dark: #212529;
    --light: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1 { font-size: 4rem; }
.display-2 { font-size: 3.5rem; }
.display-3 { font-size: 3rem; }
.display-4 { font-size: 2.5rem; }
.display-5 { font-size: 2rem; }

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

/* Navigation */
.navbar {
    transition: var(--transition);
    background: rgba(33, 37, 41, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 88, 202, 0.9), rgba(8, 66, 152, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23084298" width="1200" height="800"/><path fill="%230a58ca" d="M0 0h1200v800H0z" opacity="0.7"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.trust-score {
    margin-bottom: 2rem;
}

.trust-score .badge {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 25px;
}

/* Live Stats */
.live-stats {
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--warning);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trust Badges */
.trust-badge {
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 8px 16px;
    margin: 5px;
    border: 1px solid rgba(255,255,255,0.5);
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.trust-badge:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* Quick Contact Form */
.quick-contact-form {
    background: rgba(255,255,255,0.98);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-floating label {
    color: #333;
    font-weight: 500;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 88, 202, 0.25);
}

/* High Intent Section */
.high-intent-section {
    background: linear-gradient(135deg, #7a1fa2 0%, #084298 100%);
    color: white;
    padding: 80px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.high-intent-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.intent-card {
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.intent-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.intent-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards */
.stats-card,
.lead-card,
.blog-card,
.region-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    background: white;
}

.stats-card:hover,
.lead-card:hover,
.blog-card:hover,
.region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stats-card {
    padding: 25px;
    text-align: center;
}

.stats-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Global Stats */
.global-stats {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.global-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="500" cy="500" r="400"/></svg>');
    background-size: cover;
}

/* Region Cards */
.region-card .card-body {
    padding: 2rem;
    text-align: center;
}

.region-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.country-badge {
    font-size: 0.7rem;
    margin: 2px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Trust Icons */
.trust-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.trust-icon:hover {
    transform: scale(1.1);
    color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

/* Contact Methods */
.contact-method {
    padding: 2rem 1rem;
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.contact-icon:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--dark) !important;
    color: white;
}

footer h5 {
    color: var(--primary);
    margin-bottom: 1rem;
}

footer .social-links a {
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

footer .social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 88, 202, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #e0a800);
    color: #000;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #d39e00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 168, 0, 0.3);
    color: #000;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #157347);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347, var(--success));
    transform: translateY(-2px);
}

/* Utility Classes */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cookie Consent */
.cookie-consent {
    background: #1a1a1a !important;
    color: white;
    padding: 15px 0;
    z-index: 9999;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(10, 88, 202, 0.1);
    color: var(--primary);
}

.accordion-body {
    padding: 1rem 1.25rem;
}

/* Background Colors */
.bg-light-custom {
    background-color: #f8f9fa !important;
}

.bg-white-custom {
    background-color: #ffffff !important;
}

/* Text Colors */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-warning-custom {
    color: var(--warning) !important;
}

/* Margin & Padding Utilities */
.section-padding {
    padding: 80px 0;
}

.section-margin {
    margin: 80px 0;
}

/* Print Styles */
@media print {
    .navbar,
    .promo-bar,
    .cta-section,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
        background: white !important;
        color: black !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 50px 0 !important;
        min-height: auto !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}