/*! Email 360 hero — scoped sub prefix .eh- pentru includere ca decor în panoul auth.
    Sursa originală: inspiratie/email360-hero/styles.css (Paper Kit 2 MIT, Creative Tim).
    Diferențe față de original:
      - Reset global (* / body / h1 / h2 / img) ELIMINAT, înlocuit cu scope la .eh-page-header.
      - Selectoarele rebrandate cu prefix .eh-* (evită coliziuni cu CSS-ul Email 360).
      - min-height: 100vh → 100% (panoul are deja înălțime fixă din ec-auth).
      - max-height: 999px scos (truncare pe ecrane mari).
      - presentation-title 8em → 5.2em (panoul de 60% e mai îngust ca viewport full).
      - pointer-events: none pe fog + clouds (pur decorative).
*/

/* ============================================================
   FONTS — Montserrat (variable font, latin + latin-ext)
   ============================================================ */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   PAGE HEADER (hero) — root scoped
   ============================================================ */
.eh-page-header {
    background-color: #B2AFAB;
    background-position: center center;
    background-size: cover;
    /* Sprint v0.43.2 — umple panoul auth edge-to-edge. Grid cell `align/justify
       stretch` + `height: 100%` pe copil nu se rezolvă fără înălțime explicită
       pe părinte. `position: absolute; inset: 0` forțează umplerea indiferent
       de modul de calcul al cell-ului. .ec-auth__brand-panel are deja
       position: relative + overflow: hidden ca să accepte copilul absolute. */
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #66615b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.eh-page-header *,
.eh-page-header *::before,
.eh-page-header *::after {
    box-sizing: border-box;
}

/* Regulă generală pentru img DOAR pe imaginile fără clasă proprie (ceață,
   nori — care sunt setate să-și ocupe părintele). Logo-ul folosește
   .eh-hero-logo care e mai specific și-i suprascrie. */
.eh-page-header img {
    display: block;
}

.eh-filter::after {
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.eh-section-dark .eh-content-center {
    z-index: 1;
}

.eh-content-center {
    margin-top: 14vh;
    width: 100%;
    position: relative;
    z-index: 2;
}

.eh-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.eh-text-center {
    text-align: center;
}

/* ============================================================
   TITLE BRAND & HERO COPY
   ============================================================ */
.eh-title-brand {
    max-width: 730px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    color: #FFFFFF;
    display: block;
}

.eh-presentation-title {
    font-family: 'Montserrat', 'Helvetica', Arial, sans-serif;
    font-size: 5.2em;
    font-weight: 700;
    line-height: 1.1;
    margin: 30px 0 0;
    background: linear-gradient(to bottom, #FFFFFF 35%, #4e6773 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.eh-presentation-subtitle {
    font-family: 'Montserrat', 'Helvetica', Arial, sans-serif;
    font-size: 1.4em;
    font-weight: 300;
    line-height: 1.5;
    margin: 30px 0 0;
    color: #FFFFFF;
}

/* ============================================================
   FOG (low-lying animated mist)
   ============================================================ */
.eh-fog-low {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-left: -35%;
    margin-bottom: -50px;
    width: 110%;
    opacity: 0.85;
    pointer-events: none;
}

.eh-fog-low img {
    width: 100%;
}

.eh-fog-low.eh-right {
    margin-left: 30%;
    opacity: 1;
}

/* ============================================================
   PILLARS (6 piloni Email 360) — 2 rânduri
   ------------------------------------------------------------
   Rând 1: subtitle inline (format Montserrat 1.4em white original)
           cu iconițe + titluri piloni separate prin „/".
   Rând 2: o singură casetă semitransparentă cu toate cele 6
           descrieri inline, separate prin „/".
   ============================================================ */
/* Subtitle inline — moștenește font-size + family + weight + color din
   .eh-presentation-subtitle (Montserrat 1.4em white original PĂSTRAT). */
.eh-pillars-titles {
    display: block;
    line-height: 1.7;
    max-width: 100%;
    text-align: center;
}
.eh-pillar-inline {
    display: inline;  /* INLINE, nu inline-flex — păstrează SVG lângă text natural */
    white-space: nowrap;  /* previne split „Inițiere contacte noi" pe rânduri */
}
.eh-pillar-inline__icon {
    display: inline-block;
    vertical-align: -3px;  /* aliniere optică cu textul Montserrat */
    margin-right: 6px;
    color: #ce4e9b;  /* magenta brand */
    width: 18px;
    height: 18px;
}
.eh-pillars-desc-box {
    margin: 22px auto 0;
    max-width: 75%;
    padding: 16px 22px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.eh-pillars-desc-inline {
    font-family: 'Montserrat', 'Helvetica', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.55;
    margin: 0;
    color: #FFFFFF;
}
.eh-pillars-sep {
    display: inline;
    margin: 0 8px;
    color: #ce4e9b;
    font-weight: 400;
}
@media (max-width: 991px) {
    .eh-pillars-titles { line-height: 1.6; }
    .eh-pillar-inline__icon { width: 16px; height: 16px; margin-right: 5px; }
    .eh-pillars-sep { margin: 0 6px; }
    .eh-pillars-desc-box { max-width: 90%; padding: 14px 18px; margin-top: 20px; }
    .eh-pillars-desc-inline { font-size: 0.85rem; }
}

/* ============================================================
   MOVING CLOUDS (seamless infinite loop, two mirrored instances)
   ============================================================ */
.eh-moving-clouds {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 250.625em;
    height: 43.75em;
    animation: ehCloudLoopSeamless 80s linear infinite;
    pointer-events: none;
}

.eh-moving-clouds.eh-duplicate {
    left: 250.625em;
    animation: ehCloudLoopSeamlessFlipped 80s linear infinite;
}

@keyframes ehCloudLoopSeamless {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@keyframes ehCloudLoopSeamlessFlipped {
    0%   { transform: translate3d(0, 0, 0) scaleX(-1); }
    100% { transform: translate3d(-100%, 0, 0) scaleX(-1); }
}

/* ============================================================
   HERO LOGO — selector cu specificity dublă ca să batem regula
   .eh-page-header img de mai sus indiferent de ordine în fișier.
   favicon.png nativ e mare; max-width fix păstrează raport vizual.
   ============================================================ */
.eh-page-header .eh-hero-logo {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
    max-width: 100px;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

/* ============================================================
   HERO CREDITS
   ============================================================ */
.eh-hero-credits {
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.eh-hero-credits .eh-sep {
    margin: 0 10px;
    opacity: 0.5;
}

/* ============================================================
   RESPONSIVE — panoul rămâne pe peste 880px; pe ecrane mai mici
   dispare prin regula existentă din components.css.
   ============================================================ */
@media (max-width: 1280px) {
    .eh-presentation-title {
        font-size: 4.2em;
    }
    .eh-title-brand {
        max-width: 520px;
    }
}

@media (max-width: 991px) {
    .eh-presentation-title {
        font-size: 3.5em;
    }
    .eh-presentation-subtitle {
        font-size: 1.1em;
        margin-top: 24px;
    }
    .eh-title-brand {
        max-width: 420px;
    }
    .eh-fog-low {
        margin-bottom: -35px;
    }
    .eh-page-header .eh-hero-logo {
        width: 80px;
        height: 80px;
        max-width: 80px;
    }
}
