/* Home — nexvork.ai (prefix hm-) */

.hm-hero { min-height: min(100vh, 880px); display: flex; align-items: center; padding-bottom: clamp(72px, 9vw, 120px); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hm-hero-grid > * { min-width: 0; }
.hm-hero-copy .nx-hero-title { max-width: 12ch; }
.hm-term { display: inline-block; transition: opacity 0.26s var(--ease-out), filter 0.26s var(--ease-out), transform 0.26s var(--ease-out); }
.hm-term.is-swap { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.hm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hm-pills .nx-pill { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; }
.hm-orb-1 { width: 560px; height: 560px; top: -180px; left: -160px; }
.hm-orb-2 { width: 620px; height: 620px; top: 10%; right: -220px; }
.hm-orb-3 { width: 420px; height: 420px; bottom: -160px; left: 35%; }

.hm-hero-visual { position: relative; }
.hm-console { max-width: 560px; margin-left: auto; z-index: 1; }
.hm-console-body { transition: opacity 0.26s var(--ease-out), filter 0.26s var(--ease-out); }
.hm-console-body.is-swap { opacity: 0.2; filter: blur(6px); }
.hm-console-tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-blue-2); margin-bottom: 12px; }
html[data-theme="light"] .hm-console-tag { color: var(--nx-purple); }
.hm-cols { margin-top: 10px; }
.hm-leads { margin-top: 10px; }
.hm-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.76rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-md); white-space: nowrap; z-index: 3; }
.hm-chip svg { color: var(--nx-amber); }
.hm-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-wa); box-shadow: 0 0 10px var(--nx-wa); }
.hm-chip-1 { top: -18px; left: -10px; }
.hm-chip-2 { bottom: -16px; right: 16px; }
.hm-chip-3 { bottom: 34px; left: 0; right: 0; width: max-content; max-width: calc(100% - 16px); margin: 0 auto; white-space: normal; text-align: center; }

.hm-marquee { padding: 14px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.hm-marquee .nx-marquee { padding: 14px 0 28px; }

.hm-bento { gap: 18px; }
.hm-icard { display: flex; flex-direction: column; }
.hm-icard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hm-icard .nx-icon { width: 46px; height: 46px; }
.hm-icard-pain { font-size: 0.9rem !important; color: var(--subtle) !important; font-style: italic; margin-bottom: 8px; }
.hm-icard .nx-card-link { margin-top: auto; padding-top: 18px; }

.hm-story-win, .hm-story-con { max-width: 560px; }
.hm-pick-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.hm-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hm-pick { padding: 10px 8px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-size: 0.76rem; font-weight: 500; text-align: center; color: var(--muted); }
.hm-pick.is-on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.hm-flow { justify-content: center; margin-bottom: 14px; }
.hm-import { display: grid; gap: 6px; }
.hm-import-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.hm-import-row strong { color: var(--text); font-family: var(--font-mono); }
.hm-import-row .hm-warn { color: var(--nx-amber); }
.hm-import-row .hm-ok { color: var(--nx-emerald); }
.hm-story-phone { width: 300px; }

.hm-plat .nx-card p { font-size: 0.93rem; }
.hm-mini .nx-row { padding: 8px 10px; }
.hm-mini-chat { box-shadow: none; }
.hm-mini-chat .nx-chat-body { padding: 12px; }

.hm-wa-visual { position: relative; padding: 20px 0; }
.hm-wa-visual .nx-phone { width: 320px; }

.hm-why-grid .nx-card p { font-size: 0.92rem; }

.hm-re { padding-top: 0; }
.hm-re-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-2xl); }
.hm-re-card > * { min-width: 0; }
.hm-re-visual .nx-window { max-width: 100%; }
.hm-re-card::before { opacity: 1 !important; background: radial-gradient(60% 80% at 0% 0%, rgba(130,62,157,0.35), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(65,143,228,0.3), transparent 60%); }
.hm-re-card .eyebrow { color: var(--nx-blue-2); }
.hm-re-card .h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.hm-re-card .lead { color: #C3C8D6; margin-bottom: 26px; font-size: 1.05rem; }
.hm-re-card .nx-btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.2); }
.hm-re-visual .nx-window { background: #0C0C15; color: #F4F5FA; border-color: rgba(255,255,255,0.12); }
.hm-re-visual .nx-row { border-color: rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); }
.hm-match { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; margin-top: 8px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); font-size: 0.78rem; color: #C3C8D6; }
.hm-match strong { color: #34D399; font-family: var(--font-mono); font-size: 0.72rem; white-space: nowrap; }

@media (max-width: 1100px) {
    .hm-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hm-hero { min-height: 0; }
    .hm-hero-copy .nx-hero-title { max-width: none; }
    .hm-console { margin: 0 auto; }
    .hm-chip-1 { left: 0; }
}
@media (max-width: 900px) {
    .hm-re-card { grid-template-columns: minmax(0, 1fr); }
    .hm-story-phone { width: 280px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .hm-chip { font-size: 0.7rem; padding: 7px 11px; }
    .hm-chip-1 { top: -14px; }
    .hm-chip-2 { bottom: -14px; right: 6px; }
    .hm-chip-3 { bottom: 14px; }
    .hm-pick-grid { grid-template-columns: repeat(2, 1fr); }
    .hm-wa-visual .nx-phone { width: 280px; }
    .hm-re-card { padding: 28px 20px; }
    .nx-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .hm-pills .nx-pill { font-size: 0.62rem; padding: 6px 9px; }
}

.hm-app .split { align-items: center; }
.hm-app-visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.hm-app-visual .nx-phone { width: 300px; }
.hm-app-screen { background: #0C0C15; color: #F4F5FA; border-radius: 30px; padding: 44px 14px 18px; min-height: 560px; display: flex; flex-direction: column; gap: 10px; font-size: 0.78rem; }
html[data-theme="light"] .hm-app-screen { background: #F7F8FB; color: #0B0B14; }
.hm-app-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.hm-app-greet { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin-top: 4px; }
.hm-app-greet small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.74rem; color: var(--muted); margin-top: 2px; }
.hm-app-screen .nx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-app-screen .nx-row { padding: 8px 10px; }
.hm-app-screen .nx-ai-line { margin-top: 2px; }
.hm-app-nav { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); text-align: center; }
.hm-app-nav span { padding: 6px 0; border-radius: 8px; }
.hm-app-nav span.is-on { color: #fff; background: var(--grad); }
.hm-app-chip { position: absolute; top: 36px; right: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.76rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-md); white-space: nowrap; z-index: 3; }
.hm-app-chip-2 { top: auto; bottom: 56px; right: auto; left: 0; }
.hm-app-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-emerald); box-shadow: 0 0 10px var(--nx-emerald); }
.hm-app-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; }
.hm-app-note { font-size: 0.84rem; color: var(--subtle); }
.hm-app-grid { margin-top: 28px; }
.hm-app-grid .nx-card { padding: 20px; }
.hm-app-grid .nx-card p { font-size: 0.88rem; }

.hm-contact .ct-contact-grid { margin-top: 8px; }
.hm-contact .ct-rail { position: static; }

@media (max-width: 900px) {
    .hm-app-visual { padding-bottom: 64px; }
    .hm-app-visual .nx-phone { width: 280px; }
    .hm-app-chip { right: 8px; }
    .hm-app-chip-2 { top: auto; bottom: 0; left: 0; right: 0; width: max-content; max-width: calc(100% - 16px); margin: 0 auto; }
}
@media (max-width: 640px) {
    .hm-app-chip { font-size: 0.7rem; padding: 7px 11px; top: 20px; }
    .hm-app-chip-2 { top: auto; bottom: 0; }
}
