/* =====================================================
   AFRIQUE INVESTMENT - Crypto.com Professional Theme
   Premium Dark Blue Design
   ===================================================== */

:root {
    /* Crypto.com Blue Professional Palette */
    --primary: #1199FA;
    --primary-dark: #0D7FD9;
    --primary-light: #4DB8FF;
    --primary-glow: rgba(17, 153, 250, 0.25);
    --primary-rgb: 17, 153, 250;

    /* Secondary Colors */
    --secondary: #002D74;
    --accent: #00D4AA;
    --accent-glow: rgba(0, 212, 170, 0.2);

    --success: #00D4AA;
    --success-dark: #00B894;
    --success-glow: rgba(0, 212, 170, 0.2);

    --danger: #FF4757;
    --danger-dark: #E8303E;
    --danger-glow: rgba(255, 71, 87, 0.2);

    --warning: #FFA502;
    --warning-glow: rgba(255, 165, 2, 0.2);
    --info: #1199FA;

    /* Gold for special highlights */
    --gold: #F5A623;
    --gold-glow: rgba(245, 166, 35, 0.25);

    /* Background Colors - Deep Navy Theme */
    --bg-dark: #0A0E17;
    --bg-darker: #050810;
    --bg-main: #0D1421;
    --bg-card: #131A2A;
    --bg-card-hover: #1A2332;
    --bg-input: #1A2332;
    --bg-hover: #232D3F;
    --bg-elevated: #172033;

    /* Text Colors */
    --text-primary: #F7F8FA;
    --text-secondary: #8A94A6;
    --text-muted: #5C6478;
    --text-disabled: #3D4455;
    --text-light: #FFFFFF;

    /* Border Colors */
    --border-color: #1E2A3D;
    --border-light: #2A3A52;
    --border-primary: rgba(17, 153, 250, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1199FA 0%, #00D4AA 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #00D4AA 0%, #1199FA 100%);
    --gradient-dark: linear-gradient(180deg, #131A2A 0%, #0A0E17 100%);
    --gradient-success: linear-gradient(135deg, #00D4AA 0%, #00F5C4 100%);
    --gradient-danger: linear-gradient(135deg, #FF4757 0%, #FF6B7A 100%);
    --gradient-hero: linear-gradient(135deg, #0D1421 0%, #0A0E17 100%);
    --gradient-gold: linear-gradient(135deg, #F5A623 0%, #FFCC4D 100%);
    --gradient-card: linear-gradient(145deg, #131A2A 0%, #0D1421 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.7);
    --shadow-primary: 0 4px 30px rgba(17, 153, 250, 0.3);
    --shadow-success: 0 4px 30px rgba(0, 212, 170, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(17, 153, 250, 0.15);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* Light Theme */
[data-theme="light"] {
    --bg-dark: #FFFFFF;
    --bg-darker: #F8FAFC;
    --bg-main: #F0F4F8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --bg-input: #F1F5F9;
    --bg-hover: #E8EEF4;
    --bg-elevated: #FFFFFF;
    --text-primary: #0A1628;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --border-light: #EDF2F7;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 165px;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 148px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-card {
    background: var(--bg-card);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* =====================================================
   PRELOADER
   ===================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded,
#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* =====================================================
   CRYPTO TICKER (Top Bar)
   ===================================================== */

.crypto-ticker {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.crypto-ticker-track {
    display: flex;
    gap: 32px;
    animation: ticker-scroll 60s linear infinite;
    width: max-content;
}

.crypto-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
    white-space: nowrap;
    font-size: 13px;
}

.ticker-symbol {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-price {
    color: var(--text-primary);
    font-weight: 500;
}

.ticker-price-alt {
    color: var(--text-muted);
    font-size: 12px;
}

.ticker-change {
    font-weight: 600;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.ticker-change.positive {
    color: var(--success);
    background: var(--success-glow);
}

.ticker-change.negative {
    color: var(--danger);
    background: var(--danger-glow);
}

.ticker-currency {
    background: rgba(240, 185, 11, 0.05);
    border-radius: var(--radius-sm);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

.header {
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 17, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--bg-dark);
    box-shadow: var(--shadow-md);
}

.header.header-compact {
    background: rgba(11, 14, 17, 0.99);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header.header-compact .navbar {
    height: 56px;
}

.header.header-compact .logo-img {
    height: 28px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 64px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo:hover {
    opacity: 0.9;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-link.active {
    color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-dropdown-item i {
    width: 20px;
    color: var(--primary);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    background: transparent;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--success);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-success:hover {
    background: var(--success-dark);
    color: var(--bg-dark);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--danger);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    min-height: calc(100vh - 112px);
    padding-top: 30px;
    padding-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(240, 185, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(14, 203, 129, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(240, 185, 11, 0.03) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 600px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(240, 185, 11, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(240, 185, 11, 0.2);
}

.badge i {
    font-size: 12px;
}

/* Hero Title */
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number span {
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero Right - Trading Card */
.hero-right {
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-elevated);
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
}

.card-header h3 i {
    color: var(--primary);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--success-glow);
    color: var(--success);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.crypto-list {
    padding: 12px 0;
}

/* Crypto Item Row */
.crypto-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 80px;
    align-items: center;
    padding: 12px 20px;
    transition: var(--transition-fast);
}

.crypto-item:hover {
    background: var(--bg-hover);
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.crypto-name {
    font-weight: 600;
    font-size: 14px;
}

.crypto-symbol {
    font-size: 12px;
    color: var(--text-muted);
}

.crypto-price {
    font-weight: 600;
    font-size: 14px;
    text-align: right;
}

.crypto-change {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.crypto-change.positive {
    color: var(--success);
    background: var(--success-glow);
}

.crypto-change.negative {
    color: var(--danger);
    background: var(--danger-glow);
}

.crypto-action .btn-sm {
    font-size: 12px;
    padding: 6px 12px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary);
    font-size: 18px;
}

.floating-card.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 60px;
    left: -40px;
    animation-delay: 0.5s;
}

.floating-card.card-3 {
    bottom: -10px;
    right: 40px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* =====================================================
   SMART MONEY / TRADERS TABLE
   ===================================================== */

.traders-section {
    background: var(--bg-card);
    padding: 60px 0;
}

.traders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.traders-header h2 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.traders-header h2 i {
    color: var(--primary);
}

.traders-tabs {
    display: flex;
    gap: 8px;
}

.trader-tab {
    padding: 8px 20px;
    background: var(--bg-input);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.trader-tab:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.trader-tab.active {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Traders Table */
.traders-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.traders-table thead {
    background: var(--bg-elevated);
}

.traders-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.traders-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.traders-table tbody tr {
    transition: var(--transition-fast);
}

.traders-table tbody tr:hover {
    background: var(--bg-hover);
}

.traders-table tbody tr:last-child td {
    border-bottom: none;
}

/* Trader Info Cell */
.trader-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trader-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--bg-dark);
    font-size: 14px;
}

.trader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.trader-name {
    font-weight: 600;
}

.trader-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(240, 185, 11, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: 4px;
}

.trader-country {
    font-size: 18px;
}

/* ROI & Performance */
.trader-roi {
    font-weight: 700;
    font-size: 16px;
}

.trader-roi.positive {
    color: var(--success);
}

.trader-roi.negative {
    color: var(--danger);
}

.trader-profit {
    font-weight: 600;
}

.trader-followers {
    color: var(--text-secondary);
}

.trader-winrate {
    display: flex;
    align-items: center;
    gap: 8px;
}

.winrate-bar {
    width: 60px;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
}

.winrate-fill {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
}

/* Copy Button */
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.btn-copy:hover {
    background: var(--primary-light);
    color: var(--bg-dark);
}

/* =====================================================
   COUNTRY GRID
   ===================================================== */

.countries-section {
    background: var(--bg-dark);
    padding: 60px 0;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.country-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.country-flag {
    font-size: 32px;
}

.country-name {
    font-weight: 600;
    font-size: 14px;
}

.country-payment {
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(240, 185, 11, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =====================================================
   FORMATIONS / PRICING CARDS
   ===================================================== */

.formations-section {
    background: var(--bg-dark);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.formation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: var(--transition-normal);
}

.formation-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.formation-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(240, 185, 11, 0.08) 0%, var(--bg-card) 100%);
}

.popular-tag {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-beginner {
    background: var(--success-glow);
    color: var(--success);
}

.badge-intermediate {
    background: rgba(240, 185, 11, 0.15);
    color: var(--primary);
}

.badge-advanced {
    background: var(--danger-glow);
    color: var(--danger);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(240, 185, 11, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.formation-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.formation-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.card-features {
    margin-bottom: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature i {
    color: var(--success);
    width: 16px;
    flex-shrink: 0;
}

.card-price {
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.card-price .price {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-price .currency {
    font-size: 24px;
    color: var(--primary);
}

.card-price .period {
    color: var(--text-muted);
    font-size: 14px;
}

.btn-card {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.btn-card:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.btn-featured {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.btn-featured:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* =====================================================
   MARKET DATA CARDS
   ===================================================== */

.market-section {
    background: var(--bg-card);
    padding: 60px 0;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.market-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition-normal);
}

.market-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.market-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.market-name h4 {
    font-size: 15px;
    font-weight: 600;
}

.market-name span {
    font-size: 12px;
    color: var(--text-muted);
}

.market-change {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.market-change.up {
    color: var(--success);
    background: var(--success-glow);
}

.market-change.down {
    color: var(--danger);
    background: var(--danger-glow);
}

.market-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.market-volume {
    font-size: 12px;
    color: var(--text-muted);
}

/* Mini Chart Placeholder */
.market-chart {
    height: 40px;
    margin-top: 12px;
    background: linear-gradient(180deg, rgba(14, 203, 129, 0.1) 0%, transparent 100%);
    border-radius: var(--radius-sm);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testimonials-section {
    background: var(--bg-card);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: var(--primary);
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--bg-dark);
}

.author-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    background: var(--gradient-gold);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(11, 14, 17, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--bg-dark);
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    border-color: var(--bg-dark);
    color: var(--bg-dark);
}

.cta-buttons .btn-outline:hover {
    background: var(--bg-dark);
    color: var(--primary);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--bg-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-input);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--danger-glow);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer i {
    color: var(--danger);
    font-size: 24px;
    flex-shrink: 0;
}

.footer-disclaimer p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.footer-disclaimer strong {
    color: var(--danger);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* =====================================================
   PAYMENT NOTIFICATION POPUP
   ===================================================== */

.payment-notification {
    position: fixed;
    bottom: 100px;
    left: 24px;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.payment-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
}

.payment-icon {
    width: 44px;
    height: 44px;
    background: var(--success-glow);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-icon i {
    color: var(--success);
    font-size: 20px;
}

.payment-info {
    flex: 1;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.payment-flag {
    font-size: 18px;
}

.payment-header strong {
    font-size: 14px;
    font-weight: 600;
}

.payment-country {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-details {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.payment-details strong {
    color: var(--success);
    font-weight: 600;
}

.payment-conversion {
    font-size: 11px;
    color: var(--text-muted);
}

.payment-plan {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--bg-input);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-close:hover {
    background: var(--bg-hover);
}

.payment-close i {
    font-size: 10px;
    color: var(--text-muted);
}

/* =====================================================
   BACK TO TOP & WHATSAPP FLOAT
   ===================================================== */

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-4px);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* =====================================================
   MODAL
   ===================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: auto;
    transition: var(--transition-normal);
}

.modal.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--bg-input);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-body {
    padding: 24px;
}

/* =====================================================
   FORMS
   ===================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23848E9C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* =====================================================
   COURSES SECTION
   ===================================================== */

.courses-section {
    background: var(--bg-card);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.course-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: var(--bg-elevated);
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.1);
}

.course-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.course-content {
    padding: 20px;
}

.course-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(240, 185, 11, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.course-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.course-content > p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta i {
    color: var(--primary);
}

/* =====================================================
   BLOG SECTION
   ===================================================== */

.blog-section {
    background: var(--bg-dark);
}

.blog-grid {
    display: block;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.blog-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

/* =====================================================
   TRUSTED BY / PARTNERS
   ===================================================== */

.trusted-by {
    padding: 40px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 700;
    opacity: 0.5;
    transition: var(--transition-normal);
}

.logo-item:hover {
    opacity: 1;
    color: var(--primary);
}

/* =====================================================
   CONSULTING SECTION
   ===================================================== */

.consulting-section {
    background: var(--bg-dark);
}

.consulting-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.consulting-left .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.consulting-left > p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.consulting-features {
    margin-bottom: 32px;
}

.consulting-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(240, 185, 11, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Card */
.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.pricing-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-value {
    margin-bottom: 24px;
}

.pricing-value .currency {
    font-size: 24px;
    vertical-align: top;
    color: var(--text-secondary);
}

.pricing-value .amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-value .period {
    color: var(--text-muted);
    font-size: 16px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--success);
    width: 16px;
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-note i {
    color: var(--success);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        display: none;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .formations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog grid géré par JS */

    .consulting-content {
        grid-template-columns: 1fr;
    }

    .consulting-left {
        text-align: center;
    }

    .consulting-left .section-title {
        text-align: center;
    }

    .consulting-feature {
        justify-content: center;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 112px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border-bottom: 1px solid rgba(17, 153, 250, 0.15);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - 112px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .formations-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .traders-table {
        font-size: 13px;
    }

    .traders-table th,
    .traders-table td {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .header {
        top: 78px;
    }

    body {
        padding-top: 130px;
    }

    .header.header-compact .navbar {
        height: 52px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-item {
        text-align: center;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 18px;
    }

    .footer-col ul {
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .traders-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .traders-tabs {
        width: 100%;
        overflow-x: auto;
    }

    /* Horizontal scroll for traders table on mobile */
    .traders-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .payment-notification {
        left: 16px;
        right: 16px;
        max-width: none;
        bottom: 80px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    /* Navigation mobile */
    .navbar {
        height: 56px;
        padding: 10px 16px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo-img {
        height: 35px;
    }

    .nav-menu {
        top: 106px;
        padding: 20px 16px;
        max-height: calc(100vh - 106px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 0;
        display: block;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-actions .btn-primary {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Hero section */
    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin: 15px 0;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-lg {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .hero-right {
        display: none;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    /* Grids mobile */
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Cards */
    .country-card {
        padding: 20px;
    }

    .blog-card {
        margin-bottom: 0;
    }

    .blog-image {
        height: 120px;
    }

    .blog-content {
        padding: 12px;
    }

    .blog-title {
        font-size: 0.9rem;
    }

    .blog-excerpt {
        font-size: 0.75rem;
        display: none;
    }

    /* Crypto ticker */
    .crypto-ticker {
        display: none;
    }

    /* Partners section */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-card {
        padding: 15px;
    }

    .partner-card img {
        height: 50px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Sections */
    .formations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .formation-card {
        padding: 20px;
    }

    .formation-card h3 {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 20px;
    }

    /* Social buttons */
    .social-btn {
        width: 55px !important;
        height: 55px !important;
        font-size: 24px !important;
    }

    .social-btn img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Download buttons */
    .store-card {
        flex-direction: column;
        padding: 20px !important;
        gap: 10px !important;
    }

    .store-card div:last-child {
        text-align: center;
    }

    .store-card h4 {
        font-size: 1rem !important;
    }

    /* Tables */
    table {
        font-size: 0.85rem;
    }

    .table-responsive {
        margin: 0;
    }

    /* Forms */
    input, textarea, select {
        font-size: 16px;
        padding: 12px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Section separation */
    .section {
        border-top: 1px solid var(--border);
    }

    .partners-section,
    .countries-section,
    .stats-counter-section,
    .traders-section,
    .formations-section,
    .market-section,
    .courses-section,
    .consulting-section,
    .testimonials-section,
    .blog-section,
    .payment-section,
    .cta-section,
    .download-section {
        border-top: 1px solid var(--border);
        margin-top: 0;
    }

    /* Spacing */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }

    /* Images */
    .hero-card {
        min-height: 300px;
    }

    /* Scrollable elements */
    .horizontal-scroll {
        -webkit-overflow-scrolling: touch;
    }

    /* Mobile CTA Button */
    .mobile-cta-fab {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 100;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        border: none;
    }

    .mobile-cta-fab:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    /* Payment methods grid mobile */
    .payment-methods {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .payment-method-card {
        padding: 12px;
        text-align: center;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .payment-method-card img {
        max-height: 40px;
        object-fit: contain;
    }

    /* Testimonials mobile */
    .testimonial-card {
        padding: 15px;
        margin-bottom: 12px;
    }

    .testimonial-card .stars {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Video sections */
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-item {
        aspect-ratio: 16 / 9;
    }

    /* Converter section mobile */
    .converter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .converter-card {
        padding: 15px;
    }

    /* Form inputs mobile */
    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        font-size: 16px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 6px;
    }

    /* List items */
    .feature-list li {
        padding: 8px 0;
        font-size: 0.9rem;
    }
}

/* =====================================================
   ULTRA MOBILE (< 360px)
   ===================================================== */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons .btn-lg {
        font-size: 0.85rem;
        padding: 12px 16px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-box {
        padding: 15px 12px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .partner-card {
        padding: 12px;
    }

    .social-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    .social-btn img {
        width: 28px !important;
        height: 28px !important;
    }

    .store-card {
        padding: 15px !important;
    }

    .store-card div:first-child {
        min-width: 50px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 0.95rem; }
    p { font-size: 0.85rem; }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.5s ease forwards;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ============================================
   GUIDE D'ASSISTANCE CONTEXTUELLE
   ============================================ */

/* Bouton flottant "?" */
#help-guide-btn {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(16, 185, 129, 0.1);
    z-index: 9997;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: helpPulse 3s ease-in-out infinite;
}
#help-guide-btn i {
    font-size: 22px;
    color: #fff;
    font-weight: 700;
}
#help-guide-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.5), 0 0 0 8px rgba(16, 185, 129, 0.12);
}
#help-guide-btn.active {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.4);
    animation: none;
}
#help-guide-btn.active i::before {
    content: "\f00d";
}
@keyframes helpPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(16, 185, 129, 0.1); }
    50% { box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5), 0 0 0 14px rgba(16, 185, 129, 0.05); }
}

/* Panneau d'aide */
#help-guide-panel {
    position: fixed;
    bottom: 95px;
    left: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 140px);
    background: linear-gradient(180deg, #0F172A 0%, #0A0F1C 100%);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.2), 0 0 40px rgba(16, 185, 129, 0.08);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#help-guide-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header du guide */
.help-guide-header {
    background: linear-gradient(135deg, #10B981, #059669);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.help-guide-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.help-guide-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.help-guide-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-top: 2px;
}
.help-guide-close {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.help-guide-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

/* Liste des étapes */
.help-guide-steps {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 320px;
}
.help-guide-steps::-webkit-scrollbar { width: 5px; }
.help-guide-steps::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 3px; }
.help-guide-steps::-webkit-scrollbar-thumb { background: rgba(16,185,129,0.4); border-radius: 3px; }

/* Étape individuelle */
.help-step {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.help-step:hover {
    background: rgba(16,185,129,0.08);
    border-color: rgba(16,185,129,0.15);
}
.help-step.active {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.35);
    box-shadow: 0 0 20px rgba(16,185,129,0.08);
}
.help-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #94A3B8;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.help-step.active .help-step-number {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
}
.help-step-title {
    font-size: 14px;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.help-step.active .help-step-title {
    color: #fff;
}
.help-step-text {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}
.help-step.active .help-step-text {
    max-height: 200px;
    opacity: 1;
    color: #94A3B8;
}

/* Navigation du guide */
.help-guide-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.help-nav-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.help-nav-btn:hover:not(:disabled) {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.3);
    color: #10B981;
}
.help-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.help-nav-next {
    background: linear-gradient(135deg, #10B981, #059669);
    border-color: transparent;
    color: #fff;
}
.help-nav-next:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    transform: translateX(2px);
}
.help-nav-counter {
    font-size: 13px;
    color: #64748B;
    font-weight: 600;
}

/* Footer du guide (WhatsApp) */
.help-guide-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.help-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    transition: all 0.2s;
}
.help-whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}
.help-whatsapp-link i {
    font-size: 16px;
}

/* Responsive mobile */
@media (max-width: 480px) {
    #help-guide-btn {
        bottom: 90px;
        left: 15px;
        width: 48px;
        height: 48px;
    }
    #help-guide-btn i { font-size: 20px; }
    #help-guide-panel {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
    }
}

/* Mode clair */
[data-theme="light"] #help-guide-panel {
    background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(16,185,129,0.15);
}
[data-theme="light"] .help-step {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .help-step.active {
    background: rgba(16,185,129,0.08);
    border-color: rgba(16,185,129,0.25);
}
[data-theme="light"] .help-step-title { color: #334155; }
[data-theme="light"] .help-step.active .help-step-title { color: #0F172A; }
[data-theme="light"] .help-step-text { color: #94A3B8; }
[data-theme="light"] .help-step.active .help-step-text { color: #64748B; }
[data-theme="light"] .help-nav-btn { background: #F1F5F9; border-color: #E2E8F0; color: #64748B; }
[data-theme="light"] .help-guide-nav { border-color: #E2E8F0; }
[data-theme="light"] .help-guide-footer { border-color: #E2E8F0; }

/* =====================================================
   SCROLLBAR
   ===================================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* =====================================================
   SELECTION
   ===================================================== */

::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* =====================================================
   STATS COUNTER SECTION - Binance Style
   ===================================================== */

.stats-counter-section {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.stats-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(240, 185, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(14, 203, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.stats-counter-left {
    text-align: left;
}

.big-counter {
    margin-bottom: 16px;
}

.counter-number {
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -2px;
    display: block;
}

.counter-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.2;
}

.counter-badges {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.counter-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(240, 185, 11, 0.08);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: var(--radius-lg);
}

.counter-badge i {
    color: var(--primary);
    font-size: 24px;
}

.counter-badge .badge-title {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.counter-badge .badge-subtitle {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.counter-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.bonus-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 14px;
}

.bonus-tag i {
    color: var(--primary);
    font-size: 18px;
}

.download-options {
    display: flex;
    gap: 16px;
}

.download-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 20px;
    transition: var(--transition-fast);
}

.download-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Crypto Widget */
.crypto-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.widget-tabs {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 24px;
}

.widget-tab {
    padding: 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    cursor: pointer;
    background: none;
}

.widget-tab:hover,
.widget-tab.active {
    color: var(--text-primary);
}

.widget-tab.active {
    border-bottom-color: var(--primary);
}

.widget-link {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget-link:hover {
    color: var(--primary);
}

.crypto-live-list {
    padding: 8px 0;
}

.crypto-live-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.crypto-live-item:hover {
    background: var(--bg-hover);
}

.crypto-live-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-live-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.crypto-live-name {
    font-weight: 600;
    font-size: 15px;
}

.crypto-live-symbol {
    color: var(--text-muted);
    font-size: 13px;
}

.crypto-live-price {
    font-weight: 600;
    font-size: 15px;
    text-align: right;
}

.crypto-live-change {
    font-weight: 600;
    font-size: 14px;
    min-width: 70px;
    text-align: right;
}

.crypto-live-change.positive {
    color: var(--success);
}

.crypto-live-change.negative {
    color: var(--danger);
}

.widget-news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-elevated);
}

.widget-news h4 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-news h4 i {
    color: var(--primary);
}

.news-link {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    color: var(--primary);
}

.news-items {
    padding: 8px 20px 16px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin-top: 6px;
    flex-shrink: 0;
}

.news-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.news-item:hover p {
    color: var(--primary);
}

/* =====================================================
   CURRENCY CONVERTER SECTION
   ===================================================== */

.converter-section {
    padding: 80px 0;
    background: var(--bg-card);
    position: relative;
}

.converter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.converter-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.main-converter {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.converter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-elevated);
}

.converter-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.converter-header h3 i {
    color: var(--primary);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(14, 203, 129, 0.1);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: var(--radius-full);
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.converter-body {
    padding: 24px;
}

.converter-input-group {
    margin-bottom: 16px;
}

.converter-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.converter-input {
    display: flex;
    gap: 12px;
}

.converter-input input {
    flex: 1;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.converter-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.converter-input select {
    width: 180px;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23848E9C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.converter-swap {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.swap-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.swap-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    transform: rotate(180deg);
}

.converter-rate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.converter-rate i {
    color: var(--primary);
}

.converter-cta {
    margin-top: 8px;
}

/* Quick Conversion Cards */
.quick-conversions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
}

.quick-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quick-icon {
    font-size: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-info {
    flex: 1;
}

.quick-pair {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-rate {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-family: monospace;
}

.quick-change {
    font-size: 14px;
    font-weight: 600;
}

.quick-change.positive {
    color: var(--success);
}

.quick-change.negative {
    color: var(--danger);
}

/* Rate Ticker */
.rate-ticker {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.rate-ticker::before,
.rate-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.rate-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.rate-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.rate-ticker-track {
    display: flex;
    gap: 48px;
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}

.rate-ticker-track:hover {
    animation-play-state: paused;
}

.rate-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.rate-pair {
    font-weight: 600;
    color: var(--text-primary);
}

.rate-value {
    color: var(--text-secondary);
    font-family: monospace;
}

.rate-change {
    font-size: 13px;
    font-weight: 600;
}

.rate-change.positive {
    color: var(--success);
}

.rate-change.negative {
    color: var(--danger);
}

/* Responsive for Stats Counter */
@media (max-width: 1200px) {
    .stats-counter-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-counter-left {
        text-align: center;
    }

    .counter-badges {
        justify-content: center;
    }

    .counter-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .download-options {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .converter-grid {
        grid-template-columns: 1fr;
    }

    .quick-conversions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .counter-number {
        font-size: 48px;
    }

    .counter-title {
        font-size: 28px;
    }

    .counter-badges {
        flex-direction: column;
        gap: 16px;
    }

    .counter-cta {
        flex-direction: column;
    }

    .bonus-tag {
        width: 100%;
        justify-content: center;
    }

    .quick-conversions {
        grid-template-columns: 1fr;
    }

    .converter-input {
        flex-direction: column;
    }

    .converter-input select {
        width: 100%;
    }
}

/* ===================================
   CONVERTER SECTION STYLES
   =================================== */

.converter-section {
    position: relative;
    overflow: hidden;
}

.converter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    pointer-events: none;
}

.converter-section .container {
    position: relative;
    z-index: 1;
}

#amountInput {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#amountInput:focus {
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
}

#currencySelect {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#currencySelect:hover {
    background-color: rgba(255,255,255,1);
}

#conversionResult {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

/* Payment methods styling */
.country-card {
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Responsive for converter */
@media (max-width: 768px) {
    .converter-section {
        padding: 60px 0 !important;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }
}

/* =====================================================
   CRYPTO MODAL STYLES
   ===================================================== */

.crypto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.crypto-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.crypto-modal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 100%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.crypto-modal-overlay.active .crypto-modal {
    transform: translateY(0) scale(1);
}

.crypto-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-input);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.crypto-modal-close:hover {
    background: var(--danger);
    color: white;
}

.crypto-modal-header {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.crypto-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.crypto-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.crypto-symbol {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.crypto-modal-body {
    padding: 25px;
}

.crypto-price-main {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-change {
    font-size: 1rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.price-change.positive {
    background: var(--success-glow);
    color: var(--success);
}

.price-change.negative {
    background: var(--danger-glow);
    color: var(--danger);
}

.crypto-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.crypto-stat {
    background: var(--bg-input);
    padding: 15px;
    border-radius: var(--radius-md);
}

.crypto-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.crypto-stat .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.crypto-stat .stat-value.positive {
    color: var(--success);
}

.crypto-stat .stat-value.negative {
    color: var(--danger);
}

.crypto-modal-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.crypto-modal-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Crypto Details Button */
.btn-crypto-details {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-crypto-details:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* =====================================================
   BLUE THEME OVERRIDES
   ===================================================== */

/* Header styles for blue theme */
.header {
    background: var(--bg-dark);
}

.header.scrolled {
    background: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Hero section light background */
.hero {
    background: var(--gradient-hero);
}

.hero-title {
    color: var(--text-primary);
}

.hero-description {
    color: var(--text-secondary);
}

/* Gradient text blue */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards with white background */
.hero-card,
.card,
.formation-card,
.crypto-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

/* Section headers */
.section-tag {
    background: var(--primary-glow);
    color: var(--primary);
}

/* Primary button blue */
.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-primary);
}

/* Outline button blue */
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Stats section */
.stats-counter-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Partners section */
.partners-section {
    background: var(--bg-card);
}

/* Sections alternating backgrounds */
.section:nth-child(odd) {
    background: var(--bg-main);
}

.section:nth-child(even) {
    background: var(--bg-card);
}

/* Footer blue */
footer,
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Widget tabs */
.widget-tab {
    background: var(--bg-input);
    color: var(--text-secondary);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.widget-tab:hover {
    background: var(--bg-hover);
}

.widget-tab.active {
    background: var(--primary);
    color: white;
}

/* Trader tabs container */
.trader-tabs-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trader tabs */
.trader-tab {
    padding: 10px 20px;
    background: var(--bg-input);
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trader-tab:hover {
    background: var(--bg-hover);
}

.trader-tab.active {
    background: var(--primary);
    color: white;
}

/* Live indicator */
.live-indicator {
    color: var(--success);
}

/* Badge styling */
.badge {
    background: var(--primary-glow);
    color: var(--primary);
}

/* Responsive modal */
@media (max-width: 480px) {
    .crypto-modal {
        margin: 10px;
    }

    .price-value {
        font-size: 1.75rem;
    }

    .crypto-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PRESET BUTTONS STYLES
   ===================================================== */

.preset-buttons-section {
    margin-top: 60px;
    text-align: center;
}

.preset-label {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

.preset-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-preset {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-preset:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* =====================================================
   PERFORMANCE OPTIMIZATIONS
   ===================================================== */

/* GPU Acceleration for smoother animations */
.crypto-item,
.trader-row,
.testimonial-card,
.notification-popup,
.crypto-notification,
.country-card,
.formation-card,
.blog-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}kpojihugyftdx

/* Optimized image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

img[loading="lazy"] {fdx}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Smooth scrolling performance */
html {
    scroll-behavior: smooth;
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Content visibility désactivé - causait des sections invisibles */
/* section { content-visibility: auto; contain-intrinsic-size: auto 500px; } */

/* Font display optimization */
@font-face {
    font-display: swap;
}

/* Better text rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   NEW SECTIONS - Professional Upgrade v3.0
   ============================================= */

/* How It Works Section */
.how-it-works-section .hiw-step:hover > div:first-child {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(17, 153, 250, 0.3);
}

/* Team Section */
.team-section .team-card {
    position: relative;
    overflow: hidden;
}

.team-section .team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #1199FA, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-section .team-card:hover::before {
    opacity: 1;
}

/* FAQ Section */
.faq-item:hover {
    border-color: rgba(17, 153, 250, 0.35) !important;
}

.faq-toggle:hover {
    background: rgba(17, 153, 250, 0.03);
}

/* Live Notification Animation */
@keyframes notifSlideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes notifSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* =============================================
   RESPONSIVE - Mobile v3.0
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .how-it-works-section .hiw-timeline {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 30px !important;
    }

    .how-it-works-section .hiw-timeline > div:first-child {
        display: none;
    }

    .team-section [style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* How It Works */
    .how-it-works-section {
        padding: 50px 0 !important;
    }

    .how-it-works-section h2 {
        font-size: 1.6rem !important;
    }

    .how-it-works-section .hiw-timeline {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        max-width: 350px !important;
    }

    .how-it-works-section .hiw-timeline > div:first-child {
        display: none !important;
    }

    .hiw-step > div:first-child {
        width: 80px !important;
        height: 80px !important;
    }

    .hiw-step > div:first-child i {
        font-size: 1.6rem !important;
    }

    /* Team Section */
    .team-section {
        padding: 50px 0 !important;
    }

    .team-section h2 {
        font-size: 1.6rem !important;
    }

    .team-section [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .team-card {
        padding: 24px !important;
    }

    .team-card img {
        width: 80px !important;
        height: 80px !important;
    }

    /* FAQ Section */
    .faq-section {
        padding: 50px 0 !important;
    }

    .faq-section h2 {
        font-size: 1.6rem !important;
    }

    .faq-toggle {
        padding: 16px !important;
    }

    .faq-toggle span {
        font-size: 0.88rem !important;
    }

    .faq-answer p {
        padding-left: 16px !important;
        padding-right: 16px !important;
        font-size: 0.85rem !important;
    }

    /* Live Notification - Mobile position (top centered) */
    #liveNotification {
        top: 70px !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        width: 94% !important;
        max-width: 600px !important;
        min-width: auto !important;
    }

    #liveNotification > div {
        padding: 16px 18px !important;
    }

    #notifAvatar {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
    }

    #notifText {
        font-size: 1rem !important;
    }

    /* Countries section - prevent overflow */
    .countries-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .how-it-works-section .hiw-timeline {
        max-width: 100% !important;
    }

    .faq-toggle > div:first-child > div:first-child {
        display: none;
    }

    .faq-toggle span {
        font-size: 0.82rem !important;
    }

    #liveNotification {
        top: 65px !important;
        bottom: auto !important;
    }

    #liveNotification > div {
        padding: 14px 16px !important;
    }

    #notifAvatar {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
    }
}

/* =============================================
   PROFESSIONAL ENHANCEMENTS v4.0
   Crypto.com/Binance Premium Effects
   ============================================= */

/* ===== BUTTON GLOW EFFECTS ===== */
.btn-primary-glow {
    position: relative;
    background: linear-gradient(135deg, #1199FA 0%, #0D7FD9 100%);
    color: #fff;
    border: none;
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 20px rgba(17, 153, 250, 0.5), 0 0 40px rgba(17, 153, 250, 0.2);
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(17, 153, 250, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-success:hover {
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== CARD HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(17, 153, 250, 0.1);
}

/* ===== SECTION DIVIDER GRADIENT ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17, 153, 250, 0.3), transparent);
    margin: 0;
    border: none;
}

/* ===== GRADIENT TEXT UTILITY ===== */
.text-gradient-blue {
    background: linear-gradient(135deg, #1199FA, #00D4AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #F5A623, #FFCC4D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMATED BORDER CARD ===== */
.card-animated-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(17,153,250,0.3), transparent, rgba(0,212,170,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===== STATUS BADGES ===== */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 212, 170, 0.1);
    color: #00D4AA;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00D4AA;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(17,153,250,0.15), rgba(0,212,170,0.15));
    color: #1199FA;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(17,153,250,0.2);
}

/* ===== SCROLL-TRIGGERED ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ===== WHATSAPP FLOAT PREMIUM ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9990;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ===== BACK TO TOP PREMIUM ===== */
.back-to-top,
#backToTop {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1199FA, #0D7FD9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    border: none;
    cursor: pointer;
    z-index: 9990;
    box-shadow: 0 4px 20px rgba(17, 153, 250, 0.4);
    transition: all 0.3s ease;
}

.back-to-top.show,
#backToTop.show {
    display: flex;
}

.back-to-top:hover,
#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(17, 153, 250, 0.6);
}

/* ===== TOOLTIP UTILITY ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ===== MOBILE BOTTOM NAV ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        left: 16px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .back-to-top,
    #backToTop {
        bottom: 80px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}
