/* =========================================================
   ExamSpark Landing Page — Human-Crafted Academic Redesign
   Theme: Warm Paper, Deep Ink, Academic Blue & Forest Teal
   Zero Purple Gradients | Full Light & Dark Mode Support
   ========================================================= */

.lp {
    /* Light Mode Default: Warm Textbook Paper & Crisp Ink */
    --lp-bg: #FAF8F5;
    --lp-bg-alt: #F3EFE6;
    --lp-surface: #FFFFFF;
    --lp-surface-hover: #F8FAFC;
    --lp-border: #E2DCCE;
    --lp-border-strong: #CBD5E1;
    --lp-text: #0F172A;
    --lp-muted: #475569;
    --lp-subtle: #64748B;

    /* Grounded Academic Accents (No Purple) */
    --lp-blue: #1D4ED8;
    --lp-blue-hover: #1E40AF;
    --lp-blue-soft: #EFF6FF;
    --lp-teal: #0F766E;
    --lp-teal-soft: #F0FDFA;
    --lp-green: #15803D;
    --lp-green-soft: #DCFCE7;
    --lp-amber: #B45309;
    --lp-amber-soft: #FEF3C7;

    /* Typography & Layout */
    --lp-font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --lp-font-serif: "Newsreader", Georgia, Cambria, serif;
    --lp-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
    --lp-max: 1200px;
    --lp-radius-sm: 8px;
    --lp-radius: 12px;
    --lp-radius-lg: 16px;
    --lp-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --lp-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.07);

    color: var(--lp-text);
    font-family: var(--lp-font-sans);
    background-color: var(--lp-bg);
    overflow-x: hidden;
    position: relative;
    line-height: 1.65;
}

/* ── Dark Mode Variables (Triggered by footer.js body.dark-mode) ── */
body.dark-mode .lp,
body.dark-theme .lp {
    --lp-bg: #0B1120;
    --lp-bg-alt: #0F172A;
    --lp-surface: #111827;
    --lp-surface-hover: #1E293B;
    --lp-border: #1E293B;
    --lp-border-strong: #334155;
    --lp-text: #F8FAFC;
    --lp-muted: #94A3B8;
    --lp-subtle: #64748B;

    --lp-blue: #3B82F6;
    --lp-blue-hover: #2563EB;
    --lp-blue-soft: rgba(59, 130, 246, 0.14);
    --lp-teal: #14B8A6;
    --lp-teal-soft: rgba(20, 184, 166, 0.14);
    --lp-green: #22C55E;
    --lp-green-soft: rgba(34, 197, 94, 0.14);
    --lp-amber: #F59E0B;
    --lp-amber-soft: rgba(245, 158, 11, 0.14);

    --lp-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --lp-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.4);
}

body:has(.lp) {
    background-color: #FAF8F5;
}

body.dark-mode:has(.lp),
body.dark-theme:has(.lp) {
    background-color: #0B1120;
}

.lp *,
.lp *::before,
.lp *::after {
    box-sizing: border-box;
}

/* ── Accessibility Skip Link ── */
.lp-skip {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100000;
    padding: 10px 18px;
    background: var(--lp-text);
    color: var(--lp-bg);
    border-radius: var(--lp-radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}

.lp-skip:focus {
    top: 74px;
}

/* ── Global Header Integration (Injected by footer.js) ── */
body:has(.lp) #es-header {
    background: rgba(250, 248, 245, 0.92) !important;
    border-bottom: 1px solid #E2DCCE !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

body:has(.lp) #es-header .es-site-search {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
}

body:has(.lp) #es-header .es-site-search input {
    color: #0F172A !important;
}

body:has(.lp) #es-header .es-site-search button {
    background: #1D4ED8 !important;
}

body.dark-mode:has(.lp) #es-header {
    background: rgba(11, 17, 32, 0.9) !important;
    border-bottom: 1px solid #1E293B !important;
}

body.dark-mode:has(.lp) #es-header .es-site-search {
    background: #111827 !important;
    border-color: #334155 !important;
}

body.dark-mode:has(.lp) #es-header .es-site-search input {
    color: #F8FAFC !important;
}

/* ── Container & Section Rhythm ── */
.lp-container {
    width: min(var(--lp-max), calc(100% - 40px));
    margin-inline: auto;
}

.lp-section {
    padding: clamp(64px, 9vw, 108px) 0;
    position: relative;
}

.lp-section-alt {
    background-color: var(--lp-bg-alt);
    border-block: 1px solid var(--lp-border);
}

.lp-section-header {
    max-width: 720px;
    margin-bottom: 44px;
}

.lp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    font-family: var(--lp-font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-blue);
    margin-bottom: 14px;
}

.lp-section-title {
    font-family: var(--lp-font-serif);
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--lp-text) !important;
    margin: 0 0 14px;
    border: none !important;
}

.lp-section-desc {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--lp-muted) !important;
    line-height: 1.7;
    margin: 0;
}

/* ── Tactile Cards (Replaces AI Glassmorphism) ── */
.lp-glass,
.lp-glass-premium {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
}

/* ── Buttons ── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--lp-radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--lp-font-sans);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-btn-primary {
    background-color: var(--lp-blue);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

.lp-btn-primary:hover {
    background-color: var(--lp-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.3);
    color: #FFFFFF !important;
}

.lp-btn-secondary {
    background-color: var(--lp-surface);
    color: var(--lp-text) !important;
    border: 1px solid var(--lp-border-strong);
}

.lp-btn-secondary:hover {
    background-color: var(--lp-surface-hover);
    border-color: var(--lp-blue);
    color: var(--lp-blue) !important;
    transform: translateY(-2px);
}

/* ── Reveal Animation (Safe fallback so content never hides if JS lags) ── */
.lp-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* =========================================================
   SECTION 1: SPLIT ACADEMIC HERO
   ========================================================= */
.lp-hero {
    position: relative;
    padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
    border-bottom: 1px solid var(--lp-border);
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 22px;
    border-radius: 6px;
    border: 1px solid var(--lp-border-strong);
    background: var(--lp-surface);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--lp-text);
    box-shadow: var(--lp-shadow-sm);
}

.lp-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-green);
}

.lp-hero h1 {
    font-family: var(--lp-font-serif);
    font-size: clamp(2.35rem, 4.8vw, 3.65rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lp-text) !important;
    margin: 0 0 20px;
    border: none !important;
}

.lp-hero-highlight {
    color: var(--lp-blue);
    font-style: italic;
}

.lp-hero-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.15rem);
    color: var(--lp-muted) !important;
    line-height: 1.72;
    margin: 0 0 28px;
    max-width: 620px;
}

/* Direct Hero Search Bar */
.lp-hero-search {
    display: flex;
    gap: 8px;
    max-width: 580px;
    margin: 0 0 24px;
    padding: 6px;
    background: var(--lp-surface);
    border: 2px solid var(--lp-border-strong);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-hero-search:focus-within {
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.lp-hero-search input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: none !important;
    background: transparent !important;
    color: var(--lp-text) !important;
    font-size: 0.95rem;
    outline: none;
    box-shadow: none !important;
}

.lp-hero-search input::placeholder {
    color: var(--lp-subtle);
}

.lp-hero-search button {
    padding: 12px 22px;
    border: none;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-text);
    color: var(--lp-bg);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

body.dark-mode .lp-hero-search button {
    background: var(--lp-blue);
    color: #FFFFFF;
}

.lp-hero-search button:hover {
    opacity: 0.9;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.lp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    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;
}

/* Right Column: Student Study Desk Card */
.lp-desk-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-top: 4px solid var(--lp-blue);
    border-radius: var(--lp-radius);
    padding: 26px 24px;
    box-shadow: var(--lp-shadow-md);
}

.lp-desk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-desk-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--lp-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-desk-tag {
    font-family: var(--lp-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--lp-green-soft);
    color: var(--lp-green);
}

.lp-desk-list {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.lp-desk-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-bg);
    text-decoration: none;
    color: var(--lp-text);
    transition: border-color 0.2s, transform 0.15s;
}

.lp-desk-item:hover {
    border-color: var(--lp-blue);
    transform: translateX(3px);
}

.lp-desk-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--lp-text);
}

.lp-desk-item small {
    font-size: 0.78rem;
    color: var(--lp-muted);
}

.lp-desk-badge {
    font-family: var(--lp-font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--lp-blue-soft);
    color: var(--lp-blue);
}

/* AEO & Founder Note inside Hero Desk */
.lp-aeo-summary {
    padding: 16px;
    background: var(--lp-bg-alt);
    border-left: 3px solid var(--lp-teal);
    border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
}

.lp-aeo-summary h2 {
    font-family: var(--lp-font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lp-teal) !important;
    margin: 0 0 6px;
    border: none !important;
}

.lp-aeo-summary p {
    font-size: 0.84rem;
    color: var(--lp-muted) !important;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================
   SECTION 2: STATS BAR (Editorial Ledger)
   ========================================================= */
.lp-stats {
    background: var(--lp-surface);
    border-bottom: 1px solid var(--lp-border);
    padding: 28px 0;
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-stat {
    text-align: left;
    padding: 10px 20px;
    border-left: 3px solid var(--lp-blue);
}

.lp-stat:nth-child(2) {
    border-left-color: var(--lp-teal);
}

.lp-stat:nth-child(3) {
    border-left-color: var(--lp-amber);
}

.lp-stat:nth-child(4) {
    border-left-color: var(--lp-green);
}

.lp-stat-value {
    font-family: var(--lp-font-serif);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--lp-text) !important;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.lp-stat-label {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--lp-muted) !important;
    font-weight: 600;
}

/* =========================================================
   SECTION 3: EXAM HUBS DIRECTORY
   ========================================================= */
.lp-hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 20px;
}

.lp-hub-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    text-decoration: none;
    color: var(--lp-text);
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-hub-card:hover {
    transform: translateY(-4px);
    border-color: var(--lp-blue);
    box-shadow: var(--lp-shadow-md);
}

.lp-hub-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.lp-hub-code {
    font-family: var(--lp-font-mono);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 5px;
    background: var(--lp-blue-soft);
    color: var(--lp-blue);
}

.lp-hub-card--cuet .lp-hub-code {
    background: var(--lp-teal-soft);
    color: var(--lp-teal);
}

.lp-hub-card--neet .lp-hub-code {
    background: var(--lp-green-soft);
    color: var(--lp-green);
}

.lp-hub-card--ipmat .lp-hub-code {
    background: var(--lp-amber-soft);
    color: var(--lp-amber);
}

.lp-hub-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lp-subtle);
}

.lp-hub-card h3 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--lp-text) !important;
}

.lp-hub-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--lp-muted) !important;
    line-height: 1.6;
}

.lp-hub-arrow {
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--lp-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Quick Navigation Strip */
.lp-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--lp-border);
}

.lp-quick-links-label {
    font-family: var(--lp-font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lp-muted);
    margin-right: 6px;
}

.lp-quick-links a {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    color: var(--lp-text) !important;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lp-quick-links a:hover {
    border-color: var(--lp-blue);
    color: var(--lp-blue) !important;
    background: var(--lp-blue-soft);
}

/* =========================================================
   SECTION 4: PRACTICAL FEATURES GRID
   ========================================================= */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.lp-feature-card {
    padding: 28px 26px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-left: 4px solid var(--lp-teal);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature-card:nth-child(odd) {
    border-left-color: var(--lp-blue);
}

.lp-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-md);
}

.lp-feature-tag {
    display: inline-block;
    font-family: var(--lp-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 10px;
}

.lp-feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lp-text) !important;
}

.lp-feature-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--lp-muted) !important;
    line-height: 1.68;
}

/* =========================================================
   SECTION 5: 5-STEP STUDY WORKFLOW TIMELINE
   ========================================================= */
.lp-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
}

.lp-timeline-progress {
    display: none;
}

.lp-timeline-step {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 22px 18px;
    text-align: left;
    box-shadow: var(--lp-shadow-sm);
}

.lp-timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lp-font-mono);
    font-size: 0.85rem;
    font-weight: 800;
    background: var(--lp-blue-soft);
    color: var(--lp-blue);
    margin-bottom: 14px;
}

.lp-timeline-step h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--lp-text) !important;
}

.lp-timeline-step p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--lp-muted) !important;
    line-height: 1.55;
}

/* =========================================================
   SECTION 6: LLMEO / GEO ACADEMIC FACT SHEET
   ========================================================= */
.lp-entity-block {
    padding: clamp(56px, 8vw, 92px) 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    background: var(--lp-bg-alt);
}

.lp-entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.lp-entity-card {
    padding: 24px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
}

.lp-entity-card h3 {
    font-family: var(--lp-font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lp-blue) !important;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-entity-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--lp-muted) !important;
    line-height: 1.7;
}

.lp-entity-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--lp-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.lp-entity-card li {
    color: var(--lp-muted) !important;
}

/* =========================================================
   SECTION 7: STUDENT TESTIMONIALS & FIREBASE REVIEWS
   ========================================================= */
.lp-testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 18px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.lp-testimonial {
    margin: 0;
    padding: 28px 24px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 340px;
    scroll-snap-align: start;
    box-shadow: var(--lp-shadow-sm);
}

.lp-testimonial-stars {
    color: #D97706;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.lp-testimonial q,
.lp-testimonial p {
    font-size: 0.94rem;
    color: var(--lp-text) !important;
    line-height: 1.7;
    font-style: normal;
    quotes: none;
    margin: 0;
}

.lp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--lp-border);
    background: transparent !important;
}

.lp-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--lp-border);
}

.lp-testimonial-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lp-text) !important;
}

.lp-testimonial-meta {
    font-size: 0.78rem;
    color: var(--lp-muted) !important;
}

/* Write a Review Form */
.lp-review-form-container {
    max-width: 580px;
    margin: 0 auto;
    padding: 36px 32px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-md);
}

.lp-review-form-container h2 {
    font-family: var(--lp-font-serif);
    font-size: 1.65rem;
    margin: 0 0 8px;
    color: var(--lp-text) !important;
    text-align: center;
}

.lp-review-subtitle {
    font-size: 0.9rem;
    color: var(--lp-muted) !important;
    text-align: center;
    margin: 0 0 24px;
}

.lp-review-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-text) !important;
}

.lp-form-group input,
.lp-form-group select,
.lp-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--lp-radius-sm);
    border: 1px solid var(--lp-border-strong);
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: inherit;
    font-size: 0.94rem;
}

.lp-form-group input:focus,
.lp-form-group select:focus,
.lp-form-group textarea:focus {
    outline: none;
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.lp-form-submit {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* =========================================================
   SECTION 8: FAQ ACCORDION
   ========================================================= */
.lp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
}

.lp-faq-item {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
}

.lp-faq-item[open] {
    border-color: var(--lp-blue);
}

.lp-faq-item summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--lp-text) !important;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.lp-faq-item summary::-webkit-details-marker {
    display: none;
}

.lp-faq-item summary::after {
    content: "+";
    font-family: var(--lp-font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lp-blue);
    transition: transform 0.2s ease;
}

.lp-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.lp-faq-answer {
    padding: 0 24px 20px;
    font-size: 0.94rem;
    color: var(--lp-muted) !important;
    line-height: 1.72;
    border-top: 1px solid var(--lp-border);
    padding-top: 14px;
}

/* =========================================================
   SECTION 9: FINAL CTA
   ========================================================= */
.lp-final-cta {
    padding: clamp(56px, 8vw, 96px) 0;
}

.lp-cta-box {
    padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
    background: var(--lp-surface);
    border: 2px solid var(--lp-border-strong);
    border-radius: var(--lp-radius-lg);
    text-align: center;
    box-shadow: var(--lp-shadow-md);
}

.lp-cta-box h2 {
    font-family: var(--lp-font-serif);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 600;
    color: var(--lp-text) !important;
    margin: 0 0 12px;
    border: none !important;
}

.lp-cta-box p {
    font-size: 1.02rem;
    color: var(--lp-muted) !important;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.lp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 960px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
    }

    .lp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lp-hero-search {
        flex-direction: column;
    }

    .lp-hero-search button {
        width: 100%;
    }

    .lp-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .lp-testimonial {
        flex: 0 0 86vw;
    }

    .lp-review-form-container {
        padding: 24px 18px;
    }
}