:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --gradient-primary: linear-gradient(135deg, #2c3e50, #3498db);
    --gradient-secondary: linear-gradient(135deg, #3498db, #2c3e50);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 76px;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section h1 span {
    color: #f39c12;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Stats Section */
.stats-section {
    background-color: white;
}

.stat-box {
    padding: 20px;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.plan-card {
    border-top: 4px solid var(--secondary-color);
}

.plan-card .card-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

.plan-price {
    margin: 20px 0;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-price .period {
    color: #6c757d;
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Forms */
.login-card, .register-card {
    border-top: 4px solid var(--secondary-color);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

/* Dashboard */
.user-avatar-lg {
    position: relative;
    font-size: 4rem;
    color: var(--secondary-color);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: white;
    border-radius: 50%;
    color: var(--success-color);
    font-size: 1.2rem;
}

.welcome-banner {
    background: var(--gradient-primary) !important;
}

/* Tables */
.table th {
    border-top: none;
    font-weight: 600;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 0 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    margin-left: 15px;
    font-size: 1.2rem;
}

/* Loading Spinner */
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Trading Section */
.trading-section {
    background: var(--dark-color);
}

.trading-features {
    list-style: none;
    padding: 0;
}

.trading-features li {
    margin-bottom: 10px;
}

.trading-features i {
    color: var(--success-color);
    margin-right: 10px;
}

.live-tickers {
    margin-top: 20px;
}

.ticker {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
}

.ticker .up {
    color: var(--success-color);
}

.ticker .down {
    color: var(--accent-color);
}

/* Recent Users */
.user-card {
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.user-card:hover {
    transform: translateY(-5px);
}

.user-avatar {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Leaderboard */
.gold {
    color: #ffd700;
}

.silver {
    color: #c0c0c0;
}

.bronze {
    color: #cd7f32;
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .stat-box h3 {
        font-size: 1.8rem;
    }
    
    body {
        padding-top: 66px;
    }
}
/* About Page Styles */
.about-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-year {
    position: absolute;
    left: -3rem;
    top: 0;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.social-links a {
    color: #6c757d;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Contact Page Styles */
.contact-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item h4 {
    color: var(--primary);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-weight: bold;
}

/* Animations */
.animate__animated {
    opacity: 0;
}

.animate__fadeInUp,
.animate__fadeInLeft,
.animate__fadeInRight,
.animate__zoomIn {
    opacity: 0;
}

/* Counter animation for stats */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}