/* ═══════════════════════════════════════════════════════════════
   Khpra Landing — Zoho-inspired, animation-rich
   ═══════════════════════════════════════════════════════════════ */

.landing-body {
    font-family: 'Alexandria', sans-serif !important;
    background: var(--bg-main, #0B0E14);
    color: var(--text-main, #fff);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

.lp-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.lp-container--narrow { max-width: 42rem; }

.gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary, var(--accent)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scroll reveal ── */
.lp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.lp-reveal-delay-1 { transition-delay: 0.08s; }
.lp-reveal-delay-2 { transition-delay: 0.16s; }
.lp-reveal-delay-3 { transition-delay: 0.24s; }
.lp-reveal-delay-4 { transition-delay: 0.32s; }

/* ── Nav ── */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: color-mix(in srgb, var(--bg-main) 82%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}
.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 4rem;
}
.lp-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
}
.lp-brand img { height: 2.25rem; width: 2.25rem; object-fit: contain; }
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.82rem;
    font-weight: 700;
}
.landing-nav-links a {
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.landing-nav-links a:hover {
    color: var(--text-active);
    background: var(--nav-bg-active);
}
.landing-nav-links a.active {
    color: var(--text-active);
    background: color-mix(in srgb, var(--primary) 12%, var(--nav-bg-active));
}
.landing-nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
}
.landing-nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 199;
}
.landing-nav-mobile.open { display: flex; }
.landing-nav-mobile a {
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-decoration: none;
}
.landing-nav-mobile a:hover { background: var(--nav-bg-active); color: var(--text-active); }
.landing-nav-mobile-theme {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: var(--nav-bg-active);
    margin: 0.25rem 0;
}
.landing-nav-mobile-theme span {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
}

/* ── Hero ── */
.lp-hero {
    position: relative;
    padding: 3rem 0 2rem;
    overflow: hidden;
}
.lp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.lp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: lpOrbFloat 12s ease-in-out infinite;
}
.lp-hero-orb--1 {
    width: 480px; height: 480px;
    top: -120px; right: -80px;
    background: color-mix(in srgb, var(--primary) 28%, transparent);
}
.lp-hero-orb--2 {
    width: 360px; height: 360px;
    bottom: -60px; left: -60px;
    background: color-mix(in srgb, var(--secondary, var(--accent)) 20%, transparent);
    animation-delay: -4s;
}
.lp-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, var(--border-color) 25%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--border-color) 25%, transparent) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
    opacity: 0.5;
}
@keyframes lpOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 24px) scale(1.06); }
}

.lp-hero-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.lp-hero-copy { max-width: 34rem; }
.lp-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 1rem 0;
}
.lp-hero-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}
.lp-hero-lead strong { color: var(--text-main); font-weight: 800; }
.lp-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}
.lp-btn-lg {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
}
.lp-hero-demo-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: color-mix(in srgb, var(--primary) 12%, var(--card-bg));
    border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border-color));
    color: var(--text-active);
}

/* Hero visual mock — desktop/tablet only */
.lp-hero-visual {
    position: relative;
    min-height: 380px;
    width: 100%;
}
.lp-hero-float--main {
    width: 100%;
    max-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 64px color-mix(in srgb, var(--primary) 12%, rgba(0,0,0,0.35));
    animation: lpFloatMain 6s ease-in-out infinite;
}
@keyframes lpFloatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.lp-hero-mock-top {
    display: flex;
    gap: 5px;
    padding: 0.65rem 0.85rem;
    background: color-mix(in srgb, var(--bg-main) 50%, var(--card-bg));
    border-bottom: 1px solid var(--border-color);
}
.lp-hero-mock-top span {
    width: 9px; height: 9px; border-radius: 50%;
}
.lp-hero-mock-top span:nth-child(1) { background: #FF5F57; }
.lp-hero-mock-top span:nth-child(2) { background: #FFBD2E; }
.lp-hero-mock-top span:nth-child(3) { background: #28CA41; }
.lp-hero-mock-body { display: flex; min-height: 220px; width: 100%; }
.lp-hero-mock-sidebar {
    width: 22%;
    min-width: 3rem;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-inline-end: 1px solid var(--border-color);
}
.lp-hero-mock-sidebar div {
    height: 0.45rem;
    border-radius: 4px;
    background: var(--border-color);
    opacity: 0.45;
}
.lp-hero-mock-sidebar div.active {
    background: var(--primary);
    opacity: 1;
    width: 75%;
}
.lp-hero-mock-main { flex: 1; min-width: 0; padding: 0.85rem; }
.lp-hero-mock-stat-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.lp-hero-mock-stat-row div {
    flex: 1;
    height: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.lp-hero-mock-stat-row .s1 { background: color-mix(in srgb, var(--primary) 15%, transparent); }
.lp-hero-mock-stat-row .s2 { background: color-mix(in srgb, var(--secondary, var(--accent)) 12%, transparent); }
.lp-hero-mock-stat-row .s3 { background: var(--nav-bg-active); }
.lp-hero-mock-chart {
    height: 120px;
    border-radius: 10px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--primary) 20%, transparent) 0%,
        transparent 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.lp-hero-mock-chart::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(90deg,
        transparent,
        color-mix(in srgb, var(--primary) 30%, transparent) 30%,
        color-mix(in srgb, var(--primary) 50%, transparent) 60%,
        color-mix(in srgb, var(--primary) 25%, transparent));
    clip-path: polygon(0 80%, 15% 60%, 30% 70%, 45% 40%, 60% 55%, 75% 25%, 90% 45%, 100% 20%, 100% 100%, 0 100%);
    animation: lpChartPulse 4s ease-in-out infinite;
}
@keyframes lpChartPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.lp-hero-float--card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    font-size: 0.78rem;
    animation: lpFloatCard 5s ease-in-out infinite;
}
.lp-hero-float--card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-active);
    line-height: 1.1;
}
.lp-hero-float--card small {
    color: var(--text-muted);
    font-weight: 700;
}
.lp-hero-float--score {
    top: -12px;
    left: -20px;
    animation-delay: -1s;
}
.lp-hero-float--score i { color: #22c55e; font-size: 1.25rem; }
.lp-hero-float--live {
    bottom: 20px;
    right: -16px;
    animation-delay: -2.5s;
}
.lp-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: lpPulse 1.5s ease infinite;
}
@keyframes lpFloatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes lpPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* Trust marquee */
.lp-trust-wrap {
    margin-top: 0;
    margin-bottom: 1.25rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.lp-trust-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    animation: lpMarquee 28s linear infinite;
}
html[dir="rtl"] .lp-trust-track {
    animation-name: lpMarqueeRtl;
}
@keyframes lpMarqueeRtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}
.lp-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}
.lp-trust-pill i { color: var(--primary); font-size: 0.65rem; }
@media (max-width: 768px) {
    .lp-trust-pill--dup { display: none !important; }
}
@keyframes lpMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero stats row */
.lp-hero-meta { margin-top: 2rem; position: relative; z-index: 2; }
.lp-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 0;
}
.lp-stat-card {
    text-align: center;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: transform 0.25s, border-color 0.25s;
}
.lp-stat-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border-color));
}
.lp-stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-active);
    line-height: 1;
}
.lp-stat-lbl {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Demo chips */
.landing-demo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.landing-demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--btn-radius, 10px);
    font-weight: 800;
    font-size: 0.78rem;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.landing-demo-chip:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 15%, transparent);
}

/* ── Sections ── */
.lp-section {
    padding: 5rem 0;
    position: relative;
}
.lp-section--alt {
    background: color-mix(in srgb, var(--card-bg) 30%, var(--bg-main));
}
.lp-section--demos {
    padding-top: 3rem;
}
.lp-section--omr {
    background: linear-gradient(180deg,
        var(--bg-main) 0%,
        color-mix(in srgb, var(--primary) 6%, var(--bg-main)) 50%,
        var(--bg-main) 100%);
}
.lp-section-head { margin-bottom: 2.5rem; }
.lp-section-head--center { text-align: center; }
.lp-section-head--center .lp-section-lead { margin-inline: auto; }
.lp-section-title {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 0.5rem;
}
.lp-section-lead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 36rem;
}
.lp-section-cta { text-align: center; margin-top: 2.5rem; }

/* ── Demos (subject tabs + compact grid) ── */
.lp-demo-subject-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 0 1rem;
    margin-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.lp-demo-subject-tabs::-webkit-scrollbar { display: none; }
.lp-demo-subject-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.lp-demo-subject-tab:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
    color: var(--text-main);
}
.lp-demo-subject-tab.active {
    background: color-mix(in srgb, var(--primary) 14%, var(--card-bg));
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border-color));
    color: var(--text-active);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 10%, transparent);
}
.lp-demo-subject-count {
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--nav-bg-active);
    color: var(--text-muted);
}
.lp-demo-subject-tab.active .lp-demo-subject-count {
    background: color-mix(in srgb, var(--primary) 22%, transparent);
    color: var(--text-active);
}

.lp-demo-panels { position: relative; min-height: 200px; }
.lp-demo-panel {
    display: none;
    animation: lpPanelIn 0.35s ease;
}
.lp-demo-panel.active { display: block; }
@keyframes lpPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.lp-demos-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}
.lp-demo-hidden {
    display: none;
}
.lp-demo-panel.is-expanded .lp-demo-hidden {
    display: block;
    animation: lpDemoReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lpDemoReveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-demo-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}
.lp-demo-panel.is-expanded .lp-demo-more-wrap { display: none; }
.lp-demo-show-more {
    min-width: 220px;
    font-weight: 800 !important;
}
.lp-demo-show-more i {
    transition: transform 0.25s;
}
.lp-demo-show-more:hover i { transform: translateY(2px); }

.lp-demo-info {
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--border-color);
}
.lp-demo-info h3 {
    font-weight: 900;
    font-size: 0.88rem;
    margin: 0.2rem 0 0;
    line-height: 1.3;
}
.lp-demo-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.45;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-demo-info--sm { padding: 0.65rem 0.85rem; }
.lp-demo-info--sm h3 { font-size: 0.82rem; }

.demo-browser {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s,
                border-color 0.3s;
}
@media (hover: hover) {
    .demo-browser:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
        box-shadow: 0 16px 36px color-mix(in srgb, var(--primary) 10%, rgba(0,0,0,0.25));
    }
}
.demo-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    background: color-mix(in srgb, var(--bg-main) 55%, var(--card-bg));
    border-bottom: 1px solid var(--border-color);
}
.demo-browser-dots { display: flex; gap: 5px; }
.demo-browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.demo-browser-dots span:nth-child(1) { background: #FF5F57; }
.demo-browser-dots span:nth-child(2) { background: #FFBD2E; }
.demo-browser-dots span:nth-child(3) { background: #28CA41; }
.demo-browser-url {
    flex: 1;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-main);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    text-align: center;
    font-family: monospace;
    direction: ltr;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.demo-browser-frame {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-main);
    cursor: ns-resize;
}
.demo-browser-frame--lg { height: 300px; }
.demo-browser-frame--compact {
    height: 155px;
    min-height: 155px;
    max-height: 155px;
    cursor: default;
}
@media (hover: hover) {
    .demo-browser-frame--compact { cursor: ns-resize; }
}
.demo-iframe-scaler {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 4200px;
    transform-origin: top center;
    will-change: transform;
}
.demo-iframe-scaler iframe {
    width: 1440px;
    height: 4200px;
    border: 0;
    display: block;
    pointer-events: none;
}
.demo-browser-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 2;
}
.demo-browser:hover .demo-browser-overlay { opacity: 1; }
.demo-browser-overlay a {
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.82rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(8px);
    transition: transform 0.25s;
}
.demo-browser:hover .demo-browser-overlay a { transform: translateY(0); }
@media (hover: none) {
    .demo-browser-frame { cursor: default; }
    .demo-browser-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
        align-items: flex-end;
        padding-bottom: 0.45rem;
    }
    .demo-browser-overlay a {
        transform: none;
        padding: 0.35rem 0.75rem;
        font-size: 0.72rem;
    }
}
.demo-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

/* ── Feature showcase (tabs) ── */
.lp-feature-showcase {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 3rem;
}
.lp-feature-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.lp-feature-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    text-align: start;
    font-family: inherit;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.lp-feature-tab:hover {
    background: var(--nav-bg-active);
    color: var(--text-main);
}
.lp-feature-tab.active {
    background: var(--card-bg);
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border-color));
    color: var(--text-main);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 8%, rgba(0,0,0,0.15));
}
.lp-feature-tab-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg-active);
    color: var(--text-active);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.lp-feature-tab.active .lp-feature-tab-icon {
    background: color-mix(in srgb, var(--primary) 18%, transparent);
    transform: scale(1.05);
}
.lp-feature-tab-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.lp-feature-tab-text strong {
    font-size: 0.82rem;
    font-weight: 900;
}
.lp-feature-tab-text small {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.85;
}
.lp-feature-tab-arrow {
    font-size: 0.65rem;
    opacity: 0;
    transform: translateX(4px);
    transition: opacity 0.25s, transform 0.25s;
}
.lp-feature-tab.active .lp-feature-tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

.lp-feature-panels {
    position: relative;
    min-height: 420px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}
.lp-feature-panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
}
.lp-feature-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.lp-feature-panel-copy {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lp-feature-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-active);
    margin-bottom: 0.75rem;
}
.lp-feature-panel-copy h3 {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.lp-feature-panel-copy p {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.lp-feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.lp-feature-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
}
.lp-feature-bullets li i {
    color: var(--primary);
    font-size: 0.7rem;
}
.lp-feature-panel-visual {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary) 5%, var(--bg-main));
    border-inline-start: 1px solid var(--border-color);
    overflow: hidden;
}

/* Feature mini grid */
.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}
.lp-feature-mini {
    padding: 1.15rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: transform 0.25s, border-color 0.25s;
}
.lp-feature-mini:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
}
.lp-feature-mini-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg-active);
    color: var(--text-active);
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}
.lp-feature-mini h4 {
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}
.lp-feature-mini p {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Feature previews (animated mocks) ── */
.lp-preview {
    width: 100%;
    max-width: 320px;
    animation: lpPreviewIn 0.5s ease;
}
@keyframes lpPreviewIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Website preview */
.lp-preview-browser {
    background: var(--bg-main);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.lp-preview-browser-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.45rem 0.65rem;
    background: color-mix(in srgb, var(--card-bg) 80%, black);
    border-bottom: 1px solid var(--border-color);
}
.lp-preview-browser-bar span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--border-color);
}
.lp-preview-url {
    flex: 1;
    font-size: 0.55rem;
    text-align: center;
    color: var(--text-muted);
    font-family: monospace;
}
.lp-preview-browser-body { padding: 0.65rem; }
.lp-preview-nav-pill {
    height: 0.55rem;
    width: 70%;
    margin: 0 auto 0.65rem;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    animation: lpShimmer 3s ease infinite;
}
.lp-preview-hero-block {
    height: 3.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary) 30%, transparent),
        color-mix(in srgb, var(--secondary, var(--accent)) 20%, transparent));
    margin-bottom: 0.5rem;
}
.lp-preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}
.lp-preview-card {
    height: 2rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    animation: lpCardPop 2s ease infinite;
}
.lp-preview-card.c1 { animation-delay: 0s; background: color-mix(in srgb, var(--primary) 12%, transparent); }
.lp-preview-card.c2 { animation-delay: 0.3s; }
.lp-preview-card.c3 { animation-delay: 0.6s; }
@keyframes lpCardPop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes lpShimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Courses preview */
.lp-preview-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem;
    background: var(--bg-main);
    border-radius: 14px;
    border: 1px solid var(--border-color);
}
.lp-preview-path-node {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--text-muted);
}
.lp-preview-path-node.done {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
}
.lp-preview-path-node.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent);
    animation: lpPulse 2s ease infinite;
}
.lp-preview-path-line {
    width: 3px;
    height: 1rem;
    background: var(--border-color);
    border-radius: 2px;
}
.lp-preview-path-line.dim { opacity: 0.35; }
.lp-preview-lesson-cards {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.75rem;
}
.lp-preview-lesson {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
}
.lp-preview-lesson span {
    width: 1.5rem;
    height: 1rem;
    border-radius: 4px;
    background: var(--border-color);
}
.lp-preview-lesson.active {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--text-main);
}

/* Exam preview */
.lp-preview-exam {
    background: var(--bg-main);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 1rem;
    position: relative;
}
.lp-preview-q {
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.lp-preview-q.active { opacity: 1; background: var(--nav-bg-active); }
.lp-preview-q-num {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-preview-q-text {
    height: 0.45rem;
    width: 80%;
    border-radius: 4px;
    background: var(--border-color);
    margin-bottom: 0.5rem;
}
.lp-preview-q-text.short { width: 50%; }
.lp-preview-options {
    display: flex;
    gap: 0.35rem;
}
.lp-preview-options span {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    font-size: 0.55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-preview-options span.sel {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    animation: lpOptionPulse 2s ease infinite;
}
@keyframes lpOptionPulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 40%, transparent); }
    50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
}
.lp-preview-timer {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ef4444;
}

/* Reports preview */
.lp-preview-chart {
    background: var(--bg-main);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 1rem;
}
.lp-preview-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 120px;
    margin-bottom: 0.75rem;
}
.lp-preview-chart-bars .bar {
    flex: 1;
    height: var(--h, 50%);
    background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 60%, transparent));
    border-radius: 6px 6px 2px 2px;
    position: relative;
    animation: lpBarGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.lp-preview-chart-bars .bar:nth-child(1) { animation-delay: 0.1s; }
.lp-preview-chart-bars .bar:nth-child(2) { animation-delay: 0.2s; }
.lp-preview-chart-bars .bar:nth-child(3) { animation-delay: 0.3s; }
.lp-preview-chart-bars .bar:nth-child(4) { animation-delay: 0.4s; }
.lp-preview-chart-bars .bar:nth-child(5) { animation-delay: 0.5s; }
.lp-preview-chart-bars .bar span {
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--text-muted);
}
@keyframes lpBarGrow {
    from { height: 0; }
    to { height: var(--h, 50%); }
}
.lp-preview-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
}
.lp-preview-kpis strong {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-active);
}
.lp-preview-kpis small {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Live preview */
.lp-preview-live {
    background: var(--bg-main);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.lp-preview-live-screen {
    height: 140px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-preview-live-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6rem;
    font-weight: 900;
    color: #fff;
    background: rgba(239,68,68,0.85);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.lp-preview-live-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: lpPulse 1s ease infinite;
}
.lp-preview-live-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 40px;
}
.lp-preview-live-wave span {
    width: 4px;
    border-radius: 2px;
    background: var(--primary);
    animation: lpWave 1.2s ease-in-out infinite;
}
.lp-preview-live-wave span:nth-child(1) { height: 20px; animation-delay: 0s; }
.lp-preview-live-wave span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.lp-preview-live-wave span:nth-child(3) { height: 28px; animation-delay: 0.2s; }
.lp-preview-live-wave span:nth-child(4) { height: 38px; animation-delay: 0.3s; }
.lp-preview-live-wave span:nth-child(5) { height: 22px; animation-delay: 0.4s; }
@keyframes lpWave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}
.lp-preview-live-chat {
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.lp-preview-live-chat .msg span {
    display: block;
    height: 0.4rem;
    border-radius: 4px;
    background: var(--border-color);
    width: 75%;
}
.lp-preview-live-chat .msg.short span { width: 45%; }

/* ── OMR section ── */
.lp-omr-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.lp-omr-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin: 1.5rem 0;
}
.lp-omr-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s, border-color 0.2s;
}
.lp-omr-step:hover {
    transform: translateX(-4px);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
}
.lp-omr-step-num {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-omr-step strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
}
.lp-omr-step small {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
}
.lp-omr-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}
.lp-omr-feat {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}
.lp-omr-feat i {
    color: var(--text-active);
    margin-top: 0.15rem;
}
.lp-omr-feat strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
}
.lp-omr-feat span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.45;
}

/* OMR mock visual */
.lp-omr-mock {
    position: relative;
    min-height: 380px;
}
.lp-omr-mock--compact { min-height: auto; }
.lp-omr-sheet {
    position: relative;
    background: #fff;
    color: #111;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 24px 48px rgba(0,0,0,0.25);
    max-width: 280px;
    margin: 0 auto;
    overflow: hidden;
    animation: lpFloatMain 5s ease-in-out infinite;
}
.lp-omr-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #111;
    font-size: 0.65rem;
    font-weight: 800;
}
.lp-omr-logo { color: var(--primary); }
.lp-omr-meta { color: #666; }
.lp-omr-grid { display: flex; flex-direction: column; gap: 0.35rem; }
.lp-omr-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.lp-omr-q {
    width: 1.25rem;
    font-size: 0.6rem;
    font-weight: 900;
    text-align: center;
}
.lp-omr-bubble {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 1.5px solid #333;
    font-size: 0.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.lp-omr-bubble.filled {
    background: #111;
    color: #fff;
}
.lp-omr-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    box-shadow: 0 0 12px #22c55e;
    animation: lpScanLine 3s ease-in-out infinite;
}
@keyframes lpScanLine {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}
.lp-omr-phone {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    background: #111;
    border-radius: 16px;
    padding: 0.35rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    animation: lpFloatCard 4s ease-in-out infinite;
    animation-delay: -1s;
}
.lp-omr-phone-notch {
    width: 40%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin: 0 auto 0.35rem;
}
.lp-omr-phone-screen {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 0.65rem;
    text-align: center;
}
.lp-omr-phone-cam {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
}
.lp-omr-phone-status {
    font-size: 0.5rem;
    font-weight: 800;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.lp-omr-phone-status .pulse {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #22c55e;
    animation: lpPulse 1s ease infinite;
}
.lp-omr-result-card {
    position: absolute;
    top: 20px;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    animation: lpResultPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1s backwards,
               lpFloatCard 5s ease-in-out 1.6s infinite;
}
@keyframes lpResultPop {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.lp-omr-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-active);
    line-height: 1;
}
.lp-omr-pct {
    font-size: 0.85rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 0.5rem;
}
.lp-omr-stats {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}
.lp-omr-stats .ok { color: #22c55e; }
.lp-omr-stats .bad { color: #ef4444; }

/* ── Question types ── */
.lp-qtypes-hero {
    text-align: center;
    margin-bottom: 2rem;
}
.lp-qtypes-big {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-active);
    background: linear-gradient(135deg, var(--primary), var(--secondary, var(--accent)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-qtypes-hero p {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.35rem;
}
.lp-qtypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.lp-qtype-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.lp-qtype-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
    box-shadow: 0 12px 32px color-mix(in srgb, var(--primary) 8%, rgba(0,0,0,0.15));
}
.lp-qtype-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}
.lp-qtype-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    color: var(--text-active);
}
.lp-qtype-card h3 {
    font-size: 0.9rem;
    font-weight: 900;
}
.lp-qtype-card small {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
}
.lp-qtype-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.lp-qtype-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
}
.lp-qtype-card li i {
    width: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ── Assignments split ── */
.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.lp-split-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.lp-split-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s;
}
.lp-split-card:hover { transform: translateX(-4px); }
.lp-split-card i {
    color: var(--text-active);
    margin-top: 0.15rem;
}
.lp-split-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 900;
}
.lp-split-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.5;
}
.lp-assign-mock {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}
.lp-assign-mock-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-weight: 800;
}
.lp-assign-mock-head strong {
    font-size: 1.75rem;
    color: var(--text-active);
}
.lp-assign-rows { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.25rem; }
.lp-assign-row {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 0.65rem;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
}
.lp-assign-row .bar {
    height: 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--border-color) 50%, transparent);
    overflow: hidden;
}
.lp-assign-row .bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #fff));
    animation: lpBarFill 2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.lp-assign-row:nth-child(1) .bar span { animation-delay: 0.2s; }
.lp-assign-row:nth-child(2) .bar span { animation-delay: 0.4s; }
.lp-assign-row:nth-child(3) .bar span { animation-delay: 0.6s; }
@keyframes lpBarFill {
    from { width: 0 !important; }
}
.lp-assign-workflow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.lp-assign-wf-step {
    text-align: center;
    padding: 0.65rem;
    border-radius: 10px;
    background: var(--nav-bg-active);
}
.lp-assign-wf-step span {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.5rem;
    margin: 0 auto 0.35rem;
}
.lp-assign-wf-step strong {
    font-size: 0.68rem;
    font-weight: 800;
}

/* ── Lectures ── */
.lp-lecture-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.lp-lecture-metric {
    text-align: center;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.25s;
}
.lp-lecture-metric:hover { transform: translateY(-4px); }
.lp-lecture-metric .num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-active);
}
.lp-lecture-metric .lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.lp-lecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.lp-lecture-card {
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.25s, border-color 0.25s;
}
.lp-lecture-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
}
.lp-lecture-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg-active);
    color: var(--text-active);
    margin-bottom: 0.75rem;
}
.lp-lecture-card h4 {
    font-size: 0.88rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}
.lp-lecture-card p {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Steps, audience ── */
.lp-steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.lp-step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.25s;
}
.lp-step-card:hover { transform: translateY(-4px); }
.lp-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.65rem;
}
.lp-step-icon {
    font-size: 1.35rem;
    color: var(--text-active);
    margin-bottom: 0.5rem;
}
.lp-step-card h4 {
    font-size: 0.88rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}
.lp-step-card p {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.5;
}

.lp-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.lp-audience-card {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 100%;
    transition: transform 0.25s, border-color 0.25s;
}
.lp-audience-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border-color));
}
.lp-audience-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: var(--nav-bg-active);
    color: var(--text-active);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.lp-audience-card h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
}
.lp-audience-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-audience-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.35rem 0;
}
.lp-audience-card li i { color: var(--primary); font-size: 0.65rem; }

/* Dashboard mocks (kept) */
.dash-style-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--card-radius, 16px);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.dash-style-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}
.dash-mock {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}
.dash-style-info { padding: 1rem 1.15rem; }
.dash-mock--brand { background: var(--bg-main); }
.dm-brand-layout { display: flex; height: 100%; }
.dm-sidebar {
    width: 22%;
    background: color-mix(in srgb, var(--card-bg) 80%, black);
    padding: 0.6rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.dm-nav {
    height: 0.45rem;
    border-radius: 4px;
    background: var(--border-color);
    opacity: 0.5;
}
.dm-nav.active { background: var(--primary); opacity: 1; width: 80%; }
.dm-main { flex: 1; padding: 0.5rem; }
.dm-header {
    height: 0.55rem;
    border-radius: 4px;
    background: var(--border-color);
    margin-bottom: 0.5rem;
    width: 60%;
}
.dm-cards { display: flex; gap: 0.35rem; }
.dm-stat {
    flex: 1;
    height: 2.5rem;
    border-radius: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}
.dash-mock--duolingo {
    background: linear-gradient(180deg, #ddf4ff 0%, #fff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
}
.dm-path { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.dm-node {
    width: 1.4rem; height: 1.4rem;
    border-radius: 50%;
    background: #e5e5e5;
    border: 3px solid #ccc;
}
.dm-node.done { background: #58CC02; border-color: #46a302; }
.dm-node.active { background: #1CB0F6; border-color: #1899d6; box-shadow: 0 0 0 3px rgba(28,176,246,0.3); }
.dm-line { width: 3px; height: 0.6rem; background: #ccc; border-radius: 2px; }
.dm-line.dim { opacity: 0.4; }
.dm-duo-cards { display: flex; gap: 0.4rem; }
.dm-card {
    width: 2.8rem; height: 1.6rem;
    border-radius: 8px;
    border-bottom: 3px solid rgba(0,0,0,0.15);
}
.dm-card.green { background: #58CC02; }
.dm-card.blue { background: #1CB0F6; }
.dm-xp {
    font-size: 0.65rem;
    font-weight: 900;
    color: #ff9600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.dash-mock--udemy { background: #1c1d1f; }
.dm-udemy-hero {
    height: 35%;
    background: linear-gradient(135deg, #1c1d1f, #5624d0);
    border-bottom: 1px solid #3e3e3e;
}
.dm-udemy-rows { padding: 0.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.dm-row { display: flex; gap: 0.35rem; align-items: center; }
.dm-row span:first-child {
    width: 2.5rem; height: 1.5rem;
    border-radius: 4px;
    background: #3e3e3e;
    flex-shrink: 0;
}
.dm-row span:last-child {
    flex: 1;
    height: 0.45rem;
    border-radius: 3px;
    background: #3e3e3e;
}

.lp-demo-cta-box {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 32rem;
    margin: 0 auto;
}
.lp-demo-cta-box h3 {
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}
.lp-demo-cta-box p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.lp-demo-cta-box .landing-demo-grid { justify-content: center; }

/* ── FAQ ── */
.landing-faq-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--card-bg);
    overflow: hidden;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
}
.landing-faq-item.open {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
}
.landing-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: start;
    cursor: pointer;
}
.landing-faq-q i {
    color: var(--text-active);
    transition: transform 0.25s;
    flex-shrink: 0;
}
.landing-faq-item.open .landing-faq-q i { transform: rotate(180deg); }
.landing-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.landing-faq-item.open .landing-faq-a { max-height: 14rem; }
.landing-faq-a-inner {
    padding: 0 1.15rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Final CTA ── */
.lp-cta-final { padding-bottom: 5rem; }
.lp-cta-box {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.lp-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%);
    pointer-events: none;
}
.lp-cta-box > * { position: relative; z-index: 1; }
.lp-cta-logo {
    height: 4rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}
.lp-cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.lp-cta-box p {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.lp-cta-box .lp-hero-ctas { justify-content: center; }

.landing-footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Theme toggle on landing */
.landing-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.landing-theme-toggle:hover {
    border-color: var(--text-active);
    transform: translateY(-1px);
}
.landing-theme-toggle .landing-theme-icon-light { display: inline; }
.landing-theme-toggle .landing-theme-icon-dark { display: none; }
html[data-theme="dark"] .landing-theme-toggle .landing-theme-icon-light { display: none; }
html[data-theme="dark"] .landing-theme-toggle .landing-theme-icon-dark { display: inline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lp-hero-grid-layout { grid-template-columns: 1fr; gap: 0; }
    .lp-hero-visual { display: none !important; }
    .lp-hero-copy { max-width: none; }
    .lp-hero-meta { margin-top: 1.5rem; }
    /* Static trust chips on tablet — RTL marquee clips on narrow widths */
    .lp-trust-wrap {
        overflow: visible;
        mask-image: none;
    }
    .lp-trust-track {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        animation: none !important;
        gap: 0.45rem;
    }
    .lp-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-section--demos { padding-top: 2rem; }
    .lp-feature-showcase { grid-template-columns: 1fr; }
    .lp-feature-tabs {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .lp-feature-tab { min-width: 180px; flex-shrink: 0; }
    .lp-feature-panels { min-height: auto; }
    .lp-feature-panel { grid-template-columns: 1fr; }
    .lp-feature-panel-copy { padding: 1.35rem; order: 1; }
    .lp-feature-panel-visual {
        order: 2;
        border-inline-start: none;
        border-top: 1px solid var(--border-color);
        min-height: 240px;
        padding: 1rem;
    }
    .lp-omr-layout { grid-template-columns: 1fr; gap: 2rem; }
    .lp-omr-visual { max-width: 360px; margin: 0 auto; }
    .lp-split { grid-template-columns: 1fr; gap: 2rem; }
    .lp-demos-grid--compact { grid-template-columns: repeat(2, 1fr); }
    .lp-steps-row { grid-template-columns: repeat(2, 1fr); }
    .lp-audience-grid { grid-template-columns: 1fr; }
    .lp-lecture-metrics { grid-template-columns: repeat(2, 1fr); }
    .lp-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .lp-container { padding: 0 1.25rem; }
    .lp-nav-inner { height: 3.5rem; }
    .lp-brand span { font-size: 0.95rem; }
    .lp-brand img { height: 2rem; width: 2rem; }
    .landing-nav { position: sticky; }
    .landing-nav-links { display: none; }
    .landing-nav-toggle { display: flex; }
    .landing-nav-mobile.open {
        display: flex;
        position: fixed;
        inset: 3.5rem 0 0 0;
        z-index: 190;
        overflow-y: auto;
        padding: 1rem 1.25rem 2rem;
        background: var(--bg-main);
        border-bottom: none;
        box-shadow: inset 0 1px 0 var(--border-color);
    }
    body.landing-nav-open { overflow: hidden; }
    .lp-nav-cta-hide { display: none !important; }

    .lp-hero { padding: 1.25rem 0 0.75rem; }
    .lp-hero-title {
        font-size: clamp(1.45rem, 6.5vw, 2rem);
        line-height: 1.2;
        margin: 0.65rem 0;
    }
    .lp-hero-lead {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        color: var(--text-main);
        opacity: 0.82;
    }
    .landing-badge { font-size: 0.68rem; }
    .lp-btn-lg {
        padding: 0.7rem 1rem !important;
        font-size: 0.88rem !important;
    }
    .lp-hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .lp-hero-ctas .btn-theme {
        width: 100%;
        justify-content: center;
    }
    .lp-hero-demo-label { margin-bottom: 0.4rem; }

    .landing-demo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .landing-demo-chip {
        width: 100%;
        justify-content: center;
        padding: 0.55rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Static trust chips on mobile — marquee breaks in RTL narrow viewports */
    .lp-trust-wrap {
        overflow: visible;
        mask-image: none;
        margin-bottom: 0.85rem;
    }
    .lp-trust-track {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        animation: none !important;
        gap: 0.4rem;
    }
    .lp-trust-pill {
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }

    .lp-hero-meta { margin-top: 1rem; }
    .lp-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
    .lp-stat-card { padding: 0.65rem 0.4rem; border-radius: 12px; }
    .lp-stat-num { font-size: 1.2rem; }
    .lp-stat-lbl { font-size: 0.62rem; line-height: 1.3; }

    .lp-section { padding: 2.5rem 0; }
    .lp-section-title { font-size: clamp(1.35rem, 5vw, 1.85rem); }
    .lp-section-lead { font-size: 0.88rem; }

    .lp-demo-subject-tabs {
        margin-inline: -0.25rem;
        padding-inline: 0.25rem 1rem;
    }
    .lp-demo-subject-tab {
        padding: 0.5rem 0.85rem;
        font-size: 0.78rem;
    }
    .lp-demos-grid--compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .demo-browser-frame,
    .demo-browser-frame--compact {
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
    }
    .demo-browser-bar { padding: 0.4rem 0.65rem; }
    .lp-demo-show-more { width: 100%; min-width: 0; }

    .lp-feature-tab-text small { display: none; }
    .lp-feature-panel-copy h3 { font-size: 1.2rem; }
    .lp-feature-mini { padding: 1rem; }
    .lp-feature-grid { grid-template-columns: 1fr; }

    .lp-omr-steps { grid-template-columns: 1fr; }
    .lp-omr-features-grid { grid-template-columns: 1fr; }
    .lp-omr-phone { width: 80px; }
    .lp-omr-result-card { padding: 0.75rem 1rem; right: -8px; }

    .lp-qtypes-big { font-size: 2.75rem; }
    .lp-qtypes-grid { grid-template-columns: 1fr; }

    .lp-split-cards { gap: 0.5rem; }
    .lp-lecture-grid { grid-template-columns: 1fr; }
    .lp-lecture-metrics { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }

    .lp-cta-box { padding: 2rem 1.25rem; }
    .lp-cta-box .lp-hero-ctas { align-items: stretch; }
}

@media (max-width: 640px) {
    .lp-trust-pill { font-size: 0.62rem; }
    .lp-steps-row { grid-template-columns: 1fr; }
    .lp-assign-workflow { grid-template-columns: 1fr; }
    .lp-feature-tab { min-width: 140px; padding: 0.65rem 0.75rem; }
    .lp-feature-tab-arrow { display: none; }
}

@media (max-width: 480px) {
    .lp-container { padding: 0 1rem; }
    .lp-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-lecture-metrics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-trust-track { animation: none; }
    .lp-hero-orb, .lp-hero-float--main, .lp-hero-float--card,
    .lp-omr-sheet, .lp-omr-scan-line, .lp-omr-result-card { animation: none; }
}
