        /* index.css */
        :root {
            --primary: #2C3E50;
            --secondary: #34495E;
            --accent: #3498DB;
            --success: #27AE60;
            --warning: #F39C12;
            --danger: #E74C3C;
            --light: #ECF0F1;
            --dark: #2C3E50;
            --text-primary: #2C3E50;
            --text-secondary: #7F8C8D;
            --border: #BDC3C7;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --gradient: linear-gradient(135deg, #3498DB, #2C3E50);
            --investment-gradient: linear-gradient(135deg, #27AE60, #3498DB);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--light);
            color: var(--text-primary);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background: var(--gradient);
            color: white;
            padding: 15px 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: white !important;
        }

        .logo i {
            margin-right: 10px;
            font-size: 2rem;
            color: var(--success);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 25px;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            font-size: 1rem;
        }

        nav ul li a:hover {
            color: var(--light);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 101;
        }

        /* Main Content Styles */
        .main-content {
            display: flex;
            min-height: calc(100vh - 140px);
            padding: 40px 0;
        }

       

        .right-section {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .welcome-text h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--primary);
            background: var(--investment-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .welcome-text p {
            color: var(--text-secondary);
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .features {
            margin-top: 30px;
        }

        .feature {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 15px;
            background: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
            transition: transform 0.3s;
        }

        .feature:hover {
            transform: translateY(-5px);
        }

        .feature i {
            color: var(--success);
            margin-right: 15px;
            font-size: 1.5rem;
        }

        .stats {
            display: flex;
            margin-top: 30px;
            gap: 20px;
        }

        .stat-item {
            flex: 1;
            text-align: center;
            padding: 15px;
            background: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--success);
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        /* Login Form Styles */
        .login-container {
            background: white;
            border-radius: 10px;
            box-shadow: var(--shadow);
            padding: 40px;
            width: 100%;
            max-width: 450px;
            border-top: 5px solid var(--success);
        }

        .login-container h2 {
            text-align: center;
            margin-bottom: 30px;
            color: var(--primary);
            font-size: 1.8rem;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--accent);
        }

        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .remember-me {
            display: flex;
            align-items: center;
        }

        .remember-me input {
            margin-right: 8px;
        }

        .forgot-password {
            color: var(--accent);
            text-decoration: none;
            font-size: 0.9rem;
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        .login-btn {
            width: 100%;
            padding: 12px;
            background: var(--investment-gradient);
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .signup-link {
            text-align: center;
            margin-top: 25px;
            color: var(--text-secondary);
        }

        .signup-link a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
        }

        .divider::before,
        .divider::after {
            content: "";
            flex: 1;
            border-bottom: 1px solid var(--border);
        }

        .divider span {
            padding: 0 15px;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .social-login {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .social-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 1.2rem;
            transition: transform 0.3s;
        }

        .social-btn:hover {
            transform: translateY(-3px);
        }

        .facebook {
            background: #3b5998;
        }

        .twitter {
            background: #1da1f2;
        }

        .telegram {
            background: #0088cc;
        }

        .whatsapp {
            background: #25d366;
        }

        .tiktok {
            background: #000000;
        }

        .security-notice {
            background: var(--light);
            padding: 15px;
            border-radius: 5px;
            margin-top: 20px;
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .security-notice i {
            color: var(--success);
            margin-right: 5px;
        }

        /* Footer Styles */
        footer {
            background: var(--primary);
            color: white;
            padding: 40px 0 20px;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .footer-section {
            flex: 1;
            min-width: 200px;
            margin-bottom: 30px;
        }

        .footer-section h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--accent);
        }

        .footer-section p {
            color: #BDC3C7;
            margin-bottom: 15px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section ul li a {
            color: #BDC3C7;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section ul li a:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--secondary);
            color: white;
            text-decoration: none;
            transition: background 0.3s;
        }

        .social-links a:hover {
            background: var(--accent);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--secondary);
            color: #BDC3C7;
            font-size: 0.9rem;
        }

        /* Market Ticker */
        .market-ticker {
            background: var(--secondary);
            color: white;
            padding: 10px 0;
            overflow: hidden;
        }

        .ticker-content {
            display: flex;
            animation: ticker 30s linear infinite;
        }

        .ticker-item {
            display: flex;
            align-items: center;
            margin-right: 40px;
            white-space: nowrap;
        }

        .ticker-symbol {
            font-weight: bold;
            margin-right: 10px;
        }

        .ticker-price {
            margin-right: 5px;
        }

        .ticker-change {
            font-size: 0.9rem;
        }

        .positive {
            color: var(--success);
        }

        .negative {
            color: var(--danger);
        }

        @keyframes ticker {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }

            .left-section, .right-section {
                padding: 20px;
            }

            .welcome-text h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--primary);
                padding: 20px;
                box-shadow: var(--shadow);
                z-index: 99;
            }

            nav ul.show {
                display: flex;
            }

            nav ul li {
                margin: 10px 0;
            }

            .mobile-menu-btn {
                display: block;
            }

            .footer-section {
                flex: 100%;
            }

            .stats {
                flex-direction: column;
            }
            
        }
      /* Additional styles for AJAX functionality */
        .form-message {
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 15px;
            text-align: center;
            display: none;
        }

        .form-message.success {
            background-color: rgba(39, 174, 96, 0.1);
            color: var(--success);
            border: 1px solid var(--success);
        }

        .form-message.error {
            background-color: rgba(231, 76, 60, 0.1);
            color: var(--danger);
            border: 1px solid var(--danger);
        }

        .form-message.warning {
            background-color: rgba(243, 156, 18, 0.1);
            color: var(--warning);
            border: 1px solid var(--warning);
        }

        .loading {
            position: relative;
            pointer-events: none;
            opacity: 0.7;
        }

        .loading::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid var(--accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
@media (max-width:900px){

.main-content{
flex-direction:column;
padding:10px 0;}

.left-section{
order:2;
padding:20px 15px;
text-align:center;}

.right-section{
order:1;
padding:20px 15px;}

.login-container{
max-width:420px;
margin:auto;
padding:30px 22px;}

.welcome-text{
margin-top:15px;}

.welcome-text h1{
font-size:1.8rem;
line-height:1.3;}

.features{
margin-top:20px;}

.feature{
padding:14px;
border-radius:10px;}

.stats{
flex-direction:column;
gap:15px;
margin-top:20px;}

.stat-item{
padding:15px;}
}

/* ===== PHONE OPTIMIZATION ===== */

@media (max-width:600px){

.container{
padding:0 12px;}

header{
padding:10px 0;}

.logo{
font-size:1.3rem;}

.main-content{
padding:5px 0;}

.login-container{
width:100%;
padding:25px 18px;
border-radius:14px;}

.login-container h2{
font-size:1.4rem;
margin-bottom:18px;}

.form-group{
margin-bottom:15px;}

.form-group input{
padding:12px;
font-size:16px;}

.login-btn{
padding:13px;
font-size:1rem;}

.remember-forgot{
flex-direction:column;
gap:10px;
align-items:flex-start;}

.social-login{
gap:10px;
margin-top:15px;}

.social-btn{
width:42px;
height:42px;}

.feature{
flex-direction:column;
text-align:center;
gap:6px;}

.feature i{
margin:0;
font-size:1.4rem;}

.footer-content{
flex-direction:column;}

.footer-section{
width:100%;}
}

/* ===== SMALL PHONE FIX ===== */

@media (max-width:420px){

.welcome-text h1{
font-size:1.5rem;}

.login-container{
padding:22px 15px;}

.stat-value{
font-size:1.4rem;}
}

/* ===== FIX OVERFLOW ===== */

body{
overflow-x:hidden;}

.login-container{
box-sizing:border-box;}

*{
max-width:100%;}
.logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 600;
            color: white !important;
        }
        