/* ============================================================
   Section 01 — Navbar + Hero
   Figma frame: "Desktop - 5" / "hero section"
   ============================================================ */

/* ─── Tokens (scoped to .nl- prefix to avoid collisions) ─── */
:root {
    --nl-bg-deep: #141C31;
    --nl-bg-card: #0F172A;
    --nl-blue: #3B82F6;
    --nl-blue-hover: #2563EB;
    --nl-cyan: #00BCFF;
    --nl-cyan-accent: #00A6F4;
    --nl-cyan-light: #B8E6FE;
    --nl-white: #FFFFFF;
    --nl-text-muted: #919193;
    --nl-text-dim: #90A1B9;
    --nl-text-prompt: #62748E;
    --nl-text-nav: #D3D3D3;
    --nl-font: 'Plus Jakarta Sans', sans-serif;
    --nl-font-alt: 'Inter', sans-serif;
    --nl-radius-pill: 999px;
    --nl-radius-card: 11px;
    --nl-radius-terminal: 10px;
}

/* ─── Navbar ─── */
.nl-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 28, 49, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nl-header.scrolled {
    background: rgba(20, 28, 49, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nl-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(20px, 5vw, 94px);
    position: relative;
    z-index: 1;
}

.nl-nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nl-nav__logo img {
    width: clamp(100px, 15vw, 136px);
    height: auto;
}

.nl-nav__links {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
}

.nl-nav__links a {
    color: var(--nl-text-nav);
    text-decoration: none;
    font-family: var(--nl-font-alt);
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.nl-nav__links a:hover {
    color: var(--nl-blue);
    opacity: 1;
}

.nl-nav__actions {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
}

.nl-btn-login {
    display: inline-flex;
    align-items: center;
    color: var(--nl-white);
    font-family: var(--nl-font-alt);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.3px;
    padding: 10px 14px;
    text-decoration: none;
    background: transparent;
    transform: translateZ(0) scale(1);
    transition: color 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-btn-login:hover {
    color: #C0CDE0;
    background: transparent;
    transform: scale(1.045);
    opacity: 1;
}

.nl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--nl-blue);
    color: var(--nl-white);
    padding: clamp(8px, 1vw, 10px) clamp(16px, 1.4vw, 20px);
    border-radius: var(--nl-radius-pill);
    font-family: var(--nl-font-alt);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.3px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transform: translateZ(0);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
}

.nl-btn-primary::before {
    content: "";
    position: absolute;
    inset: -7px -11px;
    border-radius: 999px;
    background: radial-gradient(60% 85% at 50% 50%, rgba(59, 130, 246, 0.46) 0%, rgba(59, 130, 246, 0) 100%);
    filter: blur(8px);
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: -1;
}

.nl-btn-primary:hover {
    background: var(--nl-blue-hover);
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}

.nl-btn-primary:hover::before {
    opacity: 0.9;
    transform: scale(1.05);
}

.nl-btn-primary:active {
    transform: translateY(0);
}

/* Mobile menu toggle */
.nl-nav__mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.nl-nav__mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--nl-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile dropdown */
.nl-nav__mobile-dropdown {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    width: 200px;
    max-height: 80vh;
    overflow-y: auto;
    background: #0a1628;
    border: 1px solid #303842;
    border-radius: 12px;
    padding: 16px 0;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.nl-nav__mobile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: #0a1628;
    border: 1px solid #303842;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.nl-nav__mobile-dropdown.active {
    opacity: 1 !important;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.nl-nav__mobile-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--nl-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 8px;
}

.nl-nav__mobile-dropdown a:hover {
    color: var(--nl-blue);
    background: rgba(59, 130, 246, 0.1);
    opacity: 1;
}

.nl-nav__mobile-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #303842;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 8px;
    margin-right: 8px;
}

.nl-nav__mobile-actions .nl-btn-login {
    text-align: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    background: transparent;
    border: 1px solid #303842;
}

.nl-nav__mobile-actions .nl-btn-primary {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 6px;
}

/* ─── Hero background ─── */
.nl-hero-bg {
    background-color: var(--nl-bg-deep);
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Grid overlay — Figma "grid lines" layer */
.nl-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
}

/* Dot pattern — Figma "Pattern" layer */
.nl-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 13px 13px;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, black 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, black 0%, transparent 75%);
}

/* ─── Glow orbs (Figma Ellipse 28/29/30 + Vectors) ─── */
.nl-hero-glows {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Ellipse 29 — large gradient sweep */
.nl-hero-glows__gradient {
    position: absolute;
    width: 1700px;
    height: 1700px;
    left: 5%;
    top: -580px;
    background: linear-gradient(152deg, #141C31 62%, #3B82F6 83%);
    filter: blur(230px);
    border-radius: 50%;
    transform: rotate(-52deg);
}

/* Ellipse 28 — blue core */
.nl-hero-glows__blue {
    position: absolute;
    width: 1100px;
    height: 1100px;
    left: 30%;
    top: -700px;
    background: #3B82F6;
    filter: blur(230px);
    border-radius: 50%;
}

/* Ellipse 30 — white highlight */
.nl-hero-glows__white {
    position: absolute;
    width: 950px;
    height: 950px;
    left: 55%;
    top: -750px;
    background: #FFFFFF;
    filter: blur(230px);
    border-radius: 50%;
}

/* Vector 109 — dark mask */
.nl-hero-glows__mask-1 {
    position: absolute;
    width: 1400px;
    height: 710px;
    left: 4%;
    top: -340px;
    background: linear-gradient(265deg, rgba(20, 28, 49, 0.85) 53%, transparent 100%);
    filter: blur(115px);
    transform: rotate(-73deg);
}

/* Vector 111 — dark mask */
.nl-hero-glows__mask-2 {
    position: absolute;
    width: 980px;
    height: 500px;
    left: -6%;
    top: -170px;
    background: linear-gradient(265deg, rgba(20, 28, 49, 0.85) 53%, transparent 100%);
    filter: blur(115px);
    transform: rotate(-87deg);
}

/* Vector 110 — dark mask */
.nl-hero-glows__mask-3 {
    position: absolute;
    width: 1100px;
    height: 560px;
    left: 36%;
    top: -80px;
    background: linear-gradient(74deg, rgba(20, 28, 49, 0.7) 26%, transparent 100%);
    filter: blur(80px);
    transform: rotate(-73deg);
}

/* Ellipse 61 — bottom-right blue accent */
.nl-hero-glows__accent {
    position: absolute;
    width: 1267px;
    height: 589px;
    right: -15%;
    top: 0;
    background: #3B82F6;
    opacity: 0.39;
    filter: blur(100px);
    border-radius: 50%;
}

/* ─── Hero section layout ─── */
.nl-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4.5vw, 64px);
    padding: clamp(40px, 6vw, 150px) clamp(32px, 4.5vw, 64px);
    text-align: left;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ─── Hero left: copy ─── */
.nl-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 624px;
    width: 45%;
}

.nl-hero__eyebrow {
    margin: 0 0 clamp(10px, 1.2vw, 15px);
    max-width: 540px;
    font-family: var(--nl-font);
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.35;
    color: var(--nl-blue);
}

.nl-hero__eyebrow-strong {
    position: relative;
    display: inline-block;
    font-weight: 700;
    font-style: italic;
    padding: 0 0.12em;
    margin: 0 -0.04em;
    isolation: isolate;
    z-index: 0;
}

.nl-hero__eyebrow-strong::before {
    content: "";
    position: absolute;
    left: -0.14em;
    right: -0.14em;
    top: -0.12em;
    bottom: -0.10em;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.45) 0%,
        rgba(139, 92, 246, 0.35) 55%,
        rgba(59, 130, 246, 0.35) 100%
    );
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.22) inset,
        0 10px 30px rgba(59, 130, 246, 0.18);
    z-index: -1;
}

.nl-hero__eyebrow-sara {
    color: var(--nl-cyan-light);
    text-shadow: 0 0 18px rgba(34, 197, 94, 0.28);
}

.nl-hero__title {
    font-family: var(--nl-font);
    font-size: clamp(36px, 4.8vw, 68px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.04em;
    color: var(--nl-white);
    max-width: 624px;
    margin: 0;
}

.nl-hero__title-line {
    display: block;
}

.nl-hero__title-line--strong {
    font-weight: 700;
    white-space: normal;
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.2;
    word-spacing: 0.08em;
}

.nl-hero__subtitle {
    font-family: var(--nl-font);
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.03em;
    color: var(--nl-text-muted);
    margin-top: clamp(18px, 2vw, 30px);
    max-width: 560px;
    text-align: left;
}

.nl-hero__context-sources {
    margin-top: clamp(10px, 1.1vw, 14px);
    font-family: var(--nl-font-alt);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #B4C0D2;
}

.nl-hero__context-sources span {
    display: inline-block;
    margin: 0 0.45em;
    color: #6E83A8;
}

.nl-hero__cta {
    margin-top: clamp(24px, 3vw, 40px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nl-hero__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 16px;
    background: var(--nl-blue);
    border-radius: var(--nl-radius-pill);
    font-family: var(--nl-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.2px;
    color: #E8EAED;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transform: translateZ(0);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
}

.nl-hero__cta-btn::before {
    content: "";
    position: absolute;
    inset: -9px -12px;
    border-radius: 999px;
    background: radial-gradient(60% 85% at 50% 50%, rgba(59, 130, 246, 0.52) 0%, rgba(59, 130, 246, 0) 100%);
    filter: blur(10px);
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nl-hero__cta-btn:hover {
    background: var(--nl-blue-hover);
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}

.nl-hero__cta-btn:hover::before {
    opacity: 0.95;
    transform: scale(1.06);
}

.nl-hero__cta-btn:active {
    transform: translateY(0);
}

/* ─── Hero right: Lottie animation ─── */
.nl-hero__visual {
    width: 70%;
    max-width: 980px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Clip container: holds visible dimensions, hides overflow from the oversized inner div */
.nl-hero-lottie-outer {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--nl-radius-card);
    overflow: hidden;
    position: relative;
}

/* Inner: rendered at native 1920×1080, then scaled down via JS transform.
   This forces the SVG to lay out all vector paths at full resolution
   before the browser composites the result — no blurry downscaled paths. */
.nl-hero-lottie {
    width: 1920px;
    height: 1080px;
    transform-origin: top left;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.nl-terminal-wrap {
    position: relative;
    width: 100%;
}

/* Outer glow */
.nl-terminal-wrap::before {
    content: "";
    position: absolute;
    inset: -11px;
    background: rgba(0, 166, 244, 0.2);
    opacity: 0.2;
    filter: blur(45px);
    border-radius: 50%;
    z-index: 0;
}

/* Card shell */
.nl-terminal-card {
    position: relative;
    width: 100%;
    aspect-ratio: 714 / 402;
    background: rgba(15, 23, 42, 0.5);
    border: 0.7px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0px 17px 35px -8px rgba(0, 0, 0, 0.25);
    border-radius: var(--nl-radius-card);
    overflow: hidden;
    z-index: 1;
}

/* Gradient fill inside card */
.nl-terminal-card__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(107deg, #0F172A 2%, #334F90 100%);
    border-radius: var(--nl-radius-card);
}

/* Dot pattern on card */
.nl-terminal-card__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0.9px, transparent 0.9px);
    background-size: 13px 13px;
    z-index: 1;
    opacity: 0.6;
}

/* Corner glow: top-left */
.nl-terminal-card__glow--tl {
    position: absolute;
    width: 178px;
    height: 178px;
    left: 28px;
    top: 28px;
    background: rgba(0, 166, 244, 0.1);
    filter: blur(45px);
    border-radius: 50%;
    z-index: 1;
}

/* Corner glow: bottom-right */
.nl-terminal-card__glow--br {
    position: absolute;
    width: 178px;
    height: 178px;
    right: 28px;
    bottom: 28px;
    background: rgba(43, 127, 255, 0.1);
    filter: blur(45px);
    border-radius: 50%;
    z-index: 1;
}

/* ─── Inner terminal window ─── */
.nl-terminal {
    position: absolute;
    left: 12.5%;
    top: 8.2%;
    width: 75%;
    height: 83.5%;
    background: #020617;
    border: 0.7px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nl-radius-terminal);
    display: flex;
    flex-direction: column;
    z-index: 2;
    overflow: hidden;
}

/* Title bar */
.nl-terminal__titlebar {
    display: flex;
    align-items: center;
    padding: 0 11px;
    gap: 5.6px;
    height: 22px;
    min-height: 22px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 0.7px solid rgba(255, 255, 255, 0.05);
}

.nl-terminal__dot {
    width: 5.6px;
    height: 5.6px;
    border-radius: 50%;
}

.nl-terminal__dot--red    { background: rgba(251, 44, 54, 0.5); }
.nl-terminal__dot--yellow { background: rgba(240, 177, 0, 0.5); }
.nl-terminal__dot--green  { background: rgba(0, 201, 80, 0.5); }

/* Terminal body */
.nl-terminal__body {
    flex: 1;
    padding: clamp(10px, 2.3%, 17px) clamp(10px, 2.3%, 17px) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.5%, 11px);
    overflow: hidden;
    font-family: var(--nl-font);
    font-size: clamp(8px, 0.9vw, 9.76px);
    line-height: 1.43;
}

/* Command line */
.nl-terminal__prompt {
    display: flex;
    align-items: baseline;
    gap: 5.6px;
}

.nl-terminal__prompt-symbol {
    color: var(--nl-text-prompt);
}

.nl-terminal__prompt-cmd {
    color: var(--nl-cyan);
}

/* Output lines */
.nl-terminal__output {
    color: var(--nl-text-dim);
}

/* SARA response box */
.nl-terminal__sara-box {
    background: rgba(0, 166, 244, 0.1);
    border-left: 1.4px solid var(--nl-cyan-accent);
    border-radius: 3px;
    padding: clamp(6px, 1.5%, 11px) clamp(8px, 1.8%, 13px);
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.2%, 10px);
}

.nl-terminal__sara-header {
    display: flex;
    align-items: center;
    gap: 5.6px;
}

.nl-terminal__sara-icon {
    width: 11px;
    height: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nl-terminal__sara-icon svg {
    width: 8px;
    height: 8px;
    stroke: var(--nl-cyan-light);
    fill: none;
    stroke-width: 1.2;
}

.nl-terminal__sara-label {
    font-weight: 700;
    color: var(--nl-cyan-light);
}

.nl-terminal__sara-text {
    color: var(--nl-cyan-light);
}

.nl-terminal__sara-actions {
    display: flex;
    gap: 5.6px;
    margin-top: 2px;
}

.nl-terminal__sara-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8.4px;
    height: 19.5px;
    border-radius: 5.6px;
    font-family: var(--nl-font);
    font-size: clamp(7px, 0.75vw, 8.4px);
    line-height: 11px;
    text-align: center;
    border: none;
    cursor: default;
}

.nl-terminal__sara-btn--primary {
    background: #0084D1;
    color: var(--nl-white);
}

.nl-terminal__sara-btn--secondary {
    background: transparent;
    color: var(--nl-white);
    border: 0.7px solid rgba(255, 255, 255, 0.1);
}

/* ─── Animations ─── */
@keyframes nl-fadeInUp {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes nl-fadeInDown {
    from { opacity: 0; transform: translate3d(0, -20px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes nl-scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.nl-anim-fade-up     { animation: nl-fadeInUp 0.7s ease-out both; }
.nl-anim-fade-down   { animation: nl-fadeInDown 0.6s ease-out both; }
.nl-anim-scale-in    { animation: nl-scaleIn 0.8s ease-out both; }

.nl-delay-200 { animation-delay: 0.2s; }
.nl-delay-400 { animation-delay: 0.4s; }
.nl-delay-500 { animation-delay: 0.5s; }
.nl-delay-600 { animation-delay: 0.6s; }
.nl-delay-700 { animation-delay: 0.7s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .nl-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: clamp(20px, 5vw, 37px) 20px;
    }

    .nl-hero__content {
        width: 100%;
        max-width: 624px;
        align-items: center;
    }

    .nl-hero__subtitle {
        text-align: left;
    }

    .nl-hero__eyebrow {
        text-align: center;
    }

    .nl-hero__context-sources {
        text-align: center;
    }

    .nl-hero__cta {
        justify-content: center;
    }

    .nl-hero__visual {
        width: 100%;
        max-width: 680px;
        justify-content: center;
        margin-top: clamp(22px, 5vw, 40px);
    }

    .nl-terminal {
        left: 8%;
        width: 84%;
    }

    .nl-nav__links,
    .nl-nav__actions {
        display: none;
    }

    .nl-nav__mobile-toggle {
        display: flex;
    }

    .nl-nav {
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    .nl-nav {
        padding: 15px 20px;
    }
}

@media (max-width: 640px) {
    .nl-hero {
        padding-top: 20px;
    }

    .nl-hero__cta {
        justify-content: center;
    }

    .nl-terminal__body {
        font-size: 7.5px;
    }

    .nl-terminal__sara-text {
        font-size: 7px;
    }
}

/* ─── Hero testimonial quote (Figma "Frame 4") ─── */
.nl-hero-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1144px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px) clamp(56px, 7vw, 88px);
    position: relative;
    z-index: 2;
    text-align: center;
}

.nl-hero-quote__text {
    font-family: var(--nl-font);
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--nl-text-muted);
    font-feature-settings: 'zero' on;
    margin: 0;
    border: none;
    padding: 0;
}

.nl-hero-quote__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.nl-hero-quote__avatar {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    object-fit: cover;
}

.nl-hero-quote__avatar-fallback {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--nl-white);
    font-family: var(--nl-font);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nl-hero-quote__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nl-hero-quote__name {
    font-family: var(--nl-font);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.5px;
    color: var(--nl-white);
    font-feature-settings: 'zero' on;
}

.nl-hero-quote__role {
    font-family: var(--nl-font);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.2px;
    color: #7C7C7C;
    font-feature-settings: 'zero' on;
}

@media (max-width: 640px) {
    .nl-hero-quote {
        padding: 32px 16px 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nl-anim-fade-up,
    .nl-anim-fade-down,
    .nl-anim-scale-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
