/* ============================================
   LIGHT THEME - Fortex Trading
   Modern, Clean, Professional
   ============================================ */

:root {
    /* Primary Colors */
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    
    /* Secondary Colors */
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Background Colors - Clean Light Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-gradient: #e2e8f0;
    
    /* Text Colors - Dark for Light Theme */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-light: #94a3b8;
    
    /* Card & Surface - Solid Colors */
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --surface-bg: #f1f5f9;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Gradients - Only for accents */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    
    /* Overlay */
    --overlay-light: rgba(255, 255, 255, 0.95);
    --overlay-dark: rgba(0, 0, 0, 0.5);
}

body {
    background: #f8fafc;
    color: var(--text-primary);
    position: relative;
}

/* ============================================
   NAVIGATION - LIGHT THEME
   ============================================ */
.navbar {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo a {
    color: #ffffff;
    font-weight: 700;
}

.nav-link {
    color: #cbd5e1;
    font-weight: 500;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.theme-toggle {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: rotate(20deg) scale(1.1);
}

.mobile-menu-toggle span {
    background-color: #ffffff;
}

/* ============================================
   HERO SECTION - LIGHT THEME
   ============================================ */
.hero {
    background: #1e293b;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero h1,
.hero p,
.hero div {
    color: #ffffff !important;
}

.hero .btn-primary {
    background: #6366f1;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    font-weight: 700;
    border: none;
}

.hero .btn-primary:hover {
    background: #4f46e5;
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
    transform: translateY(-3px);
}

.hero .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-weight: 600;
}

.hero .btn-outline:hover {
    background: #4f46e5;
    border-color: #4f46e5 !important;
    color: #1e293b;
    transform: translateY(-3px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   CARDS - LIGHT THEME
   ============================================ */
.card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-primary);
}

.card:hover {
    background: #f1f5f9;
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

/* ============================================
   STATS/COUNTERS - LIGHT THEME
   ============================================ */
.stats-section {
    background: #1e293b;
    color: white;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
}

.stat-card * {
    color: #ffffff !important;
}

/* ============================================
   TRADING PLANS - LIGHT THEME
   ============================================ */
.plan-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.plan-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    background: #f1f5f9;
}

.plan-card.featured {
    border-color: var(--primary-color);
    background: #f1f5f9;
    position: relative;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.plan-badge {
    background: var(--gradient-primary);
    color: white;
}

.plan-price {
    color: var(--text-primary);
}

.plan-features {
    color: var(--text-secondary);
}

.plan-features i {
    color: var(--success-color);
}

/* ============================================
   PROGRESS BARS - LIGHT THEME
   ============================================ */
.progress-bar {
    background-color: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
    height: 12px;
}

.progress-fill {
    background: var(--gradient-primary);
    height: 100%;
    border-radius: 100px;
    transition: width 1.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   TESTIMONIALS - LIGHT THEME
   ============================================ */
.testimonials-section {
    background: #f8fafc;
}

.testimonial-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-primary);
}

.testimonial-rating {
    color: #f59e0b;
}

.testimonial-author {
    color: var(--text-secondary);
}

/* ============================================
   FAQ SECTION - LIGHT THEME
   ============================================ */
.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.faq-question {
    background-color: transparent;
    color: var(--text-primary);
    padding: var(--spacing-md);
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: var(--spacing-md);
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ============================================
   CONTACT FORM - LIGHT THEME
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #f8fafc;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #ffffff;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control option {
    background-color: white;
    color: var(--text-primary);
    padding: 0.5rem;
}

select.form-control option:hover,
select.form-control option:checked {
    background-color: var(--primary-color);
    color: white;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   ROADMAP/TIMELINE - LIGHT THEME
   ============================================ */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: var(--spacing-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.timeline-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--text-primary);
}

/* ============================================
   FOOTER - LIGHT THEME
   ============================================ */
.footer {
    background: #1e293b;
    color: #ffffff;
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer h3,
.footer h4,
.footer p,
.footer a {
    color: #ffffff !important;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
}

/* ============================================
   SPECIAL EFFECTS - LIGHT THEME
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: block;
    max-width: fit-content;
    margin: 0 auto;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

/* ============================================
   HOVER EFFECTS & INTERACTIONS
   ============================================ */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.decorative-blob {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
    animation: morphing 20s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}
/* ============================================
   SECTION BACKGROUNDS - LIGHT THEME
   ============================================ */
.section {
    background: transparent;
    position: relative;
    color: var(--text-primary);
}

#why-choose-us {
    background: #e2e8f0 !important;
}

#testimonials {
    background: #dbeafe !important;
}

#faq {
    background: #e0e7ff !important;
}

#roadmap {
    background: #f1f5f9 !important;
}

/* ============================================
   TEXT CONTRAST IMPROVEMENTS
   ============================================ */
.section-title,
.card-title,
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

.section-subtitle,
.card-text,
p {
    color: var(--text-secondary) !important;
}

/* Ensure hero section has white text */
.hero * {
    color: #ffffff !important;
}

.hero .section-title,
.hero h1,
.hero h2,
.hero h3,
.hero p {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Badge contrast fixes */
.badge-primary {
    background: #6366f1;
    color: #ffffff !important;
    border: none;
}

/* Icon list items */
.icon-list li {
    color: var(--text-secondary);
}

/* Card icon backgrounds */
.card-icon {
    color: #ffffff !important;
}

/* Stats section white text */
.stats-section,
.stats-section * {
    color: #ffffff !important;
}

/* Timeline items */
.timeline-item h3,
.timeline-item p {
    color: var(--text-primary) !important;
}

/* Footer styling */
.footer {
    background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%) !important;
    color: var(--text-primary) !important;
}

.footer h3,
.footer h4,
.footer p,
.footer a {
    color: var(--text-primary) !important;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* Plan pricing text */
.plan-price,
.plan-price span {
    color: var(--text-primary) !important;
}

/* Ensure proper contrast for gradient text on light backgrounds */
.gradient-text-animated {
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientText 3s linear infinite;
}

.hero .gradient-text-animated {
    background-size: 200% auto;
    animation: gradientText 3s linear infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ============================================
   MOBILE MENU - LIGHT THEME
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        background: #f8fafc;
        border-right: 1px solid #e2e8f0;
        box-shadow: 2px 0 30px rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu .nav-link {
        color: var(--text-primary) !important;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: #f8fafc;
        color: var(--primary-color) !important;
        transform: translateX(5px);
    }
    
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}