﻿/* Exness Forex Trading Platform - Global Currency Theme */
/* Colors: White + Yellow + World Map */

:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFC107;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --green-up: #00c853;
    --red-down: #ff1744;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-yellow);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--dark-bg);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Hero Section */
.hero-section {
    margin-top: 70px;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    overflow: hidden;
}

.world-map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="%23FFD700" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.currency-flow {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.currency-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
}

.currency-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.currency-item h3 {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

/* Trading Advantages */
.advantages-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.advantages-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-yellow);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.advantage-card p {
    color: var(--text-light);
}

/* Currency Pairs Section */
.currency-pairs-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-button.active {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-bg);
}

.tab-button:hover {
    border-color: var(--primary-yellow);
}

.pairs-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pair-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
    cursor: pointer;
}

.pair-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.pair-flags {
    font-size: 2rem;
}

.pair-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-bg);
}

.pair-info .spread {
    color: var(--green-up);
    font-size: 0.9rem;
}

.leverage-badge {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

/* Spread & Leverage Table */
.spread-table-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.spread-table {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

thead {
    background: var(--dark-bg);
    color: var(--white);
}

th, td {
    padding: 1.5rem;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

tbody tr:hover {
    background: var(--light-gray);
}

/* Trading Hours */
.trading-hours-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.hours-visualization {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.session-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.session-card h3 {
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.session-card .time {
    font-size: 1.2rem;
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.session-card .liquidity {
    color: var(--text-light);
}

/* Educational Resources */
.education-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.education-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.education-card-content {
    padding: 1.5rem;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.education-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary-yellow);
    font-weight: 600;
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-bg);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Articles Section */
.articles-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.articles-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.article-card h3 a {
    color: var(--dark-bg);
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h3 a:hover {
    color: var(--primary-yellow);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--dark-bg);
    text-decoration: none;
}

/* Activity Modal */
.activity-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.activity-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-image {
    width: 100%;
    cursor: pointer;
}

.modal-text {
    padding: 2rem;
    text-align: center;
}

.modal-text h2 {
    color: var(--dark-bg);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-button {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--dark-bg);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Risk Disclosure */
.risk-disclosure {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 3rem auto;
    max-width: 1400px;
    border-radius: 5px;
}

.risk-disclosure h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.risk-disclosure p {
    color: #856404;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .advantages-grid,
    .pairs-grid,
    .education-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.75rem;
    }
}

/* List Page Styles */
.list-header {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.list-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.articles-list {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.article-list-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
}

.article-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.article-list-item a {
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    flex: 1;
}

.article-list-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    list-style: none;
}

.pagination li a {
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark-bg);
    transition: all 0.3s;
}

.pagination li a:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

/* Show Page Styles */
.article-header {
    margin-top: 70px;
    background: var(--light-gray);
    padding: 3rem 2rem;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-light);
    display: flex;
    gap: 1rem;
}

.article-content {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.related-articles {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.related-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.attention {
    list-style: none;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.attention li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.attention li:last-child {
    border-bottom: none;
}

.attention li a {
    color: var(--dark-bg);
    text-decoration: none;
    transition: color 0.3s;
}

.attention li a:hover {
    color: var(--primary-yellow);
}

