/* ============================================
   TransXmarket - Premium Trading Platform
   Modern Redesign with 3D Effects & Animations
   ============================================ */

   :root {
    --primary: #FF6347;
    --primary-dark: #FF4500;
    --secondary: #FF6B35;
    --accent: #D4AF37;
    --bg-dark: #000000;
    --bg-darker: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --positive: #00ff88;
    --negative: #ff4466;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 60px rgba(255, 99, 71, 0.3);
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f5;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    --border: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.15);
    --glass: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(255, 99, 71, 0.2);
    --positive: #22c55e;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%;  }
body { font-family: var(--font-main); background: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; cursor: pointer; width: 100%; position: relative; }
a { color: inherit; text-decoration: none; }

/* Custom Cursor */
.cursor { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10001; mix-blend-mode: difference; transition: transform 0.1s ease; transform: translate(-50%, -50%); }
.cursor-follower { width: 40px; height: 40px; border: 1px solid var(--primary); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10000; transition: transform 0.15s ease, width 0.2s, height 0.2s; transform: translate(-50%, -50%); }
.cursor-follower.hover { width: 60px; height: 60px; border-color: var(--secondary); background: rgba(255, 107, 53, 0.1); }

/* Background */
.bg-particles { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; width: 2px; height: 2px; background: var(--primary); border-radius: 50%; opacity: 0.3; animation: float 20s infinite ease-in-out; }
@keyframes float { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-80px); } 50% { transform: translateY(-150px); } 75% { transform: translateY(-80px); } }

/* Navigation */
/* .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 2rem; transition: all 0.3s ease; background: transparent; }
.navbar.scrolled { background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 0.75rem 2rem; }
[data-theme="light"] .navbar.scrolled { background: rgba(255, 255, 255, 0.95); }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 50px; max-width: 180px; width: auto; object-fit: contain; transition: height 0.3s ease; }
.navbar.scrolled .logo-img { height: 40px; max-width: 150px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: var(--bg-dark); }
.logo-text { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-text .accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.nav-link { padding: 0.75rem 1.25rem; font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); transition: all 0.3s ease; border-radius: 8px; display: flex; align-items: center; gap: 0.5rem; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--glass); }
.nav-link svg { transition: transform 0.3s ease; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: rgba(20, 20, 30, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 12px; padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; }
[data-theme="light"] .dropdown-menu { background: rgba(255, 255, 255, 0.98); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover .nav-link svg { transform: rotate(180deg); }
.dropdown-menu a { display: block; padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--text-secondary); border-radius: 8px; transition: all 0.2s ease; }
.dropdown-menu a:hover { background: var(--glass); color: var(--primary); padding-left: 1.25rem; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(50, 50, 50, 0.8); border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; position: relative; }
[data-theme="light"] .theme-toggle { background: rgba(200, 200, 200, 0.8); }
.theme-toggle:hover { background: rgba(60, 60, 60, 0.9); transform: scale(1.05); }
[data-theme="light"] .theme-toggle:hover { background: rgba(220, 220, 220, 0.9); }
.theme-toggle svg { position: absolute; transition: opacity 0.3s ease, transform 0.3s ease; color: var(--text-primary); }
.theme-toggle .sun-icon { opacity: 1; transform: rotate(0deg) scale(1); display: block; }
.theme-toggle .moon-icon { opacity: 0; transform: rotate(90deg) scale(0); display: block; }
[data-theme="light"] .theme-toggle .sun-icon { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="light"] .theme-toggle .moon-icon { opacity: 1; transform: rotate(0deg) scale(1); } */

/* Main Header - Transxmarket Style */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Header 1 - Transparent (shown at top) */
.header-1 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-theme="light"] .header-1 {
    /* background: rgba(255, 255, 255, 0.95); */
    /* backdrop-filter: blur(20px); */
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

.header-1.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    pointer-events: none;
}

.header-1.hidden .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Header 2 - White Background (shown on scroll) */
.header-2 {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    padding: 1.5rem 2rem;
}

.header-2.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.header-2:not(.visible) {
    pointer-events: none;
}

.header-2:not(.visible) .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.header-wrapper-white {
    width: 50%;
    backdrop-filter: blur(80px);
    margin: 0 auto;
    background: rgb(255, 255, 255,0.5);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.3rem 2rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .header-wrapper-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    /* max-width: 1600px; */
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: static;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo .logo-img {
    height: 50px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF0000;
    letter-spacing: -0.5px;
    text-transform: lowercase;
    font-family: var(--font-main);
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Header 1: center navbar */
.header-1 .header-container {
    justify-content: center;
    position: relative;
}

.header-1 .header-logo {
    position: absolute;
    left: 1.5rem;
    z-index: 10;
}

.header-1 .header-actions {
    position: absolute;
    right: 1.5rem;
    z-index: 10;
}

.header-1 .header-nav {
    flex: 0;
    justify-content: center;
}

/* Header 2: keep default spread layout */
.header-2 .header-container {
    justify-content: space-between;
    position: static;
}

.header-2 .header-logo {
    position: static;
}

.header-2 .header-actions {
    position: static;
}

.header-2 .header-nav {
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    backdrop-filter: blur(80px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-menu {
    /* background: rgba(0, 0, 0, 0.05); */
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="light"] .nav-link {
    color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

[data-theme="light"] .nav-menu {
    /* background: rgba(255, 255, 255, 0.24) !important; */
}
[data-theme="light"] .nav-link {
    color: black !important;
}

[data-theme="dark"] .nav-menu {
    /* border: 1px solid rgba(53, 53, 53, 0.781); */
}

.nav-link svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-item.dropdown:hover .nav-link svg:last-child {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent dropdowns from showing when parent header is hidden */
.header-1.hidden .nav-item.dropdown:hover .dropdown-menu,
.header-2:not(.visible) .nav-item.dropdown:hover .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

[data-theme="light"] .dropdown-menu a {
    color: rgba(0, 0, 0, 0.7);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 1.25rem;
}

[data-theme="light"] .dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

/* Trading Dropdown Menu - Categories Left + Featured Right */
.dropdown-menu-trading {
    min-width: 800px;
    max-width: 800px;
    padding: 0;
    display: flex;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

[data-theme="light"] .dropdown-menu-trading {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown:hover .dropdown-menu-trading {
    transform: translateX(-50%) translateY(0);
}

/* Prevent trading dropdown from showing when parent header is hidden */
.header-1.hidden .nav-item.dropdown:hover .dropdown-menu-trading,
.header-2:not(.visible) .nav-item.dropdown:hover .dropdown-menu-trading {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(10px) !important;
}

.dropdown-trading-left {
    width: 500px;
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    flex-shrink: 0;
}

.dropdown-category {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.75rem;
}

.dropdown-category:last-child {
    margin-bottom: 0;
}

.dropdown-category-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .dropdown-menu-trading .dropdown-category-title {
    color: rgba(0, 0, 0, 0.9);
}

.dropdown-menu-trading .dropdown-category a {
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    margin-bottom: 0.15rem;
}

[data-theme="light"] .dropdown-menu-trading .dropdown-category a {
    color: rgba(0, 0, 0, 0.7);
}

.dropdown-menu-trading .dropdown-category a:last-child {
    margin-bottom: 0;
}

.dropdown-menu-trading .dropdown-category a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu-trading .dropdown-category a.active {
    background: rgba(255, 68, 79, 0.2);
    color: #FF444F;
    font-weight: 600;
}

[data-theme="light"] .dropdown-menu-trading .dropdown-category a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    font-weight: 600;
    padding-left: 1rem;
    /* color: #000000 !important; */
}

[data-theme="light"] .dropdown-menu-trading .dropdown-category a.active {
    background: rgba(255, 68, 79, 0.15);
    color: #FF444F;
    font-weight: 600;
}

[data-theme="dark"] .dropdown-menu-trading .dropdown-category a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .dropdown-menu-trading .dropdown-category a.active {
    background: rgba(255, 68, 79, 0.25) !important;
    color: #FF444F !important;
    font-weight: 600;
}

.dropdown-trading-right {
    /* flex: 1; */
    min-width: 200px;
    background: linear-gradient(135deg, #FF6347, #FF4500);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.trading-featured-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.trading-featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.trading-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.trading-featured-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.trading-featured-btn svg {
    transition: transform 0.3s ease;
}

.trading-featured-btn:hover svg {
    transform: translateX(3px);
}

.trading-featured-title,
.trading-featured-desc {
    position: relative;
    z-index: 1;
}

/* White header trading dropdown - respects theme */
[data-theme="dark"] .dropdown-menu-white.dropdown-menu-trading {
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category-title {
    color: #ffffff;
}

[data-theme="dark"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Light theme for white header trading dropdown */
[data-theme="light"] .dropdown-menu-white.dropdown-menu-trading {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category-title {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category a {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

[data-theme="light"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category a.active {
    background: rgba(255, 68, 79, 0.15);
    color: #FF444F;
    font-weight: 600;
}

[data-theme="dark"] .dropdown-menu-white.dropdown-menu-trading .dropdown-category a.active {
    background: rgba(255, 68, 79, 0.25);
    color: #FF444F;
    font-weight: 600;
}

/* About Dropdown Menu - Two Panel Layout */
.dropdown-menu-about {
    min-width: 700px;
    padding: 0;
    display: flex;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    overflow: hidden;
}

[data-theme="light"] .dropdown-menu-about {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown:hover .dropdown-menu-about {
    transform: translateX(-50%) translateY(0);
}

/* Prevent about dropdown from showing when parent header is hidden */
.header-1.hidden .nav-item.dropdown:hover .dropdown-menu-about,
.header-2:not(.visible) .nav-item.dropdown:hover .dropdown-menu-about {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(10px) !important;
}

.dropdown-about-left {
    width: 280px;
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

[data-theme="light"] .dropdown-about-left {
    background: #ffffff !important;
}

[data-theme="dark"] .dropdown-about-left {
    background: rgba(20, 20, 30, 0.98);
}

[data-theme="dark"] .about-menu-item {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .about-menu-item:hover,
[data-theme="dark"] .about-menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu-white .dropdown-about-left {
    background: #ffffff;
}

[data-theme="dark"] .dropdown-menu-white .dropdown-about-left {
    background: rgba(20, 20, 30, 0.98);
}

[data-theme="dark"] .dropdown-menu-white .about-menu-item {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .dropdown-menu-white .about-menu-item:hover,
[data-theme="dark"] .dropdown-menu-white .about-menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.about-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #333333 !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.about-menu-item:hover,
.about-menu-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    font-weight: 600;
}

[data-theme="light"] .about-menu-item:hover,
[data-theme="light"] .about-menu-item.active {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
}

[data-theme="dark"] .about-menu-item:hover,
[data-theme="dark"] .about-menu-item.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.dropdown-about-right {
    width: 420px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.dropdown-menu-white .dropdown-about-right {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.about-featured-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-featured-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff" opacity="0.1"/><text x="50" y="50" text-anchor="middle" fill="%23ffffff" font-size="12">Award</text></svg>') no-repeat center;
    background-size: contain;
    pointer-events: none;
}

.about-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.about-featured-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.about-featured-btn svg {
    transition: transform 0.3s ease;
}

.about-featured-btn:hover svg {
    transform: translateX(3px);
}

/* Dark theme about dropdown */
.dropdown-menu:not(.dropdown-menu-white) .dropdown-about-left {
    background: rgba(20, 20, 30, 0.98);
}

.dropdown-menu:not(.dropdown-menu-white) .about-menu-item {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu:not(.dropdown-menu-white) .about-menu-item:hover,
.dropdown-menu:not(.dropdown-menu-white) .about-menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Support Dropdown Menu - Two Panel Layout */
.dropdown-menu-support {
    min-width: 700px;
    padding: 0;
    display: flex;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    overflow: hidden;
}

[data-theme="light"] .dropdown-menu-support {
    background: rgba(255, 255, 255, 0.98) !;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown:hover .dropdown-menu-support {
    transform: translateX(-50%) translateY(0);
}

/* Prevent support dropdown from showing when parent header is hidden */
.header-1.hidden .nav-item.dropdown:hover .dropdown-menu-support,
.header-2:not(.visible) .nav-item.dropdown:hover .dropdown-menu-support {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(10px) !important;
}

.dropdown-support-left {
    width: 280px;
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .dropdown-support-left {
    background: #ffffff !important;
}

[data-theme="dark"] .dropdown-support-left {
    background: rgba(20, 20, 30, 0.98);
}

[data-theme="dark"] .support-section-title {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .support-section-title,[data-theme="light"] .support-menu-item {
    color: #333333 !important;
}

[data-theme="dark"] .support-menu-item {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .support-menu-item:hover {
    /* background: rgba(255, 255, 255, 0.1); */
    color: #ffffff;
}

.dropdown-menu-white .dropdown-support-left {
    background: #ffffff;
}

[data-theme="dark"] .dropdown-menu-white .dropdown-support-left {
    background: rgba(20, 20, 30, 0.98);
}

[data-theme="dark"] .dropdown-menu-white .support-section-title {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .dropdown-menu-white .support-menu-item {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .dropdown-menu-white .support-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.support-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.support-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #333333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.support-menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    font-weight: 600;
}

[data-theme="light"] .support-menu-item:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
}

[data-theme="dark"] .support-menu-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.dropdown-support-right {
    width: 420px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.dropdown-menu-white .dropdown-support-right {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.support-featured-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.support-featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.support-featured-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23f0f0f0"/><circle cx="200" cy="150" r="80" fill="%23ddd"/><text x="200" y="160" text-anchor="middle" fill="%23999" font-size="14">Support Image</text></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.support-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.support-featured-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.support-featured-btn svg {
    transition: transform 0.3s ease;
}

.support-featured-btn:hover svg {
    transform: translateX(3px);
}

.support-featured-title,
.support-featured-desc {
    position: relative;
    z-index: 1;
}

/* Dark theme support dropdown */
.dropdown-menu:not(.dropdown-menu-white) .dropdown-support-left {
    background: rgba(20, 20, 30, 0.98);
}

.dropdown-menu:not(.dropdown-menu-white) .support-section-title {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-menu:not(.dropdown-menu-white) .support-menu-item {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu:not(.dropdown-menu-white) .support-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    position: absolute;
    right: 1.5rem;
    z-index: 10;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    isolation: isolate;
}

.btn-login {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

[data-theme="light"] .header-1 .btn-login {
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #000000;
}

[data-theme="light"] .header-1 .btn-login:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.5);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-open-account {
    padding: 0.75rem 1.5rem;
    background: #FF0000;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-open-account:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* White Header Styles */
.nav-menu-white {
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
}

.nav-link-white {
    color: #333333;
}

.nav-link-white:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

[data-theme="dark"] .nav-link-white {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .nav-link-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu-white {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-menu-white a {
    color: #333333;
}

.dropdown-menu-white a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

[data-theme="dark"] .dropdown-menu-white:not(.dropdown-menu-trading) {
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dropdown-menu-white:not(.dropdown-menu-trading) a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .dropdown-menu-white:not(.dropdown-menu-trading) a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-login-white {
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
}

.btn-login-white:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
    color: #000000;
}

[data-theme="dark"] .btn-login-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

[data-theme="dark"] .btn-login-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    isolation: isolate;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle-white span {
    background: #333333;
}

[data-theme="dark"] .mobile-menu-toggle-white span {
    background: #ffffff;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

[data-theme="light"] .mobile-menu-overlay {
    background: rgba(255, 255, 255, 0.98);
}

.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 2rem;
    max-width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
    color: #ffffff;
}

[data-theme="light"] .mobile-menu-close {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333333;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.mobile-menu-close:active {
    transform: rotate(90deg) scale(0.95);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 4rem;
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-nav-link {
    color: #333333;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link.active {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.mobile-nav-link svg {
    transition: transform 0.3s ease;
}

.mobile-nav-item.active .mobile-nav-link svg {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-nav-item.active .mobile-dropdown-menu {
    max-height: 1000px;
}

.mobile-dropdown-link {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

[data-theme="light"] .mobile-dropdown-link {
    color: rgba(0, 0, 0, 0.7);
}

.mobile-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 2rem;
}

[data-theme="light"] .mobile-dropdown-link:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.mobile-menu-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-theme="light"] .mobile-menu-actions {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.mobile-btn-login,
.mobile-btn-open-account {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-btn-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

[data-theme="light"] .mobile-btn-login {
    border-color: rgba(0, 0, 0, 0.3);
    color: #333333;
}

.mobile-btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-btn-open-account {
    background: #FF0000;
    border: none;
    color: #ffffff;
}

.mobile-btn-open-account:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 70px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    background: rgba(40, 40, 50, 0.9);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    isolation: isolate;
    position: relative;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(50, 50, 60, 0.95);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
}

.theme-toggle .sun-icon {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.theme-toggle .moon-icon {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

[data-theme="light"] .theme-toggle::before {
    left: 4px;
}

[data-theme="dark"] .theme-toggle::before {
    left: calc(100% - 32px);
}

[data-theme="light"] .theme-toggle {
    background: rgba(40, 40, 50, 0.9);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(50, 50, 60, 0.95);
}

[data-theme="light"] .theme-toggle .sun-icon {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .theme-toggle .moon-icon {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(40, 40, 50, 0.9);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(50, 50, 60, 0.95);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    color: rgba(255, 255, 255, 0.7);
}

.theme-toggle-white {
    background: rgba(40, 40, 50, 0.9);
}

.theme-toggle-white:hover {
    background: rgba(50, 50, 60, 0.95);
}

.theme-toggle-white .sun-icon,
.theme-toggle-white .moon-icon {
    color: rgba(255, 255, 255, 0.7);
}

.theme-toggle-white::before {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-toggle-white {
    background: rgba(40, 40, 50, 0.9);
}

[data-theme="light"] .theme-toggle-white:hover {
    background: rgba(50, 50, 60, 0.95);
}

[data-theme="light"] .theme-toggle-white .sun-icon,
[data-theme="light"] .theme-toggle-white .moon-icon {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .theme-toggle-white::before {
    left: 4px;
}

[data-theme="dark"] .theme-toggle-white {
    background: rgba(40, 40, 50, 0.9);
}

[data-theme="dark"] .theme-toggle-white:hover {
    background: rgba(50, 50, 60, 0.95);
}

[data-theme="dark"] .theme-toggle-white .sun-icon,
[data-theme="dark"] .theme-toggle-white .moon-icon {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .theme-toggle-white::before {
    left: calc(100% - 32px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Header - Medium-Large Screens */
@media (min-width: 1200px) and (max-width: 1439px) {
    .header-wrapper-white {
        width: 70%;
        padding: 0.35rem 2.25rem;
    }
    
    .header-container {
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 0.6rem;
        padding: 0.55rem 1.15rem;
    }
    
    .nav-link {
        padding: 0.8rem 1.15rem;
        font-size: 0.98rem;
    }
}

/* Responsive Header - Large Screens */
@media (min-width: 1440px) {
    .header-wrapper-white {
        width: 70%;
        max-width: 1400px;
        padding: 0.4rem 2.5rem;
    }
    
    .header-container {
        gap: 2.5rem;
    }
    
    .nav-menu {
        gap: 0.75rem;
        padding: 0.6rem 1.25rem;
    }
    
    .nav-link {
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
    }
    
    .header-actions {
        gap: 1rem;
    }
}

@media (max-width: 1500px) {
    .header-wrapper-white {
        width: 90%;
        max-width: 1600px;
        padding: 0.5rem 3rem;
    }
}

/* Responsive Header */
@media (max-width: 992px) {
    .header-wrapper-white {
        width: 100%;
    }
    
    .header-1 .header-logo {
        position: absolute;
        left: 1rem;
    }
    
    .header-1 .header-actions {
        position: absolute;
        right: 1rem;
    }
    
    .header-logo .logo-img {
        height: 45px;
        max-width: 180px;
    }
    
    .dropdown-menu-trading {
        min-width: 700px;
        flex-direction: column;
    }
    
    .dropdown-trading-left {
        width: 100%;
    }
    
    .dropdown-trading-right {
        width: 100%;
        min-width: 100%;
        min-height: 300px;
    }
    
    .dropdown-menu-about {
        min-width: 600px;
    }
    
    .dropdown-about-left {
        width: 240px;
    }
    
    .dropdown-about-right {
        width: 360px;
    }
    
    .dropdown-menu-support {
        min-width: 600px;
    }
    
    .dropdown-support-left {
        width: 240px;
    }
    
    .dropdown-support-right {
        width: 360px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
        position: absolute;
        right: 1rem;
    }
    
    .btn-login,
    .btn-open-account {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.75rem 1rem;
        transform: translateZ(0);
        will-change: transform;
        backface-visibility: hidden;
        isolation: isolate;
    }
    
    .header-2 {
        padding: 1rem 1rem;
    }
    
    .header-wrapper-white {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0;
    }
    
    .header-container {
        gap: 0.5rem;
        position: relative;
    }
    
    .header-1 .header-logo {
        position: absolute;
        left: 1rem;
        z-index: 10;
    }
    
    .header-1 .header-actions {
        position: absolute;
        right: 1rem;
        z-index: 10;
    }
    
    .header-1 .header-nav {
        display: none;
    }
    
    .header-logo .logo-img {
        height: 40px;
        max-width: 160px;
    }
    
    .header-logo .logo-text {
        font-size: 1.25rem;
    }
    
    .header-actions {
        gap: 0.5rem;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .theme-toggle {
        width: 56px;
        height: 30px;
        padding: 3px;
        flex-shrink: 0;
    }
    
    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }
    
    .theme-toggle::before {
        width: 22px;
        height: 22px;
    }
    
    [data-theme="light"] .theme-toggle::before {
        left: 3px;
    }
    
    [data-theme="dark"] .theme-toggle::before {
        left: calc(100% - 25px);
    }
    
    .mobile-menu-toggle {
        padding: 6px;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .btn-open-account {
        display: none; /* Hide header button on mobile, show fixed button instead */
    }
    
    .btn-login {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.625rem 1rem !important;
        font-size: 0.875rem !important;
        margin-left: 0.5rem !important;
    }
    
    .btn-login-white {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.625rem 1rem !important;
        font-size: 0.875rem !important;
        margin-left: 0.5rem !important;
    }
    
    /* Ensure header elements don't overlap */
    .header-1 .header-container {
        min-height: 60px;
    }
    
    .header-1 .header-logo {
        max-width: calc(50% - 2rem);
    }
    
    .header-1 .header-actions {
        max-width: calc(50% - 2rem);
    }
    
    .dropdown-menu-trading {
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        flex-direction: column;
        left: 0;
        transform: translateY(10px);
    }
    
    .nav-item.dropdown:hover .dropdown-menu-trading {
        transform: translateY(0);
    }
    
    .dropdown-trading-left {
        width: 100%;
    }
    
    .dropdown-trading-right {
        width: 100%;
        min-width: 100%;
        min-height: 300px;
    }
    
    .dropdown-menu-about {
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        flex-direction: column;
        left: 0;
        transform: translateY(10px);
    }
    
    .nav-item.dropdown:hover .dropdown-menu-about {
        transform: translateY(0);
    }
    
    .dropdown-about-left {
        width: 100%;
    }
    
    .dropdown-about-right {
        width: 100%;
        min-height: 300px;
    }
    
    .dropdown-menu-support {
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        flex-direction: column;
        left: 0;
        transform: translateY(10px);
    }
    
    .nav-item.dropdown:hover .dropdown-menu-support {
        transform: translateY(0);
    }
    
    .dropdown-support-left {
        width: 100%;
    }
    
    .dropdown-support-right {
        width: 100%;
        min-height: 300px;
    }
    
    .theme-toggle {
        width: 60px;
        height: 32px;
    }
    
    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }
    
    .theme-toggle::before {
        width: 24px;
        height: 24px;
    }
    
    [data-theme="light"] .theme-toggle::before {
        left: 4px;
    }
    
    [data-theme="dark"] .theme-toggle::before {
        left: calc(100% - 28px);
    }
    
    [data-theme="light"] .theme-toggle-white::before {
        left: 4px;
    }
    
    [data-theme="dark"] .theme-toggle-white::before {
        left: calc(100% - 28px);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-close svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-nav-menu {
        margin-top: 3.5rem;
    }
    
    .btn-login {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.625rem 1rem !important;
        font-size: 0.875rem !important;
        margin-left: 0.5rem !important;
    }
    
    .btn-login-white {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.625rem 1rem !important;
        font-size: 0.875rem !important;
        margin-left: 0.5rem !important;
    }
    
    .btn-open-account {
        display: none !important;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    /* CTA Mobile Layout - 3 top, 3 bottom, center content */
    .cta { height: auto !important; min-height: 70vh !important; padding: 4rem 1rem !important; }
    .cta-content-wrapper { min-height: auto !important; padding: 3rem 0 !important; }
    .cta-content h2 { font-size: 2.5rem !important; margin-bottom: 1.5rem !important; }
    .cta-button-black { padding: 0.875rem 2rem !important; font-size: 1rem !important; }
    .profile-pic { width: 65px !important; height: 65px !important; }
    /* Top row - 3 pictures at the top */
    .profile-pic:nth-child(1) { top: -30% !important; left: 8% !important; right: auto !important; bottom: auto !important; }
    .profile-pic:nth-child(2) { top: 1rem !important; left: 50% !important; right: auto !important; bottom: auto !important; margin-left: -32px !important; }
    .profile-pic:nth-child(3) { top: 1rem !important; right: 8% !important; left: auto !important; bottom: auto !important; }
    /* Bottom row - 3 pictures at the bottom */
    .profile-pic:nth-child(4) { bottom: 1rem !important; left: 8% !important; top: auto !important; right: auto !important; }
    .profile-pic:nth-child(5) { bottom: 1rem !important; left: 50% !important; top: auto !important; right: auto !important; margin-left: -32px !important; }
    .profile-pic:nth-child(6) { bottom: 1rem !important; right: 8% !important; top: auto !important; left: auto !important; }
    /* Hide remaining profile pics on mobile */
    .profile-pic:nth-child(n+7) { display: none !important; }
}

@media (max-width: 480px) {
    .main-header {
        padding: 0.5rem 0.75rem;
    }
    
    .header-1 .header-logo {
        left: 0.75rem;
    }
    
    .header-1 .header-actions {
        right: 0.75rem;
        gap: 0.375rem;
    }
    
    .header-logo .logo-img {
        height: 35px;
        max-width: 140px;
    }
    
    .theme-toggle {
        width: 50px;
        height: 28px;
    }
    
    .theme-toggle svg {
        width: 12px;
        height: 12px;
    }
    
    .theme-toggle::before {
        width: 20px;
        height: 20px;
    }
    
    .mobile-menu-toggle {
        padding: 5px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
    }
    
    .btn-open-account {
        display: none; /* Hide header button on small mobile, show fixed button instead */
    }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-family: var(--font-main); font-size: 0.95rem; font-weight: 600; border-radius: 10px; border: none; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--glass); }
[data-theme="light"] .btn-ghost:hover { background: rgba(0, 0, 0, 0.05); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 99, 71, 0.3); }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 12px; }
.btn-glow { box-shadow: 0 0 30px rgba(255, 99, 71, 0.4); }
.btn-glow::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); animation: btnShine 3s infinite; }
@keyframes btnShine { 0% { left: -100%; } 50%, 100% { left: 100%; } }
.btn-outline { background: transparent; border: 1px solid var(--border-light); color: var(--text-primary); }
.btn-outline:hover { background: var(--glass); border-color: var(--primary); }
.btn-white { background: #fff; color: var(--bg-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2); }
.btn-ghost-white { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.1); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }

/* Ticker */
.ticker-wrap { z-index: 999; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); overflow: hidden; }
[data-theme="light"] .ticker-wrap { background: rgba(255, 255, 255, 0.95); }
.ticker { display: flex; animation: ticker 40s linear infinite; white-space: nowrap; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; font-family: var(--font-mono); font-size: 0.85rem; border-right: 1px solid var(--border); }
.ticker-item .symbol { font-weight: 700; color: var(--text-primary); }
.ticker-item .change { font-size: 0.8rem; }
.ticker-item.positive .change { color: var(--positive); }
.ticker-item.negative .change { color: var(--negative); }

/* Hero */
.hero { min-height: 95vh; padding: 140px 2rem 100px; display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; gap: 4rem; position: relative; z-index: 1; }
/* [data-theme="light"] .hero { background: var(--bg-dark); } */
.hero-content { flex: 1; max-width: 650px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--primary); margin-bottom: 2rem; animation: fadeInUp 0.8s ease forwards; }
.pulse { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.1; letter-spacing: 0px; margin-bottom: 1.5rem; }
.hero-title .line { display: block; opacity: 0; transform: translateY(50px); animation: slideUp 0.8s ease forwards; }
.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.4s; }
.hero-title .highlight { background: linear-gradient(135deg, var(--accent), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2.5rem; opacity: 0; animation: fadeInUp 0.8s ease 0.6s forwards; }
.hero-cta { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; opacity: 0; animation: fadeInUp 0.8s ease 0.8s forwards; }
.hero-rating { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50px; }
[data-theme="light"] .hero-rating { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); }
.rating-stars { display: flex; align-items: center; gap: 0.2rem; }
.rating-stars svg { width: 18px; height: 18px; flex-shrink: 0; }
.rating-stars svg:not(.half-star) { fill: var(--positive); }
.rating-stars .half-star { opacity: 1; }
.rating-stars .half-star path { stroke: var(--positive); }
.rating-text { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; white-space: nowrap; }
[data-theme="light"] .rating-text { color: rgba(0, 0, 0, 0.7); }
.hero-stats { display: flex; align-items: center; gap: 2rem; opacity: 0; animation: fadeInUp 0.8s ease 1s forwards; }
.stat-item { text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-mono); }
.stat-suffix { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* Hero Visual */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; perspective: 1000px; }
.trading-card-3d { width: 380px; height: 280px; position: relative; transform-style: preserve-3d; animation: cardFloat 6s ease-in-out infinite; }
@keyframes cardFloat { 0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); } 50% { transform: translateY(-20px) rotateY(5deg) rotateX(-5deg); } }
.card-glow { position: absolute; inset: -20px; background: radial-gradient(ellipse at center, rgba(255, 99, 71, 0.3) 0%, transparent 70%); filter: blur(40px); animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.1); } }
.card-content { width: 100%; height: 100%; background: linear-gradient(145deg, rgba(30, 30, 45, 0.9), rgba(15, 15, 25, 0.95)); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 1.5rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
[data-theme="light"] .card-content { background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.98)); }
.card-content::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.card-header .pair { font-size: 1.3rem; font-weight: 700; font-family: var(--font-mono); }
.live-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem; background: rgba(255, 99, 71, 0.15); border-radius: 20px; font-size: 0.75rem; font-weight: 600; color: var(--primary); }
.live-badge .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.card-price { margin-bottom: 1rem; }
.card-price .price { font-size: 2.5rem; font-weight: 800; font-family: var(--font-mono); letter-spacing: -1px; }
.card-price .change { display: inline-block; margin-left: 1rem; padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; }
.card-price .change.positive { background: rgba(0, 255, 136, 0.15); color: var(--positive); }
.card-price .change.negative { background: rgba(255, 68, 102, 0.15); color: var(--negative); }
.card-chart { flex: 1; margin-bottom: 1rem; }
.mini-chart { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 500; stroke-dashoffset: 500; animation: drawLine 2s ease forwards 0.5s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.action-btn { padding: 0.75rem; border: none; border-radius: 10px; font-family: var(--font-main); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; }
.action-btn.sell { background: rgba(255, 68, 102, 0.15); color: var(--negative); border: 1px solid rgba(255, 68, 102, 0.3); }
.action-btn.sell:hover { background: rgba(255, 68, 102, 0.25); }
.action-btn.buy { background: rgba(0, 255, 136, 0.15); color: var(--positive); border: 1px solid rgba(0, 255, 136, 0.3); }
.action-btn.buy:hover { background: rgba(0, 255, 136, 0.25); }

/* Floating Cards */
.floating-cards { position: absolute; width: 100%; height: 100%; pointer-events: none; }
.mini-card { position: absolute; padding: 0.75rem 1rem; background: rgba(30, 30, 45, 0.9); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 12px; display: flex; flex-direction: column; gap: 0.25rem; animation: miniCardFloat 5s ease-in-out infinite; }
[data-theme="light"] .mini-card { background: rgba(255, 255, 255, 0.95); }
.card-1 { top: -30px; left: -60px; }
.card-2 { top: 30%; right: 80px; animation-delay: -1.5s; }
.card-3 { bottom: -20px; left: 30%; animation-delay: -3s; }
@keyframes miniCardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.mc-pair { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.mc-value { font-size: 0.9rem; font-weight: 700; font-family: var(--font-mono); }
.mc-value.positive { color: var(--positive); }
.mc-value.negative { color: var(--negative); }

/* Sections */
section { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; padding: 0.5rem 1.25rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; letter-spacing: 1px; text-transform: uppercase; }
.section-title { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.2rem; color: var(--text-secondary); }

/* Features */
.features { padding: 120px 2rem; max-width: 1400px; margin: 0 auto; }
/* [data-theme="light"] .features { background: var(--bg-dark); } */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 2.5rem; transition: all 0.4s ease; position: relative; overflow: hidden; }
[data-theme="light"] .feature-card { background: rgba(255, 255, 255, 0.8); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
[data-theme="light"] .feature-card:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform 0.4s ease; }
.feature-card:hover { background: var(--bg-card-hover); transform: translateY(-10px); border-color: var(--glass-border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(255, 99, 71, 0.15), rgba(212, 175, 55, 0.15)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.feature-icon svg { width: 28px; height: 28px; color: var(--primary); }
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.feature-stat { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.feature-stat .big { font-size: 1.5rem; font-weight: 800; font-family: var(--font-mono); color: var(--primary); }
.feature-stat .label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Markets */
/* ============================================
   Markets Section - Complete Redesign
   ============================================ */
.markets { padding: 100px 2rem; background: var(--bg-darker); position: relative; overflow: hidden; }
.markets-bg { position: absolute; inset: 0; z-index: 0; }
.markets-gradient-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 99, 71, 0.08) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%); }
.markets-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0); background-size: 50px 50px; opacity: 0.6; animation: patternShift 30s linear infinite; }
@keyframes patternShift { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }
.markets-wrapper { position: relative; z-index: 1; max-width: 1600px; margin: 0 auto; }
.markets-hero { text-align: center; margin-bottom: 4rem; }
.markets-hero-content { margin-bottom: 3rem; }
.markets-badge { display: inline-block; padding: 0.5rem 1.25rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.markets-title { font-size: 3.5rem; font-weight: 800; letter-spacing: -2px; margin-bottom: 1rem; color: var(--text-primary); line-height: 1.1; }
.markets-description { font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.markets-quick-stats { display: flex; justify-content: center; align-items: center; gap: 3rem; padding: 2rem; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 20px; max-width: 800px; margin: 0 auto; }
.quick-stat { text-align: center; }
.quick-stat-value { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-mono); margin-bottom: 0.5rem; }
.quick-stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.quick-stat-divider { width: 1px; height: 60px; background: var(--border); }
.markets-filter-bar { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding: 2rem; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 20px; }
.filter-search { position: relative; max-width: 500px; margin: 0 auto; width: 100%; }
.filter-search svg { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.filter-search input { width: 100%; padding: 1.25rem 1.25rem 1.25rem 3.5rem; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 12px; font-family: var(--font-main); font-size: 1rem; color: var(--text-primary); transition: all 0.3s ease; }
[data-theme="light"] .filter-search input { background: rgba(0, 0, 0, 0.05); }
.filter-search input::placeholder { color: var(--text-muted); }
.filter-search input:focus { outline: none; border-color: var(--primary); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1); }
.filter-categories { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.filter-chip { padding: 0.75rem 1.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-main); font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.3s ease; }
[data-theme="light"] .filter-chip { background: rgba(0, 0, 0, 0.03); }
.filter-chip:hover { color: var(--text-primary); border-color: var(--glass-border); background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); }
.filter-chip.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); border-color: transparent; box-shadow: 0 4px 15px rgba(255, 99, 71, 0.3); }
.markets-content { position: relative; }
.markets-carousel-wrapper { position: relative; padding: 2rem 0; }
.markets-carousel { position: relative; overflow: hidden; border-radius: 24px; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); gap: 2rem; }
.market-card { position: relative; background: rgba(15, 15, 25, 0.8); backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 2rem; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; flex: 0 0 calc(33.333% - 1.33rem); min-width: 380px; transform-style: preserve-3d; opacity: 0.7; transform: scale(0.95); }
[data-theme="light"] .market-card { background: rgba(255, 255, 255, 0.98); border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
.market-card.active { opacity: 1; transform: scale(1); z-index: 2; }
.market-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 99, 71, 0.1), rgba(212, 175, 55, 0.05)); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.market-card.active::before { opacity: 1; }
.market-card:hover { transform: translateY(-10px) rotateX(3deg) rotateY(3deg) scale(1.03); border-color: var(--primary); box-shadow: 0 25px 70px rgba(255, 99, 71, 0.35), 0 0 50px rgba(255, 99, 71, 0.15); }
[data-theme="light"] .market-card:hover { box-shadow: 0 25px 70px rgba(255, 99, 71, 0.25), 0 0 40px rgba(255, 99, 71, 0.1); }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: var(--text-primary); cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; z-index: 10; }
[data-theme="light"] .carousel-nav { background: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.2); }
.carousel-nav:hover { background: rgba(255, 99, 71, 0.2); border-color: var(--primary); transform: translateY(-50%) scale(1.1); box-shadow: 0 8px 24px rgba(255, 99, 71, 0.3); }
.carousel-nav:active { transform: translateY(-50%) scale(0.95); }
.carousel-prev { left: -28px; }
.carousel-next { right: -28px; }
.carousel-indicators { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2.5rem; }
.carousel-indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); border: 2px solid transparent; cursor: pointer; transition: all 0.3s ease; }
.carousel-indicator.active { background: var(--primary); width: 32px; border-radius: 6px; border-color: var(--primary); }
.carousel-indicator:hover { background: rgba(255, 99, 71, 0.5); transform: scale(1.2); }
.market-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.market-symbol { display: flex; align-items: center; gap: 1rem; }
.market-icons { display: flex; position: relative; }
.market-icons .icon { font-size: 2rem; margin-right: -12px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.market-icons .icon:last-child { margin-right: 0; }
.market-card:hover .market-icons .icon:first-child { transform: translateZ(15px) rotateY(-8deg) scale(1.15); }
.market-card:hover .market-icons .icon:last-child { transform: translateZ(15px) rotateY(8deg) scale(1.15); }
.market-info { flex: 1; margin-left: 1rem; }
.market-name { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--text-primary); letter-spacing: -0.5px; }
.market-tags { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.market-tag { padding: 0.4rem 0.9rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.market-tag.spread { color: var(--primary); border-color: rgba(255, 99, 71, 0.3); background: rgba(255, 99, 71, 0.1); }
.market-tag.trend { font-family: var(--font-mono); }
.market-tag.trend.up { color: var(--positive); border-color: rgba(0, 255, 136, 0.3); background: rgba(0, 255, 136, 0.1); }
.market-tag.trend.down { color: var(--negative); border-color: rgba(255, 68, 102, 0.3); background: rgba(255, 68, 102, 0.1); }
.market-favorite { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: var(--text-muted); cursor: pointer; transition: all 0.3s ease; }
.market-favorite:hover { color: var(--primary); border-color: var(--primary); background: rgba(255, 99, 71, 0.1); transform: scale(1.1); }
.market-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.pricing-box { padding: 1.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; text-align: center; transition: all 0.3s ease; }
[data-theme="light"] .pricing-box { background: rgba(0, 0, 0, 0.02); border-color: rgba(0, 0, 0, 0.1); }
.pricing-box:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.15); }
.pricing-label { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; font-weight: 600; }
.pricing-value { display: block; font-size: 1.6rem; font-weight: 800; font-family: var(--font-mono); margin-bottom: 0.5rem; transition: all 0.3s ease; }
.pricing-box.sell .pricing-value { color: var(--negative); }
.pricing-box.buy .pricing-value { color: var(--positive); }
.pricing-change { display: block; font-size: 0.75rem; font-weight: 600; font-family: var(--font-mono); }
.pricing-change.up { color: var(--positive); }
.pricing-change.down { color: var(--negative); }
.market-chart { height: 80px; margin-bottom: 2rem; position: relative; background: rgba(255, 255, 255, 0.02); border-radius: 12px; padding: 1rem; }
.market-chart svg { width: 100%; height: 100%; }
.market-chart .chart-path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.market-chart .chart-area { opacity: 0.3; }
.market-action { width: 100%; padding: 1.25rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; border-radius: 14px; font-family: var(--font-main); font-weight: 800; font-size: 1.1rem; color: var(--bg-dark); cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: center; gap: 0.75rem; position: relative; overflow: hidden; }
.market-action::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); opacity: 0; transition: opacity 0.4s ease; }
.market-action:hover::after { opacity: 1; }
.market-action span, .market-action svg { position: relative; z-index: 1; }
.market-action:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 40px rgba(255, 99, 71, 0.5), 0 0 30px rgba(255, 99, 71, 0.3); }
.market-action svg { transition: transform 0.3s ease; }
.market-action:hover svg { transform: translateX(6px) rotate(5deg); }
.market-action:active { transform: translateY(-2px) scale(0.98); }

/* Payments */
.payments { padding: 120px 2rem; max-width: 1400px; margin: 0 auto; }
/* [data-theme="light"] .payments { background: var(--bg-dark); } */
.payments-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.payments-content { max-width: 500px; }
.payments-title { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1.5rem; color: var(--text-primary); line-height: 1.2; }
.payments-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.6; }
.payments-link { font-size: 1.1rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; }
.payments-link:hover { color: var(--primary-dark); transform: translateX(5px); }
.payments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.payment-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-height: 180px; }
[data-theme="light"] .payment-card { background: rgba(30, 30, 45, 0.6); }
.payment-card:hover { transform: translateY(-5px); border-color: var(--glass-border); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
[data-theme="light"] .payment-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
.payment-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.payment-logo svg { width: 100%; max-width: 120px; height: auto; }
.payment-name { font-size: 1rem; font-weight: 600; color: var(--text-primary); text-transform: uppercase; letter-spacing: 1px; }
[data-theme="light"] .payment-name { color: var(--text-primary); }


/* Steps Section */
.section-home-steps { padding: 120px 2rem; position: relative; overflow: visible; }
/* [data-theme="light"] .section-home-steps { background: #f8f9fa; } */
.component-signup-step { max-width: 1400px; margin: 0 auto; padding-top: 7rem; padding-bottom: 7rem; }
.section-home-steps .section-container { width: 100%; padding: 0 2rem; }
.steps-content { display: flex; flex-direction: column; align-items: center; gap: 3rem; }
.signup-step-title { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text-primary); text-align: center; margin-bottom: 2rem; max-width: 48rem; }
[data-theme="light"] .signup-step-title { color: #1a1a1a; }
.step-component { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding-right: 6.75rem; padding-left: 6.75rem; }
.step-animation-trigger { position: absolute; inset: 0; z-index: -1; height: 100%; }
.step-card-wrapper { position: sticky; top: 0%; }
.step-card-wrapper.card-wrapper-1 { top: 15%; z-index: 1; }
.step-card-wrapper.card-wrapper-2 { top: 18%; z-index: 2; }
.step-card-wrapper.card-wrapper-3 { top: 21%; z-index: 3; }
.step-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; background: rgba(20, 20, 30, 0.95); height: 55vh; min-height: 400px; margin-bottom: 15vh; position: static; overflow: hidden; transition: all 0.4s ease; border: 1px solid var(--border); }
.step-card.card-position-static { position: static; }
.step-card-wrapper.card-wrapper-3 .step-card { margin-bottom: 5vh; }
[data-theme="light"] .step-card { background: #ffffff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); border: 1px solid rgba(0, 0, 0, 0.1); }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); border-color: var(--primary); }
[data-theme="light"] .step-card:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); border-color: var(--primary); }
.step-card-variant-2 { background: linear-gradient(135deg, rgb(255, 99, 71), rgba(255, 99, 71, 0.6)); }
[data-theme="light"] .step-card-variant-2 { background: linear-gradient(135deg, rgb(255, 99, 71), rgba(255, 99, 71, 0.2)); border-color: rgba(255, 99, 71, 0.3); }
.step-card-variant-3 { background: rgba(30, 30, 40, 0.95); }
[data-theme="light"] .step-card-variant-3 { background: #f5f5f5; border-color: rgba(0, 0, 0, 0.1); }
[data-theme="light"] .step-card-header { color: #1a1a1a; }
[data-theme="light"] .step-description { color: black; }
.step-card-content { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.step-card-content-top { display: flex; flex-direction: column; gap: 1rem; flex: 1; justify-content: flex-start; }
.step-card-top-block { margin-bottom: 0.5rem; }
.step-card-header { font-size: 2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; letter-spacing: -0.5px; }
.step-description { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.step-card-button { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); border: none; border-radius: 12px; font-family: var(--font-main); font-size: 1rem; font-weight: 700; text-decoration: none; transition: all 0.3s ease; cursor: pointer; width: fit-content; }
.step-card-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 99, 71, 0.4); }
.step-card-button-variant-2 { background: #ffffff; color: var(--primary); }
.step-card-button-variant-2:hover { background: #ffffff; box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); }
.step-card-button-variant-3 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--bg-dark); }
[data-theme="light"] .step-card-button { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #ffffff; }
[data-theme="light"] .step-card-button:hover { box-shadow: 0 10px 30px rgba(255, 99, 71, 0.3); }
[data-theme="light"] .step-card-button-variant-2 { background: #ffffff; color: var(--primary); }
[data-theme="light"] .step-card-button-variant-3 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #ffffff; }
.step-image-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; overflow: hidden; }
.step-image { object-fit: cover; width: 100%; height: 100%; transition: transform 0.4s ease; }
.step-card:hover .step-image { transform: scale(1.05); }


/* Trading Accounts */
.trading-accounts { padding: 120px 2rem; background: var(--bg-darker); position: relative; overflow: hidden; }
.trading-accounts::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px, rgba(255, 99, 71, 0.4) 1px, transparent 0), radial-gradient(circle at 20px 20px, rgba(255, 99, 71, 0.2) 2px, transparent 0); background-size: 50px 50px, 100px 100px; opacity: 0.6; animation: particleFloat 20s linear infinite; }
@keyframes particleFloat { 0% { transform: translate(0, 0); } 100% { transform: translate(0px, 50px); } }
[data-theme="light"] .trading-accounts { background: var(--bg-dark); }
.accounts-container { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.accounts-header { text-align: center; margin-bottom: 4rem; }
.accounts-tag { display: inline-block; padding: 0.75rem 1.5rem; background: rgba(40, 40, 50, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
[data-theme="light"] .accounts-tag { background: rgba(240, 240, 240, 0.9); border-color: rgba(0, 0, 0, 0.1); }
.accounts-title { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text-primary); margin: 0; }
.accounts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.account-card { background: rgba(30, 30, 40, 0.95); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.4s ease; display: flex; flex-direction: column; min-height: 320px; }
[data-theme="light"] .account-card { background: #ffffff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.1); }
.account-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 60px rgba(255, 99, 71, 0.25); }
[data-theme="light"] .account-card:hover { box-shadow: 0 20px 60px rgba(255, 99, 71, 0.15); }
.account-icon { width: 70px; height: 70px; background: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: var(--bg-dark); flex-shrink: 0; }
.account-icon svg { width: 36px; height: 36px; stroke: var(--bg-dark); stroke-width: 2.5; }
.account-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }
.account-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }

/* Who We Are */
.who-we-are { padding: 80px 2rem; background: var(--bg-darker); }
[data-theme="light"] .who-we-are { background: var(--bg-dark); }
.who-we-are-container { max-width: 1400px; margin: 0 auto; }
.who-we-are-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; }
.who-we-are-text { max-width: 600px; }
.who-we-are-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.who-we-are-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--bg-dark); flex-shrink: 0; }
.who-we-are-icon svg { width: 24px; height: 24px; stroke: var(--bg-dark); stroke-width: 3; }
.who-we-are-title { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); margin: 0; }
.who-we-are-description { margin-bottom: 2rem; }
.who-we-are-description p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.who-we-are-accordion { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 0; }
.accordion-item-wrapper { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.02); }
[data-theme="light"] .accordion-item-wrapper { background: rgba(0, 0, 0, 0.02); }
.accordion-item-wrapper.active { border-color: var(--primary); background: rgba(255, 255, 255, 0.05); }
[data-theme="light"] .accordion-item-wrapper.active { background: rgba(0, 0, 0, 0.05); }
.accordion-item { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; background: transparent; border: none; font-size: 1rem; font-weight: 600; color: var(--text-primary); cursor: pointer; transition: all 0.3s ease; text-align: left; }
.accordion-item:hover { color: var(--primary); }
.accordion-item svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-item-wrapper.active .accordion-item svg { transform: rotate(180deg); color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 1.25rem; }
.accordion-item-wrapper.active .accordion-content { max-height: 2000px; padding: 0 1.25rem 1.25rem; }
.accordion-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.accordion-list { list-style: none; padding: 0; margin: 0; }
.accordion-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }
.accordion-list li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; stroke-width: 3; }
.how-it-works-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.how-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.how-step-number { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800; color: var(--bg-dark); flex-shrink: 0; }
.how-step-content { flex: 1; }
.how-step-content h4 { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.how-step-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.who-we-are-visual { position: relative; perspective: 1500px; }
.showcase-container { display: flex; flex-direction: column; gap: 2.5rem; }
.showcase-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat-item-3d { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 2rem; text-align: center; transform-style: preserve-3d; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); animation: statFloat 6s ease-in-out infinite; }
.stat-item-3d:nth-child(1) { animation-delay: 0s; }
.stat-item-3d:nth-child(2) { animation-delay: 0.5s; }
.stat-item-3d:nth-child(3) { animation-delay: 1s; }
@keyframes statFloat { 0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); } 50% { transform: translateY(-10px) rotateX(3deg) rotateY(2deg); } }
.stat-item-3d:hover { transform: translateY(-12px) rotateX(5deg) rotateY(5deg) scale(1.05) !important; border-color: var(--primary); box-shadow: 0 20px 50px rgba(255, 99, 71, 0.3); }
.stat-icon-3d { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--bg-dark); transform: translateZ(10px); transition: transform 0.3s ease; }
.stat-item-3d:hover .stat-icon-3d { transform: translateZ(20px) rotateY(360deg); }
.stat-icon-3d svg { width: 28px; height: 28px; }
.stat-value-3d { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-mono); margin-bottom: 0.5rem; transform: translateZ(5px); }
.stat-label-3d { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.showcase-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-badge-3d { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; font-size: 0.95rem; font-weight: 600; color: var(--text-primary); transform-style: preserve-3d; transition: all 0.4s ease; animation: badgeFloat 8s ease-in-out infinite; }
.feature-badge-3d:nth-child(1) { animation-delay: 0s; }
.feature-badge-3d:nth-child(2) { animation-delay: 0.3s; }
.feature-badge-3d:nth-child(3) { animation-delay: 0.6s; }
.feature-badge-3d:nth-child(4) { animation-delay: 0.9s; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0) rotateX(0deg); } 50% { transform: translateY(-5px) rotateX(2deg); } }
.feature-badge-3d:hover { transform: translateY(-5px) rotateX(5deg) translateZ(10px); border-color: var(--primary); background: rgba(255, 99, 71, 0.1); }
.badge-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--bg-dark); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.showcase-globe { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.globe-3d { position: relative; width: 180px; height: 180px; transform-style: preserve-3d; animation: globeRotate 20s linear infinite; }
@keyframes globeRotate { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
.globe-ring { position: absolute; border-radius: 50%; border: 2px solid var(--primary); opacity: 0.3; }
.globe-ring.ring-1 { width: 180px; height: 180px; top: 0; left: 0; animation: ringPulse1 3s ease-in-out infinite; }
.globe-ring.ring-2 { width: 140px; height: 140px; top: 20px; left: 20px; border-color: var(--accent); animation: ringPulse2 3s ease-in-out infinite 0.5s; }
.globe-ring.ring-3 { width: 100px; height: 100px; top: 40px; left: 40px; border-color: var(--secondary); animation: ringPulse3 3s ease-in-out infinite 1s; }
@keyframes ringPulse1 { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.1); opacity: 0.5; } }
@keyframes ringPulse2 { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.15); opacity: 0.5; } }
@keyframes ringPulse3 { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.2); opacity: 0.5; } }
.globe-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; color: var(--primary); }
.globe-center svg { width: 100%; height: 100%; animation: globeInnerRotate 15s linear infinite reverse; }
@keyframes globeInnerRotate { 0% { transform: rotateZ(0deg); } 100% { transform: rotateZ(360deg); } }
.globe-text { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 2px; }


/* Platform */
.platform { padding: 120px 2rem; max-width: 1400px; margin: 0 auto; }
/* [data-theme="light"] .platform { background: var(--bg-dark); } */
.platform-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.platform-text .section-tag { margin-bottom: 1rem; }
.platform-text .section-title { text-align: left; margin-bottom: 1.5rem; }
.platform-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2.5rem; }
.platform-features { list-style: none; margin-bottom: 2.5rem; }
.platform-features li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.pf-icon { width: 44px; height: 44px; background: linear-gradient(135deg, rgba(255, 99, 71, 0.15), rgba(212, 175, 55, 0.15)); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-icon svg { width: 22px; height: 22px; color: var(--primary); }
.pf-text strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.pf-text span { font-size: 0.9rem; color: var(--text-secondary); }
.platform-downloads { display: flex; gap: 1rem; flex-wrap: wrap; }
.download-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem; background: var(--glass); border: 1px solid var(--border); border-radius: 10px; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); transition: all 0.3s ease; }
[data-theme="light"] .download-btn { background: rgba(255, 255, 255, 0.8); }
.download-btn:hover { background: var(--bg-card-hover); border-color: var(--primary); color: var(--text-primary); }
[data-theme="light"] .download-btn:hover { background: rgba(255, 255, 255, 0.95); }
.download-btn svg { width: 20px; height: 20px; }
.platform-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.platform-video-wrapper { position: relative; width: 100%; max-width: 800px; background: transparent; border-radius: 20px; overflow: visible; }
.mt5-badge { position: absolute; top: 20px; right: 20px; background: #1E88E5; color: white; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; z-index: 10; }
.platform-video { width: 100%; height: auto; display: block; border-radius: 20px; background: transparent; }

/* Testimonials */
.testimonials { padding: 120px 2rem; background: #e5e5e5; overflow: hidden; }
[data-theme="dark"] .testimonials { background: var(--bg-darker); }
.testimonials .section-header { max-width: 1400px; margin-left: auto; margin-right: auto; text-align: center; }
.testimonials .section-title { color: #333333; font-size: 2.5rem; font-weight: 700; margin-bottom: 3rem; }
[data-theme="dark"] .testimonials .section-title { color: var(--text-primary); }
.rating-badge { display: inline-flex; align-items: center; gap: 1rem; padding: 0.75rem 1.5rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50px; margin-top: 1.5rem; }
.rating-badge .stars { color: var(--positive); font-size: 1.1rem; letter-spacing: 2px; }
.rating-badge span { font-size: 0.9rem; color: var(--text-secondary); }
.testimonials-carousel-wrapper { position: relative; max-width: 1400px; margin: 0 auto 3rem; padding: 0 4rem; }
.testimonials-slider { position: relative; overflow: hidden; border-radius: 12px; }
.testimonials-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); gap: 2rem; }
.testimonial-card { flex: 0 0 400px; background: #ffffff; border: none; border-radius: 12px; padding: 2rem; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; }
[data-theme="dark"] .testimonial-card { background: var(--bg-card); border: 1px solid var(--border); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
[data-theme="dark"] .testimonial-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
.testimonial-stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.testimonial-stars svg { 
    width: 18px; 
    height: 18px; 
    flex-shrink: 0;
    fill: var(--positive);
    stroke: #ffffff;
    stroke-width: 1.5;
}
[data-theme="light"] .testimonial-stars svg {
    stroke: #000000;
}
.quote-icon { font-size: 4rem; font-family: Georgia, serif; line-height: 1; color: var(--primary); opacity: 0.3; margin-bottom: 0.5rem; }
.testimonial-text { font-size: 1rem; color: #333333; line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }
[data-theme="dark"] .testimonial-text { color: var(--text-secondary); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author-name { font-size: 1rem; font-weight: 600; color: #333333; margin-top: auto; }
[data-theme="dark"] .testimonial-author-name { color: var(--text-primary); }
.author-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: var(--bg-dark); }
.author-info { flex: 1; }
.author-name { display: block; font-weight: 700; font-size: 1rem; }
.author-title { display: block; font-size: 0.85rem; color: var(--text-muted); }
.author-rating { color: var(--positive); font-size: 0.9rem; letter-spacing: 1px; }
.trustpilot-badge { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.trustpilot-stars { display: flex; gap: 0.2rem; align-items: center; }
.trustpilot-stars svg { 
    width: 18px; 
    height: 18px;
    fill: var(--positive);
    stroke: #ffffff;
    stroke-width: 1.5;
}
[data-theme="light"] .trustpilot-stars svg {
    stroke: #000000;
}
.trustpilot-text { font-size: 1rem; font-weight: 600; color: #333333; }
[data-theme="dark"] .trustpilot-text { color: var(--text-primary); }
.testimonial-carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; z-index: 10; color: #333333; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
[data-theme="dark"] .testimonial-carousel-nav { background: var(--bg-card); border-color: var(--border); color: var(--text-primary); }
.testimonial-carousel-nav:hover { background: #f5f5f5; transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
[data-theme="dark"] .testimonial-carousel-nav:hover { background: rgba(255, 255, 255, 0.1); }
.testimonial-carousel-nav:active { transform: translateY(-50%) scale(0.95); }
.testimonial-carousel-prev { left: 0; }
.testimonial-carousel-next { right: 0; }
.testimonial-carousel-nav svg { width: 20px; height: 20px; }
.testimonial-carousel-indicators { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testimonial-carousel-indicator { width: 10px; height: 10px; border-radius: 50%; background: rgba(0, 0, 0, 0.2); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
[data-theme="dark"] .testimonial-carousel-indicator { background: rgba(255, 255, 255, 0.2); }
.testimonial-carousel-indicator.active { background: var(--positive); width: 24px; border-radius: 5px; }

/* Reviews Section */
.reviews-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

[data-theme="light"] .reviews-section {
    background: #f5f5f5;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--positive);
    margin-bottom: 0.75rem;
}
[data-theme="light"] .reviews-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.reviews-verified {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rating-excellent {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars-large {
    display: flex;
    gap: 0.3rem;
}

.rating-stars-large svg {
    width: 24px;
    height: 24px;
    fill: var(--positive);
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.review-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .review-card {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}
[data-theme="light"] .review-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.review-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--positive);
}

.review-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.review-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-initials {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1E88E5 0%, #1976D2 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

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

.reviews-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-link-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.reviews-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #1E88E5;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.reviews-link-button:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.reviews-link-button svg {
    width: 20px;
    height: 20px;
}

/* Override inline SVG green colors for light theme */
[data-theme="light"] svg[fill="#00ff88"] {
    fill: #22c55e !important;
}
[data-theme="light"] svg[stroke="#00ff88"] {
    stroke: #22c55e !important;
}
[data-theme="light"] stop[stop-color="#00ff88"] {
    stop-color: #22c55e !important;
}

/* Mobile Responsive for Reviews */
@media (max-width: 768px) {
    .reviews-section {
        padding: 4rem 1rem;
    }
    
    .reviews-title {
        font-size: 2rem;
    }
    
    .rating-excellent {
        font-size: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

/* CTA */
.cta { padding: 100px 2rem; position: relative; overflow: hidden; background: #ff6347; height: 95vh; display: flex; align-items: center; }
.cta-bg { position: absolute; inset: 0; background: transparent; }
.cta-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(200, 40, 20, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 40, 20, 0.25) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.5; }
.cta-content-wrapper { z-index:9999999999;position: relative; z-index: 1; width: 100%; max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 500px; }
.cta-profiles { z-index:9999999999;position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.profile-pic { z-index:9999999999;position: absolute; width: 80px; height: 80px; border-radius: 12px; background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); overflow: hidden; filter: blur(6px); opacity: 0.6; transform-origin: center center; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease; will-change: transform, filter, opacity; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transform: translate(0, 0); }
.profile-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-pic::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: #999999; border-radius: 50%; display: none; }
.profile-pic::after { content: ''; position: absolute; top: 65%; left: 50%; transform: translateX(-50%); width: 60px; height: 40px; background: #999999; border-radius: 20px 20px 0 0; display: none; }
.profile-pic.scroll-visible { filter: blur(0px) !important; opacity: 1 !important; }
/* Scattered positions - START positions (widest) matching reference */
/* Scattered positions - exact alignment matching reference (11 pictures) */
/* Top row - 3 pictures */
.profile-pic:nth-child(1) { top: -25%; left: 2%; }
.profile-pic:nth-child(2) { top: -25%; left: 50%; margin-left: -100px; }
.profile-pic:nth-child(3) { top: -25%; right: 2%; }
/* Left side vertical - 3 pictures */
.profile-pic:nth-child(4) { top: 30%; left: -10%; }
.profile-pic:nth-child(5) { top: 85%; left: 2%; }
.profile-pic:nth-child(6) { bottom: 16%; left:22%; }
/* Right side vertical - 3 pictures */
.profile-pic:nth-child(7) { top: 30%; right: -10%; }
.profile-pic:nth-child(8) { top: 85%; right: 2%; }
.profile-pic:nth-child(9) { bottom: 16%; right: 22%; }
/* Middle area - 2 pictures */
.profile-pic:nth-child(10) { top: 10%; left: 22%; }
.profile-pic:nth-child(11) { top: 10%; right: 22%; }
.cta-content { text-align: center; z-index: 2; position: relative; }
.cta-content h2 { font-size: 4rem; font-weight: 800; letter-spacing: -2px; margin-bottom: 2rem; color: #ffffff; line-height: 1.1; }
.cta-button-black { display: inline-block; padding: 1rem 2.5rem; background: #000000; color: #ffffff; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.cta-button-black:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
[data-theme="light"] .cta { background: #ff6347; }
[data-theme="light"] .cta-grid-pattern { background-image: linear-gradient(rgba(220, 50, 30, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 50, 30, 0.2) 1px, transparent 1px); }

/* Footer */
.footer { background: var(--bg-darker); border-top: 1px solid var(--border); padding: 80px 2rem 40px; }
.footer-top { max-width: 1400px; margin: 0 auto 4rem; display: grid; grid-template-columns: 1.5fr 2fr; gap: 4rem; }
.footer-brand .logo { margin-bottom: 1.5rem; display: inline-block; }
.footer-brand .logo-img { height: 50px; max-width: 200px; object-fit: contain; }
[data-theme="light"] .footer-brand .logo-img { filter: brightness(0.9); }
.footer-brand > p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; max-width: 300px; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text-secondary); transition: color 0.3s ease; }
.footer-contact a:hover { color: var(--primary); }
.footer-contact svg { color: var(--primary); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-secondary); transition: all 0.3s ease; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.footer-payments { max-width: 1400px; margin: 0 auto 3rem; padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-payments > span { font-size: 0.9rem; color: var(--text-muted); }
.payment-icons { display: flex; gap: 1rem; }
.payment-icon { padding: 0.5rem 1rem; background: var(--glass); border: 1px solid var(--border); border-radius: 8px; font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); }
.footer-disclaimer { max-width: 1400px; margin: 0 auto 2rem; padding: 2rem; background: var(--glass); border-radius: 16px; }
.footer-disclaimer p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: var(--text-secondary); }
.footer-bottom { text-align: center; padding-top: 2rem; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 99, 71, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(255, 99, 71, 0.6);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

[data-theme="light"] .scroll-to-top {
    box-shadow: 0 4px 20px rgba(255, 99, 71, 0.3);
}

[data-theme="light"] .scroll-to-top:hover {
    box-shadow: 0 6px 25px rgba(255, 99, 71, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .markets-title { font-size: 2.5rem; }
    .markets-quick-stats { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
    .quick-stat-divider { width: 100%; height: 1px; }
    .markets-filter-bar { padding: 1.5rem; }
    .filter-categories { justify-content: flex-start; }
    .carousel-nav { width: 48px; height: 48px; }
    .carousel-prev { left: -24px; }
    .carousel-next { right: -24px; }
    .market-card { min-width: 320px; flex: 0 0 calc(50% - 1rem); }
    .market-card { padding: 1.5rem; }
    .market-name { font-size: 1.3rem; }
    .pricing-value { font-size: 1.4rem; }
    .market-chart { height: 70px; }
    .accounts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .account-card { min-height: 300px; }
    .signup-step-title { font-size: 2.5rem; }
    .step-component { padding-right: 2rem; padding-left: 2rem; }
    .payments-container { grid-template-columns: 1fr; gap: 3rem; }
    .payments-content { max-width: 100%; text-align: center; }
    .platform-content { grid-template-columns: 1fr; text-align: center; }
    .platform-text .section-title { text-align: center; }
    .platform-features li { justify-content: center; }
    .platform-downloads { justify-content: center; }
    .platform-video-wrapper { max-width: 100%; }
    .platform-video { max-height: 400px; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .hero { flex-direction: column; text-align: center; padding-top: 160px; }
    .hero-content { max-width: 100%; padding-left:20px}
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 3rem; }
    .trading-card-3d { width: 100%; max-width: 380px; }
    .floating-cards { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .platform-video { max-height: 300px; }
    .mt5-badge { top: 10px; right: 10px; padding: 0.4rem 0.8rem; font-size: 0.8rem; }
}


@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    
    /* All Cards Full Width on Mobile */
    .feature-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .markets-title { font-size: 2rem; }
    .markets-description { font-size: 1rem; }
    .markets-quick-stats { gap: 1rem; padding: 1.25rem; }
    .quick-stat-value { font-size: 2rem; }
    .markets-filter-bar { padding: 1.25rem; }
    .filter-categories { flex-direction: column; gap: 0.5rem; }
    .filter-chip { width: 100%; }
    .carousel-nav { width: 40px; height: 40px; }
    .carousel-prev { left: -20px; }
    .carousel-next { right: -20px; }
    .market-card { 
        min-width: 100% !important; 
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .market-card { padding: 1.25rem; }
    .market-card-top { flex-direction: column; gap: 1rem; }
    .market-symbol { width: 100%; }
    .market-pricing { grid-template-columns: 1fr; gap: 1rem; }
    .market-chart { height: 60px; }
    .accounts-title { font-size: 2.5rem; }
    .accounts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .account-card { 
        min-height: 280px; 
        padding: 1.75rem;
        width: 100% !important;
        max-width: 100% !important;
    }
    .section-home-steps { padding: 3rem 0 !important; }
    .component-signup-step { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .steps-content { gap: 1.5rem !important; }
    .signup-step-title { font-size: 1.75rem !important; margin-bottom: 1rem !important; }
    .section-home-steps .section-container { padding: 0 1rem !important; }
    .step-component { padding-right: 0 !important; padding-left: 0 !important; width: 100% !important; max-width: 100% !important; }
    .step-card-wrapper { position: static !important; z-index: auto !important; }
    .step-card { 
        margin-bottom: 1rem !important; 
        position: static !important; 
        top: auto !important; 
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 16px !important;
    }
    .step-card-content { 
        padding: 1.5rem 1.25rem !important; 
        order: 1 !important;
        width: 100% !important;
    }
    .step-card-header { font-size: 1.5rem !important; margin-bottom: 0.75rem !important; }
    .step-description { font-size: 0.95rem !important; margin-bottom: 1rem !important; }
    .step-card-button { padding: 0.875rem 1.5rem !important; font-size: 0.95rem !important; }
    .step-image-wrapper { 
        order: 2 !important;
        height: 200px !important; 
        width: 100% !important;
        min-height: 200px !important;
    }
    .step-image { 
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .account-icon { width: 60px; height: 60px; }
    .account-icon svg { width: 32px; height: 32px; }
    .account-title { font-size: 1.25rem; }
    .account-desc { font-size: 0.85rem; }
    .who-we-are-content { grid-template-columns: 1fr; gap: 2rem; }
    .mt5-devices { height: 250px; }
    .device.laptop { width: 200px; height: 130px; }
    .device.desktop { width: 220px; height: 160px; }
    .mt5-logo { margin-bottom: 2rem; }
    .who-we-are-content { grid-template-columns: 1fr; gap: 3rem; }
    .mt5-devices { height: 300px; }
    .device.laptop { width: 250px; height: 160px; }
    .device.desktop { width: 280px; height: 200px; }
    .payments-title { font-size: 2.5rem; }
    .payments-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .payment-card { 
        padding: 2rem; 
        min-height: 150px;
        width: 100% !important;
        max-width: 100% !important;
    }
    .cta { padding: 60px 1rem; min-height: auto; }
    .cta-content-wrapper { min-height: 400px; }
    .profile-pic { width: 60px; height: 60px; }
    .cta-content h2 { font-size: 2.5rem; }
    .cta-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
    .cta-button-black { padding: 0.875rem 2rem; font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .stat-divider { width: 50px; height: 1px; }
    .testimonials-carousel-wrapper { padding: 0 1rem; }
    .testimonial-card { 
        flex: 0 0 calc(100vw - 4rem) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .testimonial-carousel-nav { width: 40px; height: 40px; }
}

/* Fixed Bottom Open Account Button - Mobile Only */
.fixed-open-account-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default, shown only on mobile */
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .fixed-open-account-btn {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.fixed-open-account-btn.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.fixed-open-account-btn a {
    width: 100%;
    max-width: 600px;
    padding: 1rem 2rem;
    background: #FF0000;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.fixed-open-account-btn a:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.fixed-open-account-btn a:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fixed-open-account-btn {
        display: flex; /* Show on mobile */
        padding: 0.875rem 1rem;
    }
    
    .fixed-open-account-btn a {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navbar { padding: 1rem; }
    .logo-img { height: 40px; max-width: 140px; }
    .navbar.scrolled .logo-img { height: 35px; max-width: 120px; }
    .hero { padding: 140px 1rem 60px; }
    .hero-title { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .btn-large { width: 100%; }
    .section-title { font-size: 2rem; }
    .accounts-title { font-size: 2rem; }
    .accounts-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .account-card { min-height: auto; padding: 1.5rem; }
    .account-icon { width: 56px; height: 56px; }
    .account-icon svg { width: 28px; height: 28px; }
    .account-title { font-size: 1.15rem; }
    .account-desc { font-size: 0.85rem; }
    .payments-title { font-size: 2rem; }
    .payments-grid { grid-template-columns: 1fr; }
    .payment-card { 
        min-height: 140px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure all card types are full width on mobile */
    .feature-card,
    .account-card,
    .market-card,
    .payment-card,
    .step-card,
    .testimonial-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .footer-links { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .showcase-stats { grid-template-columns: 1fr; gap: 1rem; }
    .stat-item-3d { padding: 1.5rem; }
    .stat-value-3d { font-size: 1.75rem; }
    .showcase-features { grid-template-columns: 1fr; }
    .globe-3d { width: 150px; height: 150px; }
    .globe-ring.ring-1 { width: 150px; height: 150px; }
    .globe-ring.ring-2 { width: 120px; height: 120px; top: 15px; left: 15px; }
    .globe-ring.ring-3 { width: 85px; height: 85px; top: 32.5px; left: 32.5px; }
    .globe-center { width: 70px; height: 70px; }
    .section-home-steps { padding: 2rem 0 !important; }
    .component-signup-step { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .steps-content { gap: 1rem !important; }
    .signup-step-title { font-size: 1.5rem !important; margin-bottom: 0.75rem !important; }
    .step-card { margin-bottom: 0.75rem !important; border-radius: 12px !important; }
    .step-card-content { padding: 1.25rem 1rem !important; }
    .step-card-header { font-size: 1.25rem !important; margin-bottom: 0.5rem !important; }
    .step-description { font-size: 0.9rem !important; margin-bottom: 0.75rem !important; }
    .step-card-button { padding: 0.75rem 1.25rem !important; font-size: 0.9rem !important; }
    .step-image-wrapper { height: 180px !important; min-height: 180px !important; }
    /* CTA Mobile Layout - 3 top, 3 bottom, center content */
    .cta { height: auto !important; min-height: 70vh !important; padding: 4rem 1rem !important; }
    .cta-content-wrapper { min-height: auto !important; padding: 3rem 0 !important; }
    .cta-content h2 { font-size: 2rem !important; margin-bottom: 1.5rem !important; }
    .cta-button-black { padding: 0.875rem 2rem !important; font-size: 1rem !important; }
    .profile-pic { width: 60px !important; height: 60px !important; }
    /* Top row - 3 pictures at the top */
    .profile-pic:nth-child(1) { top: -50%!important; left: 8% !important; right: auto !important; bottom: auto !important; }
    .profile-pic:nth-child(2) { top: -50% !important; left: 50% !important; right: auto !important; bottom: auto !important; margin-left: -30px !important; }
    .profile-pic:nth-child(3) { top: -50%!important; right: 8% !important; left: auto !important; bottom: auto !important; }
    /* Bottom row - 3 pictures at the bottom */
    .profile-pic:nth-child(4) { bottom:  -50% !important; left: 8% !important; top: auto !important; right: auto !important; }
    .profile-pic:nth-child(5) { bottom:  -50% !important; left: 50% !important; top: auto !important; right: auto !important; margin-left: -30px !important; }
    .profile-pic:nth-child(6) { bottom:  -50% !important; right: 8% !important; top: auto !important; left: auto !important; }
    /* Hide remaining profile pics on mobile */
    .profile-pic:nth-child(n+7) { display: none !important; }
}

@media (hover: none) and (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
    * { cursor: auto !important; }
}
