:root {
    --primary: #8b5cf6;
    --secondary: #db2777;
    --bg-dark: #2e1065;
    --bg-light: #fdf2f8;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --white: #ffffff;
    --border: #e5e7eb;
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #db2777 100%);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--bg-dark);
    color: var(--white);
}

.btn-gradient {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-outline {
    border: 1px solid var(--border);
    background: transparent;
}

.w-100 { width: 100%; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section { padding: 5rem 0; }

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-image: url('../images/hero-trading.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.8), rgba(0, 212, 255, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.stats-source {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Tech Section */
.feature-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.feature-card:last-child { margin-bottom: 0; }

.feature-right { flex-direction: row-reverse; }

.feature-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Strategies Grid */
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strategy-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.strategy-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

.strategy-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Market Insights */
.insight-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.pull-quote {
    border-left: 4px solid var(--secondary);
    padding-left: 2rem;
    margin: 2rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
}

.stats-comparison {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.stat-value {
    font-weight: 700;
    color: var(--secondary);
}

/* Tutorials */
.tutorial-accordion {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    font-weight: 600;
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-light);
    padding: 0 1.5rem;
}

.accordion-content.active {
    padding: 1.5rem;
}

.tutorial-step {
    margin-bottom: 1.5rem;
}

/* Newsletter */
.newsletter-section {
    background: var(--bg-dark);
    padding: 4rem 1.5rem;
}

.newsletter-card {
    background: var(--gradient);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    margin-bottom: 1rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    padding: 1.5rem;
    z-index: 9999;
    border: 1px solid var(--border);
    display: none;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-card {
        flex-direction: column;
    }

    .feature-right {
        flex-direction: column;
    }

    .feature-image img {
        max-width: 100%;
    }

    .insight-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-banner {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}