/* =============================================================
   EnergyDealWatch — Welcome Page CSS (redesigned)
   Replaces wp-content/themes/your-theme/css/welcome.css
============================================================= */

/* ── Reset scoped to welcome page ── */
.wlc-wrap, .wlc-wrap * { box-sizing: border-box; }

/* ── Full-width override — break out of theme container ── */
body.page-template-page-welcome .site-main,
body.page-template-page-welcome #main,
body.page-template-page-welcome .entry-content,
body.page-template-page-welcome .post-content,
body.page-template-page-welcome article.page {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Section base ── */
.wlc-section {
    width: 100%;
    padding: 36px 24px;
}
.wlc-section--white  { background: #ffffff; border-top: 0.5px solid #e8e4dd; }
.wlc-section--cream  { background: #f5f2eb; border-top: 0.5px solid #e0dbd0; }
.wlc-section--dark   { background: #0a0a0f; border-top: 0.5px solid rgba(255,255,255,0.06); }
.wlc-section--dark2  { background: #0a0a0f; border-top: 0.5px solid rgba(255,255,255,0.04); }

.wlc-sec-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #b8952a;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}
.wlc-sec-h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0f;
    text-align: center;
    margin-bottom: 6px;
}
.wlc-sec-h2--light { color: #f5f2eb; }
.wlc-sec-sub {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.6;
}
.wlc-sec-sub--light { color: rgba(255,255,255,0.42); }

/* ── HERO ── */
.wlc-hero {
    position: relative;
    background: #0a0a0f;
    overflow: hidden;
    padding: 56px 24px 60px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
}
#wlc-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.wlc-hero-inner { position: relative; z-index: 2; width: 100%; }
.wlc-hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #b8952a;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.wlc-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #f5f2eb;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.wlc-hero h1 em { color: #c8432a; font-style: normal; }
.wlc-hero-sub {
    font-size: 14px;
    color: rgba(245,242,235,0.58);
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto 30px;
}
.wlc-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 42px;
}
.wlc-btn-primary {
    background: #c8432a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.wlc-btn-primary:hover { background: #a83520; color: #fff; }
.wlc-btn-secondary {
    background: transparent;
    color: #f5f2eb;
    font-size: 13px;
    padding: 12px 28px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.22);
    text-decoration: none;
    display: inline-block;
}
.wlc-btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* Stats bar */
.wlc-stats-bar {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}
.wlc-stat-cell {
    background: rgba(255,255,255,0.04);
    padding: 16px 10px;
    text-align: center;
}
.wlc-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #b8952a;
    line-height: 1;
    margin-bottom: 4px;
}
.wlc-stat-lbl {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── DEALS GRID ── */
.wlc-deals-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto 16px;
}
.edw-deal-card {
    border: 0.5px solid #e0dbd0;
    border-radius: 4px;
    background: #fff;
    padding: 12px 14px;
    text-decoration: none;
    color: #0a0a0f;
    display: block;
    transition: border-color 0.12s;
}
.edw-deal-card:hover { border-color: #b8952a; }
.edw-deal-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.edw-deal-title {
    font-size: 12px;
    font-weight: 600;
    color: #0a0a0f;
    line-height: 1.35;
    margin-bottom: 5px;
}
.edw-deal-meta {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 6px;
}
.edw-status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.edw-dot-a { background: #b8952a; }
.edw-dot-c { background: #1e8449; }
.edw-dot-p { background: #1a5276; }

/* ── NEWS GRID ── */
.wlc-news-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1280px;
    margin: 0 auto 16px;
}
.edw-news-card {
    border: 0.5px solid #e0dbd0;
    border-radius: 4px;
    background: #fff;
    padding: 12px;
    text-decoration: none;
    color: #0a0a0f;
    display: flex;
    flex-direction: column;
    transition: border-color 0.12s;
}
.edw-news-card:hover { border-color: #b8952a; }
.edw-news-card--gated { opacity: 0.85; }
.edw-news-tag { display: inline-block; margin-bottom: 8px; }
.edw-news-title {
    font-size: 11px;
    font-weight: 600;
    color: #0a0a0f;
    line-height: 1.4;
    margin-bottom: 5px;
}
.edw-news-excerpt { font-size: 10px; color: #888; line-height: 1.5; margin-bottom: 8px; flex: 1; }
.edw-news-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.edw-news-date { font-family: 'DM Mono', monospace; font-size: 9px; color: #bbb; }
.edw-news-lock { font-family: 'DM Mono', monospace; font-size: 8px; color: #b8952a; }

/* ── SECTOR TAGS ── */
.edw-tag {
    font-family: 'DM Mono', monospace;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 2px 5px;
    border-radius: 2px;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.edw-t-amber  { background: #faeeda; color: #633806; }
.edw-t-green  { background: #e8f4e8; color: #27500a; }
.edw-t-blue   { background: #e4edf8; color: #0c447c; }
.edw-t-red    { background: #fae8e4; color: #791f1f; }
.edw-t-teal   { background: #e1f5ee; color: #085041; }
.edw-t-purple { background: #f0ebf8; color: #4a1d8a; }
.edw-t-gray   { background: #f1efe8; color: #444441; }
.edw-badge-pro  { font-family: 'DM Mono', monospace; font-size: 8px; padding: 2px 5px; border-radius: 2px; background: #b8952a; color: #fff; margin-left: auto; flex-shrink: 0; }
.edw-badge-free { font-family: 'DM Mono', monospace; font-size: 8px; padding: 2px 5px; border-radius: 2px; background: #e8f4e8; color: #27500a; margin-left: auto; flex-shrink: 0; }

/* ── CTA LINK ── */
.wlc-cta-link { text-align: center; }
.wlc-cta-link a {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #c8432a;
    text-decoration: none;
    letter-spacing: 0.04em;
}
.wlc-cta-link a:hover { text-decoration: underline; }

/* ── CHARTS SECTION ── */
.wlc-chart-metrics {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto 16px;
}
.wlc-cm {
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 12px;
    text-align: center;
}
.wlc-cmn { font-size: 18px; font-weight: 700; color: #b8952a; line-height: 1; margin-bottom: 3px; }
.wlc-cml { font-family: 'DM Mono', monospace; font-size: 8px; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; text-transform: uppercase; }
.wlc-chart-full {
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.wlc-charts-2col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 12px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.wlc-cc {
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 16px;
}
.wlc-ct {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: #b8952a;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.wlc-chart-canvas-wrap { position: relative; width: 100%; }
.wlc-chart-note {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin-top: 10px;
}
.wlc-chart-note a { color: #b8952a; text-decoration: none; }
.wlc-chart-note a:hover { text-decoration: underline; }

/* Legacy sparklines */
.wlc-spark-bar { display: inline-block; width: 4px; background: #b8952a; border-radius: 1px; margin: 0 1px; vertical-align: bottom; }
.wlc-hbar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wlc-hbar-name { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.6); width: 80px; flex-shrink: 0; }
.wlc-hbar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.wlc-hbar-fill { height: 100%; background: #b8952a; border-radius: 3px; }
.wlc-hbar-val { font-family: 'DM Mono', monospace; font-size: 10px; color: #b8952a; width: 50px; text-align: right; flex-shrink: 0; }

/* ── PERSONAS ── */
.wlc-personas {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    max-width: 1280px;
    margin: 20px auto 0;
}
.wlc-persona {
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border: 0.5px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    text-align: center;
}
.wlc-persona-icon { font-size: 20px; display: block; margin-bottom: 7px; color: #b8952a; }
.wlc-persona-title { font-size: 12px; font-weight: 600; color: #f5f2eb; margin-bottom: 4px; }
.wlc-persona-text { font-family: 'DM Mono', monospace; font-size: 9px; color: rgba(255,255,255,0.36); line-height: 1.4; }

/* ── OUTCOMES ── */
.wlc-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto 22px;
}
.wlc-outcome {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 0.5px solid #e0dbd0;
    border-radius: 4px;
}
.wlc-outcome-check { color: #1e8449; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.wlc-outcome-text { font-size: 12px; color: #0a0a0f; line-height: 1.45; }

/* ── TRUST STATS ── */
.wlc-trust-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    max-width: 1280px;
    margin: 0 auto;
}
.wlc-trust-stat {
    background: #fff;
    border: 0.5px solid #e0dbd0;
    border-radius: 6px;
    padding: 16px;
    border-left: 3px solid #b8952a;
}
.wlc-tsn { font-size: 22px; font-weight: 700; color: #b8952a; line-height: 1; margin-bottom: 4px; }
.wlc-tst { font-size: 11px; color: #555; line-height: 1.45; }

/* ── DATABASE PREVIEW ── */
.wlc-db-preview {
    max-width: 1280px;
    margin: 0 auto 16px;
    border: 0.5px solid #e0dbd0;
    border-radius: 6px;
    overflow: hidden;
}
.wlc-db-head {
    background: #0a0a0f;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wlc-db-ht { font-family: 'DM Mono', monospace; font-size: 9px; color: #b8952a; letter-spacing: 0.08em; }
.wlc-db-hs { font-family: 'DM Mono', monospace; font-size: 9px; color: rgba(255,255,255,0.35); }
.wlc-db-filters { background: #1a1a24; padding: 6px 14px; display: flex; gap: 6px; }
.wlc-db-filter { font-family: 'DM Mono', monospace; font-size: 9px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); padding: 3px 8px; border-radius: 2px; }
.wlc-db-body { background: #111118; }
.wlc-db-row { display: flex; align-items: center; padding: 8px 14px; border-bottom: 0.5px solid rgba(255,255,255,0.05); }
.wlc-db-row:last-child { border-bottom: none; }
.wlc-db-acq { font-size: 11px; font-weight: 600; color: #f5f2eb; flex: 2; min-width: 0; }
.wlc-db-tgt { font-size: 9px; color: rgba(245,242,235,0.45); display: block; margin-top: 1px; }
.wlc-db-sec { font-family: 'DM Mono', monospace; font-size: 8px; color: #b8952a; flex: 1; text-align: center; }
.wlc-db-ctry { font-size: 10px; color: rgba(245,242,235,0.45); flex: 1; text-align: center; }
.wlc-db-val { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 600; color: #b8952a; flex: 1; text-align: right; filter: blur(5px); user-select: none; }
.wlc-db-overlay { background: rgba(10,10,20,0.88); padding: 10px 14px; text-align: center; }
.wlc-db-overlay-text { font-family: 'DM Mono', monospace; font-size: 10px; color: #b8952a; letter-spacing: 0.06em; }

/* ── PRICING ── */
.wlc-pbox {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 0.5px solid #e0dbd0;
    border-radius: 6px;
    overflow: hidden;
}
.wlc-pa {
    background: #f9f7f2;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 0.5px solid #e0dbd0;
}
.wlc-pat { font-family: 'DM Mono', monospace; font-size: 10px; color: #888; line-height: 1.5; }
.wlc-pat strong { color: #b8952a; }
.wlc-pb { padding: 20px; }
.wlc-pamt { font-size: 32px; font-weight: 700; color: #0a0a0f; text-align: center; }
.wlc-pper { font-family: 'DM Mono', monospace; font-size: 11px; color: #999; display: block; text-align: center; margin-bottom: 16px; }
.wlc-pfeats { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.wlc-pf { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #0a0a0f; line-height: 1.4; }
.wlc-pfc { color: #1e8449; flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.wlc-pfo { font-size: 10px; color: #888; }
.wlc-pcta {
    display: block;
    width: 100%;
    background: #c8432a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 13px;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 8px;
}
.wlc-pcta:hover { background: #a83520; color: #fff; }
.wlc-pnote { font-family: 'DM Mono', monospace; font-size: 9px; color: #bbb; text-align: center; }

/* ── FAQ ── */
.wlc-faq-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.wlc-faq-item { padding: 12px 16px; background: #fff; border: 0.5px solid #e0dbd0; border-radius: 4px; }
.wlc-faq-q { font-size: 12px; font-weight: 600; color: #0a0a0f; margin-bottom: 3px; }
.wlc-faq-a { font-size: 11px; color: #666; line-height: 1.5; }

/* ── EMPTY STATE ── */
.edw-empty { font-size: 12px; color: #888; text-align: center; padding: 20px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .wlc-deals-grid-wrap  { grid-template-columns: 1fr; }
    .wlc-news-grid-wrap   { grid-template-columns: repeat(3, 1fr); }
    .wlc-stats-bar        { grid-template-columns: repeat(2,1fr); }
    .wlc-personas         { grid-template-columns: repeat(3, 1fr); }
    .wlc-charts-2col      { grid-template-columns: 1fr; }
    .wlc-trust-stats      { grid-template-columns: 1fr; }
    .wlc-outcomes         { grid-template-columns: 1fr; }
    .wlc-chart-metrics    { grid-template-columns: repeat(2,1fr); }
    .wlc-hero h1          { font-size: 26px; }
}

.edw-container{
    width:100%;
    max-width:1280px;   /* or 1400px */
    margin:0 auto;
    padding:0 32px;
    box-sizing:border-box;
}