/*
Theme Name: ZenithFX Pro
Theme URI: https://zenthfx.com/
Author: ZenithFX
Author URI: https://zenthfx.com/
Description: Premium forex, futures & crypto affiliate theme for introducing brokers, featuring live charts, news widgets, and a content-rich trading academy.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenithfx
Tags: blog, one-column, two-columns, right-sidebar, responsive-layout, custom-logo, custom-menu, featured-images
*/

/* Basic reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #050816;
    color: #f5f7fb;
    line-height: 1.6;
}

a {
    color: #4fd1c5;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 8, 22, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-description {
    font-size: 0.8rem;
    color: #9ca3af;
}

.primary-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
}

.primary-nav a {
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover {
    background: rgba(148, 163, 184, 0.16);
    text-decoration: none;
}

.btn,
.button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    background: linear-gradient(135deg, #22c55e, #f97316, #3b82f6, #ec4899);
    color: #050816;
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.45);
}

.btn:hover,
.button:hover,
.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.6);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(148, 163, 184, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.65);
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c4b5fd;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.4rem, 3vw + 1.4rem, 3.2rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero-title span.gradient {
    background: linear-gradient(135deg, #22c55e, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: #9ca3af;
    max-width: 32rem;
    margin-bottom: 1.4rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-card {
    border-radius: 1.5rem;
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.25), transparent 60%),
                #020617;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.85);
}

.hero-card-title {
    font-size: 0.95rem;
    text-transform: uppercase;
   letter-spacing: 0.14em;
    color: #c4b5fd;
    margin-bottom: 0.5rem;
}

.hero-card-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-mini-card {
    padding: 0.65rem 0.7rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.78rem;
}

.hero-mini-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.hero-mini-value {
    font-weight: 600;
}

.hero-risk-note {
    font-size: 0.7rem;
    color: #9ca3af;
    border-radius: 0.9rem;
    padding: 0.6rem 0.7rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(148, 163, 184, 0.5);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1.75rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.3rem;
    margin: 0;
}

.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #c4b5fd;
    margin-bottom: 0.25rem;
}

.section-description {
    font-size: 0.9rem;
    color: #9ca3af;
    max-width: 30rem;
}

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

.market-card {
    border-radius: 1.1rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), transparent 55%),
                #020617;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.market-card h3 {
    margin: 0;
    font-size: 1rem;
}

.market-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pill {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.8);
}

.risk-banner {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.5);
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.9rem 1.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

.risk-banner strong {
    color: #f5f7fb;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 2.25rem;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
    gap: 1.75rem;
}

.site-main article {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 1.1rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    margin-bottom: 1.25rem;
}

.site-main article .entry-title {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}

.entry-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.entry-content {
    font-size: 0.9rem;
}

.sidebar {
    position: sticky;
    top: 72px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget {
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.85rem;
}

.widget-title {
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: #020617;
    padding: 1.5rem 1.5rem 1.75rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-bottom {
    max-width: 1200px;
    margin: 1rem auto 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.7rem;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.85);
}

.tradingview-widget-container {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #020617;
}

.tv-embed-label {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 0.4rem;
    text-align: right;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 1.75rem;
    }
    .hero-card {
        order: -1;
    }
    .content-area {
        grid-template-columns: minmax(0, 1fr);
    }
    .sidebar {
        position: static;
    }
    .site-header-inner {
        flex-wrap: wrap;
    }
    .primary-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}
