/* CentFX - Professional Yellow & Black Theme */
:root {
    --primary: #FFD700;
    --primary-dark: #E6C200;
    --primary-light: #FFE44D;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-lighter: #2a2a2a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --green: #22c55e;
    --red: #ef4444;
    --blue: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* scrollbar-gutter: stable; */
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* width: 100%; */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================
   LOGO STYLING - Yellow on Black Background
   =================== */
.logo-box {
    background: var(--black);
    padding: 6px 14px; /* reduced from 8px 16px */
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-box .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-box .logo-accent {
    color: var(--primary);
}

.logo-box img {
    height: 48px;         
    width: auto;
    display: block;        
    object-fit: contain;
    margin-top: -1px;
}


/* ===================
   HEADER
   =================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 28px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-item > a:hover {
    color: var(--black);
}

.partner-link a {
    color: var(--primary-dark) !important;
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 220px;
    padding: 12px 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--gray-600);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--black);
    padding-left: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* mega styles */
.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 40px 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--mega-cols, 1.4fr 1fr 1fr 1.1fr);
    gap: 48px;
    align-items: flex-start;
}

.mega-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.mega-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background-color: var(--gray-400);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-col:hover h4::after {
    width: 148px;
}

.mega-col a {
    display: block;
    font-size: 15px;
    padding: 8px 0;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.mega-col a:hover {
    color: var(--black);
    transform: translateX(4px);
}

.mega-list.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    column-gap: 40px;
}

.highlight-link {
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 10px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--gray-600);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.search-btn:hover {
    background: var(--gray-100);
    color: var(--black);
}

/* header promo card */
.mega-promo {
    display: flex;
    justify-content: flex-end;
}

.promo-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    padding: 28px;
    color: var(--white);
    max-width: 280px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.promo-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0;
}

.promo-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.promo-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--black);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.btn-small {
    padding: 10px 18px;
    font-size: 14px;
}

/* ===================
   BUTTONS
   =================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-cta {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-cta:hover {
    background: transparent;
    color: var(--black);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-login {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--gray-100);
    color: var(--black);
}

/* ===================
   MOBILE MENU
   =================== */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--black);
    background-color: var(--white);
}

.mobile-menu-btn svg {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu-btn.active .icon-menu {
    opacity: 0;
}

.mobile-menu-btn.active .icon-close {
    opacity: 1;
    transform: rotate(0);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animated hamburger when active */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 1100;
    padding: 0;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav {
    padding: 24px;
}

/* Mobile Item Wrapper */
.mobile-item {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-item:last-of-type {
    border-bottom: none;
}

/* Mobile Toggle Button */
.mobile-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
    position: relative;
}

.mobile-toggle::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--gray-500);
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.mobile-toggle.active::after {
    transform: rotate(45deg);
    color: var(--primary-dark);
}

.mobile-toggle:hover {
    color: var(--black);
}

/* Mobile Submenu */
.mobile-sub {
    display: none;
    padding: 8px 0 20px 16px;
    background: var(--gray-50);
    margin: 0 -24px;
    padding-left: 40px;
    padding-right: 24px;
    border-left: 3px solid var(--primary);
}

.mobile-sub.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.mobile-sub a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
    border-bottom: none;
    transition: all 0.2s ease;
}

.mobile-sub a:hover {
    color: var(--black);
    padding-left: 8px;
}

.mobile-sub hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 16px 0;
}

/* Mobile Direct Links */
.mobile-link {
    display: block;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-800);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--black);
}

/* Mobile Menu Actions (Login/Register) */
.mobile-menu-actions {
    margin-top: 32px;
    padding: 24px;
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu-actions .btn {
    width: 100%;
    justify-content: center;
}

.mobile-menu-actions .btn-login {
    width: 100%;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-300);
}

/* ===================
   RESPONSIVE BREAKPOINTS
   =================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 12px 24px;
    }
    
    .main-nav,
    .header-actions .search-btn,
    .header-actions .btn-login,
    .header-actions .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 12px 16px;
    }
    
    .logo-box .logo-text {
        font-size: 20px;
    }
    
    .mobile-menu {
        top: 70px;
    }
    
    .mobile-nav {
        padding: 16px;
    }
}

/* ===================
   HERO SECTION
   =================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.5) 100%);
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 900px;
    margin-top: -55px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.brand-badge {
    background: var(--black);
    border: 3px solid var(--primary);
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.brand-badge-logo .brand-badge-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.brand-badge-logo .badge-accent {
    color: var(--primary);
}

.brand-badge-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.awards-badge {
    background: linear-gradient(135deg, #c9a227 0%, #FFD700 50%, #c9a227 100%);
    color: var(--black);
    padding: 20px 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(3deg);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.awards-number {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    margin-top: 13px;
}

.awards-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 9px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 400;
}

.arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--black);
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

/* ===================
   MARKET TABS
   =================== */
.market-tabs-section {
    padding: 32px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.market-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.market-tabs::-webkit-scrollbar {
    height: 6px;
}

.market-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.market-tabs::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.market-tab {
    padding: 12px 24px;
    background: transparent;
    border: 1.5px solid var(--gray-300);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: var(--gray-700);
}

.market-tab:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
}

.market-tab.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.new-badge {
    background: var(--primary);
    color: var(--black);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 6px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===================
   TICKER
   =================== */
.ticker-section {
    background: var(--gray-50);
    padding: 24px 0;
    overflow: hidden;
}

.ticker-wrapper {
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 20px;
    animation: ticker 40s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.ticker-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.ticker-icon.up {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
}

.ticker-icon.down {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red);
}

.ticker-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ticker-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
}

.ticker-price {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.btn-trade {
    padding: 8px 20px;
    font-size: 13px;
    background: var(--primary);
    color: var(--black);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-trade:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===================
   FEATURES
   =================== */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.12);
    transform: translateY(-4px);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.feature-line {
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.feature-icon {
    color: var(--gray-400);
}

.feature-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.feature-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1;
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================
   CTA BANNER
   =================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
    max-width: 700px;
    line-height: 1.3;
}

/* ===================
   TRUST SECTION
   =================== */
.trust-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 56px;
    color: var(--black);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-card {
    border: 1.5px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    background: var(--white);
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.trust-logo {
    margin-bottom: 20px;
}

.tradingview-logo {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-600);
}

.bloomberg-logo {
    font-size: 28px;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: var(--black);
}

.bloomberg-sub {
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--gray-500);
    display: block;
    margin-top: 4px;
}

.trust-rating {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.stars {
    color: var(--primary);
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.stars.small {
    font-size: 16px;
    letter-spacing: 2px;
}

.trust-reviews {
    font-size: 14px;
    color: var(--gray-500);
}

.trust-text {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.trust-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ft-logo {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
}

.ft-divider {
    color: var(--gray-300);
    font-size: 18px;
}

.trust-award {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--black);
}

.trust-categories {
    font-size: 13px;
    color: var(--gray-500);
}
/* ===================
   ACCOUNT TYPES SECTION - ISOLATED STYLES
   =================== */
.accounts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* .accounts-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
    z-index: 0;
} */

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.accounts-section .section-title {
    position: relative;
    z-index: 2;
}

.accounts-section .section-subtitle-center {
    text-align: center;
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    margin: -32px auto 56px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.accounts-section .container {
    position: relative;
    z-index: 2;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    min-height: 500px;
    position: relative;
    z-index: 2;
}

/* Base card styles */
.accounts-grid .account-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 1;
}

.accounts-grid .account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

/* Collapsed state base */
.accounts-grid .account-collapsed {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: var(--white);
    border-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

.accounts-grid .account-collapsed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

/* Collapsed hover - only when NOT expanded */
.accounts-grid .account-collapsed:not(.expanded):hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.accounts-grid .account-collapsed:not(.expanded):hover::after {
    opacity: 1;
}

.accounts-grid .account-collapsed:not(.expanded):hover::before {
    opacity: 1;
}

/* Expanded state */
.accounts-grid .account-collapsed.expanded {
    background: var(--white);
    color: var(--black);
    border-color: #ffd700;
    z-index: 50;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: none;
}

.accounts-grid .account-collapsed.expanded::after {
    display: none;
}

.accounts-grid .account-collapsed.expanded:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.accounts-grid .account-collapsed.expanded:hover::before {
    opacity: 0;
}

/* Badge */
.accounts-grid .account-badge {
    display: inline-block;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffd700;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.accounts-grid .account-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--black);
    background: linear-gradient(135deg, var(--black) 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accounts-grid .account-type {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-weight: 500;
}

.accounts-grid .account-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 28px;
}

.accounts-grid .account-features {
    list-style: none;
    margin-bottom: 36px;
    padding: 0;
}

.accounts-grid .account-features li {
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 14px;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.accounts-grid .account-features li:hover {
    transform: translateX(8px);
    color: var(--black);
}

.accounts-grid .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 50%;
    color: #ffd700;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Button */
.accounts-grid .account-card .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffd700;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid #ffd700;
    z-index: 10;
}

.accounts-grid .account-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.accounts-grid .account-card .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.accounts-grid .account-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.accounts-grid .account-card .btn-primary svg {
    transition: transform 0.3s ease;
    stroke: #ffd700;
}

.accounts-grid .account-card .btn-primary:hover svg {
    transform: translateX(4px);
}

/* Background text */
.accounts-grid .account-bg-text {
    display: none;
}

.accounts-grid .account-collapsed.expanded .account-bg-text {
    display: block;
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-size: 220px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.06) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    animation: floatText 6s ease-in-out infinite;
}

@keyframes floatText {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Glow effect */
.accounts-grid .account-glow {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Z-index layers */
.accounts-grid .account-card > .account-badge,
.accounts-grid .account-card > .account-title,
.accounts-grid .account-card > .account-type,
.accounts-grid .account-card > .account-desc,
.accounts-grid .account-card > .account-features,
.accounts-grid .account-card > .btn-primary,
.accounts-grid .account-card > .account-collapsed-content,
.accounts-grid .account-card > .account-expanded-content {
    position: relative;
    z-index: 5;
}

/* Content visibility */
.accounts-grid .account-collapsed-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 24px;
    position: relative;
    z-index: 5;
}

.accounts-grid .account-expanded-content {
    display: none;
    position: relative;
    z-index: 5;
}

.accounts-grid .account-collapsed.expanded .account-collapsed-content {
    display: none;
}

.accounts-grid .account-collapsed.expanded .account-expanded-content {
    display: block;
    animation: fadeInUpContent 0.5s ease forwards;
}

@keyframes fadeInUpContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vertical text */
.accounts-grid .account-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.accounts-grid .vertical-text {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(180deg, var(--white) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accounts-grid .vertical-sub {
    font-size: 13px;
    color: var(--gray-400);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Arrow */
.accounts-grid .account-arrow {
    font-size: 28px;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

.accounts-grid .account-collapsed:not(.expanded):hover .account-arrow {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1) translateX(0);
    animation: none;
}

.accounts-grid .account-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #ffd700;
}

/* Responsive */
@media (max-width: 1024px) {
    .accounts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .accounts-grid .account-card {
        padding: 36px 32px;
    }
}

@media (max-width: 768px) {
    .accounts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .accounts-section {
        padding: 60px 0;
    }
    
    .accounts-grid .account-card {
        padding: 32px 28px;
    }
    
    .accounts-grid .account-title {
        font-size: 32px;
    }
    
    .accounts-grid .account-collapsed.expanded .account-bg-text {
        font-size: 140px;
        bottom: -30px;
        right: -10px;
    }
    
    .accounts-grid .vertical-text {
        font-size: 32px;
    }
    
    .accounts-grid .vertical-sub {
        font-size: 11px;
    }
    
    .accounts-grid .account-arrow {
        width: 40px;
        height: 40px;
    }
    
    .accounts-grid .account-badge {
        font-size: 10px;
        padding: 5px 12px;
    }
}

/* ===================
   WHY CHOOSE SECTION
   =================== */
.why-choose-section {
    padding: 40px 0;
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-choose-desc {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 48px;
    line-height: 1.8;
}

.why-choose-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-point {
    display: flex;
    gap: 20px;
}

.why-point-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-point-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.why-point-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.stats-highlight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-highlight-item {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-highlight-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

.stat-highlight-value {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-highlight-label {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===================
   CALCULATOR SECTION
   =================== */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.text-center {
    text-align: center;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gray-200);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control {
    padding: 14px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.calculator-results {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 32px;
    border: 2px solid var(--gray-200);
}

.calculator-results h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--black);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.result-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

.result-value.positive {
    color: var(--green);
}

.result-value.negative {
    color: var(--red);
}

.calculator-note {
    margin-top: 24px;
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
}

/* ===================
   EDUCATION SECTION
   =================== */
.education-section {
    padding: 100px 0;
    background: var(--black);
    color: var(--white);
}

.education-section .section-title,
.education-section .section-subtitle-center {
    color: var(--white);
}

.education-section .section-subtitle-center {
    color: var(--gray-400);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.education-card {
    background: var(--black-lighter);
    border: 2px solid var(--gray-800);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.education-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.education-icon {
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.education-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.education-card p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.education-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.education-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ===================
   TESTIMONIALS SECTION
   =================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--primary);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===================
   PLATFORMS
   =================== */
.platforms-section {
    padding: 100px 0;
    background: var(--white);
}

.platforms-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* margin-bottom: 60px; */
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-subtitle a {
    color: var(--black);
    text-decoration: underline;
    font-weight: 600;
}

.platforms-showcase {
    margin-bottom: 60px;
}

.platforms-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
}

@media (max-width: 1200px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.platform-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.platform-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-6px);
}

.platform-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.platform-icon.yellow {
    background: var(--black);
    color: var(--primary);
}

.platform-icon.tv {
    background: var(--black);
    color: var(--white);
}

.platform-icon.green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--white);
}

.platform-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
}

.platform-icon.red {
    background: var(--red);
    color: var(--white);
}

.platform-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.platform-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===================
   MOBILE APP SECTION
   =================== */
.mobile-section {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.phone-mockups {
    position: relative;
}

.phone-image {
    max-width: 450px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.app-badges {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--black-lighter);
    border: 1.5px solid var(--gray-700);
    border-radius: 12px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-badge:hover {
    border-color: var(--primary);
    background: var(--black-light);
    transform: translateY(-2px);
}

.mobile-content .section-title {
    color: var(--white);
    font-size: 48px;
}

.accent-line {
    width: 60px;
    height: 5px;
    background: var(--primary);
    margin-bottom: 28px;
    border-radius: 3px;
}

.mobile-desc {
    font-size: 17px;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mobile-availability {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.mobile-availability a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.mobile-stats {
    display: flex;
    gap: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-value {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-400);
}

@media (max-width: 1024px) {
    .mobile-section {
        padding: 60px 0;
    }

    .mobile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .phone-image {
        max-width: 100%;
        width: 100%;
    }

    .app-badges {
        justify-content: center;
    }

    .mobile-stats {
        justify-content: center;
    }

    .accent-line {
        margin: 0 auto 28px;
    }
}

@media (max-width: 768px) {
    .mobile-section {
        padding: 40px 0;
    }

    .mobile-grid {
        gap: 32px;
    }

    .mobile-content .section-title {
        font-size: 32px;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .app-badge {
        width: 100%;
        justify-content: center;
    }

    .stat-value {
        font-size: 36px;
    }
}

/* ===================
   TRADING SECTION
   =================== */
.trading-section {
    padding: 100px 0;
    background: var(--white);
}

.trading-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 60px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
    overflow-x: auto;
}

.trading-tab {
    padding: 16px 32px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.trading-tab:hover {
    color: var(--black);
}

.trading-tab.active {
    color: var(--black);
}

.trading-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--black);
}

.trading-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trading-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.1;
}

.trading-desc {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.flags-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ===================
   STATS SECTION
   =================== */
.stats-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-card {
    padding: 32px 0;
}

.stat-card .stat-icon {
    color: var(--primary);
    margin-bottom: 24px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 600;
}

.stat-card .stat-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.stat-desc a {
    color: var(--black);
    text-decoration: underline;
    font-weight: 600;
}

/* ===================
   PRO SECTION
   =================== */
.pro-section {
    padding: 120px 0;
    text-align: center;
    background: var(--white);
}

.section-title-large {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 32px;
    color: var(--black);
}

.pro-desc {
    font-size: 19px;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.pro-desc a {
    color: var(--black);
    text-decoration: underline;
    font-weight: 600;
}

/* ===================
   HELP SECTION
   =================== */
.help-section {
    padding: 60px 0;
    background: var(--black);
    text-align: center;
}

.help-text {
    font-size: 20px;
    color: var(--white);
}

.help-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

/* ===================
   FOOTER
   =================== */
.footer {
    background: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--gray-200);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 12px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--black);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-country {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--gray-600);
}

.country-flag {
    font-size: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile: 1 column only */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-column {
        padding: 0 12px; /* optional: to add some spacing on sides */
    }
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--black);
}

.footer-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    margin-top: 28px;
}

.footer-category:first-of-type {
    margin-top: 0;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column li a {
    font-size: 15px;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.footer-column li a:hover {
    color: var(--black);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    margin-bottom: 32px;
}

.footer-contact {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 10px;
}

.footer-contact a {
    color: var(--gray-700);
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--black);
}

.footer-disclaimer {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.footer-disclaimer p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-top: 10px;
}

.footer-disclaimer strong {
    color: var(--gray-700);
    font-weight: 700;
}

/* ===================
   CHAT BUTTON
   =================== */
.chat-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 100;
}

.chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.6);
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .accounts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-collapsed.expanded {
        grid-column: span 1;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .stats-highlight {
        grid-template-columns: repeat(2, 1fr);
    }

    .calculator-container {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .platforms-header {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mobile-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-images {
        order: 2;
    }

    .mobile-content {
        order: 1;
    }

    .phone-image {
        margin: 0 auto;
    }

    .app-badges {
        justify-content: center;
    }

    .mobile-stats {
        justify-content: center;
    }

    .trading-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
        height: 70px;
    }

    .hero {
        min-height: 650px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .awards-badge {
        transform: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner h2 {
        font-size: 26px;
    }

    .section-title {
        font-size: 32px;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
    }

    .account-collapsed.expanded {
        grid-column: span 1;
    }

    .account-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .stats-highlight {
        grid-template-columns: 1fr;
    }

    .calculator-container {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trading-title {
        font-size: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title-large {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: 16px 32px;
        font-size: 15px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .brand-badge-logo .brand-badge-text {
        font-size: 24px;
    }

    .app-badges {
        flex-direction: column;
    }

    .mobile-stats {
        flex-direction: column;
        gap: 32px;
    }

    .trading-tabs {
        gap: 6px;
    }

    .trading-tab {
        padding: 12px 20px;
        font-size: 14px;
    }

    .chat-btn {
        width: 56px;
        height: 56px;
        bottom: 24px;
        right: 24px;
    }

    .calculator-container {
        padding: 24px 16px;
    }

    .stat-highlight-value {
        font-size: 36px;
    }
}

/* @media (max-width: 768px) and (orientation: portrait) {
    .tradingview-widget-container {
        overflow: hidden;
        width: 100%;
    }

    .tradingview-widget-container__widget {
        overflow: hidden !important;
        width: 100% !important;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
} */
