/**
 * admin PLUS — premium landing page
 */
.landing-page {
    --lp-cyan: #00aeef;
    --lp-cyan-soft: rgba(0, 174, 239, 0.12);
    --lp-cyan-glow: rgba(0, 174, 239, 0.45);
    --lp-dark: #0a0c10;
    --lp-card: rgba(255, 255, 255, 0.04);
    overflow-x: hidden;
}

html[data-theme="light"] .landing-page {
    --lp-hero-text: #ffffff;
    --lp-muted-on-hero: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .landing-page {
    --lp-hero-text: #f8fafc;
    --lp-muted-on-hero: rgba(248, 250, 252, 0.72);
}

/* ——— Sticky navbar (professional white bar) ——— */
.landing-nav.landing-nav--white {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(10, 12, 16, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 24px rgba(10, 12, 16, 0.04);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.landing-nav.landing-nav--white.is-scrolled {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: rgba(0, 174, 239, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 40px rgba(10, 12, 16, 0.08);
}

.landing-nav__inner {
    max-width: 1140px;
}

.landing-nav__brand {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.landing-nav__toggler {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #f4f6f9;
}

.landing-nav__toggler:focus {
    box-shadow: 0 0 0 3px var(--lp-cyan-soft);
}

.landing-nav--white .navbar-toggler-icon {
    filter: none;
}

.landing-nav--white .landing-nav__links .nav-link {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.5rem;
    color: #1e2430 !important;
    transition: color 0.2s, background 0.2s;
}

.landing-nav--white .landing-nav__links .nav-link:hover,
.landing-nav--white .landing-nav__links .nav-link:focus {
    color: #0077a8 !important;
    background: rgba(0, 174, 239, 0.09);
}

.landing-nav--white .landing-nav__actions .ap-theme-toggle {
    border: 1px solid rgba(10, 12, 16, 0.1);
    background: #fafbfc;
    color: #2a2f38;
}

.landing-nav--white .landing-nav__actions .ap-theme-toggle:hover {
    border-color: var(--lp-cyan);
    color: #0077a8;
    background: rgba(0, 174, 239, 0.06);
}

.landing-nav-lang {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5c6370;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 0.35rem;
    transition: color 0.2s, background 0.2s;
}

.landing-nav-lang:hover {
    color: var(--lp-cyan);
    background: rgba(0, 174, 239, 0.08);
}

.landing-nav-lang-sep {
    display: inline-block;
    width: 1px;
    height: 0.85rem;
    background: rgba(10, 12, 16, 0.12);
    margin: 0 0.15rem;
    vertical-align: middle;
}

.landing-nav--white .btn-landing-cta {
    background: linear-gradient(135deg, var(--lp-cyan) 0%, #0090c9 100%);
    border: none;
    color: #061018 !important;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 18px rgba(0, 174, 239, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-nav--white .btn-landing-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 174, 239, 0.42);
    color: #061018 !important;
}

@media (max-width: 991.98px) {
    .landing-nav__collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(10, 12, 16, 0.06);
    }

    .landing-nav__actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(10, 12, 16, 0.06);
        width: 100%;
    }
}

/* ——— Hero ——— */
.landing-hero {
    position: relative;
    min-height: min(88vh, 900px);
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: var(--lp-dark);
    color: var(--lp-hero-text);
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.landing-hero__mesh {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 174, 239, 0.35), transparent 50%),
        radial-gradient(ellipse 60% 40% at 85% 20%, rgba(0, 120, 180, 0.25), transparent 45%),
        radial-gradient(ellipse 50% 70% at 70% 90%, rgba(0, 174, 239, 0.12), transparent 40%),
        linear-gradient(180deg, #0a0c10 0%, #0d1520 50%, #0a0e14 100%);
}

.landing-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 30%, transparent 95%);
    -webkit-mask-image: linear-gradient(180deg, black 30%, transparent 95%);
}

.landing-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: lp-float 18s ease-in-out infinite;
}

.landing-hero__orb--1 {
    width: min(50vw, 420px);
    height: min(50vw, 420px);
    background: var(--lp-cyan);
    top: -10%;
    right: -5%;
    animation-delay: -4s;
}

.landing-hero__orb--2 {
    width: min(40vw, 320px);
    height: min(40vw, 320px);
    background: #0066aa;
    bottom: 10%;
    left: -8%;
    animation-delay: -9s;
}

@keyframes lp-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 15px) scale(1.05); }
    66% { transform: translate(15px, -10px) scale(0.95); }
}

.landing-hero__content {
    position: relative;
    z-index: 1;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(0, 174, 239, 0.15);
    color: #7fddff;
    border: 1px solid rgba(0, 174, 239, 0.35);
}

.landing-hero h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.landing-hero .lead {
    font-size: 1.125rem;
    color: var(--lp-muted-on-hero);
    max-width: 36rem;
    line-height: 1.65;
}

.landing-hero__actions .btn-light {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.landing-hero__actions .btn-outline-light {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border-width: 2px;
}

.landing-hero__actions .btn-outline-light:hover {
    background: var(--lp-cyan);
    border-color: var(--lp-cyan);
    color: #061018;
}

/* Dashboard mockup */
.landing-mockup {
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

.landing-mockup__frame {
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 174, 239, 0.08) inset;
    padding: 0.75rem;
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform 0.6s ease;
}

html[dir="rtl"] .landing-mockup__frame {
    transform: rotateY(6deg) rotateX(4deg);
}

.landing-mockup:hover .landing-mockup__frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.landing-mockup__bar {
    height: 10px;
    border-radius: 0.25rem;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-inline-start: 10px;
}

.landing-mockup__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.landing-mockup__dot:nth-child(1) { background: #ff5f57; }
.landing-mockup__dot:nth-child(2) { background: #febc2e; }
.landing-mockup__dot:nth-child(3) { background: #28c840; }

.landing-mockup__body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem;
    min-height: 220px;
}

.landing-mockup__side {
    background: rgba(0, 174, 239, 0.08);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 174, 239, 0.15);
}

.landing-mockup__main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.landing-mockup__row {
    height: 2.5rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-mockup__row--accent {
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.25), rgba(0, 174, 239, 0.05));
    border-color: rgba(0, 174, 239, 0.2);
}

/* Stats strip */
.landing-stats {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-stat {
    text-align: center;
    padding: 0.75rem;
}

.landing-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-cyan);
    font-family: ui-monospace, monospace;
}

.landing-stat__label {
    font-size: 0.8rem;
    color: var(--lp-muted-on-hero);
    margin-top: 0.25rem;
}

/* Section titles */
.landing-section-title {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.landing-section-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-cyan);
    margin-bottom: 0.5rem;
}

/* Feature cards */
.landing-feature-card {
    border-radius: 0.75rem;
    border: 1px solid var(--ap-header-border, rgba(0, 0, 0, 0.08));
    background: var(--ap-card-bg, #fff);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 174, 239, 0.12);
    border-color: rgba(0, 174, 239, 0.35);
}

.landing-feature-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: var(--lp-cyan-soft);
    color: var(--lp-cyan);
    margin-bottom: 1rem;
}

/* How it works */
.landing-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ap-header-border, rgba(0, 0, 0, 0.08));
    background: var(--ap-card-bg, #fff);
    height: 100%;
}

.landing-step__num {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-cyan), #0088bb);
    color: #061018;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px var(--lp-cyan-glow);
}

/* Testimonials */
.landing-quote {
    border-radius: 0.75rem;
    border: 1px solid var(--ap-header-border);
    background: var(--ap-card-bg);
    padding: 1.75rem;
    height: 100%;
    position: relative;
}

.landing-quote::before {
    content: "\201C";
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--lp-cyan);
    opacity: 0.2;
    font-family: Georgia, serif;
}

html[dir="rtl"] .landing-quote::before {
    left: auto;
    right: 1rem;
}

.landing-quote p {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: var(--ap-text, #333);
}

/* Plan cards */
.landing-plan-card {
    border-radius: 1rem;
    border: 1px solid var(--ap-header-border);
    background: var(--ap-card-bg);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}

.landing-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 174, 239, 0.15);
}

.landing-plan-card__head {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--lp-cyan-soft) 0%, transparent 100%);
    border-bottom: 1px solid var(--ap-header-border);
}

.landing-plan-card .display-6 {
    font-weight: 700;
}

/* CTA strip */
.landing-cta-strip {
    background: linear-gradient(135deg, #0d1520 0%, #0a1628 50%, #051a24 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 174, 239, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Register section */
.landing-register-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--ap-header-border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .landing-register-card {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.landing-register-aside {
    background: linear-gradient(160deg, var(--lp-dark) 0%, #0d2840 100%);
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-register-aside ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-register-aside li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.92;
}

.landing-register-aside li .bi {
    color: var(--lp-cyan);
    flex-shrink: 0;
}

/* Footer */
.landing-footer {
    border-top: 1px solid var(--ap-header-border);
    background: var(--ap-card-bg);
    padding: 3rem 0 2rem;
}

.landing-footer a {
    color: var(--ap-text-muted, #6b6b70);
    text-decoration: none;
}

.landing-footer a:hover {
    color: var(--lp-cyan);
}

/* Reveal on scroll (subtle) */
.lp-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    .pb-lg-6 {
        padding-bottom: 4rem !important;
    }
}

.landing-register-form-col {
    background: var(--ap-card-bg, #fff);
}

/* ——— Sign-in hub (approved company workspace) ——— */
.signin-hub-page.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.signin-hub-hero {
    flex: 1;
    min-height: min(100vh, 960px);
    padding-top: 0.5rem;
    padding-bottom: 3rem;
}

.signin-hub-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.125rem;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.25),
        0 32px 80px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .signin-hub-card {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.signin-hub-features li {
    color: var(--ap-text, #e8eaed);
}

html[data-theme="light"] .signin-hub-features li {
    color: var(--ap-text, #1a1d24);
}

.signin-hub-feature-icon {
    color: var(--lp-cyan);
    font-size: 1.35rem;
    line-height: 1.2;
    margin-top: 0.1rem;
}

.signin-hub-feature-text {
    font-size: 1rem;
    line-height: 1.65;
}

.signin-hub-note {
    color: var(--lp-muted-on-hero);
}

html[data-theme="light"] .signin-hub-note {
    color: #5c6370;
}

.signin-hub-links .btn-link {
    color: rgba(255, 255, 255, 0.75);
}

.signin-hub-links .btn-link:hover {
    color: var(--lp-cyan);
}

html[data-theme="light"] .signin-hub-links .btn-link {
    color: #3d4450;
}

html[data-theme="light"] .signin-hub-links .btn-link:hover {
    color: #0090c9;
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero__orb,
    .landing-mockup__frame,
    .lp-reveal {
        animation: none !important;
        transition: none !important;
    }
    .lp-reveal {
        opacity: 1;
        transform: none;
    }
}
