/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive Breakpoints */
:root {
    --mobile: 320px;
    --mobile-large: 480px;
    --tablet: 768px;
    --tablet-large: 1024px;
    --desktop: 1200px;
    --desktop-large: 1440px;
}

:root {
    /* Color Palette */
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #f59e0b 100%);
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    
    /* AI Colors */
    --ai-primary: #00d4ff;
    --ai-secondary: #7c3aed;
    --ai-accent: #f59e0b;
    --ai-neural: #10b981;
    --ai-glow: rgba(0, 212, 255, 0.6);
    --ai-pulse: rgba(124, 58, 237, 0.4);
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

/* Force hide all hamburger menus except the one with ID mobileMenuToggle */
.mobile-menu-toggle:not(#mobileMenuToggle) {
    display: none !important;
}

/* Additional rule to ensure only one hamburger menu is visible */
.nav-container button:not(#mobileMenuToggle) {
    display: none !important;
}

/* Hide hamburger menu by default on desktop */
#mobileMenuToggle {
    display: none;
}

/* Show hamburger menu on tablet (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #mobileMenuToggle {
        display: flex !important;
    }
}

/* Show hamburger menu on mobile (max-width: 767px) */
@media (max-width: 767px) {
    #mobileMenuToggle {
        display: flex !important;
    }
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Ensure only one hamburger menu is visible */
.nav-container #mobileMenuToggle {
    display: none;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-logo i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

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

.nav-buttons {
    display: flex !important;
    gap: var(--spacing-md);
    align-items: center;
    position: relative;
    z-index: 1001;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hide Buy Now button only on mobile */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

@media (max-width: 480px) {
    .nav-buttons .btn-primary {
        padding: 5px 10px !important;
        font-size: 11px !important;
        min-width: 60px !important;
        height: 28px !important;
        border-radius: 5px !important;
    }
    
    .nav-buttons .btn-primary i {
        font-size: 10px !important;
        margin-right: 3px !important;
    }
}

/* Force nav-buttons visibility on all screen sizes */
@media (min-width: 1024px) {
    .nav-buttons {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nav-buttons {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767px) {
    .nav-buttons {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Modern Transparent Language Button */
.modern-lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 80px;
    height: 40px;
    justify-content: center;
}

.modern-lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modern-lang-btn:active {
    transform: translateY(0);
}

.modern-lang-btn i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modern-lang-btn span {
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.modern-lang-btn:hover i {
    color: var(--ai-primary);
    transform: scale(1.1);
}

.modern-lang-btn:hover span {
    color: var(--ai-primary);
}

/* Glow effect */
.modern-lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.modern-lang-btn:hover::before {
    left: 100%;
}

/* Responsive styles for modern language button */

/* Desktop (PC) - min-width: 1024px */
@media (min-width: 1024px) {
    .modern-lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 10px 16px;
        min-width: 80px;
        height: 40px;
        font-size: 14px;
    }
    
    .modern-lang-btn i {
        font-size: 16px;
    }
}

/* Tablet - min-width: 768px and max-width: 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Container adjustments for tablet */
    .nav-container {
        padding: 0.75rem 1.5rem !important;
    }
    
    .modern-lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 8px 14px;
        min-width: 75px;
        height: 38px;
        font-size: 13px;
    }
    
    .modern-lang-btn i {
        font-size: 15px;
    }
    
    /* Show Buy Now button on tablet */
    .desktop-only {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Tablet Buy Now button styling */
    .nav-buttons .btn-primary {
        padding: 7px 14px !important;
        font-size: 13px !important;
        min-width: 75px !important;
        height: 36px !important;
    }
    
    /* Logo adjustments for tablet */
    .nav-logo {
        font-size: 1.1rem !important;
    }
    
    .nav-logo i {
        font-size: 1.2rem !important;
    }
}

/* Mobile - max-width: 767px */
@media (max-width: 767px) {
    .modern-lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 8px 12px;
        min-width: 70px;
        height: 36px;
        font-size: 13px;
    }
    
    .modern-lang-btn i {
        font-size: 14px;
    }
    
    /* Minimize logo size on mobile */
    .nav-logo {
        font-size: 1rem !important;
    }
    
    .nav-logo i {
        font-size: 1.1rem !important;
    }
    
    /* Force hamburger menu visibility on mobile */
    #mobileMenuToggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        width: 30px !important;
        height: 30px !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        padding: 0 !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    .hamburger-line {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: var(--primary-color) !important;
        width: 100% !important;
        height: 3px !important;
    }
    
    /* Language button mobile positioning */
    .modern-lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 8px 12px;
        min-width: 70px;
        height: 36px;
        font-size: 13px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Extra Small Mobile - max-width: 480px */
@media (max-width: 480px) {
    /* Container adjustments for small mobile */
    .nav-container {
        padding: 0.5rem 0.75rem !important;
        min-height: 60px !important;
    }
    
    /* Hamburger menu for small mobile */
    #mobileMenuToggle {
        width: 32px !important;
        height: 32px !important;
        margin-right: 0.5rem !important;
        padding: 6px !important;
    }
    
    .hamburger-line {
        height: 2px !important;
    }
    
    /* Language button for small mobile */
    .modern-lang-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 6px 8px !important;
        min-width: 50px !important;
        height: 30px !important;
        font-size: 11px !important;
        gap: 4px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 6px !important;
    }
    
    .modern-lang-btn i {
        font-size: 10px !important;
    }
    
    .modern-lang-btn span {
        font-size: 10px !important;
    }
    
    /* Logo adjustments for small mobile */
    .nav-logo {
        font-size: 0.9rem !important;
        gap: 0.25rem !important;
    }
    
    .nav-logo i {
        font-size: 1rem !important;
    }
    
    /* Nav-buttons spacing */
    .nav-buttons {
        gap: 0.25rem !important;
    }
    
    /* Mobile menu adjustments for small screens */
    .nav-menu {
        top: 60px !important;
        height: calc(100vh - 60px) !important;
        padding-top: 1.5rem !important;
    }
    
    .nav-menu a {
        font-size: 1.1rem !important;
        padding: 0.6rem 1rem !important;
    }
    
    
    .nav-logo i {
        font-size: 1rem !important;
    }
}

/* Force visibility in nav-buttons for all screen sizes */
.nav-buttons .modern-lang-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Force language selector visibility in nav-buttons */
.nav-buttons .language-selector {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1003 !important;
}

/* Force language button visibility on all screen sizes */
@media (min-width: 1024px) {
    .nav-buttons .language-selector,
    .nav-buttons .language-btn.modern {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 1023px) {
    .nav-buttons .language-selector,
    .nav-buttons .language-btn.modern {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Modern Language Selector */
/* Force language button to be visible */
.language-selector {
    position: relative !important;
    z-index: 1000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.language-btn.modern {
    position: relative !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 
        0 4px 20px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    min-width: 120px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1002 !important;
    width: auto !important;
    margin: 0 !important;
}

.language-btn.modern:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 
        0 8px 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.language-btn.modern:active {
    transform: translateY(0);
}

.language-btn-content {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    justify-content: space-between !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-icon {
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary-color) !important;
    font-size: 14px !important;
    animation: iconPulse 2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-code {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-name {
    font-size: 10px !important;
    color: var(--text-secondary) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-arrow {
    width: 12px !important;
    height: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-secondary) !important;
    font-size: 10px !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.language-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    padding: 8px;
    min-width: 140px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 212, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 14px;
}

.language-option:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    transform: translateX(4px);
}

.language-code {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.language-name {
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 500;
}

.language-arrow {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 8px;
    transition: transform 0.3s ease;
}

.language-btn.modern:hover .language-arrow {
    transform: rotate(180deg);
}

.language-btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(124, 58, 237, 0.1) 50%, 
        rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: glowPulse 3s ease-in-out infinite;
}

.language-btn.modern:hover .language-btn-glow {
    opacity: 1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.language-dropdown.modern {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 220px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector:hover .language-dropdown.modern,
.language-dropdown.modern.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-header i {
    color: var(--primary-color);
    font-size: 14px;
}

.dropdown-options {
    padding: 8px 0;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.language-option:hover::before {
    left: 100%;
}

.language-option:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(4px);
}

.language-option.active {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.15) 0%, 
        rgba(124, 58, 237, 0.15) 100%);
    border-left: 3px solid var(--primary-color);
}

.option-flag {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.option-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.option-code {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.option-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 12px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.language-option.active .option-check {
    opacity: 1;
    transform: scale(1);
}

.language-option.active .option-name {
    color: var(--primary-color);
}

.language-option.active .option-code {
    color: var(--primary-color);
    opacity: 0.8;
}

.language-option span:last-child {
    font-weight: 500;
}

/* Arabic RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .showcase-header {
    text-align: center;
}

[dir="rtl"] .cta-content {
    text-align: center;
}

[dir="rtl"] .footer-content {
    text-align: right;
}

[dir="rtl"] .footer-bottom {
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-feature, .btn-pricing {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

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

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

.btn-feature, .btn-pricing {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    justify-content: center;
}

.btn-feature:hover, .btn-pricing:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
}

.btn-pricing.primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-pricing.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary.large, .btn-outline.large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1rem;
    justify-content: center;
    text-align: center;
}

.btn-primary.large i,
.btn-outline.large i {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.crypto-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.crypto-coin {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    animation: float 6s ease-in-out infinite;
    opacity: 0.1;
}

.crypto-coin.bitcoin {
    background: linear-gradient(135deg, #f7931a, #ffd700);
    color: #000;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.crypto-coin.ethereum {
    background: linear-gradient(135deg, #627eea, #4f46e5);
    color: white;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.crypto-coin.cardano {
    background: linear-gradient(135deg, #0033ad, #1fc1c3);
    color: white;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.crypto-coin.solana {
    background: linear-gradient(135deg, #9945ff, #14f195);
    color: white;
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* AI Neural Network Background */
.ai-neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--ai-primary);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--ai-glow),
        0 0 20px var(--ai-glow),
        0 0 30px var(--ai-glow);
    animation: neuralPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
}

.neural-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--ai-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: neuralRing 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.neural-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ai-pulse);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: neuralRing 6s ease-in-out infinite reverse;
    animation-delay: var(--delay);
}

@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes neuralRing {
    0% { 
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* AI Data Streams */
.ai-data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--ai-primary), transparent);
    animation: dataFlow var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.data-stream:nth-child(1) { left: 20%; }
.data-stream:nth-child(2) { left: 50%; }
.data-stream:nth-child(3) { left: 80%; }

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ai-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--ai-glow);
    animation: particleMove var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.data-particle:nth-child(1) { animation-delay: calc(var(--delay) + 0s); }
.data-particle:nth-child(2) { animation-delay: calc(var(--delay) + 1s); }
.data-particle:nth-child(3) { animation-delay: calc(var(--delay) + 2s); }

@keyframes dataFlow {
    0% { 
        transform: translateY(-100%);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes particleMove {
    0% { 
        transform: translateY(-100%);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* AI Circuit Patterns */
.ai-circuit-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--ai-secondary), transparent);
    opacity: 0.3;
    animation: circuitPulse 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.circuit-line.horizontal {
    height: 1px;
    width: var(--width);
    left: var(--x);
    top: var(--y);
}

.circuit-line.vertical {
    width: 1px;
    height: var(--height);
    left: var(--x);
    top: var(--y);
}

@keyframes circuitPulse {
    0%, 100% { 
        opacity: 0.1;
        transform: scaleX(1);
    }
    50% { 
        opacity: 0.6;
        transform: scaleX(1.1);
    }
}

/* Floating AI Elements */
.ai-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ai-element {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--ai-glow);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: aiFloat 6s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
}

.ai-element i {
    font-size: 1.2rem;
    color: var(--ai-primary);
    animation: aiIconPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

.ai-element.brain {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--ai-secondary);
}

.ai-element.brain i {
    color: var(--ai-secondary);
}

.ai-element.chip {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--ai-accent);
}

.ai-element.chip i {
    color: var(--ai-accent);
}

.ai-element.network {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--ai-neural);
}

.ai-element.network i {
    color: var(--ai-neural);
}

.ai-element.data {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--ai-primary);
}

.ai-element.data i {
    color: var(--ai-primary);
}

/* Crypto Elements in AI Animation */
.ai-element.crypto {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    animation: cryptoFloat 8s ease-in-out infinite;
}

.ai-element.crypto.btc {
    background: rgba(247, 147, 26, 0.1);
    border-color: rgba(247, 147, 26, 0.3);
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.2);
}

.ai-element.crypto.solana {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.ai-element.crypto.ethereum {
    background: rgba(78, 115, 223, 0.1);
    border-color: rgba(78, 115, 223, 0.3);
    box-shadow: 0 0 20px rgba(78, 115, 223, 0.2);
}

.ai-element.crypto.cardano {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

.crypto-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Bitcoin Logo */
.btc-logo .btc-symbol {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
    animation: btcGlow 3s ease-in-out infinite;
}

/* Solana Logo - Official S Shape */
.solana-logo {
    position: relative;
    width: 35px;
    height: 35px;
    background: #1a0b2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solana-s-shape {
    position: relative;
    width: 25px;
    height: 20px;
}

.solana-bar {
    position: absolute;
    height: 4px;
    border-radius: 2px;
    animation: solanaGlow 2s ease-in-out infinite;
}

.solana-bar.bar-1 {
    width: 18px;
    top: 0;
    left: 2px;
    background: linear-gradient(90deg, #00d4aa, #00d4aa);
    animation-delay: 0s;
}

.solana-bar.bar-2 {
    width: 20px;
    top: 8px;
    left: 0;
    background: linear-gradient(90deg, #9945ff, #9945ff);
    animation-delay: 0.3s;
}

.solana-bar.bar-3 {
    width: 16px;
    top: 16px;
    left: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff6b6b);
    animation-delay: 0.6s;
}

/* Ethereum Logo - Official Diamond Shape */
.ethereum-logo {
    position: relative;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eth-diamond {
    position: relative;
    width: 25px;
    height: 25px;
}

.eth-triangle {
    position: absolute;
    width: 0;
    height: 0;
    animation: ethGlow 2.5s ease-in-out infinite;
}

.eth-triangle.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 15px solid #627eea;
    animation-delay: 0s;
}

.eth-triangle.bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 15px solid #627eea;
    animation-delay: 0.5s;
}

/* Cardano Logo - Official Circle with Dots */
.cardano-logo {
    position: relative;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardano-circle {
    position: relative;
    width: 30px;
    height: 30px;
    background: #0033ad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cardanoPulse 3s ease-in-out infinite;
}

.cardano-dots {
    position: relative;
    width: 20px;
    height: 20px;
}

.dot {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: dotGlow 2s ease-in-out infinite;
}

.dot-1 { width: 3px; height: 3px; top: 2px; left: 8px; animation-delay: 0s; }
.dot-2 { width: 2px; height: 2px; top: 4px; left: 4px; animation-delay: 0.1s; }
.dot-3 { width: 2px; height: 2px; top: 4px; left: 12px; animation-delay: 0.2s; }
.dot-4 { width: 2px; height: 2px; top: 6px; left: 2px; animation-delay: 0.3s; }
.dot-5 { width: 2px; height: 2px; top: 6px; left: 14px; animation-delay: 0.4s; }
.dot-6 { width: 3px; height: 3px; top: 8px; left: 8px; animation-delay: 0.5s; }
.dot-7 { width: 2px; height: 2px; top: 10px; left: 2px; animation-delay: 0.6s; }
.dot-8 { width: 2px; height: 2px; top: 10px; left: 14px; animation-delay: 0.7s; }
.dot-9 { width: 2px; height: 2px; top: 12px; left: 4px; animation-delay: 0.8s; }
.dot-10 { width: 2px; height: 2px; top: 12px; left: 12px; animation-delay: 0.9s; }
.dot-11 { width: 2px; height: 2px; top: 14px; left: 6px; animation-delay: 1s; }
.dot-12 { width: 2px; height: 2px; top: 14px; left: 10px; animation-delay: 1.1s; }

@keyframes cryptoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-40px) rotate(180deg) scale(1);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-20px) rotate(270deg) scale(1.1);
        opacity: 1;
    }
}

@keyframes btcGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(247, 147, 26, 0.8);
        transform: scale(1.1);
    }
}

@keyframes solanaGlow {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(153, 69, 255, 0.6);
    }
}

@keyframes ethGlow {
    0%, 100% { 
        opacity: 0.8;
        filter: drop-shadow(0 0 5px rgba(98, 126, 234, 0.5));
    }
    50% { 
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(98, 126, 234, 0.8));
        transform: scale(1.05);
    }
}

@keyframes cardanoPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 51, 173, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 51, 173, 0.6);
    }
}

@keyframes dotGlow {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }
}

@keyframes aiFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes aiIconPulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--spacing-xl) + 30px) var(--spacing-md) var(--spacing-3xl);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

/* Specific styling for Whale Tracking icon */
.feature-card:first-child .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 0 var(--spacing-lg) 0;
}

.feature-card:first-child .feature-icon i {
    position: relative;
    z-index: 2;
}

.feature-card:first-child .feature-icon .fa-fish {
    position: absolute;
    font-size: 1.5rem;
    margin-left: -18px;
    margin-top: 10px;
    z-index: 1;
}

/* Mobile: Reset Whale Tracking icon to normal layout */
@media (max-width: 767px) {
    .feature-card:first-child .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 0 var(--spacing-lg) 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-card:first-child .feature-icon .fa-fish {
        position: static;
        font-size: 1.5rem;
        margin: 0;
        margin-left: -15px;
        margin-top: 8px;
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* Dashboard Preview */
.dashboard-preview {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

/* Platform Showcase */
.platform-showcase {
    margin-top: var(--spacing-2xl);
    position: relative;
}

.platform-showcase::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: aiFloat 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes aiFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) translateY(-20px) scale(1.1); opacity: 0.6; }
}

.showcase-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.showcase-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.showcase-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: aiGlow 2s ease-in-out infinite;
}

@keyframes aiGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.showcase-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

/* Main Trading Interface */
.main-trading-interface {
    grid-column: 1 / -1;
    max-width: 100%;
    position: relative;
}

.main-trading-interface::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(124, 58, 237, 0.1) 100%);
    border-radius: var(--radius-xl);
    z-index: -1;
    animation: aiBorderGlow 4s ease-in-out infinite;
}

@keyframes aiBorderGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

.trading-interface {
    padding: 0;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Real Trading Chart Styles */
.trading-chart {
    position: relative;
    width: 100%;
    height: 400px;
    background: #0a0a0a;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Inter', monospace;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.chart-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chart-btn {
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.chart-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-1px);
}

.chart-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

.price-scale {
    position: absolute;
    left: 0;
    top: 50px;
    width: 60px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 8px;
    background: rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(0, 212, 255, 0.1);
}

.price-level {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    text-align: right;
}

.candlestick-chart {
    position: absolute;
    left: 60px;
    top: 50px;
    right: 0;
    height: 300px;
    display: flex;
    align-items: end;
    gap: 2px;
    padding: 0 10px;
}

.candlestick {
    position: relative;
    width: 8px;
    background: #333;
    border-radius: 1px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 4px;
}

.candlestick:hover {
    transform: scaleX(1.5);
    z-index: 10;
}

.candlestick.green {
    background: linear-gradient(to bottom, #00ff88, #00cc6a);
    box-shadow: 0 0 4px rgba(0, 255, 136, 0.3);
}

.candlestick.red {
    background: linear-gradient(to bottom, #ff4757, #ff3742);
    box-shadow: 0 0 4px rgba(255, 71, 87, 0.3);
}

.candlestick::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: currentColor;
    transform: translateX(-50%);
}

.candlestick::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: currentColor;
    transform: translateX(-50%);
}

.technical-indicators {
    position: absolute;
    left: 60px;
    top: 50px;
    right: 0;
    height: 300px;
    pointer-events: none;
}

.ma-line {
    position: absolute;
    height: 1px;
    background: var(--ma-color);
    opacity: 0.8;
    animation: maGlow 2s ease-in-out infinite;
}

.ma-20 { top: 60%; width: 80%; }
.ma-50 { top: 50%; width: 85%; }
.ma-200 { top: 40%; width: 90%; }

@keyframes maGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.volume-chart {
    position: absolute;
    left: 60px;
    bottom: 30px;
    right: 0;
    height: 40px;
    display: flex;
    align-items: end;
    gap: 2px;
    padding: 0 10px;
}

.volume-bar {
    width: 8px;
    height: var(--height);
    background: linear-gradient(to top, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.1));
    border-radius: 1px;
    transition: all 0.2s ease;
}

.volume-bar:hover {
    background: linear-gradient(to top, rgba(0, 212, 255, 0.6), rgba(0, 212, 255, 0.3));
}

.time-scale {
    position: absolute;
    left: 60px;
    bottom: 10px;
    right: 0;
    height: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    align-items: center;
}

.time-label {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
}

.chart-crosshair {
    position: absolute;
    top: 50px;
    left: 60px;
    right: 0;
    height: 300px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.trading-chart:hover .chart-crosshair {
    opacity: 1;
}

.crosshair-horizontal,
.crosshair-vertical {
    position: absolute;
    background: rgba(0, 212, 255, 0.3);
}

.crosshair-horizontal {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}

.crosshair-vertical {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}

.ai-signal-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
}

.ai-signal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: signalPulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.ai-signal.buy {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 100, 0.2));
    color: #00ff88;
    border: 2px solid rgba(0, 255, 136, 0.6);
}

.ai-signal i {
    font-size: 1rem;
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes signalPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(0, 255, 136, 0.5);
    }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.2);
    }
}

.support-resistance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.support-line,
.resistance-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 71, 87, 0.6);
    animation: linePulse 3s ease-in-out infinite;
}

.support-line {
    top: 80%;
    background: rgba(0, 255, 136, 0.6);
}

.resistance-line {
    top: 20%;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Trading Top Bar */
.trading-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.05) 0%, 
        rgba(124, 58, 237, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.trading-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.5) 50%, 
        transparent 100%);
    animation: aiScan 3s linear infinite;
}

@keyframes aiScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.market-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.pair-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pair-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: var(--transition-normal);
}

.pair-selector:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.pair-selector:hover::before {
    left: 100%;
}

.pair-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pair-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.pair-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.pair-change.positive {
    color: var(--success-color);
}

.price-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.price-details {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.market-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.stat-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.trading-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.action-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.crypto-logo {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bitcoin-coin {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    position: relative;
    box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    animation: coinGlow 3s ease-in-out infinite;
}

@keyframes coinGlow {
    0%, 100% { 
        box-shadow: 
            0 2px 8px rgba(255, 215, 0, 0.3),
            inset 0 1px 2px rgba(255, 255, 255, 0.3),
            inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 4px 16px rgba(255, 215, 0, 0.5),
            inset 0 1px 2px rgba(255, 255, 255, 0.4),
            inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    }
}

.coin-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            transparent 25%, 
            transparent 75%, 
            rgba(0, 0, 0, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.coin-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 30%);
    border-radius: 50%;
}

.bitcoin-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.3),
        0 -1px 0 rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Effet de rotation subtile */
.bitcoin-coin:hover {
    animation: coinRotate 0.5s ease-in-out;
}

@keyframes coinRotate {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.pair-selector img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.price-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.price-change {
    font-size: 1rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.price-change::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    animation: priceShimmer 2s ease-in-out infinite;
}

@keyframes priceShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.price-change.positive {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.volume {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.market-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.market-stats .stat {
    text-align: center;
}

.market-stats .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.market-stats .value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Trading Main Area */
.trading-main-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    min-height: 400px;
}

/* Chart Section */
.chart-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    gap: var(--spacing-lg);
}

.chart-type-selector {
    display: flex;
    gap: var(--spacing-xs);
}

.chart-type-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.chart-type-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.chart-type-btn:hover:not(.active) {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
}

.chart-tools {
    display: flex;
    gap: var(--spacing-md);
}

.tool-group {
    display: flex;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs);
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.timeframe-selector {
    display: flex;
    gap: var(--spacing-xs);
}

.time-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.time-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.2) 50%, 
        transparent 100%);
    transition: var(--transition-normal);
}

.time-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
}

.time-btn:hover:not(.active) {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}

.time-btn:hover::before {
    left: 100%;
}

.chart-tools {
    display: flex;
    gap: var(--spacing-sm);
}

.tool-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.3) 50%, 
        transparent 100%);
    transition: var(--transition-normal);
}

.tool-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.tool-btn:hover::before {
    left: 100%;
}

.chart-container-real {
    height: 250px;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.chart-candles {
    display: flex;
    align-items: end;
    justify-content: space-around;
    height: 100%;
    padding: var(--spacing-md);
    gap: 2px;
}

.candle {
    width: 8px;
    border-radius: 2px;
    position: relative;
    animation: candlePulse 2s ease-in-out infinite;
}

.candle.green {
    background: var(--success-color);
    height: 60%;
}

.candle.red {
    background: var(--error-color);
    height: 40%;
}

.candle:nth-child(1) { animation-delay: 0s; }
.candle:nth-child(2) { animation-delay: 0.2s; }
.candle:nth-child(3) { animation-delay: 0.4s; }
.candle:nth-child(4) { animation-delay: 0.6s; }
.candle:nth-child(5) { animation-delay: 0.8s; }
.candle:nth-child(6) { animation-delay: 1s; }
.candle:nth-child(7) { animation-delay: 1.2s; }
.candle:nth-child(8) { animation-delay: 1.4s; }
.candle:nth-child(9) { animation-delay: 1.6s; }
.candle:nth-child(10) { animation-delay: 1.8s; }

@keyframes candlePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.chart-overlay {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.ai-signal {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    animation: signalPulse 2s ease-in-out infinite;
}

@keyframes signalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.support-resistance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.support-line, .resistance-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.6;
}

.support-line {
    bottom: 30%;
}

.resistance-line {
    top: 30%;
}

/* Order Panel */
.order-panel {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.order-tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: var(--spacing-sm);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.875rem;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: var(--bg-card);
}

.order-form {
    padding: var(--spacing-lg);
}

.order-type-selector {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.type-btn {
    flex: 1;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.type-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.order-side-selector {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.side-btn {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.side-btn.buy {
    background: var(--success-color);
    color: white;
}

.side-btn.sell {
    background: var(--error-color);
    color: white;
}

.side-btn:hover {
    opacity: 0.8;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.input-with-slider {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.input-with-slider input[type="number"] {
    padding: var(--spacing-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.slider-container {
    padding: 0 var(--spacing-sm);
}

.amount-slider {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.amount-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.form-group input[type="number"] {
    width: 100%;
    padding: var(--spacing-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.balance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.max-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.max-btn:hover {
    opacity: 0.8;
}

.submit-order {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.submit-order:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Market Data */
.market-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.order-book, .recent-trades {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.order-book h4, .recent-trades h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.book-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: 0.65rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
}

.book-asks, .book-bids {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.book-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 0.65rem;
}

.price.ask {
    color: var(--error-color);
}

.price.bid {
    color: var(--success-color);
}

.book-spread {
    text-align: center;
    padding: var(--spacing-sm) 0;
    font-size: 0.65rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: var(--spacing-sm) 0;
}

.trades-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trade-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.trade-row:last-child {
    border-bottom: none;
}

.trade-row .price {
    color: var(--success-color);
}

.trade-row .time {
    color: var(--text-muted);
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.05) 0%, 
        rgba(124, 58, 237, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.platform-logo i {
    color: var(--primary-color);
    font-size: 1.25rem;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-left: var(--spacing-sm);
    font-size: 0.75rem;
    color: var(--success-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.platform-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--success-color);
    font-size: 0.75rem;
    font-weight: 500;
}

.connection-status i {
    animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.platform-mockup {
    padding: var(--spacing-lg);
    min-height: 300px;
}

/* Binance-inspired Interface */
.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.pair-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pair-selector:hover {
    background: var(--bg-card);
}

.pair-selector img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.price-display {
    text-align: right;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.price-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.price-change.positive {
    color: var(--success-color);
}

.mockup-chart {
    height: 120px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.chart-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: space-around;
    padding: var(--spacing-sm);
}

.chart-line {
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: chartPulse 2s ease-in-out infinite;
}

.chart-line:nth-child(1) { height: 60%; animation-delay: 0s; }
.chart-line:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.chart-line:nth-child(3) { height: 45%; animation-delay: 0.4s; }
.chart-line:nth-child(4) { height: 90%; animation-delay: 0.6s; }
.chart-line:nth-child(5) { height: 70%; animation-delay: 0.8s; }

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

.chart-indicators {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
}

.indicator {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background: var(--primary-color);
    color: white;
}

.indicator:hover {
    background: var(--bg-card-hover);
}

.mockup-panel {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

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

.order-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.tab {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab.active {
    background: var(--primary-color);
    color: white;
}

.order-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.buy-btn, .sell-btn {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.buy-btn {
    background: var(--success-color);
    color: white;
}

.sell-btn {
    background: var(--error-color);
    color: white;
}

.buy-btn:hover, .sell-btn:hover {
    opacity: 0.8;
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.input-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.input-group input {
    padding: var(--spacing-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.input-group span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

.submit-order {
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.submit-order:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Coinbase Pro-inspired Interface */
.portfolio-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stat-item {
    background: var(--bg-tertiary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--success-color);
}

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

.holding-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.holding-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.asset-info .crypto-logo {
    width: 36px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asset-info .bitcoin-coin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    position: relative;
    box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    animation: coinGlow 3s ease-in-out infinite;
}

.asset-info .bitcoin-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #000;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.3),
        0 -1px 0 rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.asset-info .ethereum-logo {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eth-symbol {
    width: 24px;
    height: 24px;
    position: relative;
    transform: rotate(45deg);
}

.eth-diamond {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #627EEA;
    box-shadow: 
        0 0 10px #627EEA,
        0 0 20px #627EEA,
        inset 0 0 10px rgba(98, 126, 234, 0.3);
    animation: ethGlow 2s ease-in-out infinite;
}

.eth-diamond.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.eth-diamond.bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

@keyframes ethGlow {
    0%, 100% { 
        box-shadow: 
            0 0 10px #627EEA,
            0 0 20px #627EEA,
            inset 0 0 10px rgba(98, 126, 234, 0.3);
        border-color: #627EEA;
    }
    50% { 
        box-shadow: 
            0 0 15px #627EEA,
            0 0 30px #627EEA,
            inset 0 0 15px rgba(98, 126, 234, 0.5);
        border-color: #4F46E5;
    }
}

.ethereum-logo:hover .eth-symbol {
    animation: ethRotate 0.6s ease-in-out;
}

@keyframes ethRotate {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(225deg) scale(1.1); }
    100% { transform: rotate(405deg) scale(1); }
}

.asset-info .cardano-logo {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardano-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0033A0;
    position: relative;
    box-shadow: 
        0 2px 8px rgba(0, 51, 160, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    animation: cardanoGlow 3s ease-in-out infinite;
}

@keyframes cardanoGlow {
    0%, 100% { 
        box-shadow: 
            0 2px 8px rgba(0, 51, 160, 0.3),
            inset 0 1px 2px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 4px 16px rgba(0, 51, 160, 0.5),
            inset 0 1px 2px rgba(255, 255, 255, 0.2);
    }
}

.cardano-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}

.dot-cluster {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dot-cluster.center {
    width: 8px;
    height: 8px;
}

.dot-cluster.outer {
    width: 18px;
    height: 18px;
    animation: cardanoRotate 8s linear infinite;
}

@keyframes cardanoRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.dot {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.dot.large {
    width: 2px;
    height: 2px;
}

.dot.small {
    width: 1px;
    height: 1px;
}

/* Positionnement des points du centre (hexagone) */
.dot-cluster.center .dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.dot-cluster.center .dot:nth-child(2) { top: 25%; left: 75%; transform: translate(-50%, -50%); }
.dot-cluster.center .dot:nth-child(3) { top: 75%; left: 75%; transform: translate(-50%, -50%); }
.dot-cluster.center .dot:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.dot-cluster.center .dot:nth-child(5) { top: 75%; left: 25%; transform: translate(-50%, -50%); }
.dot-cluster.center .dot:nth-child(6) { top: 25%; left: 25%; transform: translate(-50%, -50%); }

/* Positionnement des points extérieurs (cercle) */
.dot-cluster.outer .dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.dot-cluster.outer .dot:nth-child(2) { top: 15%; left: 85%; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(3) { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(4) { top: 85%; left: 85%; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.dot-cluster.outer .dot:nth-child(6) { top: 85%; left: 15%; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(7) { top: 50%; left: 0; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(8) { top: 15%; left: 15%; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(9) { top: 25%; left: 50%; transform: translateX(-50%); }
.dot-cluster.outer .dot:nth-child(10) { top: 75%; left: 50%; transform: translateX(-50%); }
.dot-cluster.outer .dot:nth-child(11) { top: 35%; left: 70%; transform: translate(-50%, -50%); }
.dot-cluster.outer .dot:nth-child(12) { top: 65%; left: 30%; transform: translate(-50%, -50%); }

.cardano-logo:hover .cardano-circle {
    animation: cardanoPulse 0.5s ease-in-out;
}

@keyframes cardanoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.asset-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.asset-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.asset-symbol {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.holding-details {
    text-align: right;
}

.holding-details .price {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.holding-details .change {
    font-size: 0.75rem;
    font-weight: 600;
}

.holding-details .amount {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* TradingView-inspired Interface */
.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.time-selector {
    display: flex;
    gap: var(--spacing-xs);
}

.time-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-btn.active {
    background: var(--primary-color);
    color: white;
}

.view-selector {
    display: flex;
    gap: var(--spacing-sm);
}

.view-selector i {
    padding: var(--spacing-xs);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-selector i:hover {
    background: var(--primary-color);
    color: white;
}

.analytics-chart {
    height: 120px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.chart-container {
    position: relative;
    height: 100%;
}

.chart-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: space-around;
    padding: var(--spacing-sm);
}

.chart-overlay {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.ai-prediction {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.support-resistance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.support-line, .resistance-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.5;
}

.support-line {
    bottom: 30%;
}

.resistance-line {
    top: 30%;
}

.analytics-widgets {
    display: flex;
    gap: var(--spacing-sm);
}

.widget {
    flex: 1;
    background: var(--bg-tertiary);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
}

.widget-title {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.widget-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.widget-value.positive {
    color: var(--success-color);
}

/* Platform Features */
.platform-features {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-card);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.feature-tag i {
    color: var(--primary-color);
}

/* Showcase Footer */
.showcase-footer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.ai-highlights h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.ai-feature:hover {
    background: var(--bg-card-hover);
    transform: translateX(5px);
}

.ai-feature i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.ai-feature span {
    font-weight: 500;
    color: var(--text-primary);
}

.cta-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-section h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Responsive Design for Platform Showcase */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr;
    }
    
    .analytics-widgets {
        flex-direction: column;
    }
    
    /* Mobile Language Selector */
    .language-btn.modern {
        padding: 0;
        min-width: 100px;
        height: 36px;
        display: flex !important;
    }
    
    .language-btn-content {
        gap: 6px;
        padding: 6px 10px;
    }
    
    .language-icon {
        width: 14px;
        height: 14px;
        font-size: 12px;
    }
    
    .language-code {
        font-size: 11px;
    }
    
    .language-name {
        font-size: 9px;
    }
    
    .language-arrow {
        width: 10px;
        height: 10px;
        font-size: 8px;
    }
    
    .language-dropdown {
        min-width: 120px;
    }
    
    .language-arrow {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
    
    .language-dropdown.modern {
        min-width: 200px;
        right: -10px;
    }
    
    .dropdown-header {
        padding: 12px 16px 8px;
        font-size: 11px;
    }
    
    .language-option {
        padding: 10px 16px;
        gap: 10px;
    }
    
    .option-flag {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
    
    .option-name {
        font-size: 13px;
    }
    
    .option-code {
        font-size: 10px;
    }
    
    /* Mobile Trading Chart */
    .trading-chart {
        height: 300px;
    }
    
    .price-scale {
        width: 50px;
        height: 250px;
    }
    
    .price-level {
        font-size: 9px;
    }
    
    .candlestick-chart {
        left: 50px;
        height: 250px;
    }
    
    .candlestick {
        width: 6px;
    }
    
    .volume-chart {
        left: 50px;
        height: 30px;
    }
    
    .volume-bar {
        width: 6px;
    }
    
    .time-scale {
        left: 50px;
    }
    
    .time-label {
        font-size: 9px;
    }
    
    .chart-crosshair {
        left: 50px;
        height: 250px;
    }
    
    .technical-indicators {
        left: 50px;
        height: 250px;
    }
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
}

.currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-bg);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}


/* Responsive Design */
@media (max-width: 1200px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card {
        max-width: 100%;
    }
    
    .trading-main-area {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .market-data {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Trading Interface */
    .trading-top-bar {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .market-selector {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .pair-selector {
        justify-content: space-between;
        padding: var(--spacing-sm);
    }
    
    .crypto-logo {
        width: 28px;
        height: 28px;
    }
    
    .bitcoin-coin {
        width: 24px;
        height: 24px;
    }
    
    .bitcoin-symbol {
        font-size: 12px;
    }
    
    .asset-info .crypto-logo {
        width: 32px;
        height: 32px;
    }
    
    .asset-info .bitcoin-coin {
        width: 28px;
        height: 28px;
    }
    
    .asset-info .bitcoin-symbol {
        font-size: 14px;
    }
    
    .asset-info .ethereum-logo {
        width: 28px;
        height: 28px;
    }
    
    .asset-info .eth-symbol {
        width: 20px;
        height: 20px;
    }
    
    .asset-info .eth-diamond {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }
    
    .asset-info .cardano-logo {
        width: 28px;
        height: 28px;
    }
    
    .asset-info .cardano-circle {
        width: 24px;
        height: 24px;
    }
    
    .asset-info .cardano-dots {
        width: 16px;
        height: 16px;
    }
    
    .asset-info .dot-cluster.center {
        width: 6px;
        height: 6px;
    }
    
    .asset-info .dot-cluster.outer {
        width: 14px;
        height: 14px;
    }
    
    .asset-info .dot.large {
        width: 1.5px;
        height: 1.5px;
    }
    
    .asset-info .dot.small {
        width: 0.8px;
        height: 0.8px;
    }
    
    .pair-info {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .price-main {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .price-details {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .market-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .stat-group {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--spacing-md);
    }
    
    .trading-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-xs);
    }
    
    .action-btn {
        flex: 1;
        min-width: 80px;
        justify-content: center;
    }
    
    .action-btn span {
        display: none;
    }
    
    /* Mobile Chart Section */
    .chart-toolbar {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .chart-type-selector {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .timeframe-selector {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .time-btn {
        min-width: 40px;
        padding: var(--spacing-xs);
        font-size: 0.7rem;
    }
    
    .chart-tools {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tool-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .chart-container-real {
        height: 200px;
    }
    
    /* Mobile Trading Main Area */
    .trading-main-area {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .order-panel {
        order: 2;
    }
    
    .chart-section {
        order: 1;
    }
    
    .market-data {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .order-form {
        padding: var(--spacing-sm);
    }
    
    .order-type-selector {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .type-btn {
        flex: 1;
        min-width: 60px;
        font-size: 0.7rem;
    }
    
    .order-side-selector {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .side-btn {
        width: 100%;
        padding: var(--spacing-sm);
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .form-group input {
        font-size: 0.875rem;
        padding: var(--spacing-sm);
    }
    
    .balance-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .max-btn {
        align-self: flex-end;
    }
    
    /* Mobile Order Book & Trades */
    .book-header, .book-row, .trade-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xs);
        font-size: 0.7rem;
    }
    
    .book-header span:last-child,
    .book-row span:last-child,
    .trade-row span:last-child {
        display: none;
    }
    
    .book-spread {
        font-size: 0.65rem;
        padding: var(--spacing-xs) 0;
    }
    
    /* Mobile Platform Header */
    .platform-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .platform-logo {
        font-size: 1rem;
    }
    
    .platform-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .ai-badge, .connection-status {
        font-size: 0.7rem;
        padding: var(--spacing-xs);
    }
    
    /* Mobile Responsive Text */
    .current-price {
        font-size: 1.25rem;
    }
    
    .price-change {
        font-size: 0.875rem;
    }
    
    .stat .label {
        font-size: 0.65rem;
    }
    
    .stat .value {
        font-size: 0.75rem;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .trading-top-bar {
        padding: var(--spacing-xs);
    }
    
    .pair-selector {
        padding: var(--spacing-xs);
        font-size: 0.8rem;
    }
    
    .pair-name {
        font-size: 0.8rem;
    }
    
    .pair-change {
        font-size: 0.7rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .price-change {
        font-size: 0.8rem;
    }
    
    /* Extra Small Mobile Language Selector */
    .language-btn.modern {
        min-width: 80px;
        height: 32px;
        border-radius: 8px;
        display: flex !important;
    }
    
    .language-btn-content {
        gap: 4px;
        padding: 4px 8px;
    }
    
    .language-icon {
        width: 12px;
        height: 12px;
        font-size: 10px;
    }
    
    .language-code {
        font-size: 10px;
    }
    
    .language-name {
        font-size: 8px;
    }
    
    .language-arrow {
        width: 8px;
        height: 8px;
        font-size: 6px;
    }
    
    .language-dropdown {
        min-width: 100px;
    }
    
    .language-arrow {
        width: 12px;
        height: 12px;
        font-size: 7px;
    }
    
    .language-dropdown.modern {
        min-width: 180px;
        right: -15px;
        border-radius: 12px;
    }
    
    .dropdown-header {
        padding: 10px 14px 6px;
        font-size: 10px;
    }
    
    .language-option {
        padding: 8px 14px;
        gap: 8px;
    }
    
    .option-flag {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
    
    .option-name {
        font-size: 12px;
    }
    
    .option-code {
        font-size: 9px;
    }
    
    .option-check {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    
    .volume, .market-cap {
        font-size: 0.7rem;
    }
    
    .stat-group {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .stat .label {
        font-size: 0.6rem;
    }
    
    .stat .value {
        font-size: 0.7rem;
    }
    
    .action-btn {
        min-width: 60px;
        padding: var(--spacing-xs);
    }
    
    .chart-container-real {
        height: 150px;
    }
    
    .time-btn {
        min-width: 35px;
        font-size: 0.65rem;
        padding: 2px 4px;
    }
    
    .chart-type-btn {
        font-size: 0.7rem;
        padding: var(--spacing-xs);
    }
    
    .chart-type-btn span {
        display: none;
    }
    
    .tool-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .order-form {
        padding: var(--spacing-xs);
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input {
        font-size: 0.8rem;
        padding: var(--spacing-xs);
    }
    
    .side-btn {
        font-size: 0.8rem;
        padding: var(--spacing-xs);
    }
    
    .submit-order {
        font-size: 0.8rem;
        padding: var(--spacing-sm);
    }
    
    .book-header, .book-row, .trade-row {
        font-size: 0.65rem;
        padding: 2px 0;
    }
    
    .platform-header {
        padding: var(--spacing-xs);
    }
    
    .platform-logo {
        font-size: 0.9rem;
    }
    
    .ai-badge, .connection-status {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
    
    .status-indicator {
        font-size: 0.65rem;
    }
}

/* Mobile Landscape (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) {
    .trading-main-area {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
    
    .chart-section {
        order: 1;
    }
    
    .order-panel {
        order: 2;
    }
    
    .market-data {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
    
    .chart-container-real {
        height: 180px;
    }
    
    .trading-top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .market-selector {
        flex: 1;
        min-width: 200px;
    }
    
    .market-stats {
        flex: 1;
        min-width: 200px;
    }
    
    .trading-actions {
        flex: 1;
        min-width: 150px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card, .pricing-card {
        padding: var(--spacing-lg);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .pricing-card, .dashboard-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Focus Styling */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ======================================== */

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 767px) {
    /* Navigation Mobile */
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Logo positioning on mobile */
    .nav-logo {
        order: 1 !important;
        flex-shrink: 0 !important;
        font-size: 1rem !important;
    }
    
    .nav-logo i {
        font-size: 1.1rem !important;
    }
    
    /* Hamburger menu positioning */
    #mobileMenuToggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 2 !important;
        margin-left: auto !important;
        margin-right: 0.5rem !important;
    }
    
    /* Language button positioning */
    .nav-buttons {
        order: 3 !important;
        margin-left: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    /* Force hamburger menu visibility on mobile */
    .mobile-menu-toggle#mobileMenuToggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
        display: block;
        width: 100%;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    /* Keep nav-buttons in header on mobile */
    .nav-buttons {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        z-index: auto !important;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 6rem 1rem 4rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Features Mobile */
    .features {
        padding: 4rem 1rem;
    }
    
    .features h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Dashboard Preview Mobile */
    .dashboard-preview {
        padding: 4rem 1rem;
    }
    
    .dashboard-preview h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .platform-card h3 {
        font-size: 1.2rem;
    }
    
    .platform-card p {
        font-size: 0.9rem;
    }
    
    /* Trading Interface Mobile */
    .trading-interface {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .trading-top-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pair-selector {
        width: 100%;
        justify-content: center;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .price-change {
        font-size: 0.9rem;
    }
    
    .market-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .chart-toolbar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .time-btn, .tool-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .chart-container-real {
        height: 300px;
        margin: 1rem 0;
    }
    
    .trading-chart {
        height: 100%;
    }
    
    .chart-header {
        padding: 0.5rem;
    }
    
    .chart-title {
        font-size: 0.9rem;
    }
    
    .chart-controls {
        gap: 0.3rem;
    }
    
    .chart-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .price-scale {
        font-size: 0.7rem;
    }
    
    .candlestick-chart {
        height: 200px;
    }
    
    .candlestick {
        width: 8px;
    }
    
    .volume-chart {
        height: 40px;
    }
    
    .time-scale {
        font-size: 0.6rem;
    }
    
    .order-form {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .order-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .order-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .order-book {
        margin-top: 1rem;
    }
    
    .order-book h4 {
        font-size: 1rem;
    }
    
    .order-book table {
        font-size: 0.8rem;
    }
    
    .order-book th, .order-book td {
        padding: 0.3rem;
    }
    
    /* Portfolio Manager Mobile */
    .portfolio-manager {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .portfolio-header h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .stat-item {
        padding: 1rem;
        text-align: center;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .holdings-list {
        margin: 1rem 0;
    }
    
    .holding-item {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .asset-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .asset-logo {
        width: 30px;
        height: 30px;
    }
    
    .asset-details h4 {
        font-size: 1rem;
    }
    
    .asset-details p {
        font-size: 0.8rem;
    }
    
    .asset-price {
        text-align: left;
    }
    
    .price-value {
        font-size: 1rem;
    }
    
    .price-change {
        font-size: 0.8rem;
    }
    
    .asset-amount {
        font-size: 0.9rem;
    }
    
    /* Analytics Mobile */
    .analytics-chart {
        height: 200px;
        margin: 1rem 0;
    }
    
    .chart-periods {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .period-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .ai-prediction {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .prediction-header h4 {
        font-size: 1rem;
    }
    
    .prediction-value {
        font-size: 1.2rem;
    }
    
    .prediction-details {
        font-size: 0.8rem;
    }
    
    /* Pricing Mobile */
    .pricing {
        padding: 4rem 1rem;
    }
    
    .pricing h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.5rem;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .pricing-period {
        font-size: 1rem;
    }
    
    .pricing-features {
        margin: 1.5rem 0;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .pricing-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* CTA Mobile */
    .cta {
        padding: 4rem 1rem;
        text-align: center;
    }
    
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta .btn-primary, .cta .btn-outline {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 1rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p, .footer-section li {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Language Selector Mobile */
    .language-selector {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1002;
    }
    
    .language-btn.modern {
        padding: 0;
        min-width: 60px;
        height: 28px;
        border-radius: 50%;
        display: flex !important;
    }
    
    .language-btn-content {
        gap: 0;
        padding: 0;
        justify-content: center;
    }
    
    .language-info {
        display: none;
    }
    
    .language-icon {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
    
    .language-arrow {
        display: none;
    }
    
    .language-dropdown {
        min-width: 80px;
    }
    
    .language-arrow {
        display: none;
    }
    
    .language-dropdown.modern {
        bottom: 60px;
        right: 0;
        left: auto;
        width: 200px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Hero Tablet */
    .hero {
        padding: 8rem 2rem 6rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Features Tablet */
    .features {
        padding: 6rem 2rem;
    }
    
    .features h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    /* Dashboard Preview Tablet */
    .dashboard-preview {
        padding: 6rem 2rem;
    }
    
    .dashboard-preview h2 {
        font-size: 2.5rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Trading Interface Tablet */
    .trading-interface {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .trading-top-bar {
        padding: 1.5rem;
    }
    
    .market-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-container-real {
        height: 400px;
    }
    
    .candlestick-chart {
        height: 250px;
    }
    
    .volume-chart {
        height: 60px;
    }
    
    .order-form {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: row;
        gap: 1rem;
    }
    
    .form-group {
        flex: 1;
    }
    
    /* Portfolio Manager Tablet */
    .portfolio-manager {
        padding: 1.5rem;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .holdings-list {
        grid-template-columns: 1fr;
    }
    
    .asset-info {
        flex-direction: row;
        align-items: center;
    }
    
    /* Analytics Tablet */
    .analytics-chart {
        height: 300px;
    }
    
    /* Pricing Tablet */
    .pricing {
        padding: 6rem 2rem;
    }
    
    .pricing h2 {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.05);
    }
    
    /* CTA Tablet */
    .cta {
        padding: 6rem 2rem;
    }
    
    .cta h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    /* Footer Tablet */
    .footer {
        padding: 4rem 2rem 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    /* Navigation Desktop */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Show Buy Now button on desktop and tablet */
    .desktop-only {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Navigation buttons - smaller on desktop */
    .nav-buttons .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Hero Desktop */
    .hero {
        padding: 10rem 2rem 8rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    /* Features Desktop */
    .features {
        padding: 8rem 2rem;
    }
    
    .features h2 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
    }
    
    /* Dashboard Preview Desktop */
    .dashboard-preview {
        padding: 8rem 2rem;
    }
    
    .dashboard-preview h2 {
        font-size: 3rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .platform-card:hover {
        transform: translateY(-10px);
    }
    
    /* Trading Interface Desktop */
    .trading-interface {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .trading-top-bar {
        padding: 2rem;
    }
    
    .market-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .chart-container-real {
        height: 500px;
    }
    
    .candlestick-chart {
        height: 300px;
    }
    
    .volume-chart {
        height: 80px;
    }
    
    .order-form {
        padding: 2rem;
    }
    
    .form-row {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .form-group {
        flex: 1;
    }
    
    /* Portfolio Manager Desktop */
    .portfolio-manager {
        padding: 2rem;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .holdings-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .asset-info {
        flex-direction: row;
        align-items: center;
    }
    
    /* Analytics Desktop */
    .analytics-chart {
        height: 400px;
    }
    
    /* Pricing Desktop */
    .pricing {
        padding: 8rem 2rem;
    }
    
    .pricing h2 {
        font-size: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.1);
    }
    
    .pricing-card:hover {
        transform: translateY(-10px);
    }
    
    /* CTA Desktop */
    .cta {
        padding: 8rem 2rem;
    }
    
    .cta h2 {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    /* Footer Desktop */
    .footer {
        padding: 6rem 2rem 4rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section p, .footer-section li {
        font-size: 1rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .nav-container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .features h2, .dashboard-preview h2, .pricing h2, .cta h2 {
        font-size: 3.5rem;
    }
    
    .features-grid, .platform-grid, .pricing-grid {
        gap: 3rem;
    }
    
    .feature-card, .platform-card, .pricing-card {
        padding: 3rem;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 4rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
    
    .chart-container-real {
        height: 250px;
    }
    
    .candlestick-chart {
        height: 150px;
    }
    
    .volume-chart {
        height: 30px;
    }
}

/* Pricing Page Styles */
.pricing-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 30%);
    animation: aiBackground 15s ease-in-out infinite alternate;
    z-index: 0;
}

.pricing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.discount-badge {
    background: var(--success-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .toggle-slider {
    background: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
    background: white;
}

.pricing-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.plan-features li i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.pricing-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.features-comparison {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.features-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--bg-tertiary);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.feature-name {
    color: var(--text-primary);
    font-weight: 500;
}

.plan-column {
    text-align: center;
    color: var(--text-secondary);
}

.plan-column i {
    font-size: 1.2rem;
}

.plan-column i.fa-check {
    color: var(--success-color);
}

.plan-column i.fa-times {
    color: var(--error-color);
}

.faq-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero p {
        font-size: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-header .plan-column,
    .comparison-row .plan-column {
        display: none;
    }
    
    .comparison-header .plan-column:first-child,
    .comparison-row .plan-column:first-child {
        display: block;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}