/* ==========================================================================
   ICON Marketing Hub — landing.css
   Page-specific styles for the public landing page (index.php). Reuses
   global.css tokens only. Classes prefixed `mh-landing-` / `mh-hero-`.
   ========================================================================== */

/* ---- Public top bar (shown when logged out; logged-in users get mh_nav) ---
   Mirrors .mh-nav so the bar reads identically whether signed in or out: same
   brand fill, height and shadow, with content capped to the content width. */
.mh-landing-bar {
    background: var(--brand-primary);
    color: #fff;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 var(--gutter);
    box-shadow: var(--shadow-md);
}
.mh-landing-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
}
.mh-landing-bar-actions { display: flex; align-items: center; gap: 0.6rem; }

/* ---- Hero ---------------------------------------------------------------- */
.mh-landing-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: var(--brand-primary);
}
.mh-landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 1, 1, 0.90) 0%, rgba(0, 1, 1, 0.72) 45%, rgba(4, 83, 205, 0.55) 100%),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.mh-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 3.5rem var(--gutter) 4rem;
}
.mh-hero-copy { max-width: 40rem; }
.mh-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-accent-light);
    margin-bottom: 1rem;
}
.mh-hero-title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1.1rem;
}
.mh-hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.55;
    margin-bottom: 2rem;
}
.mh-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mh-hero-actions .mh-btn { padding: 0.7rem 1.4rem; font-size: 0.95rem; }

/* ---- Feature strip ------------------------------------------------------- */
.mh-landing-features {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 3.5rem var(--gutter) 4.5rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mh-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.mh-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mh-feature-icon {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: var(--radius);
    background: var(--brand-accent-glow);
    color: var(--brand-accent);
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}
.mh-feature-card h3 { margin-bottom: 0.35rem; }
.mh-feature-card p { color: var(--gray-500); font-size: 0.9rem; margin: 0; }

/* Mobile-first: the hero above is sized for a phone; it gets more air and a larger
   headline once the viewport can carry them. */
@media (min-width: 641px) {
    .mh-hero-title { font-size: 2.6rem; }
    .mh-hero-inner { padding: 5rem var(--gutter) 5.5rem; }
}
