/* ============================================================
   HRIS Landing Page
   ============================================================ */
:root {
    --lp-navy: #0c1f4a;
    --lp-blue: #2563eb;
    --lp-blue-soft: #3b82f6;
    --lp-blue-pale: #dbeafe;
    --lp-text: #1e293b;
    --lp-muted: #64748b;
    --lp-white: #ffffff;
    --lp-bg: #f8fafc;
    --lp-gradient-btn: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    --lp-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --lp-display: "Sora", "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.landing-page {
    font-family: var(--lp-font);
    color: var(--lp-text);
    background: var(--lp-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lp-container {
    width: min(1120px, calc(100% - 3rem));
    margin-inline: auto;
}

/* ---------- Header ---------- */
.lp-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 30;
    padding: 1.5rem 0;
}

.lp-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    justify-self: start;
}

.lp-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--lp-gradient-btn);
    display: grid;
    place-items: center;
    color: white;
    font-family: var(--lp-display);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.lp-brand-text {
    font-family: var(--lp-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: var(--lp-navy);
    text-transform: uppercase;
}

.lp-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.lp-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--lp-muted);
    transition: color 0.2s ease;
}

.lp-menu a:hover {
    color: var(--lp-blue);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 999px;
    padding: 0.7rem 1.45rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}

.lp-btn:hover {
    transform: translateY(-1px);
}

.lp-btn-primary {
    background: var(--lp-gradient-btn);
    color: var(--lp-white);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.lp-btn-primary:hover {
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38);
}

.lp-btn-link {
    background: transparent;
    color: var(--lp-navy);
    padding: 0.7rem 1rem;
    font-weight: 600;
}

.lp-btn-link:hover {
    color: var(--lp-blue);
    transform: none;
}

.lp-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(12, 31, 74, 0.1);
    border-radius: 10px;
    background: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.35rem;
}

.lp-menu-toggle span,
.lp-menu-toggle span::before,
.lp-menu-toggle span::after {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--lp-navy);
    position: relative;
}

.lp-menu-toggle span::before,
.lp-menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.lp-menu-toggle span::before {
    top: -5px;
}

.lp-menu-toggle span::after {
    top: 5px;
}

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 3.5rem;
    overflow: hidden;
    background: #ffffff;
}

.lp-hero::before {
    content: "";
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: min(48vw, 560px);
    height: min(48vw, 560px);
    border-radius: 48% 52% 45% 55%;
    background: linear-gradient(145deg, #93c5fd 0%, #60a5fa 40%, #3b82f6 100%);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    animation: lp-blob 10s ease-in-out infinite;
}

.lp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 2rem 2rem;
    width: 100%;
}

.lp-hero-copy {
    max-width: 32rem;
    width: 100%;
    justify-self: center;
    text-align: left;
}

.lp-brand-hero {
    font-family: var(--lp-display);
    font-size: clamp(2.8rem, 5.5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--lp-navy);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lp-hero-title {
    font-family: var(--lp-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--lp-blue);
    line-height: 1.35;
    margin-bottom: 1rem;
}

.lp-hero-text {
    font-size: 1rem;
    color: var(--lp-muted);
    max-width: 26rem;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
}

.lp-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    width: 100%;
    min-height: 320px;
}

.lp-hero-image {
    width: min(100%, 500px);
    margin: 0 auto;
    animation: lp-float 6.5s ease-in-out infinite;
}

@keyframes lp-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes lp-blob {
    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(calc(-50% + 10px)) translateX(-10px) scale(1.04);
    }
}

@keyframes lp-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-anim {
    opacity: 0;
    animation: lp-fade-up 0.75s ease forwards;
}

.lp-anim-delay-1 {
    animation-delay: 0.1s;
}

.lp-anim-delay-2 {
    animation-delay: 0.2s;
}

.lp-anim-delay-3 {
    animation-delay: 0.3s;
}

.lp-anim-delay-4 {
    animation-delay: 0.4s;
}

/* ---------- Features ---------- */
.lp-section {
    padding: 5rem 0;
}

.lp-section-alt {
    background: var(--lp-bg);
}

.lp-section-head {
    max-width: 34rem;
    margin-bottom: 2.5rem;
}

.lp-section-head h2 {
    font-family: var(--lp-display);
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    font-weight: 700;
    color: var(--lp-navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
}

.lp-section-head p {
    color: var(--lp-muted);
    font-size: 1rem;
}

.lp-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.lp-features-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-feature {
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 8px 24px rgba(12, 31, 74, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(12, 31, 74, 0.08);
}

.lp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--lp-blue-pale);
    color: var(--lp-blue);
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}

.lp-feature h3 {
    font-family: var(--lp-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-navy);
    margin-bottom: 0.4rem;
}

.lp-feature p {
    color: var(--lp-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.lp-section-head-center {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 2.75rem;
}

/* ---------- Pricing ---------- */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 28px rgba(12, 31, 74, 0.05);
}

.lp-plan.is-featured {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.14);
    transform: translateY(-4px);
}

.lp-plan-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-gradient-btn);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
}

.lp-plan h3 {
    font-family: var(--lp-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lp-navy);
    margin-bottom: 0.35rem;
}

.lp-plan-tagline {
    color: var(--lp-muted);
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

.lp-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.lp-plan-amount {
    font-family: var(--lp-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--lp-navy);
}

.lp-plan-period {
    color: var(--lp-muted);
    font-size: 0.88rem;
}

.lp-plan-yearly {
    color: var(--lp-muted);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.lp-plan-limits,
.lp-plan-features {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.lp-plan-limits {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.85rem;
}

.lp-plan-limits li,
.lp-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: var(--lp-text);
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.45rem;
}

.lp-plan-limits i,
.lp-plan-features i {
    color: var(--lp-blue);
    font-size: 1.05rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.lp-plan-features {
    flex: 1;
}

.lp-plan-cta {
    width: 100%;
    margin-top: auto;
}

.lp-btn-outline {
    background: transparent;
    color: var(--lp-navy);
    border: 1.5px solid rgba(12, 31, 74, 0.18);
}

.lp-btn-outline:hover {
    border-color: var(--lp-blue);
    color: var(--lp-blue);
}

.lp-empty-plans {
    text-align: center;
    color: var(--lp-muted);
    padding: 2rem 0;
}

/* ---------- Contact ---------- */
.lp-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.lp-contact-card {
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    background: var(--lp-bg);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.lp-contact-card h3 {
    font-family: var(--lp-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-navy);
    margin-bottom: 0.45rem;
}

.lp-contact-card p {
    color: var(--lp-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.lp-contact-card a {
    color: var(--lp-blue);
    font-weight: 600;
}

.lp-contact-card a:hover {
    text-decoration: underline;
}

/* ---------- CTA ---------- */
.lp-cta {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(115deg, #0c1f4a 0%, #1d4ed8 55%, #3b82f6 100%);
    color: white;
}

.lp-cta::before {
    content: "";
    position: absolute;
    right: -5%;
    top: -40%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.lp-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.lp-cta h2 {
    font-family: var(--lp-display);
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.lp-cta p {
    opacity: 0.9;
    max-width: 30rem;
    font-size: 0.98rem;
}

.lp-cta .lp-btn-primary {
    background: white;
    color: var(--lp-navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ---------- Footer ---------- */
.lp-footer {
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.lp-footer-name {
    font-family: var(--lp-display);
    font-weight: 700;
    color: var(--lp-navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.lp-footer-company {
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}

.lp-footer-brand p:last-child {
    color: var(--lp-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.lp-footer-heading {
    font-weight: 700;
    color: var(--lp-navy);
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
}

.lp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.lp-footer-col a {
    color: var(--lp-muted);
    font-size: 0.9rem;
}

.lp-footer-col a:hover {
    color: var(--lp-blue);
}

.lp-footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    color: var(--lp-muted);
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .lp-nav {
        grid-template-columns: 1fr auto;
    }

    .lp-menu {
        display: none;
    }

    .lp-menu-toggle {
        display: inline-flex;
    }

    .lp-nav.is-open .lp-menu {
        display: flex;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 1.5rem;
        right: 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        border-radius: 14px;
        padding: 0.6rem;
        box-shadow: 0 16px 36px rgba(12, 31, 74, 0.12);
        border: 1px solid rgba(12, 31, 74, 0.08);
        z-index: 40;
    }

    .lp-nav.is-open .lp-menu a {
        padding: 0.8rem 1rem;
        border-radius: 10px;
    }

    .lp-nav.is-open .lp-menu a:hover {
        background: var(--lp-bg);
    }

    .lp-hero {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
        min-height: auto;
    }

    .lp-hero::before {
        width: 70vw;
        height: 70vw;
        top: auto;
        bottom: -10%;
        right: -15%;
        transform: none;
        opacity: 0.16;
        animation: none;
    }

    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }

    .lp-hero-copy {
        max-width: none;
        justify-self: center;
    }

    .lp-hero-visual {
        justify-content: center;
        min-height: 0;
    }

    .lp-hero-image {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .lp-features,
    .lp-features-wide,
    .lp-pricing,
    .lp-contact-grid,
    .lp-footer-grid {
        grid-template-columns: 1fr;
    }

    .lp-plan.is-featured {
        transform: none;
    }

    .lp-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .lp-container {
        width: calc(100% - 1.75rem);
    }

    .lp-header {
        padding: 1.1rem 0;
    }

    .lp-nav-actions .lp-btn-primary {
        display: none;
    }

    .lp-brand-hero {
        font-size: 2.4rem;
    }

    .lp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-hero-actions .lp-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-anim,
    .lp-hero-image,
    .lp-hero::before {
        animation: none;
        opacity: 1;
    }
}
