/* =============================================================
   hero.css — NSolvers Engineering Studio Hero Section
   Modern, architectural, executive dark theme (No space/lights)
   Left-aligned, zero gradient text, zero purple, zero button shadows
   ============================================================= */

/* ── Section wrapper ── */
.nsh-section {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(72px + 2.5rem);
    padding-bottom: 3.5rem;
    box-sizing: border-box;
    isolation: isolate;
    background-color: #070D18;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Content container ── */
.nsh-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    gap: 3.25rem;
}

/* ── 2-Column Main Row ── */
.nsh-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}
@media (min-width: 992px) {
    .nsh-row {
        grid-template-columns: 1.15fr 0.95fr;
        gap: 3.5rem;
        align-items: start;
    }
    .nsh-col-left,
    .nsh-col-right {
        position: sticky;
        top: calc(72px + 2rem);
        align-self: start;
    }
}

/* ── Left Column: Content ── */
.nsh-col-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* ── Availability Badge ── */
.nsh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.95rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #34D399;
    margin-bottom: 1.25rem;
}
.nsh-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    flex-shrink: 0;
}

/* ── Main Headline ── */
.nsh-title {
    font-size: clamp(2.35rem, 4.3vw, 3.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin: 0 0 0.85rem;
    padding: 0;
    text-align: left;
}
.nsh-accent {
    color: #00E5FF;
}

.nsh-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: #38BDF8;
    margin: 0 0 1rem;
    text-align: left;
    letter-spacing: -0.01em;
}

/* ── Sub-copy ── */
.nsh-sub {
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    line-height: 1.72;
    color: #94A3B8;
    max-width: 52ch;
    margin: 0 0 2rem;
    padding: 0;
    text-align: left;
}

/* ── CTA buttons (Zero shadows) ── */
.nsh-ctas {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
}

.nsh-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.85rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    background: #00E5FF;
    color: #04101E;
    border: 1px solid #00E5FF;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nsh-btn-primary:hover {
    transform: translateY(-2px);
    background: #33EBFF;
    border-color: #33EBFF;
    box-shadow: none !important;
}
.nsh-btn-primary svg {
    transition: transform 0.2s ease;
}
.nsh-btn-primary:hover svg {
    transform: translateX(3px);
}

.nsh-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.85rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nsh-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: none !important;
}

/* ── Trust proofs row ── */
.nsh-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nsh-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #94A3B8;
}
.nsh-trust-item svg {
    flex-shrink: 0;
}

/* ── Right Column: Visual Dashboard ── */
.nsh-col-right {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nsh-dash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    width: 100%;
    max-width: 540px;
}

/* ── Common Card Base ── */
.nsh-card {
    background: #0B1322;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.nsh-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

/* ── Code Window (Top full-width) ── */
.nsh-code {
    grid-column: 1 / -1;
    overflow: hidden;
    text-align: left;
}
.nsh-win-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nsh-win-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.nsh-win-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.nsh-win-name {
    margin-left: 0.4rem;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: #CBD5E1;
    font-weight: 500;
}
.nsh-win-lang {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
}

.nsh-code-body {
    padding: 0.95rem 1.15rem 1.05rem;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.81rem;
    line-height: 1.85;
    text-align: left;
    color: #CBD5E1;
}
.nsh-cl {
    display: block;
}
.nsh-kw { color: #38BDF8; font-weight: 600; }
.nsh-fn { color: #60A5FA; }
.nsh-st { color: #86EFAC; }
.nsh-pr { color: #67E8F9; }

.nsh-caret {
    display: inline-block;
    width: 0.45em;
    height: 0.95em;
    background: #00E5FF;
    vertical-align: text-bottom;
    animation: nsh-blink 1.1s steps(1) infinite;
}
@keyframes nsh-blink { 50% { opacity: 0; } }

.nsh-status-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 1.15rem;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.72rem;
    color: #86EFAC;
    background: rgba(16, 185, 129, 0.05);
    border-top: 1px solid rgba(16, 185, 129, 0.12);
}
.nsh-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    flex-shrink: 0;
}
.nsh-status-time {
    margin-left: auto;
    color: #94A3B8;
}

/* ── Notification / Shipping cards ── */
.nsh-notif {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    text-align: left;
}
.nsh-notif-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.nsh-notif-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}
.nsh-notif-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}
.nsh-notif-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
}
.nsh-notif-ago {
    font-size: 0.68rem;
    color: #64748B;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    white-space: nowrap;
}
.nsh-notif-desc {
    font-size: 0.74rem;
    color: #94A3B8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Metric Card ── */
.nsh-metric {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.95rem 1.05rem;
    gap: 0.75rem;
    text-align: left;
}
.nsh-metric-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}
.nsh-metric-lbl {
    font-size: 0.68rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.nsh-metric-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #00E5FF;
    letter-spacing: -0.02em;
    line-height: 1;
}
.nsh-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 34px;
}
.nsh-bars span {
    flex: 1;
    height: var(--bh, 50%);
    min-width: 6px;
    border-radius: 2px;
    background: #00E5FF;
    opacity: 0.85;
}

/* ── AI Agent Card ── */
.nsh-agent {
    display: flex;
    flex-direction: column;
    padding: 0.95rem 1.05rem;
    gap: 0.65rem;
    text-align: left;
}
.nsh-agent-hdr {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.73rem;
    font-weight: 600;
    color: #38BDF8;
}
.nsh-agent-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38BDF8;
    flex-shrink: 0;
}
.nsh-steps {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}
.nsh-step {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #94A3B8;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.nsh-step-done {
    color: #86EFAC;
}
.nsh-step-active {
    color: #00E5FF;
}

/* ── Bottom Stats Bar ── */
.nsh-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: #0B1322;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.nsh-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    text-align: left;
    position: relative;
    padding: 0 1.25rem;
}
.nsh-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.nsh-stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1;
}
.nsh-stat-num sup {
    font-size: 0.58em;
    color: #00E5FF;
    vertical-align: super;
    font-weight: 700;
}
.nsh-stat-star {
    font-size: 0.72em;
    color: #00E5FF;
    margin-left: 2px;
}
.nsh-stat-lbl {
    font-size: 0.72rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .nsh-section {
        padding-top: calc(72px + 2rem);
        padding-bottom: 3rem;
    }
    .nsh-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        padding: 1.25rem 1.5rem;
    }
    .nsh-stat {
        padding: 0;
    }
    .nsh-stat:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 540px) {
    .nsh-section {
        padding-top: calc(72px + 1.25rem);
        padding-bottom: 2.25rem;
    }
    .nsh-inner {
        padding: 0 1rem;
        gap: 2rem;
    }
    .nsh-row {
        gap: 2.25rem;
    }
    .nsh-badge {
        font-size: 0.74rem;
        padding: 0.3rem 0.8rem;
    }
    .nsh-title {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        line-height: 1.16;
    }
    .nsh-tagline {
        font-size: 0.95rem;
    }
    .nsh-sub {
        font-size: 0.92rem;
        line-height: 1.62;
    }
    .nsh-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .nsh-btn-primary,
    .nsh-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.4rem;
        font-size: 0.92rem;
    }
    .nsh-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.15rem;
    }
    .nsh-dash {
        grid-template-columns: 1fr;
    }
    .nsh-notif,
    .nsh-metric,
    .nsh-agent {
        grid-column: 1;
    }
    .nsh-code-body {
        font-size: 0.72rem;
        padding: 0.75rem 0.9rem;
        overflow-x: auto;
    }
    .nsh-stats {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding: 1.2rem;
    }
    .nsh-stat-num {
        font-size: 1.75rem;
    }
}
