/* ─── Shared landing page styles ─────────────────────────────────────────── */
/* Used by Home.razor, Contact.razor, and any other landing page components. */

/* Landing page is always dark — override light theme so the marketing        */
/* page is never affected by the app's user theme preference.                 */
[data-theme="light"] body:has(.landing-layout) { background: #111827; }
[data-theme="light"] .landing-layout {
    --lp-bg:               #111827;
    --lp-bg-card:          #1f2937;
    --lp-bg-card2:         #18202e;
    --lp-text:             #f9fafb;
    --lp-muted:            #9ca3af;
    --lp-border:           #374151;
    --lp-hover-bg:         rgba(255,255,255,0.06);
    --lp-hover-bg-strong:  rgba(255,255,255,0.14);
    --lp-btn-bg:           rgba(255,255,255,0.08);
    --lp-btn-border:       rgba(255,255,255,0.15);
    --lp-btn-border-hover: rgba(255,255,255,0.3);
    --lp-dropdown-bg:      #1c2333;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
    height: 60px;
    display: flex;
    align-items: center;
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0 1.5rem;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-text) !important;
    text-decoration: none !important;
    flex-shrink: 0;
}

.lp-logo-icon {
    width: 30px; height: 30px;
    background: var(--lp-orange);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}

.lp-nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.lp-nav-links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}
@media (hover: hover) { .lp-nav-links a:hover { color: var(--lp-text); } }
.lp-nav-links a.lp-nav-active { color: var(--lp-orange); font-weight: 600; }

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* ─── Hamburger button (mobile only) ────────────────────────────────────── */
.lp-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--lp-text);
    padding: 0.4rem;
    margin-left: auto;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}
@media (hover: hover) { .lp-hamburger:hover { background: rgba(255,255,255,0.1); } }
.lp-hamburger:focus { outline: none; }

/* ─── Mobile menu panel ──────────────────────────────────────────────────── */
.lp-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(11, 14, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--lp-border);
    padding: 0.5rem 1.25rem 1.5rem;
}

.lp-mobile-links {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.lp-mobile-links a {
    color: var(--lp-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.7rem 0;
    transition: color 0.15s;
}
@media (hover: hover) { .lp-mobile-links a:hover { color: var(--lp-orange); } }

.lp-mobile-lang {
    margin-bottom: 0.85rem;
}

.lp-mobile-login {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem !important;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.lp-mobile-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.85rem 1rem !important;
    font-size: 1rem;
    border-radius: 8px;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5, 8, 15, 0.93) 0%,
        rgba(5, 8, 15, 0.88) 35%,
        rgba(5, 8, 15, 0.68) 60%,
        rgba(5, 8, 15, 0.45) 100%
    );
    pointer-events: none;
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.lp-badge {
    display: inline-block;
    background: rgba(245,158,11,0.15);
    color: var(--lp-orange);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.lp-hero-h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--lp-text);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 650px;
}

.lp-orange { color: var(--lp-orange); }

.lp-hero-sub {
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 2rem;
}

.lp-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.lp-btn-orange-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    border-radius: 8px;
}

/* ─── Hero stats ─────────────────────────────────────────────────────────── */
.lp-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.lp-stat-sep {
    width: 1px;
    height: 36px;
    background: var(--lp-border);
}

.lp-stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-text);
    line-height: 1;
}

.lp-stat-lbl {
    display: block;
    font-size: 0.78rem;
    color: var(--lp-muted);
    margin-top: 2px;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.lp-section {
    background: var(--lp-bg);
    padding: 90px 0;
    border-top: 1px solid var(--lp-border);
}

.lp-section-hdr {
    text-align: center;
    margin-bottom: 3.5rem;
}

.lp-section-tag {
    display: inline-block;
    color: var(--lp-orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.lp-section-hdr h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--lp-text);
    margin-bottom: 0.75rem;
}

.lp-section-hdr p {
    color: var(--lp-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Feature cards ──────────────────────────────────────────────────────── */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) { .lp-features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .lp-features-grid { grid-template-columns: 1fr; } }

.lp-feature-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}
@media (hover: hover) {
    .lp-feature-card:hover {
        border-color: rgba(245,158,11,0.4);
        transform: translateY(-3px);
    }
}

.lp-icon-box {
    width: 48px; height: 48px;
    background: rgba(245,158,11,0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--lp-orange);
}

.lp-feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}

.lp-feature-card p {
    color: var(--lp-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* ─── Pricing cards ──────────────────────────────────────────────────────── */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}
@media (max-width: 900px) { .lp-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.lp-pricing-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2rem;
}

.lp-pricing-card.lp-pricing-popular {
    border-color: var(--lp-orange);
    position: relative;
}

.lp-popular-badge {
    display: inline-block;
    background: rgba(245,158,11,0.2);
    color: var(--lp-orange);
    border-radius: 100px;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.lp-pricing-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.25rem;
}

.lp-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0.75rem 0;
}
.lp-price-amount { font-size: 2.8rem; font-weight: 800; color: var(--lp-text); line-height: 1; }
.lp-price-amount-custom { font-size: 2.2rem; font-weight: 800; color: var(--lp-text); line-height: 1; }
.lp-price-period { font-size: 0.9rem; color: var(--lp-muted); }

.lp-pricing-desc { color: var(--lp-muted); font-size: 0.88rem; margin-bottom: 1.25rem; }

.lp-pricing-btn {
    display: block;
    width: 100%;
    padding: 0.7rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.15s;
}

.lp-pricing-btn-outline {
    background: transparent;
    border: 1px solid var(--lp-border);
    color: var(--lp-text) !important;
}
@media (hover: hover) { .lp-pricing-btn-outline:hover { border-color: var(--lp-text); } }

.lp-pricing-btn-orange {
    background: var(--lp-orange);
    border: 1px solid var(--lp-orange);
    color: #111 !important;
}
.lp-pricing-btn-orange:hover { background: var(--lp-orange-dim); }

.lp-pricing-features { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.lp-pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--lp-muted);
    font-size: 0.88rem;
    padding: 0.35rem 0;
}
.lp-check { color: var(--lp-orange); flex-shrink: 0; }

.lp-divider { border: none; border-top: 1px solid var(--lp-border); margin: 1.25rem 0; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.lp-footer {
    background: var(--lp-bg-card2);
    border-top: 1px solid var(--lp-border);
    padding: 60px 0 30px;
}

.lp-footer-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-weight: 700; font-size: 1.1rem;
    color: var(--lp-text) !important;
    text-decoration: none !important;
    margin-bottom: 0.75rem;
}

.lp-footer p { color: var(--lp-muted); font-size: 0.88rem; line-height: 1.6; }
.lp-footer h6 { color: var(--lp-text); font-weight: 600; margin-bottom: 0.75rem; }
.lp-footer ul { list-style: none; padding: 0; }
.lp-footer ul li { margin-bottom: 0.5rem; }
.lp-footer ul a { color: var(--lp-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.15s; }
@media (hover: hover) { .lp-footer ul a:hover { color: var(--lp-text); } }
.lp-footer-copy { color: var(--lp-muted); font-size: 0.8rem; text-align: center; padding-top: 2rem; border-top: 1px solid var(--lp-border); margin-top: 2.5rem; }
