/* =========================================================
   ExamSpark Landing Page — Premium Visual Upgrade v2
   Scoped under .lp — architecture & SEO content unchanged
   ========================================================= */

.lp {
    --lp-bg: #06060b;
    --lp-surface: rgba(255, 255, 255, 0.04);
    --lp-surface-hover: rgba(255, 255, 255, 0.07);
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-text: #f1f5f9;
    --lp-muted: #94a3b8;
    --lp-accent: #6366f1;
    --lp-accent-2: #8b5cf6;
    --lp-cyan: #22d3ee;
    --lp-green: #34d399;
    --lp-orange: #fb923c;
    --lp-radius: 16px;
    --lp-radius-lg: 28px;
    --lp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lp-max: 1200px;
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    /* +20% spacing scale */
    --lp-space-xs: 10px;
    --lp-space-sm: 14px;
    --lp-space-md: 24px;
    --lp-space-lg: 38px;
    --lp-space-xl: 58px;
    --lp-space-2xl: 86px;
    --lp-glass-bg: rgba(255, 255, 255, 0.045);
    --lp-glass-border: rgba(255, 255, 255, 0.1);
    --lp-glass-blur: 14px;
    color: var(--lp-text);
    font-family: var(--lp-font);
    background: var(--lp-bg);
    overflow-x: hidden;
    position: relative;
}

.lp *,
.lp *::before,
.lp *::after {
    box-sizing: border-box;
}

/* ── Skip link ── */
.lp-skip {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100000;
    padding: 10px 18px;
    background: #fff;
    color: #0f172a;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.lp-skip:focus {
    top: 72px;
}

/* ── Shared layout (+20% rhythm) ── */
.lp-container {
    width: min(var(--lp-max), calc(100% - 40px));
    margin-inline: auto;
}

.lp-section {
    padding: clamp(76px, 12vw, 144px) 0;
    position: relative;
}

.lp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-cyan);
    margin-bottom: 20px;
}

.lp-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 16px;
    border: none;
}

.lp-section-desc {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--lp-muted);
    max-width: 640px;
    line-height: 1.75;
    margin: 0 0 var(--lp-space-xl);
}

/* ── Glass system ── */
.lp-glass {
    background: var(--lp-glass-bg);
    border: 1px solid var(--lp-glass-border);
    border-radius: var(--lp-radius);
    backdrop-filter: blur(var(--lp-glass-blur));
    -webkit-backdrop-filter: blur(var(--lp-glass-blur));
}

.lp-glass-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

/* ── Buttons ── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    will-change: transform;
    transition:
        transform 0.28s var(--lp-ease-out),
        box-shadow 0.28s var(--lp-ease-out),
        filter 0.28s var(--lp-ease-out),
        background 0.28s var(--lp-ease-out),
        border-color 0.28s var(--lp-ease-out);
}

.lp-btn:focus-visible {
    outline: 2px solid var(--lp-cyan);
    outline-offset: 3px;
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-accent) 0%, var(--lp-accent-2) 50%, #7c3aed 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #fff;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.32);
}

.lp-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: 100% 50%;
    filter: brightness(1.08);
    box-shadow: 0 14px 44px rgba(99, 102, 241, 0.42);
}

.lp-btn-primary:active {
    transform: translateY(-1px) scale(1);
}

.lp-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--lp-glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* ── Reveal animation (stagger via --reveal-delay) ── */
.lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s var(--lp-ease-out),
        transform 0.65s var(--lp-ease-out);
    transition-delay: var(--reveal-delay, 0s);
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HOMEPAGE NAVBAR GLASS (header injected by footer.js)
   ========================================================= */
body:has(.lp) #es-header {
    background: rgba(6, 6, 11, 0.72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

body:has(.lp) #es-header .es-site-search {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body:has(.lp) #es-header .es-site-search input {
    color: #e2e8f0;
    background: transparent;
}

body:has(.lp) #es-header .es-site-search input::placeholder {
    color: #64748b;
}

body:has(.lp) #es-header .es-site-search button {
    background: rgba(99, 102, 241, 0.85);
}

body:has(.lp) #es-nav a,
body:has(.lp) #es-hamburger .bar {
    color: #e2e8f0;
}

body:has(.lp) #es-hamburger .bar {
    background: #e2e8f0;
}

/* =========================================================
   HERO + 3D CSS GLOW ORBS
   ========================================================= */
.lp-hero {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(112px, 15vh, 156px) 20px clamp(76px, 9vh, 108px);
    overflow: hidden;
    text-align: center;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.28), transparent 62%),
        radial-gradient(ellipse 60% 50% at 90% 50%, rgba(139, 92, 246, 0.16), transparent 58%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34, 211, 238, 0.1), transparent 52%),
        var(--lp-bg);
}

.lp-hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        125deg,
        rgba(99, 102, 241, 0.12) 0%,
        transparent 42%,
        rgba(139, 92, 246, 0.08) 72%,
        transparent 100%
    );
    animation: lp-gradient-shift 14s ease-in-out infinite alternate;
}

@keyframes lp-gradient-shift {
    0% { opacity: 0.55; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.04); }
}

/* Floating ambient orbs — CSS only, GPU-friendly */
.lp-glow-orbs {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.lp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    opacity: 0.55;
}

.lp-orb--1 {
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    top: -12%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.55) 0%, transparent 70%);
    animation: lp-float-1 18s ease-in-out infinite alternate;
}

.lp-orb--2 {
    width: min(400px, 55vw);
    height: min(400px, 55vw);
    top: 30%;
    right: -8%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, transparent 70%);
    animation: lp-float-2 22s ease-in-out infinite alternate;
}

.lp-orb--3 {
    width: min(360px, 50vw);
    height: min(360px, 50vw);
    bottom: 5%;
    left: -6%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, transparent 70%);
    animation: lp-float-3 20s ease-in-out infinite alternate;
}

@keyframes lp-float-1 {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-48%) translateY(28px); }
}

@keyframes lp-float-2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-24px, 20px); }
}

@keyframes lp-float-3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(18px, -16px); }
}

.lp-hero-inner {
    position: relative;
    z-index: 3;
    width: min(880px, 100%);
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    margin-bottom: 34px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.1);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #c7d2fe;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lp-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-green);
    animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.lp-hero h1 {
    font-size: clamp(2.25rem, 6.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff !important;
    margin: 0 0 24px;
    border: none;
}

.lp-hero-gradient-text {
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--lp-muted);
    line-height: 1.72;
    max-width: 660px;
    margin: 0 auto 42px;
}

.lp-hero-search {
    display: flex;
    gap: 12px;
    max-width: 580px;
    margin: 0 auto 34px;
    padding: 7px;
    border-radius: 999px;
    transition: box-shadow 0.3s var(--lp-ease-out), border-color 0.3s;
}

.lp-hero-search:focus-within {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow:
        0 20px 56px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(99, 102, 241, 0.2);
}

.lp-hero-search input {
    flex: 1;
    min-width: 0;
    padding: 15px 22px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
}

.lp-hero-search input::placeholder {
    color: #64748b;
}

.lp-hero-search button {
    padding: 15px 26px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    will-change: transform, filter;
    transition: transform 0.28s var(--lp-ease-out), filter 0.28s, box-shadow 0.28s;
}

.lp-hero-search button:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 38px;
}

.lp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 0.8125rem;
    color: var(--lp-muted);
}

.lp-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-hero-trust svg {
    color: var(--lp-green);
    flex-shrink: 0;
}

/* AEO summary block */
.lp-aeo-summary {
    margin-top: 58px;
    padding: 28px 32px;
    text-align: left;
    border-radius: var(--lp-radius);
}

.lp-aeo-summary h2 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lp-cyan);
    margin: 0 0 14px;
    border: none;
}

.lp-aeo-summary p {
    font-size: 0.9375rem;
    color: #cbd5e1;
    line-height: 1.78;
    margin: 0;
}

/* =========================================================
   SOCIAL PROOF COUNTERS
   ========================================================= */
.lp-stats {
    border-block: 1px solid var(--lp-border);
    background: rgba(255, 255, 255, 0.018);
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 29px;
}

.lp-stat {
    text-align: center;
    padding: 38px 20px;
}

.lp-stat-value {
    font-size: clamp(2rem, 4vw, 3.125rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.12;
}

.lp-stat-label {
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--lp-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* =========================================================
   EXAM HUBS — glass + animated border glow
   ========================================================= */
.lp-hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 24px;
}

.lp-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 34px 28px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    will-change: transform;
    transition:
        transform 0.32s var(--lp-ease-out),
        border-color 0.32s,
        box-shadow 0.32s var(--lp-ease-out);
}

/* Animated border glow ring */
.lp-hub-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.7),
        rgba(34, 211, 238, 0.4),
        rgba(139, 92, 246, 0.5)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.32s var(--lp-ease-out);
    pointer-events: none;
}

.lp-hub-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.32s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.06));
}

.lp-hub-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow:
        0 24px 64px rgba(99, 102, 241, 0.18),
        0 0 48px rgba(99, 102, 241, 0.08);
}

.lp-hub-card:hover::before,
.lp-hub-card:hover::after {
    opacity: 1;
}

.lp-hub-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    background: rgba(99, 102, 241, 0.14);
    transition: transform 0.32s var(--lp-ease-out);
}

.lp-hub-card:hover .lp-hub-icon {
    transform: scale(1.06);
}

.lp-hub-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.lp-hub-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.875rem;
    color: var(--lp-muted);
    line-height: 1.62;
}

.lp-hub-arrow {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lp-cyan);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s, transform 0.32s var(--lp-ease-out);
}

.lp-hub-card:hover .lp-hub-arrow {
    opacity: 1;
    transform: translateX(0);
}

.lp-hub-card--cuet .lp-hub-icon { background: rgba(52, 211, 153, 0.14); }
.lp-hub-card--neet .lp-hub-icon { background: rgba(34, 197, 94, 0.14); }
.lp-hub-card--ipmat .lp-hub-icon { background: rgba(251, 146, 60, 0.14); }

/* =========================================================
   FEATURES
   ========================================================= */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: 24px;
}

.lp-feature-card {
    padding: 36px 32px;
    will-change: transform;
    transition:
        transform 0.3s var(--lp-ease-out),
        border-color 0.3s,
        box-shadow 0.3s var(--lp-ease-out);
}

.lp-feature-card:hover {
    transform: translateY(-6px) scale(1.012);
    border-color: rgba(139, 92, 246, 0.32);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12);
}

.lp-feature-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.625rem;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.12));
    transition: transform 0.3s var(--lp-ease-out);
}

.lp-feature-card:hover .lp-feature-icon {
    transform: scale(1.08);
}

.lp-feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.lp-feature-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--lp-muted);
    line-height: 1.72;
}

/* =========================================================
   STUDENT JOURNEY TIMELINE
   ========================================================= */
.lp-journey {
    background: rgba(255, 255, 255, 0.012);
}

.lp-journey::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(600px, 80vw);
    height: min(300px, 40vh);
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08), transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.lp-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    padding-top: 32px;
}

.lp-timeline::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--lp-accent), var(--lp-cyan), var(--lp-green));
    opacity: 0.3;
}

.lp-timeline-progress {
    position: absolute;
    top: 52px;
    left: 10%;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--lp-accent), var(--lp-cyan));
    transition: width 1.2s var(--lp-ease);
    z-index: 1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.lp-timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.lp-timeline-dot {
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    background: var(--lp-bg);
    border: 2px solid var(--lp-border);
    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--lp-ease-out);
}

.lp-timeline-step.is-active .lp-timeline-dot {
    border-color: var(--lp-accent);
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.4);
    transform: scale(1.12);
}

.lp-timeline-step h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.lp-timeline-step p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lp-muted);
    line-height: 1.58;
    max-width: 148px;
    margin-inline: auto;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
    gap: 24px;
}

.lp-testimonial {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s var(--lp-ease-out), box-shadow 0.3s;
}

.lp-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.lp-testimonial-stars {
    color: #fbbf24;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.lp-testimonial q {
    font-size: 0.9375rem;
    color: #cbd5e1;
    line-height: 1.75;
    font-style: normal;
    quotes: none;
}

.lp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.lp-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
}

.lp-testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.lp-testimonial-meta {
    font-size: 0.75rem;
    color: var(--lp-muted);
    margin-top: 2px;
}

/* =========================================================
   FAQ
   ========================================================= */
.lp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 820px;
}

.lp-faq-item {
    overflow: hidden;
    transition: border-color 0.28s, box-shadow 0.28s;
}

.lp-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.lp-faq-item[open] {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

.lp-faq-item summary {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}

.lp-faq-item summary:hover {
    color: #e2e8f0;
}

.lp-faq-item summary::-webkit-details-marker {
    display: none;
}

.lp-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--lp-muted);
    transition: transform 0.28s var(--lp-ease-out), color 0.28s;
    flex-shrink: 0;
}

.lp-faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--lp-accent);
}

.lp-faq-answer {
    padding: 0 28px 24px;
    font-size: 0.9375rem;
    color: var(--lp-muted);
    line-height: 1.78;
}

/* =========================================================
   LLM / GEO ENTITY BLOCK
   ========================================================= */
.lp-entity-block {
    padding: clamp(58px, 10vw, 96px) 0;
    border-top: 1px solid var(--lp-border);
}

.lp-entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 24px;
}

.lp-entity-card {
    padding: 28px;
    transition: transform 0.3s var(--lp-ease-out), border-color 0.3s;
}

.lp-entity-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.2);
}

.lp-entity-card h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lp-cyan);
    margin: 0 0 14px;
}

.lp-entity-card ul {
    margin: 0;
    padding-left: 18px;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.85;
}

.lp-entity-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.78;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.lp-final-cta {
    padding: clamp(76px, 12vw, 120px) 0;
}

.lp-cta-box {
    position: relative;
    padding: clamp(56px, 9vw, 84px) clamp(36px, 7vw, 72px);
    text-align: center;
    overflow: hidden;
    border-radius: var(--lp-radius-lg);
}

.lp-cta-box::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    width: min(500px, 80vw);
    height: min(400px, 60vh);
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.25), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}

.lp-cta-box h2 {
    position: relative;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    border: none;
}

.lp-cta-box p {
    position: relative;
    font-size: 1.0625rem;
    color: var(--lp-muted);
    max-width: 540px;
    margin: 0 auto 38px;
    line-height: 1.72;
}

.lp-cta-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ── Breadcrumb ── */
.lp-breadcrumb {
    padding: 20px 0 0;
    font-size: 0.8125rem;
    color: var(--lp-muted);
}

.lp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(148, 163, 184, 0.5);
}

.lp-breadcrumb a {
    color: var(--lp-muted);
    text-decoration: none;
}

.lp-breadcrumb a:hover {
    color: var(--lp-cyan);
}

/* ── Internal links strip ── */
.lp-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.lp-quick-links a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-muted);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s, transform 0.25s var(--lp-ease-out), box-shadow 0.25s;
}

.lp-quick-links a:hover {
    color: #fff;
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.12);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .lp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 24px;
    }

    .lp-timeline::before,
    .lp-timeline-progress {
        top: 0;
        bottom: 0;
        left: 43px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .lp-timeline-progress {
        height: 0;
        width: 2px !important;
        transition: height 1.2s var(--lp-ease);
    }

    .lp-timeline-step {
        display: flex;
        align-items: flex-start;
        gap: 22px;
        text-align: left;
        padding-bottom: 38px;
    }

    .lp-timeline-dot {
        margin: 0;
        flex-shrink: 0;
    }

    .lp-timeline-step p {
        max-width: none;
        margin-inline: 0;
    }
}

@media (max-width: 640px) {
    .lp-hero-search {
        flex-direction: column;
        border-radius: var(--lp-radius);
        padding: 9px;
    }

    .lp-hero-search input,
    .lp-hero-search button {
        border-radius: 12px;
        width: 100%;
    }

    .lp-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .lp-stat {
        padding: 24px 10px;
    }

    .lp-orb {
        filter: blur(60px);
        opacity: 0.4;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-hero-gradient,
    .lp-hero-badge-dot,
    .lp-orb {
        animation: none;
    }

    .lp-hub-card:hover,
    .lp-feature-card:hover,
    .lp-testimonial:hover,
    .lp-btn-primary:hover,
    .lp-btn-secondary:hover,
    .lp-quick-links a:hover {
        transform: none;
    }
}

/* ── Dark mode body override for landing ── */
body:has(.lp) {
    background: var(--lp-bg, #06060b);
}
