/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE SYSTEM — CSS ADDITIONS
   Append this file's content to the bottom of assets/css/main.css

   What this adds:
     1. Neon colour tokens (cyan + electric green)
     2. Logo shield pulse animation (already embedded in header SVG,
        but these vars are referenced site-wide)
     3. .lp-* classes used by articles/view.php in LP mode
        (moved here so they're in main.css rather than inline <style>)
   ═══════════════════════════════════════════════════════════════ */


/* ─── NEON COLOUR TOKENS ─────────────────────────────────────── */
:root {
    /* Cyan neon — primary LP accent, hover states, glows */
    --neon-cyan:      #00d4ff;
    --neon-cyan-dim:  rgba(0, 212, 255, 0.15);
    --neon-cyan-glow: 0 0 12px rgba(0, 212, 255, 0.5), 0 0 24px rgba(0, 212, 255, 0.2);

    /* Electric green — CTA "Claim Bonus" buttons only */
    --neon-green:     #00ff87;
    --neon-green-dim: rgba(0, 255, 135, 0.12);
}


/* ─── LOGO SHIELD PULSE ──────────────────────────────────────── */
/* The SVG <animate> in header.php handles the opacity pulse.
   This keyframe is for any CSS-based logo glow if needed later. */
@keyframes logoShieldPulse {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(0,212,255,0)); }
    50%       { filter: drop-shadow(0 0 6px rgba(0,212,255,0.35)); }
}
.logo-svg { animation: logoShieldPulse 4s ease-in-out infinite; }


/* ─── LANDING PAGE LAYOUT ────────────────────────────────────── */
/* Full-width landing page wrapper */
.lp-page { background: var(--white); }

/* Hero */
.lp-hero {
    position: relative;
    background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 60%, var(--blue-800) 100%);
    padding: 64px 24px 56px;
    color: var(--white);
    overflow: hidden;
}
.lp-hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.lp-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, var(--neon-cyan-dim) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(251,191,36,0.06) 0%, transparent 40%);
}
.lp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
}
.lp-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 6px var(--neon-green);
    animation: lpDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes lpDotPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.lp-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.lp-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.lp-meta-row        { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-meta-chip       { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 500; }
.lp-meta-chip--green { color: #86efac; border-color: rgba(134,239,172,0.3); }

/* Hero image */
.lp-hero-img-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; transform: translateY(-24px); }
.lp-hero-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,0.18); display: block; }

/* Table of Contents */
.lp-toc-wrap { padding-top: 16px; padding-bottom: 8px; max-width: 860px; }
.lp-toc { background: linear-gradient(135deg, var(--gray-50), var(--blue-50)); border: 1px solid var(--blue-100); border-radius: 12px; padding: 20px 24px; }
.lp-toc-title { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-500); margin-bottom: 14px; }
.lp-toc-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .lp-toc-list { columns: 1; } }
.lp-toc-h2 { margin-bottom: 8px; break-inside: avoid; }
.lp-toc-h3 { margin-bottom: 6px; padding-left: 14px; break-inside: avoid; }
.lp-toc-h2 > a { font-size: 0.875rem; font-weight: 600; color: var(--blue-700); text-decoration: none; display: block; line-height: 1.4; transition: color 0.15s; }
.lp-toc-h3 > a { font-size: 0.8rem; color: var(--gray-500); text-decoration: none; display: block; line-height: 1.4; transition: color 0.15s; }
.lp-toc-h2 > a:hover, .lp-toc-h3 > a:hover { color: var(--blue-900); }

/* Main content area */
.lp-main { max-width: 860px; padding-top: 16px; padding-bottom: 80px; }

/* Landing page body text */
.lp-content { font-size: 1.08rem; line-height: 1.85; color: var(--gray-700); }
.lp-content h2 { font-size: 1.65rem; font-weight: 800; color: var(--gray-900); margin: 52px 0 18px; padding-top: 10px; border-top: 2px solid var(--gray-100); letter-spacing: -0.01em; }
.lp-content h3 { font-size: 1.22rem; font-weight: 700; color: var(--gray-900); margin: 32px 0 14px; }
.lp-content p  { margin-bottom: 22px; }
.lp-content ul, .lp-content ol { margin-bottom: 22px; padding-left: 22px; }
.lp-content li { margin-bottom: 8px; }
.lp-content a  { color: var(--blue-700); text-decoration: underline; }
.lp-content a:hover { color: var(--blue-900); }
.lp-content strong { color: var(--gray-900); }
.lp-content blockquote { border-left: 4px solid var(--blue-700); margin: 28px 0; padding: 16px 24px; background: var(--blue-50); border-radius: 0 10px 10px 0; font-style: italic; color: var(--gray-600); }
.lp-content table { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 0.95rem; box-shadow: var(--shadow-sm); border-radius: var(--radius-md); overflow: hidden; }
.lp-content table th { background: var(--blue-700); color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; }
.lp-content table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-100); }
.lp-content table tr:nth-child(even) td { background: var(--gray-50); }
.lp-content table tr:last-child td { border-bottom: none; }

/* FAQ section in LP */
.lp-faq { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--gray-100); }
.lp-faq-title { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); margin-bottom: 24px; letter-spacing: -0.01em; }

/* RG note */
.lp-rg-note { margin-top: 40px; padding: 12px 18px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.78rem; color: var(--gray-500); }
.lp-rg-note a { color: var(--gray-400); font-weight: 600; }


/* ─── FOOTER: FEATURED GUIDES COLUMN ────────────────────────── */
/* No extra CSS needed — .footer-section styles already cover it.
   The column appears/disappears dynamically based on DB content. */


/* ─── NEON CTA BUTTON (Claim Bonus — landing pages only) ──── */
/* Use this class on "Claim Bonus" buttons inside LP content */
.btn-neon-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--neon-green), #00d68f);
    color: #0a1a0a;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.22s var(--ease);
    box-shadow: 0 4px 18px rgba(0,255,135,0.3);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-neon-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,255,135,0.45);
    background: linear-gradient(135deg, #00ff9b, var(--neon-green));
}
