* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;

}

:root {
    --primary-color: #00C851;
    --primary-dark: #00A843;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-bg: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --success-color: #00C851;
    --danger-color: #ff4757;
    --warning-color: #ffa502;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    overflow-y: auto; 
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--dark-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    will-change: transform;
}
#heroChart {
    width: 100%;
    height: auto;
    display: block;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Trading Dashboard */
.trading-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dashboard-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.trading-chart {
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
}

.trading-pairs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.pair-name {
    font-weight: 600;
}

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

.negative {
    color: var(--danger-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

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

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.about-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Markets Section */
.markets {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--text-light);
}

.markets .section-header h2,
.markets .section-header p {
    color: var(--text-light);
}

.markets-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

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

.markets-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #999999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .markets-tabs {
        flex-wrap: wrap;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

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

.feature-card,
.hero-content,
.about-text {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide inactive tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Loading states and transitions */
* {
    transition: all 0.3s ease;
}

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

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

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

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

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-light);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: #cccccc;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Company Overview Styles */
.company-overview {
    padding: 80px 0;
    background: var(--light-bg);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-description {
    margin-bottom: 2rem;
}

.overview-description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.overview-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Mission Vision Styles */
.mission-vision {
    padding: 80px 0;
    background: white;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card, .vision-card, .values-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

/* Regulations & Awards */
.regulations-awards {
    padding: 80px 0;
    background: var(--light-bg);
}

.regulations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.regulation-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.regulation-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.award-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.award-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.award-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Leadership Team */
.leadership-team {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 2rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.member-social a:hover {
    background: var(--primary-dark);
}

/* Client Protection */
.client-protection {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--text-light);
}

.protection-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.protection-lead {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.protection-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.protection-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.protection-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.protection-details h4 {
    margin-bottom: 0.5rem;
}

.security-badge {
    background: rgba(0, 200, 81, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}

.security-badge i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Trading Platforms */
.trading-platforms {
    padding: 80px 0;
    background: var(--light-bg);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-image {
    height: 200px;
    overflow: hidden;
}

.platform-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-content {
    padding: 2rem;
}

.platform-features {
    list-style: none;
    margin: 1.5rem 0;
}

.platform-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-features i {
    color: var(--primary-color);
}

.platform-buttons {
    display: flex;
    gap: 1rem;
}

/* Account Types */
.account-types {
    padding: 80px 0;
    background: white;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.account-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
}

.account-card.featured {
    background: white;
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

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

.account-header {
    margin-bottom: 2rem;
}

.account-tagline {
    color: var(--text-gray);
}

.account-price {
    margin-bottom: 2rem;
}

.min-deposit {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.deposit-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.account-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.account-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-features i {
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* Trading Tools */
.trading-tools {
    padding: 80px 0;
    background: var(--light-bg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tool-icon i {
    font-size: 2rem;
    color: white;
}

/* Educational Resources */
.educational-resources {
    padding: 80px 0;
    background: white;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.education-lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

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

.education-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.education-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.education-details h4 {
    margin-bottom: 0.5rem;
}

.education-image {
    width: 100%;
    border-radius: 12px;
}

/* Customer Support */
.customer-support {
    padding: 80px 0;
    background: var(--light-bg);
}

.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-channel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.channel-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.channel-icon i {
    font-size: 2rem;
    color: white;
}

.channel-availability {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Market Overview */
.market-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Market Categories */
.market-categories {
    padding: 80px 0;
    background: white;
}

.market-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.market-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

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

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

.market-image {
    width: 100%;
    border-radius: 12px;
}

/* Instruments Table */
.instruments-table {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--dark-bg);
    color: white;
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s ease;
    align-items: center;
}

.table-row:hover {
    background: rgba(0, 200, 81, 0.05);
}

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

.instrument-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.price {
    font-weight: 600;
}

.spread {
    color: var(--text-gray);
}

.volume {
    color: var(--text-gray);
}

.unit {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Trading Conditions */
.trading-conditions {
    padding: 80px 0;
    background: var(--light-bg);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.condition-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-5px);
}

.condition-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.condition-icon i {
    font-size: 2rem;
    color: white;
}

/* Contact Methods */
.contact-methods {
    padding: 60px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-details {
    margin: 1.5rem 0;
    text-align: left;
}

.contact-details p {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.contact-details strong {
    color: var(--text-dark);
}

.availability {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.form-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.benefit-item i {
    color: var(--primary-color);
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    grid-column: 1 / -1;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Office Locations */
.office-locations {
    padding: 80px 0;
    background: var(--light-bg);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.office-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
}

.office-image {
    height: 200px;
    overflow: hidden;
}

.office-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-info {
    padding: 2rem;
}

.office-details {
    margin: 1.5rem 0;
}

.office-details p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.office-details i {
    color: var(--primary-color);
    width: 16px;
}

.office-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(0, 200, 81, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 0 1.5rem 0;
    color: var(--text-gray);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Trading Page Styles */
.trading-header {
    background: var(--darker-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 1rem;
}

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

.account-type {
    font-size: 0.8rem;
    color: #cccccc;
}

.user-avatar {
    font-size: 2rem;
    color: var(--text-light);
    margin-left: 1rem;
}

/* Trading Dashboard */
.trading-dashboard {
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 60vh;
    padding-top: 80px;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: calc(100vh - 80px);
    overflow: hidden;
}

/* Sidebar */
.trading-sidebar {
    background: var(--darker-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    padding: 1rem;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    font-size: 0.85rem;
    color: #cccccc;
}

.stat-value {
    font-weight: 600;
    font-size: 0.9rem;
}

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

.stat-value.negative {
    color: var(--danger-color);
}

/* Watchlist */
.watchlist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.watchlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.watchlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.instrument-info {
    display: flex;
    flex-direction: column;
}

.symbol {
    font-weight: 600;
    font-size: 0.9rem;
}

.description {
    font-size: 0.75rem;
    color: #cccccc;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

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

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

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

.change.negative {
    color: var(--danger-color);
}

/* Economic Events */
.economic-events {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.event-time {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    min-width: 50px;
}

.event-details {
    display: flex;
    flex-direction: column;
}

.event-title {
    font-weight: 600;
    font-size: 0.85rem;
}

.event-impact {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 0.25rem;
    width: fit-content;
}

.event-impact.high {
    background: rgba(255, 71, 87, 0.2);
    color: var(--danger-color);
}

.event-impact.medium {
    background: rgba(255, 165, 2, 0.2);
    color: var(--warning-color);
}

.event-impact.low {
    background: rgba(0, 200, 81, 0.2);
    color: var(--success-color);
}

/* Main Trading Area */
.trading-main {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chart Section */
.chart-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

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

.instrument-selector {
    background: var(--darker-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.timeframe-buttons {
    display: flex;
    gap: 0.25rem;
}

.timeframe-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.chart-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.price-change {
    font-weight: 600;
}

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

.price-change.negative {
    color: var(--danger-color);
}

.last-update {
    font-size: 0.8rem;
    color: #cccccc;
}

.chart-container {
    flex: 1;
    padding: 1rem;
    background: var(--darker-bg);
    position: relative;
}

.chart-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawing-tools {
    display: flex;
    gap: 0.5rem;
}

.tool-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.indicator-select {
    background: var(--darker-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Order Panel */
.order-panel {
    width: 350px;
    background: var(--darker-bg);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.order-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-tab {
    flex: 1;
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 1rem 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.order-tab:hover,
.order-tab.active {
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--primary-color);
}

.order-content {
    display: none;
    flex: 1;
    padding: 1rem;
}

.order-content.active {
    display: block;
}

.order-type-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.order-type-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.order-type-btn.buy {
    background: rgba(0, 200, 81, 0.1);
    color: var(--success-color);
    border: 2px solid var(--success-color);
}

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

.order-type-btn.sell {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
}

.order-type-btn.sell.active {
    background: var(--danger-color);
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cccccc;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-display {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.bid-ask {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.bid, .ask {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bid .label, .ask .label {
    font-size: 0.8rem;
    color: #cccccc;
    margin-bottom: 0.25rem;
}

.bid .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--danger-color);
}

.ask .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success-color);
}

.spread {
    text-align: center;
    font-size: 0.8rem;
    color: #cccccc;
}

.order-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.place-order-btn {
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Bottom Panels */
.bottom-panels {
    height: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-tab {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.panel-tab:hover,
.panel-tab.active {
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--primary-color);
}

.panel-content {
    display: none;
    height: calc(100% - 60px);
    overflow-y: auto;
    padding: 1rem;
}

.panel-content.active {
    display: block;
}

/* Tables */
.positions-table,
.orders-table,
.history-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.8fr 1fr 1fr 0.8fr 0.8fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px 6px 0 0;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.8fr 1fr 1fr 0.8fr 0.8fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.type.buy {
    color: var(--success-color);
    font-weight: 600;
}

.type.sell {
    color: var(--danger-color);
    font-weight: 600;
}

.pnl.positive {
    color: var(--success-color);
    font-weight: 600;
}

.pnl.negative {
    color: var(--danger-color);
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.action-btn.close:hover {
    background: var(--danger-color);
    border-color: var(--danger-color);
}

/* News Feed */
.news-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.news-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
    font-size: 0.9rem;
}

.news-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.news-content p {
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.news-impact {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Quick Actions */
.quick-actions {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
}

.quick-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 200, 81, 0.3);
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 200, 81, 0.4);
}

/* Responsive Trading */
@media (max-width: 1200px) {
    .dashboard-container {
        grid-template-columns: 250px 1fr;
    }

    .order-panel {
        width: 300px;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 70px !important;
        flex-direction: column !important;
        background: var(--dark-bg) !important;
        width: 100% !important;
        text-align: center !important;
        transition: 0.3s !important;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05) !important;
        padding: 2rem 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: flex !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu li {
        margin: 1rem 0 !important;
    }

    .nav-buttons {
        position: fixed !important;
        left: -100% !important;
        top: 280px !important;
        flex-direction: column !important;
        background: var(--dark-bg) !important;
        width: 100% !important;
        text-align: center !important;
        transition: 0.3s !important;
        padding: 1rem 2rem 2rem !important;
        gap: 1rem !important;
        display: flex !important;
    }

    .nav-buttons.active {
        left: 0 !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
