/* ============================================================
   YAIDEL HOME — HERO (IMAGE VERSION, BALANCED & PROFESSIONAL)
============================================================ */

.yaidel-hero-section {
    --hero-spot-x: 70%;
    --hero-spot-y: 24%;

    position: relative;
    padding: 82px 24px 64px;
    background: var(--yaidel-white);
    overflow: hidden;
    isolation: isolate;
}

.yaidel-hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.yaidel-hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .02;
    background-image:
        linear-gradient(rgba(32, 32, 32, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 32, 32, .08) 1px, transparent 1px);
    background-size: 72px 72px;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 18%,
        #000 85%,
        transparent
    );
    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 18%,
        #000 85%,
        transparent
    );
}

.yaidel-hero-radial {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            740px 340px at var(--hero-spot-x) var(--hero-spot-y),
            rgba(15, 179, 189, .14) 0%,
            rgba(15, 179, 189, .04) 40%,
            rgba(15, 179, 189, 0) 68%
        );
}

.yaidel-hero-container {
    position: relative;
    z-index: 2;

    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 30px;
}

/* ============================================================
   LEFT CONTENT
============================================================ */

.yaidel-hero-content {
    max-width: 590px;
}

.yaidel-hero-eyebrow {
    display: none;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;
    padding: 7px 12px 7px 9px;

    border-radius: 999px;
    border: 1px solid rgba(15, 179, 189, .20);

    background: rgba(15, 179, 189, .07);
    color: var (--yaidel-primary);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.yaidel-hero-eyebrow-icon {
    width: 22px;
    height: 22px;

    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 179, 189, .12);
    color: var(--yaidel-primary);

    font-size: 9px;
}

.yaidel-hero-title {
    margin: 0;

    color: #0f172a;
    font-size: clamp(24px, 4.4vw, 35px);
    line-height: .98;
    letter-spacing: -.038em;
    font-weight: 600;
    padding-top: 60px;
}

.yaidel-hero-title span {
    display: block;
    margin-top: 5px;
    color: var(--yaidel-primary);
}







.yaidel-hero-title span:not(.yaidel-typed-done)::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: .9em;
    margin-left: 6px;
    background: var(--yaidel-primary);
    vertical-align: -0.08em;
    animation: yaidel-caret-blink .9s steps(1, end) infinite;
}

@keyframes yaidel-caret-blink {
    50% { opacity: 0; }
}












.yaidel-hero-description {
    margin-top: 14px;
    max-width: 560px;

    color: #334155;
    font-size: clamp(15px, 1.04vw, 18px);
    line-height: 1.52;
    font-weight: 400;
}

/* ============================================================
   FEATURE HIGHLIGHTS
============================================================ */

.yaidel-hero-feature-grid {
    margin-top: 18px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.yaidel-hero-feature-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 9px;
    align-items: start;
}

.yaidel-hero-feature-icon {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 179, 189, .09);
    color: var(--yaidel-primary);
    border: 1px solid rgba(15, 179, 189, .14);

    font-size: 14px;
}

.yaidel-hero-feature-item h3 {
    margin: 0 0 2px;

    color: #0f172a;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.012em;
}

.yaidel-hero-feature-item p {
    margin: 0;

    color: #475569;
    font-size: 14px;
    line-height: 1.38;
    padding-bottom: 5px;
}

/* ============================================================
   CTA
============================================================ */

.yaidel-hero-actions {
    margin-top: 18px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yaidel-hero-btn {
    min-height: 46px;
    padding: 0 18px;

    border-radius: 11px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;

    transition:
        transform var(--yaidel-transition-fast),
        background-color var(--yaidel-transition-fast),
        border-color var(--yaidel-transition-fast);
}

.yaidel-hero-btn-primary {
    color: var(--yaidel-white);
    background: var(--yaidel-primary);
    border: 1px solid var(--yaidel-primary);
}

.yaidel-hero-btn-primary:hover,
.yaidel-hero-btn-primary:focus-visible {
    transform: translateY(-1px);
    background: var(--yaidel-accent);
    border-color: var(--yaidel-accent);
}

.yaidel-hero-btn-secondary {
    color: #0b7280;
    background: transparent;
    border: 1px solid rgba(15, 179, 189, .45);
}

.yaidel-hero-btn-secondary:hover,
.yaidel-hero-btn-secondary:focus-visible {
    transform: translateY(-1px);
    background: rgba(15, 179, 189, .06);
    border-color: var(--yaidel-primary);
}

.yaidel-hero-btn-secondary span {
    font-size: 12px;
}

/* ============================================================
   TRUST LINE
============================================================ */

.yaidel-hero-trust {
    margin-top: 14px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #0f172a;
    font-size: clamp(15px, 1.05vw, 17px);
    font-weight: 500;
}

.yaidel-hero-trust-icon {
    width: 26px;
    height: 26px;

    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--yaidel-primary);
    background: rgba(15, 179, 189, .10);

    font-size: 12px;
}

/* ============================================================
   RIGHT IMAGE
============================================================ */

.yaidel-hero-media-wrap {
    position: relative;
}

.yaidel-hero-media {
    margin: 0;

    border-radius: 16px;
    overflow: hidden;

    border: 1px solid #e7edf1;
    background: #fff;

    transform: perspective(1400px) rotateY(-5deg) rotateX(1.2deg);
    transform-origin: center center;

    transition: transform 420ms ease;
}

.yaidel-hero-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (min-width: 1201px) {
    .yaidel-hero-media img {
        max-height: 560px;
        object-fit: cover;
    }
}

@media (max-width: 1200px) {
    .yaidel-hero-section {
        padding: 76px 22px 58px;
    }

    .yaidel-hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .yaidel-hero-content {
        max-width: 740px;
    }

    .yaidel-hero-title {
        font-size: clamp(24px, 6vw, 30px);
        line-height: 1.01;
    }

    .yaidel-hero-description {
        font-size: 16px;
        line-height: 1.55;
        max-width: 620px;
    }

    .yaidel-hero-media {
        transform: none;
    }
}





@media (max-width: 860px) {
    .yaidel-hero-section {
        padding: 52px 18px 54px;
    }

    .yaidel-hero-feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .yaidel-hero-feature-item h3 {
        font-size: 15px;
    }

    .yaidel-hero-feature-item p {
        font-size: 13px;
    }
}


@media (max-width: 640px) {
    .yaidel-hero-title {
        font-size: clamp(25px, 9.8vw, 34px);
        line-height: 1.02;
        padding-bottom: 10px ;
    }

    .yaidel-hero-description {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.7;
        padding-bottom: 10px ;
    }

    .yaidel-hero-actions {
        width: 100%;
        padding-top: 10px ;
        
    }

    .yaidel-hero-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        font-size: 14px;
    }

    .yaidel-hero-trust {
        font-size: 15px;
    }
}

/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
    .yaidel-hero-btn,
    .yaidel-hero-media {
        transition: none;
    }
}



/* Lucide rendering in hero */
.yaidel-hero-feature-icon svg,
.yaidel-hero-eyebrow-icon svg,
.yaidel-hero-trust-icon svg,
.yaidel-hero-btn-secondary svg {
    width: 80%;
    height: 80%;
    stroke: currentColor;
    fill: none;
    stroke-width: 0.9;
    display: block;
}