/* ===== FX Book Styles ===== */
.fx-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5f 100%);
    color: white;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.fx-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 162, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.1) 0%, transparent 50%);
    opacity: 0.7;
}

.fx-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.fx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fx-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.fx-hero-lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.fx-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 3rem;
}
/* ===== Missing Section Title Styles ===== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3a5f;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Missing Button Styles ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.primary-btn {
    background: linear-gradient(135deg, #e6a23c 0%, #d18a2c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 162, 60, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 162, 60, 0.4);
    color: white;
    text-decoration: none;
}

.secondary-btn {
    background: linear-gradient(135deg, #1e88e5 0%, #0d6ec7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== Additional Responsive Adjustments ===== */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
}
/* ===== Path Timeline Connection Lines ===== */
@media (min-width: 769px) {
    .path-timeline {
        position: relative;
    }
    
    .path-timeline::before {
        content: '';
        position: absolute;
        top: 35px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: linear-gradient(to right, #e2e8f0, #1a3a5f, #e2e8f0);
        z-index: 0;
    }
    
    .path-step {
        position: relative;
        z-index: 1;
    }
}
.fx-stat {
    text-align: center;
}

.fx-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e6a23c;
    display: block;
    line-height: 1;
}

.fx-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Learning Path */
.learning-path {
    padding: 80px 0;
    background: #f8fafc;
}

.path-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    position: relative;
}

.path-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.path-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 162, 60, 0.3);
}

.path-step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a3a5f, #2a5a8c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.path-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a3a5f;
}

.path-step p {
    color: #64748b;
    margin: 0;
}

/* Topics Section */
.topics-section {
    padding: 80px 0;
    background: white;
}

.topics-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
}

.filter-btn.active {
    background: #1a3a5f;
    color: white;
    border-color: #1a3a5f;
}

.filter-btn:hover:not(.active) {
    border-color: #1a3a5f;
    background: rgba(26, 58, 95, 0.05);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.topic-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 162, 60, 0.3);
}

.topic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.topic-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.topic-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.topic-difficulty {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-beginner {
    background: rgba(67, 160, 71, 0.1);
    color: #43a047;
}

.difficulty-intermediate {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.difficulty-advanced {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.topic-time {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.topic-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a3a5f;
}

.topic-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.topic-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #82D32B, #4CAF50);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

/* Featured Article */
.featured-article {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.featured-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a3a5f;
}

.featured-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.featured-stats {
    display: flex;
    gap: 30px;
    margin: 2rem 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a3a5f;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-visual {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.pip-visual {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5f 100%);
    border-radius: 8px;
    color: white;
}

.currency-pair {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #e6a23c;
}

.price-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.8rem;
    margin: 1.5rem 0;
}

.old-price, .new-price {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 600;
}

.pip-indicator {
    background: linear-gradient(135deg, #e6a23c, #f59e0b);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 1rem;
}

/* Quiz CTA */
.quiz-cta {
    padding: 60px 0;
    background: #1a3a5f;
    color: white;
}

.quiz-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.quiz-text h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.quiz-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .fx-hero h1 {
        font-size: 2.8rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .path-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .fx-hero {
        padding: 80px 0 40px;
    }
    
    .fx-hero h1 {
        font-size: 2.4rem;
    }
    
    .fx-hero-lead {
        font-size: 1.1rem;
    }
    
    .fx-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .fx-hero h1 {
        font-size: 2rem;
    }
    
    .fx-hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .path-timeline {
        grid-template-columns: 1fr;
    }
    
    .topics-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
}
.coming-soon-card {
    position: relative;
    opacity: 0.8;
    cursor: not-allowed;
}

.coming-soon-card .topic-progress {
    opacity: 0.6;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tools-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    border-radius: 10px;
    margin: 40px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-icon {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 20px;
}

.tool-card h3 {
    margin-bottom: 15px;
    color: #212529;
}

.tool-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-available {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
}

.status-coming {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.tools-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tools-cta p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 20px;
}

.cta-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cta-button.disabled:hover {
    transform: none;
}

/* Updated styling for cleaner topic cards */
.topic-card {
    display: block;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: inherit;
}

.topic-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.topic-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.topic-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.topic-difficulty {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-beginner {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.difficulty-intermediate {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.difficulty-advanced {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
}

.topic-time {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.topic-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    color: #212529;
    line-height: 1.4;
}

.topic-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Filter buttons */
.topics-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 30px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #4361ee;
    color: #4361ee;
}

.filter-btn.active {
    background: #4361ee;
    border-color: #4361ee;
    color: white;
}

/* Grid layout */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .topics-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

/* Tools section styling */
.tools-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    border-radius: 10px;
    margin: 40px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-icon {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 20px;
}

.tool-card h3 {
    margin-bottom: 15px;
    color: #212529;
}

.tool-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tools-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tools-cta p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 20px;
}

.cta-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cta-button.disabled:hover {
    transform: none;
}
/* 2. Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #e6a23c;
    text-decoration: underline;
}

.breadcrumb span {
    color: #e6a23c;
    font-weight: 600;
}