/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/* Purtătorul de date pentru linkul de catalog (ascuns în textul slide-ului; oglindit în bara de acțiuni) */
.uai-cat-data {
    display: none !important;
}

/* Rând de acțiuni sub insula de text: butonul de catalog + Ascultă. JS îl repoziționează sub subtitlu. */
.uai-actions {
    position: fixed;
    left: 0;
    right: 0;
    top: 62%;               /* fallback; JS îl mută exact sub insula de text */
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    pointer-events: none;   /* spațiul gol nu blochează slider-ul */
    transition: opacity .2s ease, visibility .2s ease;
}

.uai-actions > * {
    pointer-events: auto;
}

.uai-actions.uai-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Butonul de catalog ("Catalogul complet de modele AI", doar pe AI-Catalog) — teal */
.uai-cat-btn {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 11px 26px;
    border: 0;
    border-radius: 999px;
    color: #04241b;
    background: #12C9A4;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.uai-cat-btn:hover,
.uai-cat-btn:focus {
    background: #1ee6bd;
    color: #04241b;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Buton audio "Ascultă" — pastilă roz (brand), diferită de butonul de catalog portocaliu */
.uai-listen {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 11px 22px 11px 18px;
    border: 0;
    border-radius: 999px;
    background: #F91969;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, transform .2s ease;
}

.uai-listen:hover,
.uai-listen:focus {
    background: #ff4d8d;
    transform: translateY(-1px);
    outline: none;
}

/* Buton "Detalii" (AI-Connect) — pastilă teal cu icoană de citit, lângă butonul Audio roz */
.uai-details {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 11px 22px 11px 18px;
    border: 0;
    border-radius: 999px;
    background: #12C9A4;
    color: #04241b;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, transform .2s ease;
}

.uai-details:hover,
.uai-details:focus {
    background: #1ee6bd;
    color: #04241b;
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

/* Iconițe SVG din butoane (difuzor pe Audio, carte deschisă pe Detalii) */
.uai-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .uai-actions {
        gap: 10px;
    }
    .uai-cat-btn,
    .uai-listen,
    .uai-details {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* 1) Subtitlul mereu alb — pe banner-ul întunecat, altfel BackgroundCheck îl face uneori negru și nu se citește */
.nk-layout .nk-layout-content-subtitle,
.nk-layout .nk-layout-content-subtitle * {
    color: #fff !important;
}

/* 3) Titlul cu fontul din pagina de referință (Bricolage Grotesque, ca "AI practic pentru firmele românești"),
      portocaliu (culoarea de pe butonul "Vreau și eu") și cu font ~dublu, ca să încapă un cuvânt pe linie. */
.nk-layout .nk-layout-content-title {
    font-family: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
    color: #F7941E;
    font-size: clamp(64px, 13vw, 180px);
}

/* 2) Mobil: coboară titlul + subtitlul (butoanele le urmează prin JS) în jumătatea de jos,
      puțin deasupra linkului Blog și a adresei de email. */
@media (max-width: 767px) {
    .nk-layout .nk-layout-content-title {
        top: auto;
        bottom: 235px;
        margin-bottom: 0;
    }
    .nk-layout .nk-layout-content-subtitle {
        top: auto;
        bottom: 150px;
        margin-top: 0;
    }
}

/* Formular de contact: butonul "Send". Pe mobil e rotit 90° (vertical) și abia se vede pe
   fundalul gri-închis. Îl aducem pe orizontală și îl facem pastilă portocalie, ca reper clar. */
@media (max-width: 767px) {
    .nk-form .nk-form-btn {
        -ms-transform: none;
        transform: none;
        display: inline-block;
        margin-top: 18px;
        padding: 12px 34px;
        border-radius: 999px;
        background: #F7941E;
        color: #04241b !important;
        font-weight: 700;
        line-height: 1.2;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
        transition: background .2s ease, transform .2s ease;
    }
    .nk-form .nk-form-btn:hover,
    .nk-form .nk-form-btn.hover,
    .nk-form .nk-form-btn:focus {
        -ms-transform: translateY(-1px);
        transform: translateY(-1px);
        background: #ffa733;
    }
}
