/*
Theme Name: Kadence Child - AlgoZilla
Template: kadence
Description: AlgoZilla dark theme — Bitget-inspired teal/cyan palette
Version: 1.0.0
Author: AlgoZilla
*/

/* ─── Global Color Overrides ─────────────────────────────────────── */
:root {
    --global-palette1: #03AAC7;        /* accent teal */
    --global-palette6: #F1493F;        /* alert red */
    --global-palette11: #26C99B;       /* success green */
    --global-palette13: #F1493F;       /* error red */
}

/* ─── Header — dark, sleek ───────────────────────────────────────── */
#masthead,
.site-header,
header.site-header,
.site-header-wrap,
#wrapper > header,
.kadence-header-wrap {
    background: #0c0c0c !important;
    border-bottom: 1px solid rgba(3, 170, 199, 0.12) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Header nav text */
.header-navigation .menu > li > a,
.primary-menu-container .menu > li > a,
.main-navigation .menu > li > a,
#masthead a,
.site-header a {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.header-navigation .menu > li > a:hover,
.primary-menu-container .menu > li > a:hover,
.main-navigation .menu > li > a:hover,
#masthead a:hover,
.site-header a:hover {
    color: #03AAC7 !important;
}

/* Active menu item */
.header-navigation .menu > li.current-menu-item > a,
.primary-menu-container .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-item > a {
    color: #03AAC7 !important;
}

/* ─── Body & Content ─────────────────────────────────────────────── */
body, .site {
    background-color: #0c0c0c !important;
}

.content-area,
.site-container,
.entry-content-wrap {
    background-color: transparent !important;
}

/* ─── Links & Accents — replace ALL green with teal ──────────────── */
a {
    color: #03AAC7;
    transition: color 0.2s ease;
}

a:hover {
    color: #04c5e8;
}

/* ─── Buttons — sleek teal ───────────────────────────────────────── */
.wp-block-button__link,
.kb-button,
.button,
input[type="submit"],
.wp-element-button {
    background-color: #03AAC7 !important;
    color: #0c0c0c !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.wp-block-button__link:hover,
.kb-button:hover,
.button:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
    background-color: #04c5e8 !important;
    box-shadow: 0 4px 16px rgba(3, 170, 199, 0.3) !important;
    transform: translateY(-1px);
}

/* Outline/ghost buttons */
.is-style-outline .wp-block-button__link,
.kb-button.kb-btn-outline {
    background-color: transparent !important;
    border: 1.5px solid #03AAC7 !important;
    color: #03AAC7 !important;
}

.is-style-outline .wp-block-button__link:hover,
.kb-button.kb-btn-outline:hover {
    background-color: rgba(3, 170, 199, 0.1) !important;
}

/* ─── Cards & Sections — #00212e teal tint ───────────────────────── */
.wp-block-kadence-column > .kt-inside-inner-col,
.kadence-column .kt-inside-inner-col {
    border: 1px solid rgba(3, 170, 199, 0.08);
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-kadence-column:hover > .kt-inside-inner-col,
.kadence-column:hover .kt-inside-inner-col {
    border-color: rgba(3, 170, 199, 0.2);
    box-shadow: 0 4px 24px rgba(3, 170, 199, 0.06);
}

/* ─── Footer — clean dark ────────────────────────────────────────── */
.site-footer-wrap,
footer.site-footer {
    background: #0c0c0c !important;
    border-top: 1px solid rgba(3, 170, 199, 0.08) !important;
}

.site-footer a {
    color: #a0aec0 !important;
}

.site-footer a:hover {
    color: #03AAC7 !important;
}

/* ─── Typography — cleaner ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
}

/* Override any remaining inline #00d4aa */
[style*="color:#00d4aa"],
[style*="color: #00d4aa"] {
    color: #03AAC7 !important;
}

[style*="background-color:#00d4aa"],
[style*="background-color: #00d4aa"],
[style*="background:#00d4aa"],
[style*="background: #00d4aa"] {
    background-color: #03AAC7 !important;
    background: #03AAC7 !important;
}

/* ─── Scrollbar — subtle teal ────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0c0c0c;
}

::-webkit-scrollbar-thumb {
    background: #1c2333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #03AAC7;
}

/* ─── Selection ──────────────────────────────────────────────────── */
::selection {
    background: rgba(3, 170, 199, 0.3);
    color: #ffffff;
}


/* ═══════════════════════════════════════════════════════════════════
   AlgoZilla Component Classes — az-* prefix, BEM-like
   Added: 2026-04-16
   Purpose: Reusable class system replacing inline styles
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Layout ─────────────────────────────────────────────────────── */
.az-page { font-family: inherit; color: #e2e8f0; background: #0c0c0c; }
.az-container { max-width: 1200px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 0 20px; }
.az-container--narrow { max-width: 1200px; }
.az-container--wide { max-width: 1400px; }
.az-section { padding: 60px 20px; }
.az-section--compact { padding: 40px 20px; }

/* ─── Typography ─────────────────────────────────────────────────── */
.az-h1 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 8px; line-height: 1.2; }
.az-h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.az-h3 { font-size: 18px; font-weight: 700; color: #03AAC7; margin: 0 0 8px; }
.az-subtitle { color: #e6e6ef; font-size: 14px; margin: 0 0 24px; }
.az-prose { color: #a0aec0; font-size: 15px; line-height: 1.75; }
.az-prose p { margin-bottom: 16px; }
.az-text-muted { color: #8b93a0; }
.az-text-center { text-align: center; }
.az-text-left { text-align: left; }

/* ─── Hero (grid + glow background) ─────────────────────────────── */
.az-hero { position: relative; padding: 48px 20px 32px; overflow: hidden; background: #0c0c0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0L0 0 0 40' fill='none' stroke='rgba(3,170,199,0.06)' stroke-width='.5'/%3E%3C/svg%3E") repeat; }
.az-hero::before { content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(ellipse at center, rgba(3,170,199,.12) 0%, rgba(3,170,199,.04) 40%, transparent 70%); pointer-events: none; }
.az-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, #0c0c0c); pointer-events: none; }
.az-hero__inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.az-hero--tall { padding: 80px 20px 60px; }
.az-hero--center .az-hero__inner { text-align: center; }

/* ─── Cards ──────────────────────────────────────────────────────── */
.az-card { background: #111827; border: 1px solid #1c2333; border-radius: 8px; padding: 20px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.az-card:hover { border-color: #03AAC7; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(3,170,199,0.08); }
.az-card--lg { padding: 24px; }
.az-card--clickable { text-decoration: none; display: block; cursor: pointer; }
.az-card--clickable { cursor: pointer; }
.az-card__title { color: #fff; font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.az-card__text { color: #e6e6ef; font-size: 13px; line-height: 1.5; }
.az-card__footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #1c2333; margin-top: 12px; }

/* ─── Grids ──────────────────────────────────────────────────────── */
.az-grid { display: grid; gap: 16px; }
.az-grid--2 { grid-template-columns: repeat(2, 1fr); }
.az-grid--3 { grid-template-columns: repeat(3, 1fr); }
.az-grid--4 { grid-template-columns: repeat(4, 1fr); }
.az-grid--5 { grid-template-columns: repeat(5, 1fr); }
.az-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 1024px) { .az-grid--5 { grid-template-columns: repeat(3, 1fr); } .az-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .az-grid--5, .az-grid--4, .az-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .az-grid--5, .az-grid--4, .az-grid--3, .az-grid--2 { grid-template-columns: 1fr; } }

/* ─── Buttons ────────────────────────────────────────────────────── */
.az-btn { display: inline-block; font-weight: 700; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-size: 16px; transition: all 0.2s; cursor: pointer; text-align: center; }
.az-btn--primary { background: #03AAC7; color: #fff; border: none; }
.az-btn--primary:hover { opacity: 0.85; }
.az-btn--outline { background: transparent; color: #03AAC7; border: 2px solid #03AAC7; }
.az-btn--outline:hover { background: rgba(3,170,199,0.1); }
.az-btn--sm { padding: 8px 20px; font-size: 13px; border-radius: 6px; }
.az-btn--block { display: block; width: 100%; }
.az-btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Stats / KPIs ───────────────────────────────────────────────── */
.az-stat { text-align: center; }
.az-stat__value { font-size: 24px; font-weight: 800; }
.az-stat__value--green { color: #01bc8d; }
.az-stat__value--red { color: #f1493f; }
.az-stat__value--teal { color: #03AAC7; }
.az-stat__label { font-size: 12px; color: #e6e6ef; margin-top: 2px; }
.az-stats-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.az-stats-bar { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; padding: 24px; }

/* ─── Step Cards (How it Works) ──────────────────────────────────── */
.az-step { text-align: center; }
.az-step__number { width: 48px; height: 48px; border-radius: 50%; background: rgba(3,170,199,0.12); color: #03AAC7; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 1px solid rgba(3,170,199,0.25); }
.az-step__title { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.az-step__text { color: #e6e6ef; font-size: 13px; line-height: 1.5; }

/* ─── Badges & Pills ─────────────────────────────────────────────── */
.az-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 16px; border-radius: 20px; letter-spacing: 0.5px; }
.az-badge--teal { background: rgba(3,170,199,0.1); border: 1px solid rgba(3,170,199,0.25); color: #03AAC7; }
.az-badge--green { background: rgba(1,188,141,0.15); color: #01bc8d; }
.az-badge--popular { background: #03AAC7; color: #0c0c0c; font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 10px; text-transform: uppercase; }

/* ─── Trust Indicators ───────────────────────────────────────────── */
.az-trust-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.az-trust-item { display: flex; align-items: center; gap: 6px; color: #e6e6ef; font-size: 13px; }
.az-trust-icon { color: #03AAC7; }

/* ─── Disclaimer ─────────────────────────────────────────────────── */
.az-disclaimer { background: #111827; border-radius: 8px; padding: 16px; font-size: 11px; color: #8b93a0; line-height: 1.6; }
.az-disclaimer p { margin: 0 0 8px; }
.az-disclaimer p:last-child { margin: 0; }
.az-disclaimer strong { color: #a0aec0; }
.az-disclaimer a { color: #03AAC7; }

/* ─── CTA Box ────────────────────────────────────────────────────── */
.az-cta-box { text-align: center; padding: 40px 20px; }
.az-cta-box .az-h2 { margin-bottom: 12px; }
.az-cta-box .az-subtitle { margin-bottom: 24px; }

/* ─── Table Styling ──────────────────────────────────────────────── */
.az-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.az-table thead tr { background: #111827; border-bottom: 2px solid #03AAC7; }
.az-table th { padding: 12px; color: #a0aec0; font-weight: 700; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; }
.az-table td { padding: 10px 12px; border-bottom: 1px solid #1c2333; color: #e2e8f0; }
.az-table tr:hover { background: rgba(3,170,199,0.03); }
.az-table .text-right { text-align: right; }

/* ─── Pricing Cards ──────────────────────────────────────────────── */
.az-pricing { text-align: center; }
.az-pricing__tier { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #e6e6ef; margin-bottom: 8px; }
.az-pricing__price { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.az-pricing__price span { font-size: 14px; font-weight: 400; color: #e6e6ef; }
.az-pricing__sub { color: #e6e6ef; font-size: 13px; margin-bottom: 20px; }
.az-pricing__list { list-style: none; padding: 0; margin: 0; text-align: left; }
.az-pricing__list li { padding: 4px 0; font-size: 13px; color: #a0aec0; }
.az-pricing__list .check { color: #03AAC7; }
.az-pricing__list .cross { color: #8b93a0; }
.az-pricing__list .cross span { color: #8b93a0; }
.az-card--featured { border: 2px solid #03AAC7; }

/* ─── Feature List (check/cross) ─────────────────────────────────── */
.az-feature-list { list-style: none; padding: 0; margin: 0; }
.az-feature-list li { padding: 6px 0; font-size: 13px; color: #a0aec0; }
.az-feature-list .az-check { color: #03AAC7; margin-right: 6px; }
.az-feature-list .az-cross { color: #8b93a0; margin-right: 6px; }
.az-feature-list .az-disabled { color: #8b93a0; }

/* ─── Exchange Comparison (Start Trading) ────────────────────────── */
.az-exchange { position: relative; }
.az-exchange__name { margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.az-exchange__table { width: 100%; font-size: 13px; border-collapse: collapse; }
.az-exchange__table td { padding: 6px 0; }
.az-exchange__table td:first-child { color: #e6e6ef; }
.az-exchange__table td:last-child { color: #fff; font-weight: 600; text-align: right; }
.az-exchange__recommended { position: absolute; top: 12px; right: 12px; }

/* ─── Info Box ───────────────────────────────────────────────────── */
.az-info { background: #111827; border: 1px solid #1c2333; border-radius: 8px; padding: 16px; margin-bottom: 24px; }
.az-info__title { font-size: 13px; color: #03AAC7; font-weight: 700; margin: 0 0 8px; }
.az-info__text { font-size: 12px; color: #e6e6ef; line-height: 1.6; margin: 0; }

/* ─── Link Arrow ─────────────────────────────────────────────────── */
.az-link { color: #03AAC7; font-size: 12px; font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.az-link:hover { opacity: 0.8; }
.az-link--lg { font-size: 15px; }

/* ─── Utility ────────────────────────────────────────────────────── */
.az-mt-0 { margin-top: 0 !important; }
.az-mb-0 { margin-bottom: 0 !important; }
.az-mb-sm { margin-bottom: 12px; }
.az-mb-md { margin-bottom: 24px; }
.az-mb-lg { margin-bottom: 40px; }
.az-pt-0 { padding-top: 0; }
.az-green { color: #01bc8d; }
.az-red { color: #f1493f; }
.az-teal { color: #03AAC7; }
.az-white { color: #fff; }
.az-bold { font-weight: 700; }

/* ─── Global Page Overrides — replaces per-page inline style blocks ── */
.page .content-area,
.single .content-area,
.archive .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }

.page .entry-hero-container-inner,
.single .entry-hero-container-inner { display: none !important; }

/* ─── Entry Content — full width ─────────────────────────────────── */
.entry-content { max-width: none !important; }
.entry-content-wrap { max-width: none !important; padding: 0 !important; }

/* ─── Changelog entry header ─────────────────────────────────────── */
.az-changelog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.az-changelog-date { font-size: 12px; color: #8b93a0; }

/* ─── Divider ────────────────────────────────────────────────────── */
.az-divider { border: 0; border-top: 1px solid #1c2333; margin: 16px 0; }

/* ─── Additional font size utilities ─────────────────────────────── */
.az-text-xs { font-size: 11px; }
.az-text-sm { font-size: 13px; }
.az-text-lg { font-size: 18px; }
.az-text-xl { font-size: 24px; }
.az-text-2xl { font-size: 32px; }
.az-text-3xl { font-size: 36px; }
.az-text-4xl { font-size: 44px; }

/* ─── Additional margin utilities ────────────────────────────────── */
.az-mt-sm { margin-top: 8px; }
.az-mt-md { margin-top: 16px; }
.az-mt-lg { margin-top: 24px; }

/* ─── Prose — list and blockquote styling ────────────────────────── */
.az-prose ul, .az-prose ol { color: #a0aec0; padding-left: 20px; margin-bottom: 16px; }
.az-prose li { margin-bottom: 6px; }
.az-prose h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 32px 0 12px; }
.az-prose h3 { font-size: 18px; font-weight: 700; color: #03AAC7; margin: 24px 0 8px; }
.az-prose a { color: #03AAC7; }
.az-prose strong { color: #e2e8f0; }
.az-prose blockquote { border-left: 3px solid #03AAC7; padding: 16px 20px; margin: 16px 0; background: rgba(3,170,199,0.04); color: #a0aec0; font-size: 14px; }

/* ─── Legal pages (disclaimer, terms, privacy) ───────────────────── */
.az-legal-section { margin-bottom: 32px; }
.az-legal-section h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.az-legal-section p, .az-legal-section li { color: #a0aec0; font-size: 15px; line-height: 1.75; }
.az-legal-section ul, .az-legal-section ol { padding-left: 20px; margin: 8px 0 16px; }
.az-legal-section li { margin-bottom: 6px; }

/* ─── Hero details row (concrete stats below hero) ───────────────── */
.az-hero-details { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; font-size: 13px; color: #a0aec0; }
.az-hero-detail { white-space: nowrap; }
.az-hero-detail-sep { color: #8b93a0; font-size: 11px; }
@media (max-width: 600px) { .az-hero-details { flex-direction: column; gap: 4px; } .az-hero-detail-sep { display: none; } }
/* ─── Backtest Archive — Stats Bar ────────────────────────────────── */
.az-bt-stats-bar { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.az-bt-stat-pill { background: rgba(255,255,255,0.05); border: 1px solid #1c2333; border-radius: 8px; padding: 8px 20px; text-align: center; }
.az-bt-stat-pill__label { display: block; font-size: 11px; color: #8b93a0; text-transform: uppercase; letter-spacing: 0.5px; }
.az-bt-stat-pill__value { display: block; font-size: 18px; font-weight: 800; color: #fff; }

/* ─── Backtest Archive — Filter Pills ────────────────────────────── */
.az-bt-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
.az-bt-filter { background: #111827; border: 1px solid #1c2333; color: #a0aec0; padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.az-bt-filter:hover { border-color: #03AAC7; color: #fff; }
.az-bt-filter.active { background: #03AAC7; color: #0c0c0c; border-color: #03AAC7; }
.az-bt-filter__count { font-size: 11px; opacity: 0.7; margin-left: 4px; }

/* ─── Backtest Archive — Coin Grid ───────────────────────────────── */
.az-bt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
@media (max-width: 480px) { .az-bt-grid { grid-template-columns: 1fr; } }

/* ─── Backtest Archive — Coin Card ───────────────────────────────── */
.az-bt-coin-card { text-decoration: none !important; }
.az-bt-coin-card__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.az-bt-coin-card__ticker { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.az-bt-coin-card__fullname { display: block; font-size: 12px; color: #8b93a0; }
.az-bt-coin-card__price { text-align: right; }
.az-bt-coin-card__price-val { display: block; font-size: 14px; font-weight: 700; color: #e2e8f0; }
.az-bt-coin-card__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid #1c2333; border-bottom: 1px solid #1c2333; }
.az-bt-coin-card__metric { text-align: center; }
.az-bt-coin-card__metric-label { display: block; font-size: 10px; color: #8b93a0; text-transform: uppercase; letter-spacing: 0.5px; }
.az-bt-coin-card__metric-value { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.az-bt-coin-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.az-bt-coin-card__badge { font-size: 11px; color: #8b93a0; background: rgba(255,255,255,0.04); padding: 3px 10px; border-radius: 10px; }

/* ─── Backtest Single — Breadcrumb ───────────────────────────────── */
.az-bt-breadcrumb { font-size: 13px; margin-bottom: 12px; }
.az-bt-breadcrumb .az-text-muted { margin: 0 6px; }

/* ─── Backtest Single — Tables ───────────────────────────────────── */
.az-bt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.az-bt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.az-bt-table th { text-align: left; padding: 10px 12px; color: #8b93a0; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #1c2333; white-space: nowrap; }
.az-bt-table td { padding: 10px 12px; color: #e2e8f0; border-bottom: 1px solid rgba(28,35,51,0.5); white-space: nowrap; }
.az-bt-table tbody tr:hover { background: rgba(3,170,199,0.04); }
.az-bt-table--trades td { font-size: 12px; }

/* ─── Regime Dot ─────────────────────────────────────────────────── */
.az-bt-regime-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* --- Signal Price Bar --- */
.az-signal-price-bar { background: #111827; border-bottom: 1px solid #1c2333; padding: 16px 0; }
.az-signal-price-bar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.az-signal-price-bar__main { display: flex; align-items: baseline; gap: 12px; }
.az-signal-price-bar__price { font-size: 28px; font-weight: 800; color: #fff; }
.az-signal-price-bar__change { font-size: 16px; font-weight: 700; }
.az-signal-price-bar__stats { display: flex; gap: 24px; flex-wrap: wrap; }
.az-signal-price-bar__stat { display: flex; flex-direction: column; font-size: 13px; color: #e2e8f0; }
.az-signal-price-bar__stat-label { font-size: 10px; color: #8b93a0; text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 768px) { .az-signal-price-bar__inner { flex-direction: column; align-items: flex-start; } }

/* ─── Consistency overhaul (17 apr 2026) ─── */
/* ─── Consistent Button System ────────────────────────────────────── */
/* Override: all az-btn buttons use the same foundation */
.az-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; padding: 12px 28px; border-radius: 6px; text-decoration: none !important; font-size: 14px; transition: all 0.2s ease; cursor: pointer; text-align: center; line-height: 1.4; border: 2px solid transparent; }
.az-btn--primary { background: #03AAC7; color: #0c0c0c !important; border-color: #03AAC7; }
.az-btn--primary:hover { background: #04c5e8; border-color: #04c5e8; box-shadow: 0 4px 16px rgba(3,170,199,0.3); transform: translateY(-1px); }
.az-btn--outline { background: transparent; color: #03AAC7 !important; border-color: #03AAC7; }
.az-btn--outline:hover { background: rgba(3,170,199,0.1); box-shadow: 0 4px 16px rgba(3,170,199,0.15); transform: translateY(-1px); }
.az-btn--ghost { background: transparent; color: #a0aec0 !important; border-color: #1c2333; }
.az-btn--ghost:hover { border-color: #03AAC7; color: #03AAC7 !important; }
.az-btn--sm { padding: 8px 18px; font-size: 12px; border-radius: 5px; }
.az-btn--lg { padding: 16px 36px; font-size: 16px; }
.az-btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Consistent Card System ─────────────────────────────────────── */
.az-card { background: #111827; border: 1px solid #1c2333; border-radius: 8px; padding: 20px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.az-card:hover { border-color: rgba(3,170,199,0.4); }
.az-card--clickable:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(3,170,199,0.08); }
.az-card--featured { border: 2px solid #03AAC7; }

/* ─── Consistent Link System ─────────────────────────────────────── */
.az-link { color: #03AAC7; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.az-link:hover { color: #04c5e8; }

/* ─── CTA Section (bottom of every page) ─────────────────────────── */
.az-cta-section { padding: 48px 20px; background: linear-gradient(180deg, #0c0c0c 0%, #0f1419 50%, #0c0c0c 100%); }
.az-cta-section .az-h2 { margin-bottom: 8px; }
.az-cta-section .az-btn-group { margin-top: 24px; }

/* ─── Stat value color hierarchy ─────────────────────────────────── */
.az-stat__value { font-size: 24px; font-weight: 800; color: #fff; }
.az-stat__value--green { color: #01bc8d; }
.az-stat__value--red { color: #f1493f; }
.az-stat__value--teal { color: #03AAC7; }
.az-stat__label { font-size: 12px; color: #a0aec0; margin-top: 2px; }
.az-green { color: #01bc8d !important; }
.az-red { color: #f1493f !important; }
.az-teal { color: #03AAC7 !important; }

/* ─── Strategy Card improvements ─────────────────────────────────── */
.az-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.az-card--clickable .az-stat__value { font-size: 18px; }
.az-card--clickable .az-stat__label { font-size: 11px; }

/* ─── Responsive btn-group ───────────────────────────────────────── */
@media (max-width: 480px) {
    .az-btn-group { flex-direction: column; }
    .az-btn { width: 100%; }
}

/* ─── Layout overhaul + full-width sections (17 apr v2) ─── */
/* ─── Consistent Button System ────────────────────────────────────── */
/* Override: all az-btn buttons use the same foundation */
.az-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; padding: 12px 28px; border-radius: 6px; text-decoration: none !important; font-size: 14px; transition: all 0.2s ease; cursor: pointer; text-align: center; line-height: 1.4; border: 2px solid transparent; }
.az-btn--primary { background: #03AAC7; color: #fff !important; border-color: #03AAC7; }
.az-btn--primary:hover { background: #04c5e8; border-color: #04c5e8; color: #fff !important; box-shadow: 0 4px 16px rgba(3,170,199,0.3); transform: translateY(-1px); }
.az-btn--outline { background: transparent; color: #03AAC7 !important; border-color: #03AAC7; }
.az-btn--outline:hover { background: rgba(3,170,199,0.1); box-shadow: 0 4px 16px rgba(3,170,199,0.15); transform: translateY(-1px); }
.az-btn--ghost { background: transparent; color: #a0aec0 !important; border-color: #1c2333; }
.az-btn--ghost:hover { border-color: #03AAC7; color: #03AAC7 !important; }
.az-btn--sm { padding: 8px 18px; font-size: 12px; border-radius: 5px; }
.az-btn--lg { padding: 16px 36px; font-size: 16px; }
.az-btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Consistent Card System ─────────────────────────────────────── */
.az-card { background: #111827; border: 1px solid #1c2333; border-radius: 8px; padding: 20px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.az-card:hover { border-color: rgba(3,170,199,0.4); }
.az-card--clickable:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(3,170,199,0.08); }
.az-card--featured { border: 2px solid #03AAC7; }

/* ─── Consistent Link System ─────────────────────────────────────── */
.az-link { color: #03AAC7; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.az-link:hover { color: #04c5e8; }

/* ─── CTA Section (bottom of every page) ─────────────────────────── */
.az-cta-section { padding: 48px 20px; background: linear-gradient(180deg, #0c0c0c 0%, #0f1419 50%, #0c0c0c 100%); }
.az-cta-section .az-h2 { margin-bottom: 8px; }
.az-cta-section .az-btn-group { margin-top: 24px; }

/* ─── Stat value color hierarchy ─────────────────────────────────── */
.az-stat__value { font-size: 24px; font-weight: 800; color: #fff; }
.az-stat__value--green { color: #01bc8d; }
.az-stat__value--red { color: #f1493f; }
.az-stat__value--teal { color: #03AAC7; }
.az-stat__label { font-size: 12px; color: #a0aec0; margin-top: 2px; }
.az-green { color: #01bc8d !important; }
.az-red { color: #f1493f !important; }
.az-teal { color: #03AAC7 !important; }

/* ─── Card Actions (bottom buttons in strategy cards) ────────────── */
.az-card-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #1c2333; }
.az-card-actions .az-btn { flex: 1; justify-content: center; }

/* ─── Strategy Card improvements ─────────────────────────────────── */
.az-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.az-card--clickable .az-stat__value { font-size: 18px; }
.az-card--clickable .az-stat__label { font-size: 11px; }

/* ─── Responsive btn-group ───────────────────────────────────────── */
@media (max-width: 480px) {
    .az-btn-group { flex-direction: column; }
    .az-btn { width: 100%; }
}


/* ─── Full-width layout system (17 apr) ─── */
/* ─── Full-width section system ───────────────────────────────────── */
/* Every az-section spans the full viewport width with alternating backgrounds */
.az-section, .az-section--compact { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; }

/* Alternating section backgrounds for visual rhythm */
.az-section--dark { background: #0c0c0c; }
.az-section--medium { background: #0f1219; }
.az-section--light { background: #111827; }
.az-section--accent { background: linear-gradient(180deg, #0a1628 0%, #0f1a2e 50%, #0a1628 100%); }
.az-section--gradient { background: linear-gradient(180deg, #0c0c0c 0%, #111827 50%, #0c0c0c 100%); }

/* Container inside full-width section */
.az-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.az-container--wide { max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.az-container--narrow { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Hero full-width */
.az-hero { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; }

/* CTA section full-width with accent bg */
.az-cta-section { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; padding: 56px 24px; background: #0f1219; border-top: 1px solid #1c2333; border-bottom: 1px solid #1c2333; }

/* Disclaimer full-width */
.az-disclaimer-section { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; background: #0a0b0f; padding: 32px 24px; }
.az-disclaimer-section .az-disclaimer { max-width: 1200px; margin: 0 auto; }

/* ─── Button color fix: primary = white text ─────────────────────── */
.az-btn--primary, .az-btn--primary:visited { color: #fff !important; }
.wp-block-button__link, .kb-button, .button, input[type="submit"], .wp-element-button { color: #fff !important; }

/* ─── Card actions in strategy grid ──────────────────────────────── */
.az-card-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #1c2333; }
.az-card-actions .az-btn { flex: 1; justify-content: center; }

/* ─── Stats bar pill improvements ────────────────────────────────── */
.az-stats-bar { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; padding: 24px; max-width: 1200px; margin: 0 auto; }

/* ─── Kadence content-area override for full-width ───────────────── */
.entry-content-wrap { padding: 0 !important; max-width: 100% !important; }
.content-style-boxed .entry-content-wrap { padding: 0 !important; }
.site-container { max-width: 100% !important; }
.entry.single-entry, .entry.loop-entry { box-shadow: none !important; }
/* ─── Full-width section system ───────────────────────────────────── */
/* Every az-section spans the full viewport width with alternating backgrounds */
.az-section, .az-section--compact { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; }

/* Alternating section backgrounds for visual rhythm */
.az-section--dark { background: #0c0c0c; }
.az-section--medium { background: #0f1219; }
.az-section--light { background: #111827; }
.az-section--accent { background: linear-gradient(180deg, #0a1628 0%, #0f1a2e 50%, #0a1628 100%); }
.az-section--gradient { background: linear-gradient(180deg, #0c0c0c 0%, #111827 50%, #0c0c0c 100%); }

/* Container inside full-width section */
.az-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.az-container--wide { max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.az-container--narrow { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Hero full-width */
.az-hero { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; }

/* CTA section full-width with accent bg */
.az-cta-section { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; padding: 56px 24px; background: #0f1219; border-top: 1px solid #1c2333; border-bottom: 1px solid #1c2333; }

/* Disclaimer full-width */
.az-disclaimer-section { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; box-sizing: border-box; background: #0a0b0f; padding: 32px 24px; }
.az-disclaimer-section .az-disclaimer { max-width: 1200px; margin: 0 auto; }

/* ─── Button color fix: primary = white text ─────────────────────── */
.az-btn--primary, .az-btn--primary:visited { color: #fff !important; }
.wp-block-button__link, .kb-button, .button, input[type="submit"], .wp-element-button { color: #fff !important; }

/* ─── Card actions in strategy grid ──────────────────────────────── */
.az-card-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #1c2333; }
.az-card-actions .az-btn { flex: 1; justify-content: center; }

/* ─── Stats bar pill improvements ────────────────────────────────── */
.az-stats-bar { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; padding: 24px; max-width: 1200px; margin: 0 auto; }

/* ─── Kadence content-area override for full-width ───────────────── */
.entry-content-wrap { padding: 0 !important; max-width: 100% !important; }
.content-style-boxed .entry-content-wrap { padding: 0 !important; }
.site-container { max-width: 100% !important; }
.entry.single-entry, .entry.loop-entry { box-shadow: none !important; }

/* ─── Strategy Cards v3 (17 apr) ─── */
/* ─── Strategy Card Grid ──────────────────────────────────────────── */
.az-strat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .az-strat-grid { grid-template-columns: 1fr; } }

/* ─── Strategy Card ──────────────────────────────────────────────── */
.az-strat-card { background: #111827; border: 1px solid #1c2333; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.az-strat-card:hover { border-color: rgba(3,170,199,0.4); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(3,170,199,0.08); }

/* Header: ticker + name + change */
.az-strat-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.az-strat-card__ticker { font-size: 18px; font-weight: 800; color: #fff; }
.az-strat-card__name { font-size: 12px; color: #8b93a0; margin-left: 6px; }
.az-strat-card__change { font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Price */
.az-strat-card__price { font-size: 15px; font-weight: 700; color: #e2e8f0; margin-bottom: 10px; }

/* Sparkline chart — full width, proper height */
.az-strat-card__chart { width: 100%; height: 48px; margin-bottom: 14px; }
.az-strat-spark { width: 100%; height: 100%; display: block; }

/* Metrics 2x2 grid */
.az-strat-card__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 12px 0; border-top: 1px solid #1c2333; }
.az-strat-card__metric { display: flex; justify-content: space-between; align-items: baseline; }
.az-strat-card__metric-label { font-size: 11px; color: #8b93a0; }
.az-strat-card__metric-value { font-size: 15px; font-weight: 700; color: #fff; }

/* Action buttons — always at the bottom */
.az-strat-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid #1c2333; }
.az-strat-card__actions .az-btn { flex: 1; text-align: center; justify-content: center; }
.site-container { padding: 0; }

/* ─── Pricing cards overhaul ─────────────────────────────────────── */
.az-pricing { background: #0d1117; border-color: #1c2333; position: relative; display: flex; flex-direction: column; }
.az-pricing .az-pricing__list { margin-bottom: auto; }
.az-pricing .az-btn { margin-top: 20px; }

/* Pro card — featured, larger, stands out */
.az-card--featured.az-pricing { background: #0f1a2e; border: 2px solid #03AAC7; transform: scale(1.04); z-index: 2; box-shadow: 0 8px 32px rgba(3,170,199,0.15); }
.az-card--featured .az-pricing__price { font-size: 42px; color: #03AAC7; }
.az-card--featured .az-badge--popular { margin-bottom: 4px; }

/* Check/cross styling */
.az-pricing .az-check { padding: 5px 0; font-size: 13px; color: #e2e8f0; }
.az-pricing .az-check::before { content: '\2713'; color: #01bc8d; margin-right: 8px; font-weight: 700; }
.az-pricing .az-cross { padding: 5px 0; font-size: 13px; color: #8b93a0; text-decoration: line-through; }
.az-pricing .az-cross::before { content: '\2717'; color: #8b93a0; margin-right: 8px; }

/* Button below pricing cards — more spacing */
.az-grid--4 + .az-text-center { padding-top: 32px; }
.az-btn--ghost { color: #e2e8f0 !important; }
.az-btn--ghost:hover { color: #03AAC7 !important; }
.az-strat-card__actions { margin-top: 20px; }

/* ─── Signal price bar: coin name prominent ──────────────────────── */
.az-signal-price-bar__coin { font-size: 22px; font-weight: 800; color: #fff; margin-right: 8px; }
.az-signal-price-bar__coin-name { font-size: 13px; color: #8b93a0; margin-right: 16px; }
.az-signal-price-bar__main { align-items: baseline; }

/* ─── Content page improvements ──────────────────────────────────── */
/* Prose text on content pages needs better readability */
.az-page .az-prose { max-width: 800px; }
.az-page .az-hero .az-prose { max-width: 700px; margin: 0 auto; }

/* Steps cards on start-trading */
.az-step { position: relative; padding-left: 48px; }
.az-step .az-card__title { color: #03AAC7; }

/* Exchange cards — better contrast */
.az-exchange { background: #0d1117; }
.az-exchange__name { font-size: 20px; }

/* About page — team/method cards */
.az-page .az-info { background: #0f1219; border: 1px solid #1c2333; }

/* Feature list checkmarks */
.az-feature-list li { padding: 6px 0; font-size: 14px; color: #e2e8f0; }
.az-check::before { content: '\2713 '; color: #01bc8d; font-weight: 700; margin-right: 6px; }
.az-cross::before { content: '\2717 '; color: #8b93a0; margin-right: 6px; }
.az-disabled { color: #8b93a0 !important; }

/* Full-width fix for az-page wrapper inside Kadence content area */
.az-page { margin: 0 -24px; }
@media (max-width: 768px) { .az-page { margin: 0 -16px; } }

/* ─── Site Footer Menu ───────────────────────────────────────────── */
.az-site-footer { background: #0a0b0f; border-top: 1px solid #1c2333; padding: 40px 24px 20px; }
.az-site-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .az-site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .az-site-footer__inner { grid-template-columns: 1fr; } }
.az-site-footer__col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 12px; }
.az-site-footer__col p { font-size: 13px; color: #8b93a0; line-height: 1.6; margin: 0 0 8px; }
.az-site-footer__col a { display: block; font-size: 13px; color: #a0aec0; text-decoration: none; padding: 3px 0; transition: color 0.2s; }
.az-site-footer__col a:hover { color: #03AAC7; }
.az-site-footer__bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid #1c2333; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #8b93a0; }
.az-site-footer__bottom a { color: #8b93a0; text-decoration: none; }
.az-site-footer__bottom a:hover { color: #03AAC7; }

/* ─── Gradient title styling (inspired by LuxAlgo) ───────────────── */
.az-h1-gradient { font-size: 40px; font-weight: 800; line-height: 1.2; margin: 0 0 12px; background: linear-gradient(135deg, #fff 0%, #03AAC7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.az-h2-gradient { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; background: linear-gradient(135deg, #fff 30%, #03AAC7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@media (max-width: 768px) { .az-h1-gradient { font-size: 28px; } .az-h2-gradient { font-size: 22px; } }

/* Accent word in titles */
.az-title-accent { color: #03AAC7; }
.az-title-glow { text-shadow: 0 0 20px rgba(3,170,199,0.3); }

/* Bigger hero titles */
.az-hero .az-h1 { font-size: 40px; }
.az-hero .az-h1-gradient { font-size: 48px; }
@media (max-width: 768px) { .az-hero .az-h1 { font-size: 28px; } .az-hero .az-h1-gradient { font-size: 32px; } }

/* Short disclaimer bar (LuxAlgo style) */
.az-short-disclaimer { background: #0a0b0f; border-top: 1px solid #1c2333; padding: 20px 24px; font-size: 12px; color: #8b93a0; line-height: 1.6; }
.az-short-disclaimer .az-container { max-width: 1200px; margin: 0 auto; }
.az-short-disclaimer a { color: #03AAC7; }

/* Fix disclaimer alignment with footer columns */
.az-short-disclaimer { padding: 24px 0; }
.az-short-disclaimer .az-site-footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* Hide Kadence default footer content (now empty) */
.site-bottom-footer-wrap { display: none !important; }
.az-short-disclaimer .az-site-footer__inner { padding: 0; }

/* Homepage hero background image */
.az-hero--tall { background: #0c0c0c url('/wp-content/uploads/2026/04/hero-image.jpg') center center / cover no-repeat !important; }
.az-hero--tall::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); pointer-events: none; }
.az-hero--tall::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to bottom, transparent, #0c0c0c); pointer-events: none; }
.az-hero--tall .az-hero__inner { position: relative; z-index: 1; }
@media (max-width: 768px) { .az-hero--tall { background-image: url('/wp-content/uploads/2026/04/hero-image-small.jpg') !important; } }
.az-hero--tall { position: relative !important; overflow: hidden; }

/* Hero image: override ALL inherited backgrounds, force full bleed */
.az-hero.az-hero--tall {
    width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    background: url('/wp-content/uploads/2026/04/hero-image.jpg') center center / cover no-repeat #0c0c0c !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Fix: parent containers must not clip full-width children */
.entry-content.single-content, .az-page { overflow: visible !important; }

/* Nuclear fix: every ancestor of hero must allow full bleed */
.content-area, .content-container, .site-main, .content-wrap,
.entry, .entry-content-wrap, .entry-content, .az-page {
    overflow: visible !important;
    max-width: 100% !important;
}
.entry-content-wrap { padding-left: 0 !important; padding-right: 0 !important; }

/* Hero overlay 80% opacity */
.az-hero--tall::before { background: rgba(0,0,0,0.80) !important; }

/* Fix hero full bleed: use vw calc instead of left/margin trick */
.az-hero.az-hero--tall {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Fix: Kadence site-container constrains to 1290px — override for full-width pages */
.page-id-38 .content-container.site-container,
.page-id-38 .content-wrap,
.page-id-38 .entry-content-wrap,
.page-id-38 .entry {
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
}
.page-id-38 #primary { padding: 0 !important; overflow: visible !important; }
.az-stat { background: rgba(255,255,255,0.04); border: 1px solid #1c2333; border-radius: 8px; padding: 12px 16px; }
.az-stat { background: rgba(0,0,0,0.25); border-color: rgba(3,170,199,0.15); }
.az-hero--tall { padding-top: 40px !important; }

/* Fix: az-page should not offset, hero breaks out on its own */
.az-page { margin: 0 !important; padding: 0 !important; }

/* Override: hero--tall overlay must cover full area, no width/transform from base */
.az-hero.az-hero--tall::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    background: rgba(0,0,0,0.80) !important;
    pointer-events: none;
}
.az-hero.az-hero--tall::before { background: rgba(0,0,0,0.6) !important; }
.az-hero.az-hero--tall::before { background: rgba(0,0,0,0.2) !important; }
.az-hero.az-hero--tall::before { background: rgba(0,0,0,0.33) !important; }
.az-ticker-wrap { height: 44px !important; }

/* Hero inner content: subtle glow backdrop */
.az-hero--tall .az-hero__inner {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(3,170,199,0.1);
    border-radius: 16px;
    padding: 40px 48px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 48px rgba(0,0,0,0.4), 0 0 80px rgba(3,170,199,0.06);
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 768px) { .az-hero--tall .az-hero__inner { padding: 24px 20px; } }

/* Revert: no glass box, just text shadow for readability */
.az-hero--tall .az-hero__inner {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 20px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.3);
}
.az-hero--tall .az-hero__inner {
    text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,0.5), 0 0 120px rgba(0,0,0,0.3) !important;
}

/* Soft radial vignette behind hero content */
.az-hero--tall .az-hero__inner {
    text-shadow: none !important;
}
.az-hero--tall .az-hero__inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.az-hero--tall .az-hero__inner { position: relative; }

/* Fix: vignette must be above the overlay but below text */
.az-hero--tall .az-hero__inner { z-index: 1 !important; }
.az-hero--tall .az-hero__inner::before { z-index: 0 !important; }
.az-hero--tall .az-hero__inner > * { position: relative; z-index: 1; }

/* Vignette: use the hero itself, not inner — guaranteed to render */
.az-hero.az-hero--tall::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 45%, transparent 75%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
.az-hero--tall .az-hero__inner { z-index: 1 !important; position: relative !important; }
/* Remove the broken inner::before */
.az-hero--tall .az-hero__inner::before { display: none !important; }
.az-hero.az-hero--tall::after {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, transparent 85%) !important;
}
.az-hero.az-hero--tall::before { background: rgba(0,0,0,0.20) !important; }
.az-hero.az-hero--tall::after {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 65%, transparent 95%) !important;
}

/* Hero variant for subpages: no background image, subtle teal glow */
.az-hero--tall:not(.az-hero--has-bg) {
    background: #0c0c0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0L0 0 0 40' fill='none' stroke='rgba(3,170,199,0.06)' stroke-width='.5'/%3E%3C/svg%3E") repeat !important;
}
.az-hero--tall:not(.az-hero--has-bg)::before {
    background: none !important;
}
.az-hero--tall:not(.az-hero--has-bg)::after {
    background: radial-gradient(ellipse at center top, rgba(3,170,199,0.08) 0%, transparent 60%) !important;
}

/* Background image only on homepage hero */
.az-hero--has-bg {
    background: #0c0c0c url('/wp-content/uploads/2026/04/hero-image.jpg') center center / cover no-repeat !important;
}
@media (max-width: 768px) {
    .az-hero--has-bg { background-image: url('/wp-content/uploads/2026/04/hero-image-small.jpg') !important; }
}

/* ─── Subpage hero: compact with gradient ────────────────────────── */
.az-hero--tall:not(.az-hero--has-bg) {
    background: linear-gradient(135deg, #0c0c0c 0%, #0a1628 40%, #0f1a2e 70%, #0c0c0c 100%) !important;
    padding: 32px 20px 28px !important;
}
.az-hero--tall:not(.az-hero--has-bg)::after {
    background: radial-gradient(ellipse at center, rgba(3,170,199,0.06) 0%, transparent 70%) !important;
}
.az-hero--tall:not(.az-hero--has-bg) .az-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── Subpage prose content: use full container width ────────────── */
.az-page .az-prose { max-width: 1200px !important; margin: 0 auto; }
.az-page .az-container .az-prose { max-width: 100% !important; }

/* ─── Consistent hero: Kadence page title matches az-hero style ─── */
.entry-hero-container-inner,
.kadence-page-title,
.page-hero-section {
    background: linear-gradient(135deg, #0c0c0c 0%, #0a1628 40%, #0f1a2e 70%, #0c0c0c 100%) !important;
    padding: 32px 20px 28px !important;
    border-bottom: 1px solid rgba(3,170,199,0.08);
}
.entry-hero-container-inner::before {
    background: radial-gradient(ellipse at center, rgba(3,170,199,0.06) 0%, transparent 70%) !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}
.entry-hero-container-inner .entry-header,
.entry-hero-container-inner .page-title {
    color: #fff !important;
    font-size: 36px !important;
    font-weight: 800 !important;
}

/* Price bar: tighter integration with hero */
.az-signal-price-bar {
    background: rgba(17,24,39,0.8) !important;
    border-bottom: 1px solid rgba(3,170,199,0.1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* All az-hero subtitles and prose: consistent alignment */
.az-hero .az-subtitle,
.az-hero .az-prose { text-align: center; }
.az-hero--center .az-hero__inner { text-align: center; }

/* ─── Indicator single page styling ──────────────────────────────── */
.single-az_indicator .entry-hero-container-inner {
    background: linear-gradient(135deg, #0c0c0c 0%, #0a1628 40%, #0f1a2e 70%, #0c0c0c 100%) !important;
    padding: 32px 20px 28px !important;
    text-align: center;
}
.single-az_indicator .entry-content-wrap { padding: 0 24px !important; }
.single-az_indicator .entry-content { max-width: 1200px; margin: 0 auto; }

/* Indicator single: bottom links as buttons */
.single-az_indicator .entry-content p:last-child {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #1c2333;
}
.single-az_indicator .entry-content p:last-child a {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 2px solid #1c2333;
    border-radius: 6px;
    color: #e2e8f0 !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s;
}
.single-az_indicator .entry-content p:last-child a:first-child {
    background: #03AAC7;
    border-color: #03AAC7;
    color: #fff !important;
}
.single-az_indicator .entry-content p:last-child a:hover {
    border-color: #03AAC7;
    color: #03AAC7 !important;
}
.single-az_indicator .entry-content p:last-child a:first-child:hover {
    background: #04c5e8;
    color: #fff !important;
}

/* Hero gradient: top-to-bottom instead of diagonal */
.az-hero--tall:not(.az-hero--has-bg) {
    background: linear-gradient(180deg, #0f1a2e 0%, #0a1222 50%, #0c0c0c 100%) !important;
}
.entry-hero-container-inner,
.kadence-page-title,
.page-hero-section {
    background: linear-gradient(180deg, #0f1a2e 0%, #0a1222 50%, #0c0c0c 100%) !important;
}
/* Hide middot separators between indicator buttons */
.single-az_indicator .entry-content p:last-child { font-size: 0; }
.single-az_indicator .entry-content p:last-child a { font-size: 13px; }

/* Hero gradient: dark top -> blue bottom, slight angle */
.az-hero--tall:not(.az-hero--has-bg),
.entry-hero-container-inner,
.kadence-page-title,
.page-hero-section {
    background: linear-gradient(160deg, #0c0c0c 0%, #0a1222 40%, #0f1a2e 100%) !important;
}

/* ─── Consistent text alignment sitewide ─────────────────────────── */
/* Hero: always centered */
.az-hero--center .az-hero__inner,
.az-hero--center .az-subtitle,
.az-hero--center .az-prose,
.az-hero--center .az-h1,
.az-hero--center .az-btn-group,
.az-hero--center .az-stats-row,
.az-hero--center .az-hero-details,
.az-hero--center .az-badge {
    text-align: center !important;
    justify-content: center;
}
.az-hero--center .az-hero__inner { max-width: 900px; margin: 0 auto; }

/* Kadence page hero: always centered */
.entry-hero-container-inner .entry-header { text-align: center !important; }

/* Body prose content: always left */
.az-page .az-section .az-prose,
.az-page .az-section .az-container .az-prose { text-align: left !important; }

/* Section headings: centered */
.az-section .az-text-center { text-align: center !important; }

/* ─── Subpage heroes + content: left aligned within container ────── */
.az-hero--tall:not(.az-hero--center) .az-hero__inner {
    text-align: left !important;
    max-width: 1200px;
    margin: 0 auto;
}
.az-hero--tall:not(.az-hero--center) .az-subtitle { text-align: left !important; }
.az-hero--tall:not(.az-hero--center) .az-btn-group { justify-content: flex-start; }

/* Kadence hero: left aligned on subpages */
body:not(.page-id-38) .entry-hero-container-inner .entry-header { text-align: left !important; max-width: 1200px; margin: 0 auto; }

/* Section headings on subpages: left */
body:not(.page-id-38) .az-section .az-text-center { text-align: left !important; }
body:not(.page-id-38) .az-section .az-btn-group { justify-content: flex-start; }

/* Force all prose/body text left on subpages */
body:not(.page-id-38) .az-prose,
body:not(.page-id-38) .az-prose p,
body:not(.page-id-38) .az-container .az-prose,
body:not(.page-id-38) .entry-content p { text-align: left !important; }

/* Fix: hero inner needs container padding */
.az-hero--tall .az-hero__inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Nuclear: ALL text left on subpages, no exceptions */
body:not(.page-id-38) p,
body:not(.page-id-38) .az-prose,
body:not(.page-id-38) .az-prose p,
body:not(.page-id-38) .az-text-muted,
body:not(.page-id-38) .az-subtitle {
    text-align: left !important;
}

/* Subpage hero: only title gets gradient bg, subtitle/prose inherits page bg */
.az-hero--tall:not(.az-hero--has-bg) {
    background: none !important;
    padding-bottom: 0 !important;
}
.az-hero--tall:not(.az-hero--has-bg) .az-h1,
.az-hero--tall:not(.az-hero--has-bg) .az-badge {
    position: relative;
}
/* Gradient only behind the title area via pseudo-element on the hero */
.az-hero--tall:not(.az-hero--has-bg)::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0;
    height: 100% !important;
    background: linear-gradient(160deg, #0c0c0c 0%, #0a1222 40%, #0f1a2e 100%) !important;
    z-index: 0 !important;
    transform: none !important;
    width: 100% !important;
}
.az-hero--tall:not(.az-hero--has-bg) .az-subtitle { color: #a0aec0; }

/* Kadence page hero on subpages: left aligned within container */
body:not(.page-id-38) .entry-hero-container-inner .entry-header {
    text-align: left !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}
body:not(.page-id-38) .entry-hero-container-inner .page-title {
    text-align: left !important;
}

/* Price bar: also within container */
.az-signal-price-bar .az-container {
    max-width: 1200px !important;
    padding: 0 24px !important;
}

/* ─── NUCLEAR: Everything left on non-homepage ────────────────────── */
body:not(.page-id-38) .entry-hero-container-inner,
body:not(.page-id-38) .entry-hero-container-inner .entry-header,
body:not(.page-id-38) .entry-hero-container-inner h1,
body:not(.page-id-38) .entry-hero-container-inner p,
body:not(.page-id-38) .entry-hero-container-inner .kadence-breadcrumbs {
    text-align: left !important;
}
body:not(.page-id-38) .entry-hero-container-inner .entry-header {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* CTA sections on subpages: left align */
body:not(.page-id-38) .az-cta-box,
body:not(.page-id-38) .az-section--compact .az-text-center,
body:not(.page-id-38) .az-section--compact h2,
body:not(.page-id-38) .az-section--compact p {
    text-align: left !important;
}
body:not(.page-id-38) .az-section--compact .az-btn-group {
    justify-content: flex-start !important;
}

/* Signal performance section: left */
body:not(.page-id-38) .az-section h2,
body:not(.page-id-38) .az-section p.az-subtitle,
body:not(.page-id-38) .az-section .az-text-muted {
    text-align: left !important;
}
body:not(.page-id-38) .az-section .az-btn-group {
    justify-content: flex-start !important;
}

/* ─── Header: logo + menu within 1200px container ────────────────── */
.site-header-row-container-inner,
.site-header-upper-inner-wrap,
.site-main-header-inner-wrap {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* ─── Hero title: more bottom padding ────────────────────────────── */
.az-hero--tall .az-hero__inner { padding-bottom: 24px !important; }

/* ─── Subtitle: more prominent ───────────────────────────────────── */
.az-subtitle {
    font-size: 16px !important;
    color: #a0aec0 !important;
    line-height: 1.6 !important;
    margin-top: 8px !important;
}
.site-container { padding: 0 !important; }

/* Header container: match content container exactly */
.site-header-row-container-inner,
.site-header-upper-inner-wrap,
.site-main-header-inner-wrap {
    max-width: 1248px !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* ─── GLOBAL: All containers 1400px + 20px margin ────────────────── */
.az-container, .az-container--wide, .az-container--narrow {
    max-width: 1400px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    .az-container, .az-container--wide, .az-container--narrow {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Header: same 1400px + 20px */
.site-header-row-container-inner,
.site-header-upper-inner-wrap,
.site-main-header-inner-wrap {
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    .site-header-row-container-inner,
    .site-header-upper-inner-wrap,
    .site-main-header-inner-wrap {
        margin: 0 auto !important;
    }
}

/* Hero inner: same */
.az-hero--tall .az-hero__inner {
    max-width: 1400px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (min-width: 1441px) {
    .az-hero--tall .az-hero__inner { margin-left: auto !important; margin-right: auto !important; }
}

/* Kadence hero: same */
body:not(.page-id-38) .entry-hero-container-inner .entry-header {
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    body:not(.page-id-38) .entry-hero-container-inner .entry-header { margin: 0 auto !important; }
}

/* Footer inner: same */
.az-site-footer__inner {
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
.az-short-disclaimer .az-site-footer__inner {
    max-width: 1400px !important;
    margin: 0 20px !important;
}
@media (min-width: 1441px) {
    .az-site-footer__inner,
    .az-short-disclaimer .az-site-footer__inner { margin: 0 auto !important; }
}

/* Signal price bar: same */
.az-signal-price-bar .az-container {
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    .az-signal-price-bar .az-container { margin: 0 auto !important; }
}

/* Active menu item: teal color */
.header-navigation .menu > li.current-menu-item > a,
.header-navigation .menu > li.current-menu-ancestor > a,
.header-navigation .menu > li.current_page_item > a,
.header-navigation .menu > li.current-menu-parent > a,
.primary-menu-container .menu > li.current-menu-item > a,
.primary-menu-container .menu > li.current-menu-ancestor > a {
    color: #03AAC7 !important;
    border-bottom: 2px solid #03AAC7;
    padding-bottom: 2px;
}
.az-ticker-wrap { height: 44px !important; }

/* Fix: active submenu item styling */
.sub-menu li.current-menu-item > a,
.sub-menu li.current_page_item > a,
ul.sub-menu li.current-menu-item > a {
    color: #03AAC7 !important;
    background: rgba(3,170,199,0.1) !important;
}
/* Remove any default Kadence active highlight */
.header-navigation .menu li.current-menu-item > a,
.primary-menu-container .menu li li.current-menu-item > a {
    background: transparent !important;
    border-bottom: none !important;
}
/* Only top-level gets the underline */
.header-navigation .menu > li.current-menu-item > a,
.header-navigation .menu > li.current-menu-ancestor > a {
    background: transparent !important;
}

/* ─── Indicator pages: align with global container ───────────────── */
.az-hero-inner,
.az-ind-archive,
.az-ind-filters,
.az-cat-section,
.az-featured-section,
.az-ind-grid {
    max-width: 1400px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}
@media (min-width: 1441px) {
    .az-hero-inner,
    .az-ind-archive {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Indicator hero: use same gradient as other subpages */
.az-hero-bg {
    background: linear-gradient(160deg, #0c0c0c 0%, #0a1222 40%, #0f1a2e 100%) !important;
    padding: 32px 0 28px !important;
}
.az-ind-title {
    text-align: left !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #fff !important;
}
.az-ind-subtitle {
    text-align: left !important;
    color: #a0aec0 !important;
    font-size: 16px !important;
}

/* Single indicator: same container */
.single-az_indicator .entry-content-wrap {
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    .single-az_indicator .entry-content-wrap { margin: 0 auto !important; }
}
.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 { margin: 0 0 0.5em !important; }
.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 { margin: 0.3em 0 0.5em !important; }

/* Subtitle weight */
.az-subtitle { font-weight: 600 !important; }

/* BTC signal page: Kadence hero centered - force left + container */
.single .entry-hero-container-inner .entry-header {
    text-align: left !important;
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    .single .entry-hero-container-inner .entry-header { margin: 0 auto !important; }
}

/* Omniscius page: content sections need container alignment */
.page-id-305 .az-section .az-container,
.page-id-305 .az-section--compact .az-container {
    max-width: 1400px !important;
    margin: 0 20px !important;
}
@media (min-width: 1441px) {
    .page-id-305 .az-section .az-container { margin: 0 auto !important; }
}

/* Signal coin pages: CTA + affiliate sections need container */
.az-cta-box {
    max-width: 1400px !important;
    margin: 0 20px !important;
}
@media (min-width: 1441px) {
    .az-cta-box { margin: 0 auto !important; }
}

/* Remove excessive spacing between sections */
.az-section + .az-section { margin-top: 0; }
.az-section--compact + .az-section--compact { margin-top: 0; }

/* Backtest performance cards on signal pages: tighter spacing */
.az-grid--4 { gap: 12px !important; }

/* Fix double bullets: when check/cross is a span (not a div), hide the ::before */
span.az-check::before, span.az-cross::before { display: none !important; }

/* ─── Kadence default pages: consistent container + hero ─────────── */
body:not(.page-id-38) .entry-content-wrap {
    max-width: 1400px !important;
    margin: 0 20px !important;
    padding: 0 !important;
}
@media (min-width: 1441px) {
    body:not(.page-id-38) .entry-content-wrap { margin: 0 auto !important; }
}

/* Fix: inner elements should not have own margins, parent handles container */
.az-hero-inner, .az-ind-archive, .az-ind-filters, .az-cat-section, .az-featured-section, .az-ind-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* Indicator pages: hero bg full-width, content contained via padding */
.az-hero-bg { padding: 32px 20px 28px !important; }
.az-hero-inner { max-width: 1400px !important; margin: 0 auto !important; }
.az-ind-archive { max-width: 1400px !important; margin: 0 auto !important; padding: 0 20px !important; }

/* ─── Selective centering on subpages ────────────────────────────── */
/* CTA sections: centered */
body:not(.page-id-38) .az-cta-section,
body:not(.page-id-38) .az-cta-section h2,
body:not(.page-id-38) .az-cta-section p,
body:not(.page-id-38) .az-cta-box,
body:not(.page-id-38) .az-cta-box h2,
body:not(.page-id-38) .az-cta-box p { text-align: center !important; }
body:not(.page-id-38) .az-cta-section .az-btn-group,
body:not(.page-id-38) .az-cta-box .az-btn-group { justify-content: center !important; }

/* Stats rows: centered */
body:not(.page-id-38) .az-stats-row,
body:not(.page-id-38) .az-stats-bar { justify-content: center !important; }

/* Pricing cards: centered header */
body:not(.page-id-38) .az-pricing { text-align: center; }

/* Badge: centered */
body:not(.page-id-38) .az-badge { display: inline-block; }

/* ─── Force all az-container to center properly ──────────────────── */
.az-container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ─── Two-column text sections: better visual separation ─────────── */
.az-grid--2 > div { padding: 0; }
.az-grid--2 .az-prose { font-size: 14px; line-height: 1.7; }
.az-grid--2 .az-h2 { font-size: 22px; margin-bottom: 12px; }

/* Add left accent border to each column for visual interest */
.az-grid--2 > div:first-child { padding-right: 24px; border-right: 1px solid #1c2333; }
.az-grid--2 > div:last-child { padding-left: 24px; }
@media (max-width: 768px) {
    .az-grid--2 > div:first-child { border-right: none; padding-right: 0; border-bottom: 1px solid #1c2333; padding-bottom: 24px; margin-bottom: 24px; }
    .az-grid--2 > div:last-child { padding-left: 0; }
}

/* ─── Performance Overview (Bitget-inspired) ─────────────────────── */
.az-perf-overview { display: flex; gap: 32px; align-items: flex-start; }
@media (max-width: 768px) { .az-perf-overview { flex-direction: column; } }

/* Donut wrapper */
.az-perf-donut-wrap { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 180px; }
.az-perf-donut-center { position: absolute; top: 50px; left: 50%; transform: translateX(-50%); text-align: center; pointer-events: none; }
.az-perf-donut-pct { font-size: 28px; font-weight: 800; color: #01bc8d; }
.az-perf-donut-label { font-size: 11px; color: #8b93a0; text-transform: uppercase; letter-spacing: 0.5px; }
.az-perf-donut-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; font-weight: 600; }

/* Stats grid */
.az-perf-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .az-perf-stats { grid-template-columns: repeat(2, 1fr); } }
.az-perf-stat-card { background: rgba(0,0,0,0.2); border: 1px solid #1c2333; border-radius: 8px; padding: 14px 16px; }
.az-perf-stat-card--highlight { border-color: #03AAC7; grid-column: span 3; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
@media (max-width: 640px) { .az-perf-stat-card--highlight { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 4px; } }
.az-perf-stat-card__label { font-size: 11px; color: #8b93a0; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.az-perf-stat-card__value { font-size: 22px; font-weight: 800; }
.az-perf-stat-card--highlight .az-perf-stat-card__value { font-size: 32px; }
.az-perf-stat-card__sub { font-size: 13px; color: #8b93a0; }

/* FAQ cards: consistent padding */
.az-grid--2 .az-card--lg { padding: 24px 28px; }
.az-grid--2 .az-card--lg .az-h3 { margin-bottom: 12px; }
.az-grid--2 .az-card--lg .az-prose { margin: 0; }
/* Chart zoom buttons */
.az-chart-controls { display: flex; gap: 6px; margin-bottom: 12px; }
.az-chart-btn { background: rgba(0,0,0,0.2); border: 1px solid #1c2333; color: #8b93a0; padding: 4px 12px; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.az-chart-btn:hover, .az-chart-btn.active { border-color: #03AAC7; color: #03AAC7; }
a.az-ticker-item:hover { background: rgba(3,170,199,0.08) !important; }
a.az-ticker-item:hover .coin { color: #03AAC7 !important; }

/* Chart zoom buttons - dark theme */
.az-chart-btn { background: #0d1117; border: 1px solid #1c2333; color: #a0aec0; }
.az-chart-btn:hover { border-color: #03AAC7; color: #fff; background: rgba(3,170,199,0.1); }
.az-chart-btn.active { background: #03AAC7; color: #fff; border-color: #03AAC7; }

/* Price bar: full width dark background */
.az-signal-price-bar { background: #0f1219 !important; border-bottom: 1px solid #1c2333 !important; width: 100vw !important; position: relative !important; left: 50% !important; margin-left: -50vw !important; padding: 12px 0 !important; }
.az-signal-price-bar .az-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.az-signal-price-bar__main { display: flex; align-items: baseline; gap: 12px; }

/* Sparkline in price bar */
.az-signal-price-bar__spark { height: 32px; width: 100px; }
.az-signal-price-bar__spark svg { width: 100%; height: 100%; }
/* Signal coin pages: Kadence hero left-aligned */
.single-page .entry-hero-container-inner .entry-header,
.page .entry-hero-container-inner .entry-header {
    text-align: left !important;
}

/* Price bar divider between market data and KPIs */
.az-signal-price-bar__divider { width: 1px; height: 28px; background: #1c2333; margin: 0 4px; }
/* Price bar KPI values */
.az-signal-price-bar__stats { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.az-signal-price-bar__stat { font-size: 13px; color: #e2e8f0; display: flex; flex-direction: column; }

/* Signal pages: force Kadence hero title left */
body:not(.page-id-38) .entry-hero-container-inner,
body:not(.page-id-38) .entry-hero-container-inner *,
body:not(.page-id-38) .kadence-breadcrumbs {
    text-align: left !important;
}
body:not(.page-id-38) .entry-hero-container-inner .entry-header {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* In-page navigation */
.az-inpage-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid #1c2333; }
.az-inpage-nav .az-btn { font-size: 12px; padding: 6px 14px; }
/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }
/* Offset for sticky header */
[id^='az-'] { scroll-margin-top: 80px; }

/* Indicator single: move importance to hero area */
.single-az_indicator .entry-hero-container-inner .entry-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.az-importance-hero { display: inline-flex; align-items: center; gap: 4px; background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.3); border-radius: 20px; padding: 4px 12px; font-size: 12px; color: #f0b429; font-weight: 600; }
.az-importance-hero .dot { width: 8px; height: 8px; border-radius: 50%; background: #1c2333; display: inline-block; }
.az-importance-hero .dot.filled { background: #f0b429; }

/* Second divider style for paper trade vs backtest separation */
.az-signal-price-bar__divider { width: 1px; height: 28px; background: #1c2333; flex-shrink: 0; }
.az-hero--tall .az-hero__inner { max-width: 1400px !important; padding-left: 20px !important; padding-right: 20px !important; }

/* Kadence hero title: 1400px to match everything */
body:not(.page-id-38) .entry-hero-container-inner .entry-header {
    max-width: 1400px !important;
    padding: 0 20px !important;
}

/* Trust badges under CTAs */
.az-trust-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.az-trust-badge { font-size: 11px; color: #8b93a0; background: rgba(3,170,199,0.06); border: 1px solid rgba(3,170,199,0.15); border-radius: 20px; padding: 4px 14px; display: inline-flex; align-items: center; gap: 4px; }
.az-trust-badge::before { content: '\2713'; color: #03AAC7; font-weight: 700; font-size: 10px; }
.az-hero__inner { position: relative; z-index: 1; max-width: 1400px !important; margin: 0 auto !important; padding: 0 20px !important; }
.az-trust-badge { color: #e2e8f0 !important; background: rgba(3,170,199,0.1); border-color: rgba(3,170,199,0.25); font-size: 12px; font-weight: 600; }

/* Guarantee badge */
.az-guarantee { display: flex; align-items: center; gap: 16px; background: rgba(1,188,141,0.06); border: 1px solid rgba(1,188,141,0.2); border-radius: 10px; padding: 16px 24px; margin: 24px auto; max-width: 600px; }
.az-guarantee__icon { font-size: 28px; flex-shrink: 0; }
.az-guarantee__text { font-size: 13px; color: #a0aec0; }
.az-guarantee__text strong { color: #01bc8d; font-size: 15px; display: block; margin-bottom: 2px; }

/* Logo bar */
.az-logo-bar { padding: 24px 0; border-top: 1px solid #1c2333; border-bottom: 1px solid #1c2333; }
.az-logo-bar__label { font-size: 11px; color: #8b93a0; text-transform: uppercase; letter-spacing: 1px; text-align: center; margin-bottom: 12px; }
.az-logo-bar__items { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.az-logo-bar__item { font-size: 14px; font-weight: 700; color: #e2e8f0; opacity: 0.5; transition: opacity 0.2s; }
.az-logo-bar__item:hover { opacity: 1; }

/* Calculator inputs */
.az-calc-input { background: #0d1117; border: 1px solid #1c2333; color: #fff; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 6px; width: 100%; cursor: pointer; }
.az-calc-input:focus { border-color: #03AAC7; outline: none; }

/* Coin icons */
.az-coin-icon { width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }
.az-coin-icon--sm { width: 16px; height: 16px; }
.az-coin-icon--lg { width: 28px; height: 28px; }
.az-coin-icon--xl { width: 36px; height: 36px; }

/* Menu: Start Trading as button */
.menu-item.az-menu-btn > a {
    background: #03AAC7 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    transition: all 0.2s !important;
}
.menu-item.az-menu-btn > a:hover {
    background: #04c5e8 !important;
    box-shadow: 0 4px 16px rgba(3,170,199,0.3) !important;
}

/* Separator before Start Trading button */
.menu-item.az-menu-btn { margin-left: 16px !important; padding-left: 16px !important; border-left: 1px solid #1c2333 !important; }

/* Pages with custom az-hero: completely remove Kadence entry-hero (not just hide) */
.az-page ~ .entry-hero-container-inner,
.az-page + .entry-hero-container-inner { display: none; }

/* Hide empty Kadence entry-hero container */
.entry-hero-container-inner:empty,
.entry-hero-container-inner:not(:has(*)) { display: none !important; }
.entry-hero:not(:has(.entry-header)) { display: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
/* Fallback for browsers without :has() */
.entry-hero-layout-none { display: none !important; }

/* Kill the empty Kadence hero section completely on pages with az-hero */
.page-hero-section:has(.entry-header:empty),
.entry-hero.page-hero-section { min-height: 0 !important; padding: 0 !important; }
.entry-hero .entry-header:empty { display: none !important; min-height: 0 !important; }
.entry-hero-container-inner:has(.entry-header:empty) { padding: 0 !important; min-height: 0 !important; }

/* Nuclear: when Kadence title is set to none, kill the entire entry-hero section */
.content-title-style-none .entry-hero,
.content-title-style-none .page-hero-section,
.content-title-style-none .entry-hero-container-inner {
    display: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Fix: content-area margin creates gap when hero is hidden */
.content-title-style-none .content-area { margin-top: 0 !important; }

/* Fix: the hero section might still have inline min-height from Kadence */
.content-title-style-none .entry-hero-section,
.content-title-style-none [class*='entry-hero'] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.content-title-style-none .single-content { margin-top: 0 !important; }

/* Logo bar: larger, more prominent */
.az-logo-bar { padding: 40px 0; }
.az-logo-bar__items { gap: 48px; }
.az-logo-bar__item { opacity: 0.4; transition: opacity 0.3s; text-decoration: none !important; }
.az-logo-bar__item:hover { opacity: 1; }
.az-logo-bar__logo { height: 28px; width: auto; filter: brightness(0) invert(1); }
.az-logo-bar__label { font-size: 12px; color: #8b93a0; text-align: center; margin-bottom: 20px; }
.az-step__number, .az-step__title, .az-card:has(.az-step__number) { text-align: center; } .az-card:has(.az-step__number) p { text-align: center; } .az-card:has(.az-step__number) .az-btn { display: block; margin: 12px auto 0; width: fit-content; }

/* Feature cards: consistent layout */
.az-feature-card { display: flex; flex-direction: column; padding: 28px !important; }
.az-feature-card__icon { font-size: 28px; font-weight: 800; color: #03AAC7; margin-bottom: 12px; }
.az-feature-card__title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.az-feature-card__text { font-size: 14px; color: #a0aec0; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.az-feature-card .az-btn { align-self: flex-start; margin-top: auto; }

/* Top 5 grid: force 5 columns on desktop */
@media (max-width: 1200px) { .az-strat-grid[style*='repeat(5'] { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px) { .az-strat-grid[style*='repeat(5'] { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .az-strat-grid[style*='repeat(5'] { grid-template-columns: 1fr !important; } }

/* Logo bar: exchange icons as round badges with name below */
.az-logo-bar__logo { height: 48px; width: 48px; border-radius: 12px; object-fit: cover; filter: none; }
.az-logo-bar__item { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.7; font-size: 12px; font-weight: 600; color: #8b93a0; }
.az-logo-bar__item:hover { opacity: 1; color: #e2e8f0; }
.az-logo-bar__item::after { content: attr(data-name); }

/* Logo bar: wide text logos, no round icons */
.az-logo-bar__logo { height: 28px !important; width: auto !important; border-radius: 0 !important; object-fit: contain !important; filter: none !important; }
.az-logo-bar__item { flex-direction: row !important; opacity: 0.45; }
.az-logo-bar__item:hover { opacity: 1; }
.az-logo-bar__item::after { display: none !important; }

/* Official exchange logos: round icon + name combo */
.az-logo-bar__item { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px; opacity: 0.6; padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,0.02); border: 1px solid #1c2333; transition: all 0.2s; }
.az-logo-bar__item:hover { opacity: 1; border-color: rgba(3,170,199,0.3); background: rgba(3,170,199,0.04); }
.az-logo-bar__logo { height: 32px !important; width: 32px !important; border-radius: 50% !important; object-fit: cover !important; flex-shrink: 0; }
.az-logo-bar__item::after { content: attr(data-name); font-size: 14px; font-weight: 700; color: #e2e8f0; }
.az-logo-bar__items { gap: 16px !important; }

/* SVG text logos (Telegram, Discord): no round bg, natural text */
.az-logo-bar__item[data-name=Telegram] .az-logo-bar__logo,
.az-logo-bar__item[data-name=Discord] .az-logo-bar__logo { border-radius: 0 !important; width: auto !important; background: transparent; }

/* Footer CTA buttons: same styling as rest of site */
.az-footer-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.az-footer-cta .az-btn { text-decoration: none !important; padding: 8px 18px; font-size: 13px; }
.az-footer-cta .az-btn--primary { color: #fff !important; }
.az-footer-cta .az-btn--outline { color: #03AAC7 !important; }
.az-ticker-wrap { height: 44px !important; }
.az-footer-logo { max-width: 140px; height: auto; margin-bottom: 16px; display: block; }

/* ============================================================
   MOBILE AUDIT 2026-04-18 — 4-agent consolidated fixes
   Rollback: restore style.css.bak_20260418_215713
   ============================================================ */

/* Hard-block horizontale overflow */
html, body { overflow-x: hidden; }

/* Fix hero 100vw bleed op iOS + page margin overflow */
@media (max-width: 768px) {
  .az-hero { width: 100% !important; left: 0 !important; margin-left: 0 !important; margin-right: 0 !important; padding: 32px 16px 24px !important; }
  .az-hero::before { width: 100vw; height: 60vw; top: -30%; }
  .az-page { margin: 0 !important; }
  .az-section { padding: 32px 16px; }
  .az-container, .az-container--narrow { max-width: 100% !important; padding: 0 16px; }
}

/* Typography responsive */
@media (max-width: 600px) {
  .az-h1 { font-size: clamp(22px, 6vw, 28px); line-height: 1.25; }
  .az-h2 { font-size: clamp(20px, 5vw, 24px); line-height: 1.3; }
  .az-prose { font-size: 14px; line-height: 1.65; }
}

/* Touch targets WCAG 2.5.5 (min 44x44px) */
@media (max-width: 768px) {
  .az-bt-filter, .az-chart-btn, .az-btn--sm {
    min-height: 44px; padding: 10px 16px; font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  #az-market-table a { min-height: 44px; padding: 12px 16px !important; font-size: 13px !important; display: inline-block; }
}

/* Markets tabel scroll wrapper */
.az-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#az-market-table { min-width: 700px; }
@media (max-width: 480px) {
  #az-market-table th, #az-market-table td { padding: 8px 6px; font-size: 11px; }
  /* Hide High/Low cols on very small viewports to keep essentials readable */
  #az-market-table th:nth-child(4), #az-market-table td:nth-child(4),
  #az-market-table th:nth-child(5), #az-market-table td:nth-child(5) { display: none; }
}

/* Trade-log scroll affordance */
@media (max-width: 768px) {
  .az-bt-table-wrap { position: relative; }
  .az-bt-table-wrap::after {
    content: "← swipe →"; display: block; text-align: center;
    font-size: 11px; color: #8b93a0; padding: 6px;
  }
}

/* Chart scaling fallback + highlight padding */
@media (max-width: 480px) {
  canvas, .plotly-graph-div, .js-plotly-plot { max-width: 100% !important; height: auto !important; }
  .az-chart-container { aspect-ratio: 16/10; }
  .az-perf-stat-card--highlight { padding: 14px 16px; gap: 6px; }
  .az-bt-stats-bar { gap: 8px; }
  .az-bt-stat-pill { padding: 6px 10px; flex: 1 1 calc(50% - 4px); }
  .az-bt-stat-pill__value { font-size: 16px; }
  .az-bt-stat-pill__label { font-size: 10px; }
}

/* Paper-trade new classes (for templates that get updated in Phase 2) */
.az-pt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.az-pt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 480px) {
  .az-pt-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .az-pt-table-wrap::after { content: "← swipe →"; display: block; text-align: center; font-size: 11px; color: #8b93a0; padding: 6px; }
}

/* Pricing scale fix op mobile */
@media (max-width: 480px) { .az-card--featured { transform: none; } }

/* Very narrow viewports (320-380px) — compact coin card metrics */
@media (max-width: 380px) {
  .az-bt-coin-card__metrics { gap: 4px; padding: 8px 0; }
  .az-bt-coin-card__metric-value { font-size: 14px; }
  .az-bt-coin-card__metric-label { font-size: 9px; }
}

/* === END MOBILE AUDIT FIXES === */

/* === PRICING PAGE (was orphan CSS in post_content) === */
.az-pricing__slots { font-size: 11px; color: #8b93a0; margin: 4px 0 10px; letter-spacing: 0.3px; }
.az-pricing__warranty { font-size: 12px; color: #01bc8d; text-align: center; margin-top: 10px; font-weight: 600; }
.az-pricing__sub { font-size: 12px; line-height: 1.5; color: #a0aec0; }
.az-grid.az-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .az-grid.az-grid--3 { grid-template-columns: 1fr; } }
