/* ============================================================
   BM Pro Trading Theme — Main Stylesheet
   Palette: deep charcoal + gold accent
   ============================================================ */

:root {
    --bg: #0b0d12;
    --bg-2: #0f1218;
    --bg-3: #151a23;
    --surface: #171c26;
    --surface-2: #1e2532;
    --border: #262d3b;
    --border-2: #333c4d;
    --text: #e7ebf3;
    --muted: #9aa3b2;
    --primary: #e2b13c;
    --primary-2: #f0c657;
    --primary-dark: #b98d24;
    --success: #35d18f;
    --danger: #ff5a68;
    --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--primary-2); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; letter-spacing: -.02em; color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }

/* ============ HEADER ============ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11,13,18,.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-brand .brand-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-family: 'Sora', sans-serif; font-size: 1.15rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: grid; place-items: center; color: #111; font-size: 1rem; }
.custom-logo { max-height: 50px; width: auto; }
.site-navigation .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-navigation .menu > li > a { display: block; padding: 10px 14px; color: var(--muted); font-weight: 500; font-size: .95rem; border-radius: 8px; transition: all .18s; }
.site-navigation .menu > li > a:hover, .site-navigation .menu > li.current-menu-item > a { color: #fff; background: rgba(255,255,255,.04); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .94rem; border: 1px solid transparent; cursor: pointer; transition: all .2s ease; text-decoration: none; }
.btn-primary { background: var(--primary); color: #0b0d12; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(226,177,60,.5); }
.btn-outline { background: transparent; color: #fff; border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; gap: 5px; padding: 10px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; }

/* ============ HERO ============ */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.hero-bg-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(226,177,60,.15), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(226,177,60,.1); border: 1px solid rgba(226,177,60,.25); color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero-title { margin: 0 0 20px; }
.hero-title strong, .hero-title em { color: var(--primary); font-style: normal; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.5rem; color: #fff; font-family: 'Sora'; }
.hero-trust span { color: var(--muted); font-size: .85rem; }

.hero-visual { position: relative; height: 500px; }
.glass-card { position: absolute; background: rgba(23,28,38,.6); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.floating-card { animation: float 6s ease-in-out infinite; }
.card-a { top: 20px; left: 20px; width: 280px; animation-delay: 0s; }
.card-b { top: 200px; right: 0; width: 260px; animation-delay: -2s; }
.card-c { bottom: 20px; left: 60px; width: 220px; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; }
.chart-title i { color: var(--primary); margin-right: 4px; }
.chart-badge { padding: 3px 10px; border-radius: 6px; font-size: .78rem; font-weight: 600; }
.chart-badge.up { background: rgba(53,209,143,.15); color: var(--success); }
.chart-line { width: 100%; height: 90px; }
.stat-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; color: var(--muted); }
.stat-row strong { color: #fff; font-family: 'Sora'; }
.progress { height: 6px; background: rgba(255,255,255,.06); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); border-radius: 999px; }
.calc-mini label { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.calc-mini .calc-value { font-family: 'Sora'; font-size: 1.9rem; font-weight: 700; color: var(--primary); }
.calc-mini small { color: var(--muted); font-size: .78rem; }

/* ============ TICKER ============ */
.ticker { overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.ticker-track { display: flex; gap: 40px; animation: scroll 60s linear infinite; white-space: nowrap; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { color: var(--muted); font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.ticker-item.up { color: var(--success); }
.ticker-item.down { color: var(--danger); }

/* ============ SECTION HEAD ============ */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-eyebrow { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 999px; font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .1em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }

/* ============ FEATURES ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px 28px; background: linear-gradient(180deg, var(--surface), var(--bg-3)); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .3s, border-color .3s; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary-dark); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(226,177,60,.1); display: grid; place-items: center; color: var(--primary); font-size: 1.25rem; margin-bottom: 20px; }
.feature-card h3 { margin: 0 0 10px; }
.feature-card p { color: var(--muted); margin: 0 0 18px; }
.feature-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ============ CTA ============ */
.cta-section { padding: 60px 0 100px; }
.cta-card { position: relative; padding: 50px 48px; background: linear-gradient(135deg, #1a1f2b, #0f1218); border: 1px solid var(--border); border-radius: 24px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(226,177,60,.2), transparent 60%); pointer-events: none; }
.cta-card h2 { margin: 0 0 8px; }
.cta-card p { color: var(--muted); margin: 0; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ FAQ ============ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--primary-dark); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: #fff; font-family: 'Sora'; list-style: none; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .3s; color: var(--primary); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: 14px 0 0; }

/* ============ FOOTER ============ */
.site-footer { padding: 80px 0 30px; background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--border); }
.footer-tagline { color: var(--muted); margin: 16px 0; max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.social:hover { color: var(--primary); border-color: var(--primary); }
.footer-widget-title { color: #fff; font-family: 'Sora'; font-size: 1rem; margin: 0 0 16px; }
.footer-list, .footer-widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a, .footer-widget a { color: var(--muted); }
.footer-list a:hover, .footer-widget a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; }
.footer-bottom .disclaimer { opacity: .75; }

/* ============ PAGE / BLOG ============ */
.page-hero { padding: 100px 0 60px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-bg-grid, .page-hero .hero-bg-glow { position: absolute; }
.page-hero .hero-bg-glow { top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(226,177,60,.15), transparent 60%); pointer-events: none; }
.page-hero .hero-bg-grid { inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero.small { padding: 70px 0 40px; }
.page-title { margin: 12px 0 0; }

/* ============ HUB CARDS (homepage) ============ */
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hub-card { display: flex; flex-direction: column; padding: 32px 26px; background: linear-gradient(180deg, var(--surface), var(--bg-3)); border: 1px solid var(--border); border-radius: 20px; text-decoration: none; color: var(--text); transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.hub-card::before { content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(226,177,60,.15), transparent 60%); opacity: 0; transition: opacity .3s; }
.hub-card:hover { transform: translateY(-6px); border-color: var(--primary-dark); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.hub-card:hover::before { opacity: 1; }
.hub-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #0b0d12; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 20px; }
.hub-card h3 { margin: 0 0 10px; font-size: 1.2rem; color: #fff; }
.hub-card p { color: var(--muted); margin: 0 0 20px; flex: 1; }
.hub-cta { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; font-size: .94rem; transition: gap .2s; }
.hub-card:hover .hub-cta { gap: 10px; }
@media (max-width: 1080px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .hub-grid { grid-template-columns: 1fr; } }

/* ============ EA CARDS (used on EAs page) ============ */
.bmpro-ea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bmpro-ea-card { background: linear-gradient(180deg, var(--surface), var(--bg-3)); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .3s, border-color .3s; }
.bmpro-ea-card:hover { transform: translateY(-3px); border-color: var(--primary-dark); }
.bmpro-ea-card .ea-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(226,177,60,.1); color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 16px; }
.bmpro-ea-card h3 { margin: 0 0 8px; color: #fff; font-size: 1.15rem; }
.bmpro-ea-card p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }
.bmpro-ea-card .ea-meta { display: flex; gap: 12px; color: var(--muted); font-size: .82rem; margin-bottom: 16px; flex-wrap: wrap; }
.bmpro-ea-card .ea-meta strong { color: #fff; }
.bmpro-ea-card .ea-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bmpro-ea-empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: 16px; }
.bmpro-ea-empty i { font-size: 2.2rem; color: var(--primary); display: block; margin-bottom: 14px; }
@media (max-width: 900px) { .bmpro-ea-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bmpro-ea-grid { grid-template-columns: 1fr; } }

/* Step cards (used on EAs and elsewhere) */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 28px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.step-n { font-family: 'Sora'; font-size: 2.4rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.step-card h3 { margin: 0 0 6px; }
.step-card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .step-grid { grid-template-columns: 1fr; } }

.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, border-color .3s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--primary-dark); }
.post-thumb img { width: 100%; height: 220px; object-fit: cover; }
.post-body { padding: 22px; }
.post-meta { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.post-title { margin: 0 0 10px; font-size: 1.15rem; }
.post-title a { color: #fff; }
.post-title a:hover { color: var(--primary); }
.post-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; }

.single-title { font-size: 2.4rem; }
.single-content { max-width: 780px; margin: 0 auto; }
.single-content p { color: var(--muted); font-size: 1.05rem; }
.single-content h2, .single-content h3 { margin-top: 2em; }
.single-thumb { max-width: 900px; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; }

/* ============ FORMS (shared with plugin) ============ */
input[type=text], input[type=number], input[type=email], input[type=password], input[type=date], input[type=search], input[type=url], select, textarea {
    width: 100%; padding: 12px 14px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); color: #fff; font: inherit; transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--primary); }
label { color: var(--muted); font-size: .88rem; font-weight: 500; display: block; margin-bottom: 6px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .hero-inner, .content-grid, .footer-grid, .feature-grid { grid-template-columns: 1fr; }
    .feature-grid { gap: 16px; }
    .hero-visual { display: none; }
    .post-grid { grid-template-columns: 1fr; }
    .menu-toggle { display: inline-flex; }
    .site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 20px; }
    .site-navigation.open { display: block; }
    .site-navigation .menu { flex-direction: column; gap: 4px; }
    .section { padding: 60px 0; }
    .cta-card { padding: 32px 24px; text-align: center; justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    .hero-trust { flex-wrap: wrap; gap: 24px; }
    .header-actions .btn-ghost { display: none; }
}
