/* =====================================================
   LYFE FORGE DESIGN SYSTEM v1.0
   ===================================================== */

:root {
    --font-heading: 'Lexend', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --lf-bg: #0A0A18;
    --lf-bg-alt: #0F172A;
    --lf-bg-card: rgba(255, 255, 255, 0.05);
    --lf-border-card: rgba(255, 255, 255, 0.08);
    --lf-text: rgba(255, 255, 255, 0.88);
    --lf-text-muted: rgba(255, 255, 255, 0.5);
    --lf-text-heading: #ffffff;
    --lf-accent: #0085FF;
    --lf-accent-hover: #0177E3;
    --lf-accent-glow: rgba(0, 133, 255, 0.25);
    --lf-nav-bg: rgba(10, 10, 24, 0.85);
    --lf-nav-border: rgba(255, 255, 255, 0.07);
    --lf-footer-bg: #050510;
    --lf-shadow-card: 0 8px 32px rgba(0, 133, 255, 0.07);
    --lf-radius: 16px;
    --lf-radius-sm: 8px;
    --lf-blur: blur(20px);
    --lf-transition: all 0.25s ease;
}

[data-theme="light"] {
    --lf-bg: #F8FAFC;
    --lf-bg-alt: #EFF6FF;
    --lf-bg-card: rgba(255, 255, 255, 0.9);
    --lf-border-card: rgba(0, 0, 0, 0.08);
    --lf-text: #334155;
    --lf-text-muted: #64748B;
    --lf-text-heading: #0F172A;
    --lf-nav-bg: rgba(248, 250, 252, 0.92);
    --lf-nav-border: rgba(0, 0, 0, 0.08);
    --lf-footer-bg: #0F172A;
    --lf-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--lf-bg);
    color: var(--lf-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--lf-text-heading);
    line-height: 1.2;
    letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--lf-text); }
a { color: var(--lf-accent); text-decoration: none; transition: var(--lf-transition); }
a:hover { color: var(--lf-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ─────────────────────────────────────── */
.lf-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lf-section { padding: 88px 0; }
.lf-section-alt { background-color: var(--lf-bg-alt); }

/* ── Glassmorphism Card ─────────────────────────── */
.lf-card {
    background: var(--lf-bg-card);
    backdrop-filter: var(--lf-blur);
    -webkit-backdrop-filter: var(--lf-blur);
    border: 1px solid var(--lf-border-card);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow-card);
    padding: 28px;
    transition: var(--lf-transition);
}
.lf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px var(--lf-accent-glow);
    border-color: rgba(0, 133, 255, 0.22);
}

/* ── Buttons ─────────────────────────────────────── */
.lf-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--lf-radius-sm);
    font-family: var(--font-body); font-size: 1rem; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: var(--lf-transition); border: 2px solid transparent;
    white-space: nowrap; line-height: 1;
}
.lf-btn-primary { background: var(--lf-accent); color: #fff !important; border-color: var(--lf-accent); }
.lf-btn-primary:hover {
    background: var(--lf-accent-hover); border-color: var(--lf-accent-hover);
    box-shadow: 0 0 28px var(--lf-accent-glow); transform: translateY(-2px);
}
.lf-btn-ghost { background: transparent; color: rgba(255,255,255,0.85) !important; border-color: rgba(255,255,255,0.4); }
.lf-btn-ghost:hover { border-color: var(--lf-accent); color: var(--lf-accent) !important; }
[data-theme="light"] .lf-btn-ghost { color: var(--lf-text) !important; border-color: rgba(0,0,0,0.25); }
[data-theme="light"] .lf-btn-ghost:hover { border-color: var(--lf-accent); color: var(--lf-accent) !important; }

/* ── Navigation ──────────────────────────────────── */
.lf-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--lf-nav-bg);
    backdrop-filter: var(--lf-blur); -webkit-backdrop-filter: var(--lf-blur);
    border-bottom: 1px solid var(--lf-nav-border);
    height: 72px; display: flex; align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.lf-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; gap: 24px;
}
.lf-logo img { height: 42px; width: auto; transition: opacity 0.3s ease; }
.lf-nav-links {
    display: flex; align-items: center; gap: 24px;
    list-style: none; flex: 1; justify-content: center;
}
.lf-nav-links a { color: var(--lf-text); font-weight: 500; font-size: 0.93rem; }
.lf-nav-links a:hover { color: var(--lf-accent); }
.lf-nav-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── Theme Toggle ────────────────────────────────── */
.lf-theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0, 133, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 133, 255, 0.3);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--lf-transition); font-size: 1rem; flex-shrink: 0;
}
.lf-theme-toggle:hover { background: rgba(0, 133, 255, 0.22); border-color: var(--lf-accent); }

/* ── Typography Utilities ────────────────────────── */
.lf-eyebrow {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--lf-accent);
    background: rgba(0, 133, 255, 0.1); border: 1px solid rgba(0, 133, 255, 0.28);
    border-radius: 100px; padding: 5px 14px; margin-bottom: 14px;
}
.lf-section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.lf-section-header p { color: var(--lf-text-muted); font-size: 1.08rem; margin-top: 14px; line-height: 1.7; }

/* ── Hero ─────────────────────────────────────────── */
.lf-hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px; overflow: hidden;
}
.lf-hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0;
}
.lf-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,24,0.93) 0%, rgba(15,23,42,0.88) 60%, rgba(10,10,24,0.82) 100%);
}
.lf-hero-content { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.lf-hero h1 { margin-bottom: 22px; color: #fff; }
.lf-hero-sub {
    font-size: 1.13rem; color: rgba(255,255,255,0.78); max-width: 700px;
    margin: 0 auto 34px; line-height: 1.75;
}
.lf-hero-buttons {
    display: flex; gap: 14px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 16px;
}
.lf-trust-row {
    display: flex; gap: 18px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 44px;
}
.lf-trust-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.88rem; color: rgba(255,255,255,0.6);
}
.lf-trust-item::before { content: '✓'; color: var(--lf-accent); font-weight: 700; }

.lf-providers-strip { margin-top: 40px; }
.lf-providers-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
.lf-providers-logos {
    display: flex; gap: 28px; justify-content: center;
    align-items: center; flex-wrap: wrap;
}
.lf-provider-name {
    font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
    color: rgba(255,255,255,0.55); letter-spacing: 0.03em;
    transition: color 0.2s ease;
}
.lf-provider-name:hover { color: var(--lf-accent); }

/* ── Stats Strip ─────────────────────────────────── */
.lf-stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--lf-border-card);
    border-radius: var(--lf-radius);
    backdrop-filter: var(--lf-blur);
    overflow: hidden; margin-top: 64px;
}
.lf-stat {
    background: var(--lf-bg-card); backdrop-filter: var(--lf-blur);
    padding: 24px 20px; text-align: center;
    border-right: 1px solid var(--lf-border-card);
}
.lf-stat:last-child { border-right: none; }
.lf-stat-value {
    font-family: var(--font-heading); font-size: 2.1rem; font-weight: 700;
    color: var(--lf-accent); line-height: 1; margin-bottom: 6px;
}
.lf-stat-label { font-size: 0.8rem; color: var(--lf-text-muted); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.4; }

/* ── Product Screenshot Showcase ─────────────────── */
.lf-screenshot-showcase {
    position: relative; margin-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.lf-screenshot-main {
    border-radius: var(--lf-radius); overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,133,255,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1200px) rotateX(4deg);
    transition: transform 0.4s ease;
}
.lf-screenshot-main:hover { transform: perspective(1200px) rotateX(0deg); }
.lf-screenshot-main img { width: 100%; }

/* ── Features Grid ───────────────────────────────── */
.lf-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lf-feature-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }

/* ── How It Works ────────────────────────────────── */
.lf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.lf-steps::before {
    content: ''; position: absolute; top: 28px;
    left: 17%; right: 17%; height: 2px;
    background: linear-gradient(90deg, var(--lf-accent), rgba(0,133,255,0.15));
    z-index: 0; pointer-events: none;
}
.lf-step { position: relative; z-index: 1; text-align: center; }
.lf-step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--lf-accent); color: #fff;
    font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 0 24px var(--lf-accent-glow), 0 0 0 4px rgba(0,133,255,0.15);
}

/* ── AI Providers Grid ───────────────────────────── */
.lf-providers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }

/* ── Testimonials ────────────────────────────────── */
.lf-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lf-quote-mark { font-size: 3.5rem; color: var(--lf-accent); line-height: 0.8; margin-bottom: 12px; opacity: 0.45; font-family: Georgia, serif; }
.lf-testimonial-text { font-size: 0.95rem; line-height: 1.75; font-style: italic; color: var(--lf-text); margin-bottom: 22px; }
.lf-testimonial-author { display: flex; align-items: center; gap: 12px; }
.lf-author-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--lf-accent), #7C3AED);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0;
}
.lf-author-name { font-weight: 600; font-size: 0.92rem; color: var(--lf-text-heading); }
.lf-author-role { font-size: 0.8rem; color: var(--lf-text-muted); }

/* ── Pricing ─────────────────────────────────────── */
.lf-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.lf-pricing-card { position: relative; display: flex; flex-direction: column; }
.lf-pricing-card.featured {
    border-color: var(--lf-accent) !important;
    box-shadow: 0 0 48px var(--lf-accent-glow), 0 8px 32px rgba(0,133,255,0.12) !important;
}
.lf-pricing-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--lf-accent); color: #fff; font-size: 0.72rem; font-weight: 700;
    padding: 5px 16px; border-radius: 100px; white-space: nowrap;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.lf-plan-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--lf-text-heading); margin-bottom: 4px; }
.lf-price { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--lf-text-heading); line-height: 1; margin: 12px 0 2px; }
.lf-price span { font-size: 1rem; font-weight: 400; color: var(--lf-text-muted); }
.lf-credits { font-size: 0.83rem; color: var(--lf-text-muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--lf-border-card); }
.lf-pricing-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.lf-pricing-features li {
    display: flex; gap: 9px; align-items: flex-start;
    padding: 6px 0; font-size: 0.88rem; color: var(--lf-text);
}
.lf-pricing-features li::before { content: '●'; color: var(--lf-accent); font-size: 0.45rem; margin-top: 7px; flex-shrink: 0; }
.lf-pricing-card .lf-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ── Comparison Table ────────────────────────────── */
.lf-compare-wrap { overflow-x: auto; border-radius: var(--lf-radius); border: 1px solid var(--lf-border-card); }
.lf-compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 600px; }
.lf-compare-table th, .lf-compare-table td {
    padding: 14px 18px; border-bottom: 1px solid var(--lf-border-card); text-align: center;
}
.lf-compare-table th:first-child, .lf-compare-table td:first-child { text-align: left; }
.lf-compare-table thead th { background: var(--lf-bg-card); font-family: var(--font-heading); font-weight: 600; color: var(--lf-text-heading); }
.lf-compare-table thead th.lf-col-ours { background: rgba(0,133,255,0.14); color: var(--lf-accent); border-top: 2px solid var(--lf-accent); }
.lf-compare-table td.lf-col-ours { background: rgba(0,133,255,0.04); }
.lf-compare-table tr:last-child td { border-bottom: none; }
.lf-check { color: #22C55E; font-size: 1.1rem; font-weight: 700; }
.lf-cross { color: rgba(255,255,255,0.18); font-size: 1rem; }
.lf-partial { color: #F59E0B; font-size: 0.82rem; font-weight: 600; }

/* ── Blog Cards ──────────────────────────────────── */
.lf-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lf-blog-card { padding: 0; overflow: hidden; }
.lf-blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.lf-blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lf-blog-card:hover .lf-blog-card-image img { transform: scale(1.05); }
.lf-blog-card-body { padding: 20px 22px; }
.lf-blog-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--lf-accent); margin-bottom: 8px; }
.lf-blog-title { font-family: var(--font-heading); font-size: 1.02rem; font-weight: 600; color: var(--lf-text-heading); margin-bottom: 8px; line-height: 1.35; }
.lf-blog-excerpt { font-size: 0.87rem; color: var(--lf-text-muted); line-height: 1.6; }
.lf-blog-meta { display: flex; gap: 14px; margin-top: 14px; font-size: 0.78rem; color: var(--lf-text-muted); }

/* ── FAQ ─────────────────────────────────────────── */
.lf-faq-list { max-width: 820px; margin: 0 auto; }
.lf-faq-item { border-bottom: 1px solid var(--lf-border-card); }
.lf-faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 4px; cursor: pointer; font-weight: 600;
    color: var(--lf-text-heading); font-size: 1rem; gap: 16px;
    background: none; border: none; width: 100%; text-align: left;
    font-family: var(--font-heading);
}
.lf-faq-question::after { content: '+'; font-size: 1.5rem; color: var(--lf-accent); transition: transform 0.25s ease; flex-shrink: 0; font-weight: 300; }
.lf-faq-item.open .lf-faq-question::after { transform: rotate(45deg); }
.lf-faq-answer { display: none; padding: 0 4px 20px; color: var(--lf-text-muted); line-height: 1.75; font-size: 0.97rem; }
.lf-faq-item.open .lf-faq-answer { display: block; }

/* ── Background Image Sections ───────────────────── */
.lf-bg-section {
    position: relative; background-size: cover; background-position: center;
}
.lf-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,24,0.91) 0%, rgba(15,23,42,0.86) 100%);
    z-index: 0;
}
.lf-bg-section > .lf-container { position: relative; z-index: 1; }
.lf-bg-section > .lf-section-header { position: relative; z-index: 1; }

/* ── Stat Callout ────────────────────────────────── */
.lf-stat-callout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-top: 40px;
}
.lf-stat-callout-item { text-align: center; padding: 28px; }
.lf-stat-callout-value { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--lf-accent); margin-bottom: 4px; }
.lf-stat-callout-label { color: var(--lf-text-muted); font-size: 0.95rem; }

/* ── Dashboard Showcase (savings card) ───────────── */
.lf-savings-card {
    display: inline-flex; flex-direction: column; gap: 6px;
    background: var(--lf-bg-card); backdrop-filter: var(--lf-blur);
    border: 1px solid var(--lf-border-card); border-radius: var(--lf-radius);
    padding: 28px 36px; text-align: center;
    box-shadow: 0 0 48px var(--lf-accent-glow);
}
.lf-savings-hours { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 700; color: var(--lf-accent); line-height: 1; }
.lf-savings-value { font-size: 1rem; color: rgba(255,255,255,0.6); }
.lf-savings-label { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ── Footer ──────────────────────────────────────── */
.lf-footer { background: var(--lf-footer-bg) !important; padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.lf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.lf-footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 14px; line-height: 1.65; max-width: 260px; }
.lf-footer-col h4 { color: rgba(255,255,255,0.88); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 18px; }
.lf-footer-col ul { list-style: none; }
.lf-footer-col li { margin-bottom: 11px; }
.lf-footer-col a { color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.lf-footer-col a:hover { color: var(--lf-accent); }
.lf-footer-bottom {
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,0.3); font-size: 0.83rem;
}
.lf-social-links { display: flex; gap: 16px; }
.lf-social-links a { color: rgba(255,255,255,0.35); font-size: 1.1rem; transition: var(--lf-transition); }
.lf-social-links a:hover { color: var(--lf-accent); }

/* ── Mobile ──────────────────────────────────────── */
.lf-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.lf-hamburger span { display: block; width: 24px; height: 2px; background: var(--lf-text); border-radius: 2px; transition: var(--lf-transition); }
.lf-mobile-nav { display: none; position: fixed; inset: 72px 0 0; background: rgba(10,10,24,0.97); z-index: 999; flex-direction: column; padding: 32px 24px; gap: 12px; overflow-y: auto; }
.lf-mobile-nav.open { display: flex; }
.lf-mobile-nav a { color: var(--lf-text); font-size: 1.1rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ── WordPress Overrides ─────────────────────────── */
.site-header, .wp-block-template-part[data-slug="header"] { all: unset; }
.wp-site-blocks { padding-top: 0 !important; }
body.page { background-color: var(--lf-bg); }
.wp-block-query-pagination { margin-top: 40px; text-align: center; }

/* ── Page padding for fixed nav ──────────────────── */
.page-has-fixed-nav, main { padding-top: 72px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
    .lf-features-grid, .lf-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-testimonials-grid, .lf-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .lf-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .lf-providers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .lf-nav-links, .lf-nav-ctas .lf-btn:not(.lf-btn-primary) { display: none; }
    .lf-hamburger { display: flex; }
    .lf-features-grid, .lf-pricing-grid, .lf-testimonials-grid, .lf-blog-grid { grid-template-columns: 1fr; }
    .lf-footer-grid { grid-template-columns: 1fr; }
    .lf-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .lf-providers-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-steps { grid-template-columns: 1fr; }
    .lf-steps::before { display: none; }
    .lf-hero-buttons { flex-direction: column; align-items: center; }
    .lf-section { padding: 56px 0; }
    .lf-stat-callout { grid-template-columns: 1fr; }
    .lf-screenshot-main { transform: none; }
}
@media (max-width: 480px) {
    .lf-stats-strip { grid-template-columns: 1fr 1fr; }
    .lf-trust-row { flex-direction: column; align-items: center; gap: 8px; }
}

/* ── Utility ─────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent { color: var(--lf-accent) !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }

/* =====================================================
   HOMEPAGE EXTRA STYLES v1.0
   Added for Task 6 homepage sections
   ===================================================== */

/* --- Hero Section (two-column layout override) --- */
.lf-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: left;
    justify-content: flex-start;
}
.lf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,24,0.92) 0%, rgba(10,10,24,0.75) 50%, rgba(10,10,24,0.88) 100%);
    z-index: 0;
}
[data-theme="light"] .lf-hero-overlay {
    background: linear-gradient(135deg, rgba(248,250,252,0.92) 0%, rgba(248,250,252,0.75) 50%, rgba(248,250,252,0.88) 100%);
}
.lf-hero .lf-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.lf-hero-content { max-width: 560px; }
.lf-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.lf-btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.lf-hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--lf-text-muted);
}
.lf-hero-visual { display: flex; align-items: center; justify-content: center; }

/* --- Screenshot Display --- */
.lf-screenshot-img {
    width: 100%;
    border-radius: var(--lf-radius);
    box-shadow: 0 24px 64px rgba(0,133,255,0.2), 0 0 0 1px rgba(255,255,255,0.08);
    transform: rotateY(-8deg) rotateX(3deg);
    transition: transform 0.4s ease;
}
.lf-screenshot-img:hover { transform: rotateY(-2deg) rotateX(1deg); }

/* --- Stats Strip (standalone section) --- */
.lf-stats-strip-section {
    background: var(--lf-bg-alt);
    padding: 40px 0;
    border-top: 1px solid var(--lf-border-card);
    border-bottom: 1px solid var(--lf-border-card);
}
.lf-stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
    text-align: center;
}
.lf-stat-item { flex: 1; min-width: 120px; }
.lf-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lf-accent);
    line-height: 1;
}
.lf-stat-unit { font-size: 1.2rem; }
.lf-stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--lf-text-muted);
    margin-top: 8px;
}
.lf-stat-footnote {
    text-align: center;
    font-size: 0.75rem;
    color: var(--lf-text-muted);
    margin-top: 24px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Two-column Layout --- */
.lf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.lf-two-col-reverse { direction: rtl; }
.lf-two-col-reverse > * { direction: ltr; }
.lf-rounded-img { border-radius: var(--lf-radius); box-shadow: 0 24px 64px rgba(0,0,0,0.2); width: 100%; }

/* --- Pain Points --- */
.lf-pain-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.lf-pain-item { display: flex; gap: 16px; align-items: flex-start; }
.lf-pain-icon { font-size: 1.5rem; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0,133,255,0.1); border-radius: 8px; }
.lf-pain-item h3 { margin: 0 0 8px 0; font-size: 1.1rem; }
.lf-pain-item p { margin: 0; color: var(--lf-text-muted); font-size: 0.95rem; }

/* --- Pipeline --- */
.lf-pipeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}
.lf-pipeline-step {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--lf-bg-card);
    backdrop-filter: var(--lf-blur);
    border: 1px solid var(--lf-border-card);
    border-radius: var(--lf-radius);
    transition: var(--lf-transition);
}
.lf-pipeline-step:hover { border-color: rgba(0,133,255,0.2); box-shadow: 0 8px 32px var(--lf-accent-glow); }
.lf-pipeline-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lf-accent);
    opacity: 0.6;
    flex-shrink: 0;
    line-height: 1;
}
.lf-pipeline-content h3 { margin: 0 0 8px 0; font-size: 1.1rem; }
.lf-pipeline-content p { margin: 0 0 16px 0; color: var(--lf-text-muted); font-size: 0.9rem; line-height: 1.6; }
.lf-pipeline-screenshot img { width: 100%; border-radius: var(--lf-radius-sm); margin-top: 12px; border: 1px solid var(--lf-border-card); }

/* --- Features Grid (4-col for homepage) --- */
.lf-features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.lf-feature-card .lf-feature-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.lf-feature-card h3 { margin-bottom: 12px; font-size: 1rem; }
.lf-feature-card p { color: var(--lf-text-muted); font-size: 0.9rem; margin: 0; }

/* --- Section CTA --- */
.lf-section-cta { text-align: center; margin-top: 48px; }

/* --- Multi-AI Section --- */
.lf-multi-ai-overlay, .lf-testimonials-overlay, .lf-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 24, 0.88);
    z-index: 0;
}
[data-theme="light"] .lf-multi-ai-overlay,
[data-theme="light"] .lf-testimonials-overlay {
    background: rgba(248, 250, 252, 0.88);
}
[data-theme="light"] .lf-cta-overlay { background: rgba(248, 250, 252, 0.85); }
.lf-ai-providers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.lf-ai-provider-card {
    text-align: center;
    padding: 24px 16px;
}
.lf-ai-logo { margin-bottom: 12px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
.lf-ai-provider-card p { font-size: 0.85rem; color: var(--lf-text-muted); margin: 0; }

/* --- Analytics screenshots --- */
.lf-analytics-screenshots { position: relative; }
.lf-screenshot-offset { }

/* --- Check list --- */
.lf-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lf-check-list li {
    color: var(--lf-text-muted);
    font-size: 0.95rem;
    padding-left: 8px;
}
.lf-check-list li::before { content: '\2713  '; color: var(--lf-accent); font-weight: 700; }

/* --- Pricing --- */
.lf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.lf-pricing-card { position: relative; display: flex; flex-direction: column; }
.lf-pricing-featured {
    border-color: var(--lf-accent) !important;
    box-shadow: 0 0 48px var(--lf-accent-glow) !important;
}
.lf-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lf-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}
.lf-pricing-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.lf-pricing-price { margin-bottom: 8px; }
.lf-price-amount { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--lf-text-heading); }
.lf-price-period { font-size: 1rem; color: var(--lf-text-muted); }
.lf-pricing-desc { font-size: 0.875rem; color: var(--lf-text-muted); margin-bottom: 24px; min-height: 36px; }
.lf-pricing-features { list-style: none; padding: 0; margin: 0 0 24px 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.lf-pricing-features li { font-size: 0.9rem; color: var(--lf-text-muted); }
.lf-btn-full { width: 100%; justify-content: center; display: flex; margin-top: auto; }

/* --- FAQ --- */
.lf-faq-list { max-width: 800px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 0; }
.lf-faq-item { border-bottom: 1px solid var(--lf-border-card); }
.lf-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lf-text-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--lf-transition);
}
.lf-faq-q::after { content: '+'; font-size: 1.4rem; color: var(--lf-accent); flex-shrink: 0; margin-left: 16px; }
.lf-faq-q[aria-expanded="true"]::after { content: '−'; }
.lf-faq-q:hover { color: var(--lf-accent); }
.lf-faq-a { padding: 0 0 20px 0; color: var(--lf-text-muted); font-size: 0.95rem; line-height: 1.7; }
.lf-faq-a p { margin: 0; }

/* --- Footer --- */
.lf-footer {
    background: var(--lf-footer-bg);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lf-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.lf-footer-heading { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--lf-text-heading); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.lf-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lf-footer-links a { color: var(--lf-text-muted); font-size: 0.9rem; transition: var(--lf-transition); }
.lf-footer-links a:hover { color: var(--lf-accent); }
.lf-footer-social { display: flex; gap: 12px; margin-top: 20px; }
.lf-social-link {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--lf-text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--lf-transition);
    text-decoration: none;
}
.lf-social-link:hover { background: rgba(0,133,255,0.15); border-color: var(--lf-accent); color: var(--lf-accent); }
.lf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.lf-footer-bottom p { font-size: 0.85rem; color: var(--lf-text-muted); margin: 0; }

/* --- Testimonials --- */
.lf-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.lf-testimonial-card blockquote {
    margin: 16px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--lf-text);
    font-style: italic;
}
.lf-stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 8px; }
.lf-testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.lf-testimonial-info strong { display: block; font-size: 0.9rem; color: var(--lf-text-heading); }
.lf-testimonial-info span { font-size: 0.8rem; color: var(--lf-text-muted); }

/* --- CTA Final section --- */
.lf-cta-final h2 { color: white !important; margin-bottom: 20px; }

/* --- Responsive additions --- */
@media (max-width: 1024px) {
    .lf-ai-providers-grid { grid-template-columns: repeat(3, 1fr); }
    .lf-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .lf-ai-providers-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-testimonials-grid { grid-template-columns: 1fr; }
    .lf-pricing-grid { grid-template-columns: 1fr; }
    .lf-footer-top { grid-template-columns: 1fr; }
}

/* --- Comparison Table --- */
.lf-compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.lf-compare-table th, .lf-compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--lf-border-card); text-align: center; }
.lf-compare-table th:first-child, .lf-compare-table td:first-child { text-align: left; font-weight: 600; color: var(--lf-text-heading); }
.lf-compare-table th { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--lf-text-muted); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 20px; padding-bottom: 20px; }
.lf-compare-table tr:hover td { background: rgba(0,133,255,0.03); }
.lf-compare-table td { color: var(--lf-text-muted); }
.lf-compare-table td:nth-child(5) { color: var(--lf-accent); font-weight: 600; }

/* --- ROI Calculator --- */
.lf-roi-inputs { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.lf-roi-field { display: flex; flex-direction: column; gap: 8px; }
.lf-roi-field label { font-weight: 600; font-size: 0.9rem; color: var(--lf-text-heading); }
.lf-roi-slider { -webkit-appearance: none; width: 100%; height: 4px; background: rgba(0,133,255,0.2); border-radius: 2px; outline: none; }
.lf-roi-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--lf-accent); border-radius: 50%; cursor: pointer; }
.lf-roi-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--lf-accent); text-align: right; }
.lf-roi-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: rgba(0,133,255,0.05); border-radius: var(--lf-radius); padding: 24px; border: 1px solid rgba(0,133,255,0.15); }
.lf-roi-result-card { text-align: center; }
.lf-roi-result-number { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--lf-accent); }
.lf-roi-result-label { font-size: 0.8rem; color: var(--lf-text-muted); margin-top: 4px; display: block; }

/* --- Legal Pages --- */
.lf-legal-content { max-width: 800px; margin: 0 auto; }
.lf-legal-content h2 { margin-top: 40px; margin-bottom: 16px; }
.lf-legal-content h3 { margin-top: 28px; margin-bottom: 12px; }
.lf-legal-content p, .lf-legal-content li { color: var(--lf-text-muted); line-height: 1.8; }
.lf-legal-content ul, .lf-legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.lf-legal-content a { color: var(--lf-accent); }
