/* ---------- Helaplus landing page — infrastructure-grade, calm, premium ---------- */

.hp-landing {
    margin: -15px -15px 0 -15px;
    background: #0f2a22;
    color: #f8fafc;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    height: 100vh;
    overflow: hidden;
}

/* Nav — aligned to the hero text column */
.hp-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 22px 0;
}
.hp-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hp-nav-brand { display: flex; align-items: center; gap: 18px; }
.hp-nav-logo {
    width: 180px;
    height: auto;
    background: #fff;
    border-radius: 10px;
    padding: 7px 14px;
}
.hp-nav-powered {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
}
.hp-nav-hp { height: 13px; width: auto; display: inline-block; }
.hp-nav-signin {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 8px;
    padding: 8px 20px;
    text-decoration: none;
    transition: 150ms ease-in-out;
    background: rgba(255,255,255,.05);
}
.hp-nav-signin:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

/* Hero */
.hp-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, #0f2a22 0%, #14322a 55%, #1a4a36 100%);
    overflow: hidden;
}
.hp-hero-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hp-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 56px;
    min-height: 100vh;
    padding: 120px 48px 80px;
    max-width: 1280px;
    margin: 0 auto;
}
.hp-hero-copy { flex: 1.2; min-width: 0; }
.hp-hero-h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: #fff;
    margin: 0 0 22px;
}
.hp-hero-h1 span { color: rgba(255,255,255,.55); }
.hp-hero-sub {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,.72);
    max-width: 520px;
    margin: 0 0 32px;
}
.hp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hp-cta-primary {
    background: #4ade80;
    color: #0f2a22;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: 150ms ease-in-out;
    display: inline-block;
}
.hp-cta-primary:hover { background: #86efac; color: #0f2a22; text-decoration: none; }
.hp-cta-ghost {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.28);
    text-decoration: none;
    transition: 150ms ease-in-out;
    display: inline-block;
}
.hp-cta-ghost:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }

.hp-hero-form { flex: 0 0 380px; }

/* Sign-in card — reuses hp-login-* from custom.css, quote adds on top */
.hp-quote {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eef2f0;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    line-height: 1.55;
    min-height: 42px;
}
.hp-quote-mark { color: #c8860a; font-size: 18px; font-weight: 800; margin-right: 4px; font-style: normal; }
#hp-quote-text { transition: opacity .5s ease; }
#hp-quote-text.hp-quote-fade { opacity: 0; }

/* Sections shared */
.hp-sec { padding: 110px 48px; }
.hp-sec-inner { max-width: 1080px; margin: 0 auto; }
.hp-sec-light { background: #f8fafc; color: #1e293b; }
.hp-sec-dark { background: #0f2a22; color: #f8fafc; }
.hp-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #c8860a;
    margin-bottom: 16px;
}
.hp-h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 20px;
    color: inherit;
}
.hp-sec-light .hp-h2 { color: #14322a; }
.hp-h2-hero { font-size: 46px; }
.hp-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    max-width: 680px;
    margin: 0 0 40px;
}
.hp-sec-dark .hp-lead { color: rgba(255,255,255,.68); }
.hp-lead-strong { color: #4ade80; font-weight: 600; }

/* Section 2 — broken systems */
.hp-broken {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.hp-chip {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.hp-dash {
    width: 26px;
    height: 1px;
    background: #cbd5e1;
}
.hp-dash-broken {
    background: repeating-linear-gradient(90deg, #dc2626 0 4px, transparent 4px 9px);
    opacity: .55;
}

/* Section 3 — converge */
.hp-converge { margin-top: 24px; }
.hp-converge-in {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 34px;
}
.hp-converge-in span {
    border: 1px solid rgba(74,222,128,.35);
    color: #a7f3d0;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}
.hp-converge-core {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .3em;
    color: #fff;
    border: 1px solid rgba(74,222,128,.5);
    border-radius: 14px;
    padding: 26px;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(74,222,128,.06);
    box-shadow: 0 0 60px rgba(74,222,128,.08) inset;
}

/* Section 4 — layer stack */
.hp-stack {
    max-width: 760px;
    border: 1px solid rgba(74,222,128,.3);
    border-radius: 16px;
    overflow: hidden;
}
.hp-stack-band {
    padding: 26px 32px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
}
.hp-stack-band:last-child { border-bottom: none; }
.hp-stack-band:hover { background: rgba(74,222,128,.06); }
.hp-stack-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 6px;
}
.hp-stack-items { font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: .02em; }

/* Section 5 — flows */
.hp-flows { display: flex; flex-direction: column; gap: 14px; }
.hp-flow-row {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.hp-flow-name {
    flex: 0 0 170px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #14322a;
}
.hp-flow-path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hp-flow-path span {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 5px 12px;
    background: #f8fafc;
}
.hp-flow-path b { color: #94a3b8; font-weight: 400; }
.hp-flow-path .hp-flow-core {
    background: #14322a;
    color: #fff;
    border-color: #14322a;
}
.hp-flow-path .hp-flow-ext {
    border-color: rgba(200,134,10,.5);
    color: #c8860a;
    background: #fffbeb;
}

/* Section 6 — channels */
.hp-channels { text-align: center; margin-top: 8px; }
.hp-channel-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hp-channel {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 10px;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.hp-channel-lines {
    width: 2px;
    height: 44px;
    margin: 0 auto;
    background: linear-gradient(#cbd5e1, #14322a);
    position: relative;
}
.hp-channel-lines::before,
.hp-channel-lines::after {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 44px;
    background: linear-gradient(#e2e8f0, transparent);
}
.hp-channel-lines::before { left: -160px; transform: rotate(24deg); transform-origin: top; }
.hp-channel-lines::after { right: -160px; transform: rotate(-24deg); transform-origin: top; }
.hp-channel-core {
    display: inline-block;
    background: #14322a;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .3em;
    padding: 20px 64px;
    border-radius: 12px;
}
.hp-channel-sub { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #64748b; }

/* Section 7 — integrations */
.hp-integrations {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.hp-int-col { display: flex; flex-direction: column; gap: 10px; }
.hp-int-chip {
    border: 1px solid rgba(200,134,10,.4);
    color: #f5d08a;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(200,134,10,.06);
}
.hp-int-arrow { font-size: 26px; color: #4ade80; }
.hp-int-core {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .24em;
    color: #fff;
    border: 1px solid rgba(74,222,128,.5);
    border-radius: 12px;
    padding: 30px 40px;
    background: rgba(74,222,128,.06);
}
.hp-int-out {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #a7f3d0;
}

/* Section 8 — proof */
.hp-proof {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 44px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(15,42,34,.07);
}
.hp-proof-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 18px;
}
.hp-proof-logo { width: 280px; height: auto; display: block; margin-bottom: 18px; }
.hp-proof-sub { font-size: 13.5px; color: #64748b; max-width: 380px; }

/* Section 10 — CTA */
.hp-sec-cta {
    background: linear-gradient(160deg, #14322a 0%, #0f2a22 100%);
    text-align: center;
    padding: 130px 48px;
}
.hp-sec-cta .hp-lead { margin-left: auto; margin-right: auto; color: rgba(255,255,255,.68); }
.hp-sec-cta .hp-hero-ctas { justify-content: center; }

/* Footer */
.hp-footer {
    background: #0b1f1a;
    padding: 28px 48px;
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
}
.hp-footer a { color: #c8860a; font-weight: 600; text-decoration: none; }
.hp-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
    .hp-hero-inner { flex-direction: column; align-items: flex-start; gap: 40px; padding-top: 110px; }
    .hp-hero-form { flex: none; width: 100%; max-width: 420px; }
    .hp-hero-h1 { font-size: 40px; }
}
@media (max-width: 800px) {
    .hp-landing { height: auto; overflow: visible; }
    .hp-nav-inner { padding: 0 24px; justify-content: center; }
    .hp-nav-logo { width: 140px; margin: 0 auto; }
    .hp-nav-powered { display: none; }
    .hp-hero { min-height: auto; }
    .hp-hero-net { display: none; }
    .hp-hero-inner { min-height: auto; padding: 110px 24px 56px; align-items: center; }
    .hp-hero-copy { text-align: center; }
    .hp-hero-sub { margin-left: auto; margin-right: auto; }
    .hp-hero-form { margin: 0 auto; }
    .hp-hero-h1 { font-size: 32px; }
    .hp-hero-sub { font-size: 15px; }
    .hp-sec { padding: 72px 24px; }
    .hp-h2 { font-size: 28px; }
    .hp-h2-hero { font-size: 32px; }
    .hp-flow-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hp-flow-name { flex: none; }
    .hp-integrations { flex-direction: column; align-items: flex-start; }
    .hp-int-arrow { transform: rotate(90deg); }
    .hp-proof { padding: 28px; }
    .hp-proof-logo { width: 220px; }
    .hp-channel-lines::before, .hp-channel-lines::after { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hp-hero-net { opacity: .5; }
    #hp-quote-text { transition: none; }
    .hp-cta-primary, .hp-cta-ghost, .hp-nav-signin { transition: none; }
}
