@import url('connection-status.css');

/* Bootstrap Integration Styles */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}

.navbar-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5cf6;
}
/* Force light background regardless of Bootstrap class */
.navbar.navbar-dark,
.navbar.fixed-top,
.navbar.navbar-expand-lg {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0f172a;
}
.navbar.navbar-dark .navbar-brand,
.navbar.navbar-dark .navbar-brand * {
    color: #0f172a;
}
.navbar.navbar-dark .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.2);
}
.navbar.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(15,23,42,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn-primary {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.btn-primary:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.text-primary {
    color: #8b5cf6 !important;
}

/* Maintain existing hamburger animation */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(15, 23, 42, 0.1);
    }
}

/* Method Cards and Amount Buttons */
.method-card {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.method-card.selected {
    border-color: #8b5cf6;
    background-color: rgba(139, 92, 246, 0.12);
}

.quick-amount {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.quick-amount:hover {
    background-color: #8b5cf6;
    color: white;
}

.quick-amount.selected {
    background-color: #8b5cf6;
    color: white;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff !important;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    left: 0;
    right: 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;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5cf6;
}

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

.nav-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar.navbar-dark .nav-link {
    color: #0f172a;
}
.navbar.navbar-dark .nav-link:hover,
.navbar.navbar-dark .nav-link.active {
    color: #8b5cf6;
}
.navbar.navbar-dark .btn-outline-light {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.2);
}
.navbar.navbar-dark .btn-outline-light:hover {
    background-color: rgba(15, 23, 42, 0.06);
}

.nav-link:hover,
.nav-link.active {
    color: #8b5cf6;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    position: relative;
}

.btn-login {
    color: #0f172a;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: rgba(15, 23, 42, 0.06);
}

.btn-register {
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
}

.btn-admin {
    background: #ff6b35;
    color: #ffffff;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.btn-admin:hover {
    background: #e55a2b;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-welcome {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.user-name {
    font-weight: 600;
    color: #8b5cf6;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.user-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-logout {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #0f172a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #ffffff;
    color: #0f172a;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-landing {
    background:
      linear-gradient(180deg, rgba(15,23,42,0.55), rgba(15,23,42,0.55)),
      url('../assets/images/PixVerse_Image_Effect_prompt_forex broker char (1).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero-landing .hero-title {
    background: none;
    -webkit-text-fill-color: inherit;
    color: #ffffff;
}

.hero-landing .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-rotator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
    min-height: 44px;
}

.rotator-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.rotator-animate {
    animation: fadeSlideIn 600ms ease both;
}

/* Global Page Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-content {
    text-align: center;
    color: #ffffff;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(79, 70, 229, 0.3);
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.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;
    background: linear-gradient(135deg, #0f172a, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    min-width: 150px;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.32);
    background: linear-gradient(135deg, #7c3aed, #22d3ee);
}

.btn-secondary {
    background: transparent;
    color: #0f172a;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #0f172a;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    min-width: 150px;
    text-align: center;
}

.btn-secondary:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-3px);
}

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

.stat {
    text-align: center;
   
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.7);
}

.hero-visual {
    position: relative;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

.trading-interface-preview {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.trading-interface-preview img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Market Overview */
.market-overview {
    background: #ffffff;
    padding: 4rem 0;
}

.landing-section {
    background: #ffffff;
    padding: 4rem 0;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #4c1d95;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

.landing-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.landing-lead {
    color: rgba(15, 23, 42, 0.72);
    font-size: 1.05rem;
    line-height: 1.6;
}

.landing-surface {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(34, 211, 238, 0.03)), rgba(246, 247, 251, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.landing-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
}

.landing-panel-lg {
    padding: 18px;
}

.landing-panel-sm {
    padding: 16px;
}

.landing-badge {
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #075985;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
}

.landing-metric {
    text-align: left;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.landing-metric-card {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.landing-metric-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.landing-metric-label {
    margin-top: 2px;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.6);
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 1.8rem;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #0f172a;
}

.market-ticker {
    display: flex;
    justify-content: space-between;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.1);
    overflow-x: auto;
    gap: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.symbol {
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

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

.change.positive {
    color: #28a745;
}

.change.negative {
    color: #dc3545;
}

/* Market Content Layout */
.market-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.market-text {
    flex: 1;
    max-width: 500px;
}

.section-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.28);
}

.market-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #8b5cf6;
}

.market-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.btn-start-trading, .btn-login-account {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-start-trading {
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    color: #ffffff;
}

.btn-start-trading:hover {
    background: linear-gradient(135deg, #7c3aed, #22d3ee);
    transform: translateY(-2px);
}

.btn-login-account {
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
}

.btn-login-account:hover {
    background: #8b5cf6;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Live Trading Data Panel */
.market-data-panel {
    flex: 1;
    max-width: 400px;
}

.live-ticker-compact {
    background: rgba(22, 33, 62, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.18);
    backdrop-filter: blur(10px);
}

.ticker-row {
    margin-bottom: 1rem;
}

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

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

.ticker-item-compact:last-child {
    border-bottom: none;
}

.ticker-item-compact .symbol {
    font-weight: 600;
    color: #8b5cf6;
    font-size: 0.9rem;
    min-width: 120px;
}

.ticker-item-compact .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    min-width: 80px;
    text-align: center;
}

.ticker-item-compact .price.red {
    color: #dc3545;
}

.ticker-item-compact .price.green {
    color: #28a745;
}

.ticker-item-compact .change {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b0b0b0;
    min-width: 100px;
    text-align: right;
}

/* Responsive Design for Market Overview */
@media (max-width: 768px) {
    .tools-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .tools-visual img {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .market-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .market-text h2 {
        font-size: 2rem;
    }
    
    .market-buttons {
        justify-content: center;
    }
    
    .live-ticker-compact {
        margin-top: 1rem;
    }
    
    .ticker-item-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ticker-item-compact .symbol,
    .ticker-item-compact .price,
    .ticker-item-compact .change {
        min-width: auto;
        text-align: left;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #ffffff;
}

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

.feature-card {
    background: transparent;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.18);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.22);
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0f172a;
}

.feature-card p {
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.6;
}

/* Tools Preview */
.tools-preview {
    background: #f6f7fb;
    padding: 6rem 0;
}

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

/* Critical: allow grid children to shrink to prevent horizontal overflow on iPhones */
.tools-content > * {
    min-width: 0;
}

/* Ensure long text wraps safely */
.tools-text h2,
.tools-text p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tools-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.tools-text p {
    font-size: 1.1rem;
    color: rgba(15, 23, 42, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tools-list {
    list-style: none;
    margin-bottom: 2rem;
}

.tools-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tools-list i {
    color: #28a745;
    font-size: 1.2rem;
}

.tools-visual img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #0f172a;
    padding: 4rem 0 2rem;
}

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

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

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5cf6;
}

.footer-section p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #8b5cf6;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #8b5cf6;
    font-weight: 600;
}

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

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #ffffff;
    color: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

.choose-us-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 60px;
}

.feature-stat {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.feature-stat h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0f172a;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.4;
}

.bonus-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(139, 92, 246, 0.28);
}

.bonus-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid #8b5cf6;
    border-radius: 15px;
    background: rgba(139, 92, 246, 0.12);
}

.bonus-card h3 {
    font-size: 4rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.bonus-card p {
    font-size: 1.2rem;
    color: #8b5cf6;
    font-weight: 600;
}

.bonus-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.bonus-info .highlight {
    color: #8b5cf6;
}

.bonus-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #b3c1d1;
}

.terms {
    font-size: 0.8rem !important;
    color: #888 !important;
    margin-bottom: 2rem !important;
}

/* Security of Funds Section */
.security-funds {
    padding: 80px 0;
    background: #f8fafc;
    color: #0f172a;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.security-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #0f172a;
}

.security-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #475569;
}

/* Liquidity Providers Section */
.liquidity-providers {
    padding: 80px 0;
    background: #ffffff;
    color: #0f172a;
    overflow: hidden;
}

.providers-header {
    text-align: center;
    margin-bottom: 60px;
}

.providers-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.providers-header p {
    font-size: 1.1rem;
    color: #475569;
}

.providers-logos {
    display: flex;
    gap: 1.5rem;
    width: calc(200% + 3rem);
}

.providers-row-1 {
    animation: slideLeft 25s linear infinite;
}

.providers-row-2 {
    animation: slideRight 30s linear infinite;
}

.provider-logo {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100px;
    min-width: 180px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.provider-logo:hover {
    background: #f8f9fa !important;
    border-color: #8b5cf6 !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.22);
    animation-play-state: paused;
}

.provider-logo img {
    max-width: 100%;
    max-height: 40px;
    filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.provider-logo:hover img {
    opacity: 1;
}

/* Provider placeholder styling */
.provider-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.provider-placeholder:hover {
    background: #f1f5f9;
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

/* News and Achievements Section */
.news-achievements {
    padding: 80px 0;
    background: #f8fafc;
    color: #0f172a;
    /* Prevent horizontal overflow if children expand */
    overflow: hidden;
}

.news-achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Allow grid content to shrink within the container */
    min-width: 0;
}

.news-section,
.achievements-section {
    padding: 2rem;
    background: rgba(139, 92, 246, 0.06);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    /* Critical: allow grid items to shrink to prevent overflow */
    min-width: 0;
}

.news-section h3,
.achievements-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.news-section p,
.achievements-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

/* Choose Where To Go Next Section */
.choose-next {
    padding: 80px 0;
    background: #ffffff;
}

.next-header {
    text-align: center;
    margin-bottom: 60px;
}

.next-header h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 20px;
}

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

.nnext-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.next-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.22);
    background: #f8fafc;
}

.next-card .card-icon {
    margin-bottom: 1.5rem;
}

.next-card .card-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
}

.next-card:hover .card-image {
    filter: none;
    transform: scale(1.1);
}

.next-card h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.next-card:hover h3 {
    color: #8b5cf6;
}

@media (max-width: 768px) {
    .next-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .next-card {
        padding: 30px 20px;
    }
    
    .next-header h2 {
        font-size: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .choose-us-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .bonus-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .news-achievements-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .next-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .providers-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-header h2,
    .security-text h2,
    .providers-header h2,
    .next-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .choose-us-features {
        grid-template-columns: 1fr;
    }
    
    .providers-logos {
        grid-template-columns: 1fr;
    }
}

/* Education Section Styles */
.education-section {
    padding: 80px 0;
    background: transparent;
}

.education-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.education-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.education-card h3 {
    color: #0f172a;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.education-card p {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.education-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.education-card ul li {
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 20px;
}

.education-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-story, .about-mission {
    margin-bottom: 40px;
}

.about-story h3, .about-mission h3, .about-values h3 {
    color: #0f172a;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-story p, .about-mission p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: rgba(139, 92, 246, 0.06);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    backdrop-filter: blur(10px);
}

.value-item i {
    font-size: 2.5rem;
    color: #8b5cf6;
    margin-bottom: 15px;
}

.value-item h4 {
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-item p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
    color: #0f172a;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: #0f172a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: #0f172a;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-details p {
    color: #475569;
    margin: 2px 0;
}

.contact-form-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.contact-form-section h3 {
    color: #0f172a;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-form-main .form-group label {
    color: #0f172a;
    margin-bottom: 8px;
    display: block;
}

.contact-form-main .form-group input,
.contact-form-main .form-group select,
.contact-form-main .form-group textarea {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
}

.contact-form-main .form-group input::placeholder,
.contact-form-main .form-group textarea::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-categories {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Full-Width Sections - Alternative Approach */
@media (max-width: 768px) {
    /* Create full-width wrapper for specific sections */
    .features,
    .tools-preview,
    .choose-us,
    .security,
    .bonus,
    /* .providers REMOVED to prevent overflow on laptops/phones */
    /* .liquidity-providers REMOVED */
    .education-section,
    .indices {
        margin: 0 -1rem !important; /* Negative margin to counteract container padding */
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    
    .features .container,
    .tools-preview .container,
    .choose-us .container,
    .security .container,
    .bonus .container,
    /* .providers .container REMOVED */
    /* .liquidity-providers .container REMOVED */
    .education-section .container,
    .indices .container {
        padding: 0 1rem !important; /* Restore padding inside sections */
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Auth header — clamp to viewport and allow shrink/wrap on mobile */
    header.auth-header,
    .auth-header,
    body[class*="auth"] header {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        left: auto !important;
        right: auto !important;
        position: relative !important;
        overflow-x: clip !important; /* contain any wide children */
    }

    /* Ensure header children can shrink and wrap */
    header.auth-header .container,
    .auth-header .container,
    header.auth-header nav,
    .auth-header nav,
    .auth-header .navbar,
    .auth-header .nav,
    .auth-header .nav-list,
    body[class*="auth"] header .container,
    body[class*="auth"] header nav {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Auth header logo and brand styling */
    .auth-header .logo,
    .auth-header .logo-text,
    .auth-header .brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    /* Mobile logo sizing guard (Bootstrap-like) */
    header.auth-header img,
    .auth-header img,
    header.auth-header .logo img,
    .auth-header .logo img,
    header.auth-header img[class*="logo"],
    .auth-header img[class*="logo"] {
        display: block !important;
        max-width: min(40vw, 160px) !important; /* responsive cap for desktop/tablet */
        height: auto !important;
        width: auto !important; /* avoid forced widths that overflow */
        object-fit: contain !important;
    }
    
    .auth-header .brand-logo {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important; /* prevent spillover on one line */
    }
    
    /* Auth header — clamp width and ensure safe branding */
    header.auth-header,
    body[class*="auth"] header {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0;
        box-sizing: border-box;
        position: relative;
        left: auto !important;
        right: auto !important;
        overflow-x: clip; /* contain any wide children */
    }
    
    header.auth-header .navbar-brand {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    header.auth-header .navbar-brand img {
        max-height: 32px;
        height: auto;
        width: auto;
    }
    
    header.auth-header .brand-text {
        font-size: 18px;
        line-height: 1.2;
        margin: 0;
    }
    
    /* Auth header Bootstrap integration: clamp width, responsive logo, safe text */
    header.auth-header,
    body[class*="auth"] header {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0;
        box-sizing: border-box;
        position: relative;
        left: auto !important;
        right: auto !important;
        overflow-x: clip; /* contain any wide children */
    }
    
    header.auth-header .navbar-brand {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    header.auth-header .navbar-brand img {
        max-height: 32px;
        height: auto;
        width: auto;
    }
    
    header.auth-header .brand-text {
        font-size: 18px;
        line-height: 1.2;
        margin: 0;
    }

    
    /* Dedicated mobile override for Choose Next: safe 100% width, single-column grid, no overflow */
    .choose-next {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        overflow: visible !important;
    }
    .choose-next .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    .choose-next .next-options {
        display: grid !important;
        grid-template-columns: 1fr !important; /* collapse to single column */
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        min-width: 0 !important; /* allow grid to shrink */
    }
    .choose-next .next-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important; /* critical to prevent cutoff */
        margin: 0 !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .choose-next img,
    .choose-next svg,
    .choose-next video,
    .choose-next canvas {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Prevent long strings/labels from widening the card */
    .choose-next * {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        box-sizing: border-box !important;
    }
    
    /* Dedicated mobile override for News & Achievements */
    .news-achievements {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        overflow: visible !important;
    }

    .news-achievements .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }

    .news-achievements .news-achievements-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .news-achievements .news-section,
    .news-achievements .achievements-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 12px 0 !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .news-achievements img,
    .news-achievements svg,
    .news-achievements video,
    .news-achievements canvas {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* OVERRIDE: Fix About section mobile misalignment */
    .about-section {
        margin: 0 !important;
        width: 100% !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .about-section .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Slightly smaller logo on very small screens */
    header img[class*="logo"],
    header .logo img,
    header .brand img,
    body[class*="auth"] header img {
        max-width: 36vw !important;
    }
    /* Keep header clamped and children shrink-wrapping */
    header.auth-header,
    .auth-header,
    body[class*="auth"] header {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    header .container,
    header .navbar,
    header nav,
    header .nav,
    header .nav-list,
    body[class*="auth"] header .container,
    body[class*="auth"] header nav {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
    }
    
    .features,
    .tools-preview,
    .choose-us,
    .security,
    .bonus,
    .news-achievements,
    .choose-next,
    /* .providers REMOVED */
    /* .liquidity-providers REMOVED */
    .education-section,
    .indices {
        margin: 0 -0.75rem !important;
    }
    
    .features .container,
    .tools-preview .container,
    .choose-us .container,
    .security .container,
    .bonus .container,
    .news-achievements .container,
    .choose-next .container,
    /* .providers .container REMOVED */
    /* .liquidity-providers .container REMOVED */
    .education-section .container,
    .indices .container {
        padding: 0 0.75rem !important;
    }
    
    /* OVERRIDE: Fix About section mobile misalignment */
    .about-section {
        margin: 0 !important;
        width: 100% !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .about-section .container {
        padding: 0 0.75rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Slightly smaller logo on very small screens */
    header img[class*="logo"],
    header .logo img,
    header .brand img {
        max-width: 36vw !important;
    }
    /* Ensure header still clamps and children can shrink */
    header.auth-header,
    .auth-header,
    body[class*="auth"] header,
    [id*="auth"] header,
    [class*="auth"] header {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    header .container,
    header .navbar,
    header nav,
    header .nav,
    header .nav-list {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
    }
}

/* Extra guard for Liquidity Providers across all breakpoints (prevents laptop horizontal scroll) */
.providers,
.liquidity-providers {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.providers .container,
.liquidity-providers .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
}

/* Ensure inner layout can shrink and no element forces overflow */
.providers *,
.liquidity-providers * {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

/* Clamp media to container width */
.providers img,
.providers svg,
.providers video,
.providers canvas,
.liquidity-providers img,
.liquidity-providers svg,
.liquidity-providers video,
.liquidity-providers canvas {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Optional: if Providers uses a grid/flex track, ensure it can shrink */
.providers .providers-grid,
.providers .providers-track,
.liquidity-providers .providers-grid,
.liquidity-providers .providers-track {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 480px) {
}

.footer-section ul li a {
    color: #0f172a;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #00d4ff;
}

/* Disable legacy full-screen overlay that darkened content */
body::before,
body::after {
    content: none !important;
    display: none !important;
}
/* End overlay removal */

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

@keyframes tt-loader-fade {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
    }
}

.landing-rotator {
    position: relative;
    padding: 72px 0;
    background-image: linear-gradient(135deg, rgba(7, 10, 18, 0.74), rgba(20, 27, 52, 0.86)), url("../assets/images/PixVerse_Image_Effect_prompt_trading platform.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.landing-rotator-inner {
    display: flex;
    justify-content: center;
}

.landing-rotator-box {
    width: min(820px, 100%);
    min-height: 140px;
    border-radius: 18px;
    background: rgba(246, 247, 251, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 50px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    padding: 26px 22px;
}

.landing-rotator-box.landing-rotator-box--hero {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.landing-rotator-message {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 88px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    letter-spacing: -0.2px;
    padding: 4px 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.landing-rotator-message.tt-rotator-slide-up {
    animation: tt-rotator-message-slide-up 4s ease-in-out both;
}

.landing-rotator-message.tt-rotator-slide-left {
    animation: tt-rotator-message-slide-left 4s ease-in-out both;
}

.landing-rotator-message.tt-rotator-zoom {
    animation: tt-rotator-message-zoom 4s ease-in-out both;
}

.landing-rotator-message.tt-rotator-slide-down {
    animation: tt-rotator-message-slide-down 4s ease-in-out both;
}

.landing-rotator-message.tt-rotator-fade {
    animation: tt-rotator-fade 4s ease-in-out both;
}

.landing-rotator-source {
    display: none;
}

.landing-rotator-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 22px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: -0.2px;
    opacity: 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.landing-rotator-item-1 {
    animation: tt-rotator-slide-up 16s ease-in-out infinite;
    opacity: 1;
}

.landing-rotator-item-2 {
    animation: tt-rotator-slide-left 16s ease-in-out infinite;
    animation-delay: 4s;
}

.landing-rotator-item-3 {
    animation: tt-rotator-zoom 16s ease-in-out infinite;
    animation-delay: 8s;
}

.landing-rotator-item-4 {
    animation: tt-rotator-slide-down 16s ease-in-out infinite;
    animation-delay: 12s;
}

@keyframes tt-rotator-slide-up {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    35% {
        opacity: 0;
        transform: translateY(-14px);
    }
    100% {
        opacity: 0;
        transform: translateY(-14px);
    }
}

@keyframes tt-rotator-slide-left {
    0% {
        opacity: 0;
        transform: translateX(18px);
    }
    10% {
        opacity: 1;
        transform: translateX(0);
    }
    25% {
        opacity: 1;
        transform: translateX(0);
    }
    35% {
        opacity: 0;
        transform: translateX(-18px);
    }
    100% {
        opacity: 0;
        transform: translateX(-18px);
    }
}

@keyframes tt-rotator-zoom {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        opacity: 1;
        transform: scale(1);
    }
    35% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

@keyframes tt-rotator-slide-down {
    0% {
        opacity: 0;
        transform: translateY(-14px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    35% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

@keyframes tt-rotator-fade {
    0% { opacity: 0; }
    12% { opacity: 1; }
    82% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes tt-rotator-message-slide-up {
    0% { opacity: 0; transform: translateY(12px); }
    12% { opacity: 1; transform: translateY(0); }
    82% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-12px); }
}

@keyframes tt-rotator-message-slide-left {
    0% { opacity: 0; transform: translateX(16px); }
    12% { opacity: 1; transform: translateX(0); }
    82% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-16px); }
}

@keyframes tt-rotator-message-zoom {
    0% { opacity: 0; transform: scale(0.98); }
    12% { opacity: 1; transform: scale(1); }
    82% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.02); }
}

@keyframes tt-rotator-message-slide-down {
    0% { opacity: 0; transform: translateY(-12px); }
    12% { opacity: 1; transform: translateY(0); }
    82% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@media (prefers-reduced-motion: reduce) {
    .landing-rotator-item {
        animation: none !important;
        opacity: 0 !important;
        transform: none !important;
    }

    .landing-rotator-item-1 {
        opacity: 1 !important;
    }

    .landing-rotator-message {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .landing-rotator {
        padding: 56px 0;
    }

    .landing-rotator-box {
        min-height: 150px;
        padding: 22px 16px;
    }

    .landing-rotator-message {
        min-height: 96px;
        font-size: 1.05rem;
    }

    .landing-rotator-item {
        font-size: 1.05rem;
        padding: 22px 16px;
    }
}

/* Price update animation */
.price-update {
    animation: priceFlash 0.5s ease;
}

@keyframes priceFlash {
    0% { background-color: rgba(34, 197, 94, 0.2); }
    100% { background-color: transparent; }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.modal-open {
    display: flex;
}

.modal.modal-closing {
    animation: fadeOut 0.3s ease;
}

.modal-content {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-open .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #00d4ff;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.contact-form,
.newsletter-form,
.modal-body form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #0f172a;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f172a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.modal-footer a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.modal-footer a:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* Enhanced Button Styles */
.btn-outline {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: #00d4ff;
    color: #0f172a;
    transform: translateY(-2px);
}

/* Live Chat Widget */
.live-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-header h4 {
    color: #0f172a;
    margin: 0;
    font-size: 1rem;
}

.chat-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: #f1f5f9;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.bot {
    background: rgba(0, 212, 255, 0.2);
    color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.chat-send {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .chat-window {
        width: 300px;
        height: 400px;
    }
    
    .live-chat {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #00d4ff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Global Presence Section */
.global-presence {
    padding: 80px 0;
    background: #f8fafc;
    color: #0f172a;
}

.presence-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.presence-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #0f172a;
}

.presence-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #475569;
}

.presence-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.presence-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.presence-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    animation: float 3s ease-in-out infinite;
}

/* Introducing Brokers Section */
.introducing-brokers {
    padding: 80px 0;
    background: #ffffff;
    color: #0f172a;
}

.brokers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.brokers-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #0f172a;
}

.brokers-subtitle {
    font-size: 1.3rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.brokers-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #475569;
}

.login-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f172a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Crypto Mining Visual */
.crypto-mining-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.mining-cart {
    position: relative;
    width: 200px;
    height: 100px;
}

.cart-body {
    width: 150px;
    height: 80px;
    background: #ffffff;
    border-radius: 10px;
    position: absolute;
    bottom: 20px;
    left: 25px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.cart-body::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 15px;
    background: #00d4ff;
    border-radius: 5px;
}

.cart-wheels {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.wheel {
    width: 30px;
    height: 30px;
    background: #00d4ff;
    border-radius: 50%;
    border: 3px solid #0099cc;
    animation: rotate 2s linear infinite;
}

.crypto-coins-scattered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.crypto-coins-scattered .coin {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

.crypto-coins-scattered .coin.btc {
    background: linear-gradient(145deg, #f7931a, #e8851a);
    color: white;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.crypto-coins-scattered .coin.eth {
    background: linear-gradient(145deg, #627eea, #4c63d2);
    color: white;
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.crypto-coins-scattered .coin.ltc {
    background: linear-gradient(145deg, #bfbbbb, #a6a6a6);
    color: #333;
    top: 40%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .presence-content,
    .brokers-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .presence-text h2,
    .brokers-text h2 {
        font-size: 2rem;
    }
    
    .presence-stats {
        grid-template-columns: 1fr;
    }
    
    .crypto-mining-visual {
        height: 250px;
    }
    
    .mining-cart {
        width: 150px;
        height: 80px;
    }
    
    .cart-body {
        width: 120px;
        height: 60px;
    }
}

/* Indices Trading Section */
.indices-trading {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.indices-trading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.indices-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.indices-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.indices-text .highlight {
    color: #007bff;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.indices-text p {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
}

.indices-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item .feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.feature-item span {
    color: #0f172a;
    font-weight: 500;
}

.trade-btn {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.trade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.indices-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.indices-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

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

.market-flags {
    position: absolute;
    top: 20%;
    left: -10%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    animation: float 3s ease-in-out infinite;
}

.flag-item:nth-child(2) {
    animation-delay: 0.5s;
    margin-left: 20px;
}

.flag-item:nth-child(3) {
    animation-delay: 1s;
    margin-left: 40px;
}

.flag-item:nth-child(4) {
    animation-delay: 1.5s;
    margin-left: 60px;
}

.flag-item:nth-child(5) {
    animation-delay: 2s;
    margin-left: 80px;
}

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

.flag-item span {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design for Indices Section */
@media (max-width: 768px) {
    .indices-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .indices-text h2 {
        font-size: 2.5rem;
    }
    
    .indices-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .market-flags {
        position: static;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .flag-item:nth-child(n) {
        margin-left: 0;
    }
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #0f172a;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #00d4ff;
}

/* Virtual Assets Section */
.virtual-assets {
    padding: 80px 0;
    background: #f8fafc;
    color: #0f172a;
}

.assets-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.assets-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.assets-text .highlight {
    color: #00d4ff;
}

.assets-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #475569;
}

.features-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.3;
}

/* Crypto Gift Box Animation */
.assets-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gift-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.gift-box {
    width: 200px;
    height: 120px;
    background: #ffffff;
    border-radius: 10px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.gift-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: #00d4ff;
    border-radius: 10px 10px 0 0;
}

.gift-ribbon {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 140px;
    background: #00d4ff;
    border-radius: 0 0 15px 15px;
}

.gift-ribbon::before {
    content: '';
    position: absolute;
    top: 120px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 20px solid #0099cc;
}

.crypto-coins {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.coin {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

.coin.ethereum {
    background: linear-gradient(145deg, #627eea, #4c63d2);
    color: white;
    animation-delay: 0s;
}

.coin.bitcoin {
    background: linear-gradient(145deg, #f7931a, #e8851a);
    color: white;
    animation-delay: 1s;
}

.coin.ripple {
    background: linear-gradient(145deg, #23292f, #1a1f24);
    color: #00d4ff;
    animation-delay: 2s;
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(3) {
    top: 40%;
    left: 10%;
    animation-delay: 2.5s;
}

/* Forex Trading Section */
.forex-trading {
    padding: 80px 0;
    background: #ffffff;
    color: #0f172a;
}

.forex-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.forex-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.forex-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #475569;
}

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

/* Trading Platform Preview */
.forex-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-screen {
    width: 400px;
    height: 280px;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    border: 1px solid #e2e8f0;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.platform-header {
    height: 40px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.platform-nav {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 10px;
    opacity: 0.7;
}

.platform-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 240px;
}

.chart-area {
    padding: 15px;
    background: #ffffff;
}

.trading-chart {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00d4ff20 0%, #0099cc20 50%, #00d4ff20 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.trading-chart::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #00d4ff;
    animation: chartLine 3s ease-in-out infinite;
}

.trading-panels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: #f8fafc;
}

.panel {
    flex: 1;
    border-radius: 6px;
    position: relative;
}

.panel.watchlist {
    background: #ffffff;
}

.panel.order-form {
    background: #f1f5f9;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .assets-content,
    .forex-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .assets-text h2,
    .forex-text h2 {
        font-size: 2rem;
    }
    
    .features-stats {
        grid-template-columns: 1fr;
    }
    
    .forex-stats {
        grid-template-columns: 1fr;
    }
    
    .platform-screen {
        width: 300px;
        height: 200px;
        transform: none;
    }
    
    .gift-container {
        width: 250px;
        height: 250px;
    }
}

.footer-section ul li a {
    color: #0f172a;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #00d4ff;
}

/* Crypto Gift Image */
.crypto-gift-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

.crypto-gift-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .crypto-gift-image {
        max-width: 300px;
    }
    
    .dashboard-preview {
        height: 300px;
        object-fit: contain;
    }
}
.footer-section ul li a {
    color: #0f172a;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #00d4ff;
}

/* Mobile Trading Platforms Section */
.mobile-platforms {
    background: #f8fafc;
    padding: 80px 0;
    color: #0f172a;
}

.platforms-header {
    text-align: center;
    margin-bottom: 60px;
}

.platforms-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #0f172a;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform-tab {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.platform-tab.active {
    background: #ffffff;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.platform-tab:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.coming-soon {
    background: #00d4ff;
    color: #0f172a;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

.platforms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.platform-info .highlight {
    color: #00d4ff;
}

.platform-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #475569;
}

.platform-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.join-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.platform-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

/* Responsive Design */
@media (max-width: 768px) {
    .platforms-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .platform-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .platforms-header h2 {
        font-size: 2rem;
    }
    
    .platform-info h3 {
        font-size: 1.8rem;
    }
}
.footer-section ul li a {
    color: #0f172a;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #00d4ff;
}
