/* ==========================================================================
   NC Hero Widget
   Scoped to .elementor-widget-nc_hero
   ========================================================================== */

/* ---- Base ---- */
.elementor-widget-nc_hero .nc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, #111111 0%, #0A0A0A 70%);
    overflow: hidden;
    padding-top: 80px;
}

/* ---- Background layers ---- */
.elementor-widget-nc_hero .nc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.elementor-widget-nc_hero .nc-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ---- Grid ---- */
.elementor-widget-nc_hero .nc-hero__grid {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ---- Content column ---- */
.elementor-widget-nc_hero .nc-hero__content {
    flex: 1;
    z-index: 2;
}

/* ---- Eyebrow ---- */
.elementor-widget-nc_hero .nc-hero__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2563EB;
    margin-bottom: 24px;
}

/* ---- Headline ---- */
.elementor-widget-nc_hero .nc-hero__headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 24px;
}

/* ---- Subheadline ---- */
.elementor-widget-nc_hero .nc-hero__sub {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

/* ---- Buttons ---- */
.elementor-widget-nc_hero .nc-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.elementor-widget-nc_hero .nc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.elementor-widget-nc_hero .nc-btn--primary {
    background-color: #2563EB;
    color: #FFFFFF;
    border: 2px solid #2563EB;
}

.elementor-widget-nc_hero .nc-btn--primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.elementor-widget-nc_hero .nc-btn--outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.elementor-widget-nc_hero .nc-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ---- Profile image ---- */
.elementor-widget-nc_hero .nc-hero__profile {
    flex: 0 0 auto;
    position: relative;
}

.elementor-widget-nc_hero .nc-hero__profile img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.elementor-widget-nc_hero .nc-hero__profile::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 0;
    border-radius: 30px;
}

/* ---- Stats bar ---- */
.elementor-widget-nc_hero .nc-hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.elementor-widget-nc_hero .nc-hero__stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2563EB;
}

.elementor-widget-nc_hero .nc-hero__stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* ---- Scroll indicator ---- */
.elementor-widget-nc_hero .nc-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.elementor-widget-nc_hero .nc-hero__scroll span {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.elementor-widget-nc_hero .nc-hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.8), transparent);
    animation: ncScrollPulse 2s infinite;
}

/* ---- Animations ---- */
@keyframes ncScrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.4;
        transform: scaleY(0.6);
    }
}

@keyframes ncFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elementor-widget-nc_hero .nc-hero--animate .nc-hero__eyebrow {
    animation: ncFadeUp 0.8s ease both;
    animation-delay: 0.1s;
}

.elementor-widget-nc_hero .nc-hero--animate .nc-hero__headline {
    animation: ncFadeUp 0.8s ease both;
    animation-delay: 0.2s;
}

.elementor-widget-nc_hero .nc-hero--animate .nc-hero__sub {
    animation: ncFadeUp 0.8s ease both;
    animation-delay: 0.35s;
}

.elementor-widget-nc_hero .nc-hero--animate .nc-hero__actions {
    animation: ncFadeUp 0.8s ease both;
    animation-delay: 0.5s;
}

.elementor-widget-nc_hero .nc-hero--animate .nc-hero__stats {
    animation: ncFadeUp 0.8s ease both;
    animation-delay: 0.65s;
}

.elementor-widget-nc_hero .nc-hero--animate .nc-hero__profile {
    animation: ncFadeUp 0.8s ease both;
    animation-delay: 0.4s;
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 1024px) {
    .elementor-widget-nc_hero .nc-hero__grid {
        gap: 40px;
        padding: 0 40px;
    }

    .elementor-widget-nc_hero .nc-hero__profile img {
        width: 300px;
        height: 300px;
    }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 768px) {
    .elementor-widget-nc_hero .nc-hero {
        padding-top: 100px;
    }

    .elementor-widget-nc_hero .nc-hero__grid {
        flex-direction: column;
        text-align: center;
        padding: 0 24px;
        gap: 40px;
    }

    .elementor-widget-nc_hero .nc-hero__sub {
        max-width: 100%;
    }

    /* Buttons side by side on mobile */
    .elementor-widget-nc_hero .nc-hero__actions {
        justify-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .elementor-widget-nc_hero .nc-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Profile image smaller, below content */
    .elementor-widget-nc_hero .nc-hero__profile {
        order: 2;
    }

    .elementor-widget-nc_hero .nc-hero__profile img {
        width: 250px;
        height: 250px;
    }

    /* Stats: 3 in a row, no wrapping */
    .elementor-widget-nc_hero .nc-hero__stats {
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: center;
        margin-top: 40px;
        padding-top: 24px;
    }

    .elementor-widget-nc_hero .nc-hero__stat {
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    .elementor-widget-nc_hero .nc-hero__stat-number {
        font-size: 24px;
    }

    .elementor-widget-nc_hero .nc-hero__stat-label {
        font-size: 12px;
    }

    .elementor-widget-nc_hero .nc-hero__scroll {
        display: none;
    }
}

/* ---- Responsive: Small Mobile ---- */
@media (max-width: 480px) {
    .elementor-widget-nc_hero .nc-hero__actions {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .elementor-widget-nc_hero .nc-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .elementor-widget-nc_hero .nc-hero__stat-number {
        font-size: 20px;
    }

    .elementor-widget-nc_hero .nc-hero__stat-label {
        font-size: 11px;
    }
}
