@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: black;
    color: #fff;
    overflow-x: hidden;
}

/* Container & Background 
.container {
    background: radial-gradient(circle at top right, rgb(0, 0, 0), transparent 40%), 
              /*  radial-gradient(circle at center left, rgb(104, 3, 3), transparent 60%),
                hsl(216, 90%, 19%);
    min-height: 100vh;
    padding: 0 8%;
    position: relative;
    
    
}*/

a {
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    align-items: center;
}

.language-selector select {
    background-color: #1a2a47;
    color: #fff;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}

.language-selector select:focus {
    outline: none;
    border-color: #2563eb;
}

.language-selector-desktop {
    margin-left: 25px;
}

/* Header & Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%; 
    position: relative;
    z-index: 100;
}

/* Hide mobile-specific elements on desktop */
.nav-left-mobile, .flag-selector {
    display: none;
}

/* Desktop Navigation Links (Default) */
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    border: white solid 1px;
    padding: 16px 20px  ;
    border-radius: 30px;
}




/* Ensure desktop logo is visible */
.logo-desktop-only {
    display: block; 
}

/* The original nav-right buttons (now .nav-right-buttons) */
.nav-right-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* General Button Styling (Re-used) */
.login-btn, .register-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
}

.register-btn {
    background-color: transparent;
    border: 1px solid #3b82f6;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    border-color: #3b82f6;
}

.register-btn i {
    margin-left: 8px;
    font-size: 0.9em;
}

/* Mobile Styles */
@media (max-width: 992px) {
    nav {
        justify-content: space-between;
        padding: 15px 5%;
         border: white solid 1px;
    padding: 16px 20px  ;
    border-radius: 30px;
    }

    .nav-left-mobile {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .logo-desktop-only {
        display: none;
    }

    #menu-toggle {
        display: block;
        cursor: pointer;
        padding: 5px;
        z-index: 101; /* Ensure hamburger is above nav-links */
        background: none;
        border: none;
    }
    .hamburger-lines {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 4px 0;
        display: block;
    }

    .nav-right-buttons {
        gap: 10px;
    }
    
    .login-btn {
        padding: 0;
    }
    
    .register-btn {
        padding: 8px 15px;
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a2a47;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 5%;
        z-index: 99;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
        transition: max-height 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-links a {
        padding: 12px 0;
        width: 100%;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        max-height: 500px; /* Show menu when active */
        overflow: visible;
    }

    .language-selector-desktop {
        display: none;
    }
}

/*///////////////////// Hero Section /////////////////////////////////////*/
/*///////////////////// Hero Section /////////////////////////////////////*/
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh; /* Full viewport */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.sides-containers {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 30px;
    background: rgba(0, 0, 0, 0.304); /* Optional: dark overlay for readability */
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.even-better {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8em;
}

.asset-icons {
    margin-top: 1em;
    display: flex;
    align-items: center;
    gap: 18px;
}

.asset-icons img {
    height: 38px;
    width: auto;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}

.asset-icons span {
    background: #111;
    color: #fff;
    font-size: 1rem;
    border-radius: 18px;
    padding: 6px 16px;
    margin-left: 10px;
}

@media (max-width: 767px) {
    .hero-section, .hero-image-container, .hero-image {
        height: 60vh;
        min-height: 320px;
    }
    .sides-containers {
        padding: 24px 10px;
        max-width: 95vw;
        border-radius: 8px;
    }
    .hero-title { font-size: 1.4rem; }
    .even-better { font-size: 1.2rem; }
}
/* Floating Telegram Chat Bubble Styles */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc 0%, #00aced 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.telegram-chat-bubble i {
    font-size: 24px;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.bubble-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50%);
    transition: all 0.3s ease;
    z-index: 10000;
}

.telegram-chat-bubble:hover .bubble-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%);
}

.bubble-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 50%;
    margin-right: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .telegram-chat-bubble {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .telegram-chat-bubble i {
        font-size: 20px;
    }
    
    .bubble-tooltip {
        font-size: 12px;
        padding: 6px 10px;
        bottom: 65px;
    }
}

/* RTL Support for Arabic */
html[dir="rtl"] .telegram-chat-bubble {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .bubble-tooltip {
    right: auto;
    left: 0;
    transform: translateX(-50%);
}

html[dir="rtl"] .bubble-tooltip::after {
    right: auto;
    left: 50%;
    margin-right: 0;
    margin-left: -5px;
}
.trading-mockup {
    width: 450px;
    max-width: 100%;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    padding: 20px;
    margin: 50px auto 0;
}

.category-buttons {
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
}

.mockup-asset-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
}

.mockup-asset-name {
    font-size: 1.3em;
    font-weight: bold;
}

.mockup-current-price {
    font-size: 1.6em;
    color: #4CAF50;
    font-weight: 700;
}

.mockup-chart-container {
    height: 200px;
    background-color: #0d0d0d;
    border: 1px solid #333;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mockup-controls-panel {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 20px;
}

.mockup-control-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #aaa;
}

.mockup-control-group input, .mockup-control-group select {
    background-color: #333;
    color: #f0f0f0;
    border: 1px solid #555;
    padding: 8px;
    border-radius: 4px;
    width: 100px;
    box-sizing: border-box;
}

.mockup-trade-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.mockup-trade-button {
    flex-grow: 1;
    padding: 12px 0;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mockup-call {
    color: white;
    background-color: #0d0d0d;
    border: solid rgba(255, 255, 255, 0.735);
}

.mockup-call:hover {
    background-color: #17045c;
}

.mockup-put {
    background-color: white;
    color: #0d0d0d;
}

.mockup-put:hover {
    background-color: #d32f2f;
}

.mockup-results-log {
    background-color: #0d0d0d;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.8em;
    border: 1px solid #333;
    max-height: 80px;
    overflow-y: auto;
}

.mockup-results-log p {
    margin: 5px 0;
}

.entry-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: yellow;
    z-index: 100;
}

@media (max-width: 992px) {
    .hero-section main {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .hero-image-section {
        flex-grow: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trading-mockup {
        width: 90%;
        margin-top: 30px;
    }
    
    .category-buttons {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }
}

.how-it-works-section {
    position: relative;
    z-index: 10;
    padding: 80px 8% 120px;
    background-color: #0d1a2e;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.card {
    background-color: #1a2a47;
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    max-width: 30%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    color: #a0aec0;
}

.trusted-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.trusted-card {
    background: radial-gradient(circle at top left, #1a2a47, #0d1a2e 70%);
    padding: 40px;
    border-radius: 12px;
    width: 60%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.trusted-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

.trusted-card h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.trusted-card p {
    color: #a0aec0;
    margin-bottom: 25px;
}

.see-more-btn {
    background-color: #3b82f6;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}

.see-more-btn:hover {
    background-color: #2563eb;
}

.platform-award-card {
    background-color: #1a2a47;
    padding: 30px;
    border-radius: 12px;
    width: 35%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.award-icon {
    font-size: 1.5rem;
    color: gold;
    margin-bottom: 10px;
}

.platform-award-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.platform-award-card p {
    font-size: 0.9rem;
    color: #a0aec0;
}

@media (max-width: 992px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        max-width: 90%;
        width: 100%;
    }
    
    .trusted-container {
        flex-direction: column;
    }
    
    .trusted-card, .platform-award-card {
        width: 100%;
    }
}

.global-platform-section {
    position: relative;
    padding: 80px 8% 0;
    background-color: #0d1a2e;
    text-align: center;
}

.section-title-global {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}

.metrics-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.metric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: #a0aec0;
}

.global-caption {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 50px;
}

.world-map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #0d1a2e;
    background-image: radial-gradient(circle, #a0aec0 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.4;
    filter: invert(1);
    margin-left: -8%;
    margin-right: -8%;
    width: 116%;
}

@media (max-width: 768px) {
    .metrics-container {
        flex-wrap: wrap;
        gap: 20px 40px;
    }
    
    .metric-box {
        flex-basis: 40%;
    }
}

footer {
    background-color: #1a2a47;
    color: #a0aec0;
    padding: 60px 8% 40px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    padding: 10px;
    min-width: 150px;
}

.disclaimer-col {
    flex-basis: 30%;
    min-width: 280px;
}

.link-group {
    flex-basis: calc(23% - 15px);
    min-width: 150px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 20px;
}

.testimonial-section {
    padding: 100px 8%;
    background-color: #0d1a2e;
    text-align: center;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    background-color: #1a2a47;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 40px;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 10px;
    line-height: 1;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 25px;
    min-height: 80px;
}

.client-info {
    font-weight: bold;
    color: #a0aec0;
}

.client-name {
    color: #fff;
    margin-right: 5px;
}

.carousel-dots {
    margin-top: 30px;
}

.dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #4a5568;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #3b82f6;
}

@media (max-width: 600px) {
    .testimonial-slide {
        padding: 30px 15px;
    }
    .quote-text {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        justify-content: flex-start;
        gap: 20px;
    }
    
    .disclaimer-col {
        flex-basis: 100%;
        order: 5;
    }

    .link-group {
        flex-basis: calc(50% - 10px);
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .link-group {
        flex-basis: 100%;
    }
}

.alert-ticker-container {
    background-color: #0d1a2e;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 90;
}

.ticker-content {
    white-space: nowrap;
    padding: 8px 0;
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    animation: marquee 60s linear infinite;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* ------------------------------------------- */
/* FEATURES SECTION STYLES (Light Background) */
/* ------------------------------------------- */

.features-section {
    background-color: #0d1a2e;
    padding: 80px 8%;
    color: white;
}

.features-section h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.features-section p {
    font-size: 0.95rem;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 20px;
    background: #e3f2ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c7e1ff;
}

/* Responsive adjustments for the grid */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; 
    }
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-panel {
    display: none;
    background-color: #1a2a47;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-top: -10px;
}

.chat-header {
    background-color: #2563eb;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.chat-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.message {
    margin: 10px 0;
    padding: 8px;
    border-radius: 4px;
}

.bot {
    background-color: #0d1a2e;
    color: #fff;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #0d1a2e;
}

.chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #3b82f6;
    border-radius: 4px 0 0 4px;
    background-color: #1e1e1e;
    color: #fff;
}

.send-btn {
    padding: 8px 15px;
    background-color: #4CAF50;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
}

.send-btn:hover {
    background-color: #45a049;
}

.chat-panel.active {
    display: block;
}

.chart-box {
    position: relative;
    width: 100%;
    height: 400px;  /* Adjust based on your layout; TradingView autosizes but needs a container height */
    background: #1a1a1a;  /* Dark fallback */
    border-radius: 8px;
    overflow: hidden;
}

.tradingview-widget-container {
    width: 100% !important;
    height: 100% !important;
}

.current-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #00ff88;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10;
    pointer-events: none;  /* So it doesn't interfere with chart interactions */
}

.time-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, #333, #555);  /* Simple timeline placeholder */
    z-index: 5;
    pointer-events: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chart-box {
        height: 300px;
    }
}

/* image background styles */
