/* Category Pages Styles - Modern Theme */

/* Hero Sections - Enhanced with animations - New Color Scheme */
.category-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.category-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(10%, 10%) scale(1.1); opacity: 0.8; }
}

.category-hero .container {
    position: relative;
    z-index: 2;
}

.forex-hero {
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 50%, #bbe1fa 100%);
}

.crypto-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
}

.stocks-hero {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.cfd-hero {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #ff9a9e 100%);
}

.commodities-hero {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ee0979 100%);
}

.education-hero {
    background: linear-gradient(135deg, #8360c3 0%, #2ebf91 100%);
}

.category-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.3));
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
    border-radius: 2px;
    opacity: 0.9;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 12px;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Content Sections - Modern Glass Morphism - New Colors */
.content-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    position: relative;
}

.content-section.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.content-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 2px;
}

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

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.content-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.content-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.content-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.content-card:hover h3 {
    color: #6366f1;
}

.content-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.content-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.content-card li {
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.content-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Advantages Section */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
}

.advantages-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.advantages-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 2px;
}

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

.advantage-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.advantage-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.advantage-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.advantage-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.advantage-card:hover h3 {
    color: #6366f1;
}

.advantage-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.advantage-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.advantage-card li {
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.advantage-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Pairs Section */
.pairs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.pairs-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

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

.pair-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.pair-card:hover {
    border-color: #6366f1;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
}

.pair-card.major {
    border-color: #28a745;
}

.pair-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pair-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    padding: 8px 16px;
    border-radius: 6px;
}

.pair-name {
    color: #666;
    font-size: 1rem;
}

.pair-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pair-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Crypto Section */
.crypto-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.crypto-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.crypto-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.crypto-card:hover::before {
    transform: scaleX(1);
}

.crypto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

.crypto-card.bitcoin {
    border-left: 4px solid #f7931a;
}

.crypto-card.ethereum {
    border-left: 4px solid #627eea;
}

.crypto-card.cardano {
    border-left: 4px solid #0033ad;
}

.crypto-card.solana {
    border-left: 4px solid #9945ff;
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

.crypto-card.bitcoin .crypto-icon {
    background: #f7931a;
}

.crypto-card.ethereum .crypto-icon {
    background: #627eea;
}

.crypto-card.cardano .crypto-icon {
    background: #0033ad;
}

.crypto-card.solana .crypto-icon {
    background: #9945ff;
}

.crypto-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.crypto-symbol {
    color: #666;
    font-size: 0.9rem;
}

.crypto-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.crypto-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

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

.markets-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

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

.market-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.market-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.1);
}

.market-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.market-flag {
    font-size: 2rem;
}

.market-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.market-name {
    color: #666;
    font-size: 1rem;
}

.market-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.market-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Strategies Section */
.strategies-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.strategies-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

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

.strategy-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.strategy-card:hover::before {
    transform: scaleX(1);
}

.strategy-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.35);
    border-color: rgba(139, 92, 246, 0.6);
}

.strategy-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.strategy-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.strategy-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.strategy-card:hover h3 {
    color: #6366f1;
}

.strategy-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.strategy-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.strategy-card li {
    color: #666;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.strategy-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Brokers Section */
.brokers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.brokers-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

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

.broker-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 18px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    overflow: hidden;
}

.broker-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.broker-card:hover::after {
    transform: scaleX(1);
}

.broker-card:hover {
    border-color: #6366f1;
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
}

.broker-card.featured {
    border-color: #28a745;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(40, 167, 69, 0.05) 100%);
}

.broker-card.featured::before {
    content: attr(data-featured-text);
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    z-index: 10;
}

.broker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.broker-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.broker-features {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.feature i {
    color: #28a745;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    color: white;
}

/* Analysis Section */
.analysis-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.analysis-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

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

.analysis-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.analysis-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.analysis-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.analysis-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.analysis-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.analysis-card li {
    color: #666;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.analysis-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Videos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-width: 0;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

.video-info p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.tips-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.tip-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.tip-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.tip-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.tip-card:hover h3 {
    color: #6366f1;
}

.tip-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Factors Section */
.factors-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}

.factors-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.factors-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 2px;
}

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

.factor-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.factor-card:hover::before {
    transform: scaleX(1);
}

.factor-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.factor-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.factor-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.factor-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.factor-card:hover h3 {
    color: #6366f1;
}

.factor-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Risk Management Section */
.risk-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}

.risk-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.risk-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 2px;
}

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

.risk-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.risk-card:hover::before {
    transform: scaleX(1);
}

.risk-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.risk-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.risk-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.risk-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e293b;
    transition: color 0.3s ease;
}

.risk-card:hover h3 {
    color: #6366f1;
}

.risk-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* FAQ Section - Enhanced for Category Pages */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    position: relative;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 2px;
}

.faq-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(n+6) { animation-delay: 0.6s; }

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}

.faq-item.active {
    border-color: #6366f1;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3,
.faq-item.active .faq-question h3 {
    color: #6366f1;
}

.faq-question i {
    font-size: 1rem;
    color: #6366f1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero {
        padding: 80px 0 50px;
    }
    
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .category-hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .content-grid,
    .pairs-grid,
    .crypto-grid,
    .markets-grid,
    .strategies-grid,
    .brokers-grid,
    .analysis-grid,
    .tips-grid,
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-card,
    .strategy-card,
    .analysis-card {
        padding: 25px 20px;
    }
    
    .broker-card {
        padding: 25px 20px;
    }
    
    /* Mobile table scrolling */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    table thead {
        display: table-header-group;
    }
    
    table tbody {
        display: table-row-group;
    }
    
    table th,
    table td {
        min-width: 120px;
        padding: 10px 8px;
        font-size: 14px;
    }
    
    /* Mobile buttons */
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .category-hero {
        padding: 80px 0 40px;
    }
    
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-section,
    .pairs-section,
    .crypto-section,
    .markets-section,
    .strategies-section,
    .brokers-section,
    .analysis-section,
    .tips-section,
    .advantages-section,
    .risk-section,
    .factors-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .advantages-section h2,
    .risk-section h2,
    .factors-section h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .advantage-card,
    .risk-card,
    .factor-card {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

/* Quiz Section Styles */
.quiz-section {
    background: #f8f9fa;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quiz-questions {
    margin-bottom: 30px;
}

.quiz-question {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.quiz-question-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.quiz-question-number {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    margin-right: 12px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.quiz-question-text {
    flex: 1;
    color: #333;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quiz-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.quiz-option input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.quiz-option.selected {
    border-color: #667eea;
    background: #f0f4ff;
}

.quiz-option.correct {
    border-color: #28a745;
    background: #d4edda;
}

.quiz-option.incorrect {
    border-color: #dc3545;
    background: #f8d7da;
}

.quiz-option.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.quiz-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.quiz-results {
    margin-top: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.quiz-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.quiz-percentage {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.quiz-feedback {
    font-size: 1.1rem;
    color: #333;
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.quiz-results-summary {
    margin-top: 25px;
    text-align: left;
}

.quiz-result-item {
    padding: 15px;
    margin-bottom: 12px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #e1e5e9;
}

.quiz-result-item.correct-answer {
    border-left-color: #28a745;
}

.quiz-result-item.incorrect-answer {
    border-left-color: #dc3545;
}

.quiz-result-question {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.quiz-result-answer {
    font-size: 0.95rem;
    color: #666;
}

.quiz-result-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

.quiz-result-status.correct {
    background: #d4edda;
    color: #155724;
}

.quiz-result-status.incorrect {
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 25px 20px;
    }
    
    .quiz-question {
        padding: 20px;
    }
    
    .quiz-question-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quiz-question-number {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .quiz-actions {
        flex-direction: column;
    }
    
    .quiz-actions .btn {
        width: 100%;
    }
}
