* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f0f0f;
    --secondary-color: #1a1a1a;
    --accent-color: #4299e1;
    --accent-hover: #3182ce;
    --gradient-start: #0f0f0f;
    --gradient-end: #1a1a1a;
    --text-light: #ffffff;
    --text-secondary: #b0b0b0;
    --text-dark: #333333;
    --card-bg: #1e1e1e;
    --card-hover: #252525;
    --btn-hover: #3182ce;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --border-color: #333333;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
}
/* Navigation styles */
.navbar {
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
    height: 50px;
}

.logo {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-btn, .mobile-login-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-login-btn {
    background: var(--accent-color);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 6px;
}

.mobile-login-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

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

.nav-links {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    margin-left: auto;
    padding-right: 1rem;
}

.nav-links a i {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-nav-controls {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        width: 280px;
        height: 100vh;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(10px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
        z-index: 1001;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a, .nav-links .nav-btn {
        width: 100%;
        padding: 1rem 1.2rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .nav-links a i {
        display: inline-block;
        width: 20px;
        font-size: 1.1rem;
        margin-right: 0;
    }

    .nav-links a[onclick*="Home"] i {
        color: #ff6b6b;
    }

    .nav-links a[onclick*="About"] i {
        color: #4ecdc4;
    }

    .nav-links a[onclick*="Safety"] i {
        color: #45b7d1;
    }

    .nav-links a[onclick*="WhyUs"] i {
        color: #96ceb4;
    }

    .nav-links a[onclick*="Contact"] i {
        color: #feca57;
    }

    .nav-links a[onclick*="FundManager"] i {
        color: #ff9ff3;
    }

    .nav-links a[onclick*="CopyTrading"] i {
        color: #54a0ff;
    }

    .nav-links .dropdown {
        width: 100%;
    }

    .nav-links .dropdown button {
        width: 100%;
        text-align: left;
        padding: 1rem 1.2rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .nav-links .dropdown-content {
        position: static;
        background: rgba(255,255,255,0.05);
        margin-top: 0;
        box-shadow: none;
        padding: 0.5rem 0;
        border-radius: 6px;
        margin-left: 1rem;
    }

    .nav-links .dropdown-content a {
        padding: 0.8rem 1rem 0.8rem 3rem;
        color: white !important;
        transition: background-color 0.2s ease;
        font-size: 0.85rem;
    }

    .nav-links .dropdown-content a:hover {
        background: rgba(255,255,255,0.1);
    }

    .nav-links .dropdown-toggle:hover {
        background: rgba(255,255,255,0.08);
    }

    .nav-links a:hover, .nav-links .nav-btn:hover {
        background: rgba(255,255,255,0.1);
    }

    .nav-links .login-btn, .nav-links .signup-btn {
        margin: 0.5rem 0;
        background: #007bff !important;
        color: white !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        justify-content: center;
    }

    .nav-links .login-btn:hover, .nav-links .signup-btn:hover {
        background: #0056b3 !important;
        transform: none;
    }

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

.nav-links a, .nav-links button {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    font-family: 'Inter', sans-serif;
}

.nav-btn:hover,
.nav-btn.active {
    color: #4299e1;
    background: rgba(66, 153, 225, 0.1);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
}

.nav-btn.active i {
    color: var(--accent-color);
}

.nav-links a:hover, .nav-links button:hover {
    opacity: 0.8;
}

.nav-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    min-width: 160px;
    box-shadow: 0 2px 8px var(--shadow-color);
    z-index: 1000;
    border-radius: 6px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
}

.dropdown-content a {
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.2s;
    color: var(--accent-color) !important;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.dropdown-content a:hover {
    background: var(--card-hover);
    padding-left: 1.3rem;
    color: var(--accent-hover) !important;
}

.dropdown-content.show {
    display: block;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-btn {
    padding: 0.3rem 0.6rem;
    background: #007bff;
    color: white;
    border-radius: 20px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Login and Signup button highlighting */
.login-btn {
    background: #007bff !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.8rem !important;
    font-weight: 500 !important;
    border: none !important;
    margin-left: auto !important;
    margin-right: 0.3rem !important;
    transition: all 0.3s ease;
    font-size: 0.75rem !important;
}

.login-btn:hover {
    background: #0056b3 !important;
    opacity: 0.9;
}

.signup-btn {
    background: #007bff !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.8rem !important;
    font-weight: 500 !important;
    border: none !important;
    margin-left: auto !important;
    transition: all 0.3s ease;
    font-size: 0.75rem !important;
}

.signup-btn:hover {
    background: #3182ce !important;
    opacity: 0.9;
}

/* Fund Manager button styling */
.fund-manager-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    font-size: 0.8rem !important;
}

.fund-manager-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Become an IB button styling */
.ib-btn {
    background: transparent !important;
    border: 2px solid #4299e1 !important;
    color: #4299e1 !important;
    padding: 0.3rem 0.5rem !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    font-size: 0.8rem !important;
}

.ib-btn:hover {
    background: rgba(66, 153, 225, 0.1) !important;
}

.app-button:hover {
    background: #ff5436;
    transform: translateY(-2px);
}

.app-button i {
    font-size: 1.2rem;
}



/* Footer Styles */
.footer {
    background: var(--secondary-color);
    padding: 3rem 5%;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid var(--border-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Telegram - Blue */
.social-icon:nth-child(1) {
    background: #0088cc;
    color: white;
}

.social-icon:nth-child(1):hover {
    background: #006699;
    transform: translateY(-2px);
}

/* Facebook - Blue */
.social-icon:nth-child(2) {
    background: #1877f2;
    color: white;
}

.social-icon:nth-child(2):hover {
    background: #166fe5;
    transform: translateY(-2px);
}

/* WhatsApp - Green */
.social-icon:nth-child(3) {
    background: #25d366;
    color: white;
}

.social-icon:nth-child(3):hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Instagram - Gradient */
.social-icon:nth-child(4) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon:nth-child(4):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.4);
}

.social-icon i {
    font-size: 18px;
    color: white;
}

.legal-section {
    width: 100%;
}

.legal-links {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}
.legal-links a:hover {
    color:rgb(71, 71, 233);
    text-decoration: underline;
}

.warning-title,
.disclaimer-title,
.restrictions-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.7rem;
    display: inline;
}

.warning-text,
.disclaimer-text,
.restrictions-text,
.company-info p {
    font-size: 0.7rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-links {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color:rgb(71, 71, 233);
    text-decoration: underline;
}


/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 5%;
    }

    .social-icons {
        justify-content: center;
    }

    .legal-links,
    .footer-links {
        text-align: center;
    }

    .warning-text,
    .disclaimer-text,
    .restrictions-text,
    .company-info p {
        font-size: 0.8rem;
    }
}

/* Update feature icons styles */
.feature-item i {
    font-size: 20px;
    width: 24px;
    margin-right: 12px;
}

/* Update app button icons styles */
.app-button i {
    font-size: 24px;
    margin-right: 8px;
} 