/* SentioTrade - Premium Dark Theme */

:root {
    /* Dark Theme Variables */
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --dark-bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(59, 130, 246, 0.2);
    --accent-blue: #3b82f6;
    --accent-blue-dark: #2563eb;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
}

/* Dark Theme Base */
body {
    background-color: var(--dark-bg) !important;
    color: var(--text-secondary) !important;
    background-image: 
        radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6, .logo-text {
    color: var(--text-primary) !important;
}

/* Ensure all section titles are visible */
.section-title {
    color: var(--text-primary) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h1 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

/* Special styling for SentioTrade brand */
.brand-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 800;
    text-shadow: 0 0 50px rgba(251, 191, 36, 0.6);
    display: inline-block;
    animation: sentioGlow 3s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes sentioGlow {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

h2 {
    color: var(--text-primary) !important;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Header */
.site-header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.main-nav a {
    color: var(--text-secondary) !important;
}

.main-nav a:hover,
.main-nav li.active a {
    color: var(--accent-blue) !important;
}

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 60%) !important;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.hero h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

.hero-description {
    color: var(--text-secondary) !important;
    background: rgba(15, 23, 42, 0.6);
    padding: 15px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: inline-block;
    margin: 0 auto 2rem;
}

.hero-image {
    box-shadow: 
        0 0 60px rgba(59, 130, 246, 0.4),
        0 0 120px rgba(139, 92, 246, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--border-color);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%) !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5) !important;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.7) !important;
}

.btn-outline {
    border-color: var(--accent-blue) !important;
    color: var(--accent-blue) !important;
    background: transparent !important;
}

.btn-outline:hover {
    background: var(--accent-blue) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5) !important;
}

/* Cards and Boxes */
.advantage-box, .testimonial, .faq-item, .stat-box, .course-card, .step-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px);
}

/* Ensure text is readable in cards */
.advantage-box h3, .advantage-box p,
.testimonial-text, .testimonial-author,
.step-content h3, .step-content p,
.course-card h2, .course-card p, .course-card li,
.course-price {
    color: var(--text-primary) !important;
}

.advantage-box p, .testimonial-text p, .step-content p, .course-description {
    color: var(--text-secondary) !important;
}

.advantage-box:hover, .testimonial:hover, .course-card:hover, .step-content:hover {
    border-color: var(--accent-blue) !important;
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(59, 130, 246, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* FAQ */
.faq-section {
    background: var(--dark-bg) !important;
}

.faq-section h2 {
    color: var(--text-primary) !important;
}

.faq-question {
    background: var(--dark-bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: var(--accent-blue) !important;
}

.faq-question span {
    color: var(--text-primary) !important;
}

.faq-answer {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid var(--border-color) !important;
    border-top: none !important;
}

/* Stats */
.stats-section {
    background: var(--dark-bg) !important;
}

.stat-box {
    text-align: center;
}

.stat-box i {
    color: var(--accent-blue) !important;
}

.counter-number {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.counter-symbol {
    color: var(--accent-blue) !important;
}

.stat-label {
    color: var(--text-secondary) !important;
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: linear-gradient(to bottom, var(--dark-bg) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    border-top: 1px solid var(--border-color);
}

.footer-column a {
    color: var(--text-secondary) !important;
}

.footer-column a:hover {
    color: var(--accent-blue) !important;
}

/* Form Elements */
input, textarea, select {
    background: var(--dark-bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2) !important;
}

/* Featured Section */
.featured-in-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%) !important;
}

.featured-in-section h2 {
    color: var(--text-primary) !important;
}

/* Innovative Section */
.innovative-courses-section {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%) !important;
}

/* Why Choose Section - Dark Theme Fix */
.why-choose-section {
    background: var(--dark-bg) !important;
}

.advantages-container .advantage-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.advantage-box h3 {
    color: var(--accent-blue) !important;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.advantage-box p {
    color: var(--text-secondary) !important;
    line-height: 1.6;
}

/* Featured logos contrast fix */
.featured-logo-item {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

/* Hero image fallback styling */
.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

/* Innovative Courses Section Text Fix */
.innovative-courses-section {
    color: var(--text-secondary) !important;
}

.innovative-text p {
    color: var(--text-secondary) !important;
}

.highlighted-text {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.feature-item {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: var(--accent-blue) !important;
}

.feature-text {
    color: var(--text-primary) !important;
}

.feature-icon i {
    color: var(--accent-blue) !important;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--dark-bg) !important;
}

.how-it-works-section h2 {
    color: var(--text-primary) !important;
}

.step-number {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%) !important;
}

.testimonials h2 {
    color: var(--text-primary) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
} 