/* ============================================================
   BLAKE'S EMPORIUMS — HOME PAGE (front-page.php)
   Hero B "Midnight Centred" — exact gradient colours preserved
   ============================================================ */

/* ── HERO SECTION ───────────────────────────────────────── */
.be-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* EXACT Hero B gradient */
    background: linear-gradient(180deg,
        #04101e 0%,
        #071828 15%,
        #0a2540 30%,
        #103860 48%,
        #2060a0 65%,
        #6aa0d0 78%,
        #b8d8ee 88%,
        #e8f4fc 94%,
        #f8fcff 100%
    );
}

/* Subtle noise overlay */
.be-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 0;
}

/* ── CENTRED CONTENT BLOCK ──────────────────────────────── */
.be-hero__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 1.5rem 80px;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

/* ── PILL BADGE ─────────────────────────────────────────── */
.be-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    transition: background 200ms ease, border-color 200ms ease;
}
.be-hero__pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
.be-hero__pill-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}
.be-hero__pill-text {
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

/* ── HEADLINE ───────────────────────────────────────────── */
.be-hero__h1 {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    color: #ffffff;
    line-height: 0.97;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
.be-hero__h1 em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* ── SUBHEADING ─────────────────────────────────────────── */
.be-hero__sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto 40px;
    letter-spacing: -0.01em;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.be-hero__btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 72px;
}

/* White primary */
.be-hero__btn-p {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #071828;
    background: #ffffff;
    padding: 14px 30px;
    border-radius: 0.5rem;
    border: none;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.be-hero__btn-p:hover {
    background: #ddeef8;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 255, 255, 0.22);
    color: #04101e;
}
.be-hero__btn-p:active { transform: translateY(0); box-shadow: none; }

/* Ghost secondary */
.be-hero__btn-s {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.09);
    padding: 14px 30px;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 180ms ease, border-color 180ms ease,
                color 180ms ease, transform 180ms ease;
}
.be-hero__btn-s:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
    transform: translateY(-2px);
}
.be-hero__btn-s:active { transform: translateY(0); }

/* ── DASHBOARD MOCKUP ───────────────────────────────────── */
.be-hero__mockup-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.be-hero__mockup {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px 14px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: none;
    overflow: hidden;
    box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.22);
    transition: transform 300ms ease, box-shadow 300ms ease;
}
.be-hero__mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 -12px 80px rgba(0, 0, 0, 0.32);
}

/* Window chrome */
.be-mockup__titlebar {
    background: #f2f4f7;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e8eaed;
}
.be-mockup__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.be-mockup__dot--r { background: #ff5f57; }
.be-mockup__dot--y { background: #febc2e; }
.be-mockup__dot--g { background: #28c840; }
.be-mockup__url {
    font-size: 10px;
    color: #bbb;
    margin-left: 6px;
    letter-spacing: 0.02em;
}

/* App shell */
.be-mockup__shell {
    display: grid;
    grid-template-columns: 156px 1fr;
    min-height: 200px;
}

/* Sidebar */
.be-mockup__sidebar {
    background: #fafafa;
    border-right: 1px solid #eee;
    padding: 16px 12px;
}
.be-mockup__sidebar-item {
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 2px;
    cursor: default;
    transition: background 150ms ease, color 150ms ease;
}
.be-mockup__sidebar-item:hover {
    background: #f0f4fc;
    color: #1a4a9a;
}
.be-mockup__sidebar-item--active {
    background: #e8f0fc;
    color: #1a4a9a;
    font-weight: 600;
}

/* Main panel */
.be-mockup__panel {
    padding: 20px 22px;
}
.be-mockup__panel-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
}

/* Stats row */
.be-mockup__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.be-mockup__stat {
    background: #f7f9fc;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    padding: 12px 12px;
    transition: box-shadow 150ms ease, transform 150ms ease;
}
.be-mockup__stat:hover {
    box-shadow: 0 2px 12px rgba(26, 74, 154, 0.1);
    transform: translateY(-1px);
}
.be-mockup__stat-num {
    font-size: 20px;
    font-weight: 700;
    color: #0a1e3a;
    letter-spacing: -0.03em;
}
.be-mockup__stat-num span { color: #1a5ab8; }
.be-mockup__stat-label { font-size: 10px; color: #aaa; margin-top: 2px; }
.be-mockup__stat-growth { font-size: 10px; font-weight: 600; color: #16a34a; margin-top: 1px; }

/* Bar chart */
.be-mockup__barchart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 52px;
}
.be-mockup__bar-col {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: #dde8f5;
    transition: background 200ms ease;
}
.be-mockup__bar-col--hi { background: #1a5ab8; }
.be-mockup__bar-col:hover { background: #2060a0; }

/* ── LOGOS STRIP ────────────────────────────────────────── */
.be-hero__logos-wrap {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.be-hero__logos-label {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    padding: 18px 1.5rem 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.be-hero__logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 36px;
    padding: 0 1.5rem 24px;
}
.be-hero__logo-item {
    font-size: 11px;
    font-weight: 700;
    color: #ccc;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 180ms ease;
}
.be-hero__logo-item:hover { color: #888; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (min-width: 640px) {
    .be-hero__btns {
        flex-direction: row;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .be-hero__mockup:hover,
    .be-mockup__stat:hover,
    .be-hero__btn-p:hover,
    .be-hero__btn-s:hover { transform: none; }
}
