/* ==========================================================================
   NeoRank Landing Page Design System – WordPress Plugin Light & Gradient Theme
   Target: neorank.enla-nube.com
   ========================================================================== */

:root {
    /* Color Palette (WordPress NeoRank Light Design System) */
    --bg-dark: #f8fafc;            /* Main body background (Slate 50) */
    --bg-surface: #ffffff;         /* Card & surface background */
    --bg-surface-elevated: #ffffff;
    --bg-card: #ffffff;
    
    /* Plugin Brand Colors */
    --nr-primary: #6366f1;         /* Indigo */
    --nr-primary-light: #818cf8;   /* Light Indigo */
    --nr-primary-dark: #4f46e5;    /* Dark Indigo */
    --nr-primary-bg: rgba(99, 102, 241, 0.08);

    /* Category Accents */
    --accent-cyan: #0284c7;        /* Vibrant Cyan Blue */
    --accent-cyan-rgb: 2, 132, 199;
    --accent-purple: #8b5cf6;      /* Violet / Purple */
    --accent-purple-rgb: 139, 92, 246;
    --accent-green: #16a34a;       /* Success Green */
    --accent-green-rgb: 22, 163, 74;
    --accent-red: #ef4444;         /* Error / Danger Red */
    --accent-red-rgb: 239, 68, 68;
    --accent-yellow: #f59e0b;      /* Warning Amber */
    
    /* Plugin Signature Gradients */
    --nr-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --nr-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
    --nr-gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --nr-gradient-cool: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
    --nr-gradient-ai: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --nr-gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Text Colors */
    --text-heading: #0f172a;       /* Slate 900 */
    --text-main: #334155;          /* Slate 700 */
    --text-muted: #475569;         /* Slate 600 */
    --text-dim: #64748b;           /* Slate 500 */
    
    /* Borders & Shadows */
    --border-light: #e2e8f0;       /* Slate 200 */
    --border-subtle: #f1f5f9;      /* Slate 100 */
    --border-neon-cyan: rgba(2, 132, 199, 0.3);
    --border-neon-purple: rgba(139, 92, 246, 0.3);
    --border-neon-green: rgba(22, 163, 74, 0.3);
    --border-neon-red: rgba(239, 68, 68, 0.2);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 15px rgba(99, 102, 241, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 25px rgba(99, 102, 241, 0.12), 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 50px rgba(99, 102, 241, 0.16);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1360px;
        padding: 0 32px;
    }
    .container-wide {
        max-width: 1440px !important;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
        padding: 0 40px;
    }
    .container-wide {
        max-width: 1540px !important;
    }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
}

.text-center { text-align: center; }

/* Gradient & Color Text Accent Utilities */
.text-neon-cyan { 
    color: var(--accent-cyan);
}

.text-neon-purple { 
    color: var(--accent-purple);
}

.text-gradient-purple {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-neon-green { color: var(--accent-green); }
.text-neon-red { color: var(--accent-red); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-yellow { color: var(--accent-yellow); }

/* Section Utilities */
.section-padding {
    padding: 90px 0;
}

.bg-surface {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.08);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-heading);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-lg {
    min-height: 56px;
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Main Gradient Primary Button (WordPress NeoRank Header Style) */
.btn-neon-green {
    background: var(--nr-gradient);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    border: none;
}

.btn-neon-green:hover {
    background: var(--nr-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

/* Secondary Button / Cyan Gradient Accent */
.btn-neon-cyan {
    background: var(--nr-gradient-cool);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-neon-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
    color: #ffffff;
}

.btn-outline-cyan {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--nr-primary);
    box-shadow: var(--shadow-sm);
}

.btn-outline-cyan:hover {
    background: #f5f3ff;
    border-color: var(--nr-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--nr-primary-dark);
}

/* Pulsing CTA Animation */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.btn-pulse {
    animation: pulseGlow 2.5s infinite;
}

/* ==========================================================================
   Header Section (Frosted Glass Light Nav)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.6rem;
    background: var(--nr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .highlight {
    background: var(--nr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-bar {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--nr-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1.5rem;
    cursor: pointer;
    min-height: 48px;
    min-width: 48px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.06) 40%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--nr-primary-dark);
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.06);
}

.hero-title {
    font-size: 3.25rem;
    max-width: 950px;
    margin: 0 auto 24px auto;
    letter-spacing: -1px;
    color: var(--text-heading);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto 36px auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 50px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--accent-green);
}

/* Hero Live Preview Mockup (Matching WordPress Admin UI) */
.hero-mockup-wrapper {
    width: 100%;
    max-width: 960px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    text-align: left;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border-light);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.mockup-title {
    margin-left: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-body);
    flex-grow: 1;
}

.mockup-badge-ai {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.12);
    color: #9333ea;
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-content {
    padding: 28px;
    background: #ffffff;
}

/* AI Optimizer Bar Styling */
.ai-optimizer-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.06);
}

.ai-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nr-gradient-ai);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.35);
    transition: var(--transition-fast);
    user-select: none;
    white-space: nowrap;
}

.ai-trigger-btn:hover, .ai-trigger-btn.active {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.5);
}

.ai-btn-spark {
    font-size: 1.1rem;
    animation: sparkSpin 2s linear infinite;
}

@keyframes sparkSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.ai-progress-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-progress-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b21a8;
}

.ai-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.ai-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #6366f1);
    border-radius: 10px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

.mockup-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.score-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.score-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.score-circle {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.score-num {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
}

.score-denom {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Score Low Warning States */
.score-card.is-low .score-circle {
    color: #ef4444 !important;
}
.score-card.is-mid .score-circle {
    color: #f59e0b !important;
}

/* Score High Optimized States */
.score-seo.is-high .score-circle { color: var(--accent-green) !important; }
.score-aeo.is-high .score-circle { color: var(--accent-cyan) !important; }
.score-geo.is-high .score-circle { color: var(--accent-purple) !important; }

.score-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.mockup-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.mockup-tabs::-webkit-scrollbar {
    display: none;
}

.mockup-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.mockup-tab.active {
    color: var(--nr-primary);
    border-bottom-color: var(--nr-primary);
}

.mockup-tab-content {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.mockup-tab-content.active {
    display: flex;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.status-icon.pass {
    color: var(--accent-green);
    font-size: 1.1rem;
}

/* ==========================================================================
   AEO Direct Answer Passage Styling
   ========================================================================== */
.direct-answer-container {
    max-width: 820px;
    margin: 0 auto;
}

.direct-answer-passage {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-heading);
    background: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--nr-primary);
    padding: 24px 28px;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Pain Cards Section (Tormenta)
   ========================================================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pain-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.pain-card.neon-border-red:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.08);
    transform: translateY(-4px);
}

.pain-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.pain-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.pain-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Rainbow Section (Alivio)
   ========================================================================== */
.rainbow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.rainbow-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.rainbow-card:hover {
    border-color: rgba(22, 163, 74, 0.4);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.08);
    transform: translateY(-4px);
}

.rainbow-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 24px auto;
}

.rainbow-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.rainbow-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Strategy Banner ("Hola somos...")
   ========================================================================== */
.strategy-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.strategy-box {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.strategy-quote {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(99, 102, 241, 0.15);
    position: absolute;
    top: -40px;
    left: -20px;
    line-height: 1;
}

.strategy-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-heading);
    font-weight: 500;
    margin-bottom: 32px;
}

/* ==========================================================================
   Triad Section (The "How")
   ========================================================================== */
.triad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.triad-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.triad-card.featured {
    border-color: var(--nr-primary-light);
    box-shadow: var(--shadow-lg);
}

.triad-badge {
    position: absolute;
    top: -14px;
    left: 28px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-seo { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-aeo { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.badge-geo { background: #f3e8ff; color: #6b21a8; border: 1px solid #d8b4fe; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Tooltip Informativo BYOK */
.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    cursor: help;
}

.info-icon {
    color: var(--nr-primary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.tooltip-wrapper:hover .info-icon {
    color: var(--accent-purple);
    transform: scale(1.2);
}

.tooltip-box {
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    padding: 12px 14px;
    border-radius: 10px;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 100;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.tooltip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.tooltip-wrapper:hover .tooltip-box,
.tooltip-wrapper:focus .tooltip-box {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tooltip-link {
    display: inline-block;
    margin-top: 6px;
    color: #38bdf8;
    font-weight: 700;
    text-decoration: underline;
}

.tooltip-link:hover {
    color: #7dd3fc;
}

.triad-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.triad-icon {
    font-size: 1.75rem;
    color: var(--nr-primary);
}

.triad-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.triad-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.triad-features li i {
    margin-top: 4px;
}

.pro-highlight-box {
    background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%);
    border: 1px solid #c084fc;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.pro-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #f3e8ff;
    border-radius: 50px;
    color: #9333ea;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pro-highlight-box h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.pro-highlight-box p {
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.pro-box-intro {
    line-height: 1.6;
    margin-bottom: 20px !important;
}

.byok-micro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    text-align: left;
}

.byok-micro-item {
    background: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.05);
}

.byok-micro-item i {
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.byok-micro-item strong {
    color: var(--text-heading);
    display: block;
    margin-bottom: 2px;
}

.table-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nr-primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
    text-align: center;
    border: 1px dashed rgba(99, 102, 241, 0.3);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: visible;
}

.comparison-table th, .comparison-table td {
    padding: 20px 28px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
}

.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) {
    width: 36%;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    width: 32%;
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
    width: 32%;
}

.comparison-table th {
    background: #f1f5f9;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-heading);
}

.comparison-table th small {
    font-weight: 400;
    color: var(--text-muted);
}

.comparison-table .highlight-column {
    background: rgba(99, 102, 241, 0.04);
    border-left: 1px solid var(--border-neon-cyan);
    border-right: 1px solid var(--border-neon-cyan);
}

/* ==========================================================================
   Lead Magnet & Community Download Section
   ========================================================================== */
.lead-magnet-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.lead-value-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
}

.open-source-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.lead-value-header h3 {
    font-size: 1.85rem;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.lead-value-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.lead-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.lead-feature-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition-fast);
}

.lead-feature-list li:hover {
    border-color: var(--nr-primary);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.feature-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    color: var(--text-heading);
}

.feature-item-header i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.feature-item-desc {
    margin: 0;
    padding-left: 26px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.community-sponsor-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
}

.community-sponsor-box i {
    font-size: 2rem;
    color: var(--nr-primary);
}

.community-sponsor-box strong {
    display: block;
    color: var(--text-heading);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.community-sponsor-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Lead Form Card */
.lead-form-card {
    background: #ffffff;
    border: 2px solid var(--border-neon-purple);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.12);
    position: relative;
}

.form-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-icon-pill {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.form-icon-badge {
    width: 52px;
    height: 52px;
    display: inline-block;
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    margin-bottom: 12px;
}

.form-card-header h3 {
    font-size: 1.6rem;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-card-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lead-download-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--nr-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-heading);
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--nr-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Intl Tel Input Plugin Enhancements */
.iti {
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

.iti input.form-control,
.iti--separate-dial-code input.form-control {
    width: 100% !important;
    padding-left: 96px !important;
}

.iti__flag-container {
    padding: 3px !important;
}

.iti__selected-flag {
    padding: 0 10px 0 12px !important;
    border-top-left-radius: 9px !important;
    border-bottom-left-radius: 9px !important;
    background: transparent !important;
}

.iti__country-list {
    border-radius: 10px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-xl) !important;
    background: #ffffff !important;
    color: var(--text-heading) !important;
    font-family: inherit !important;
    font-size: 0.88rem !important;
    z-index: 100 !important;
    max-height: 220px !important;
}

.iti__country {
    padding: 8px 12px !important;
}

.iti__country:hover, .iti__country.iti__highlight {
    background-color: #f1f5f9 !important;
}

.iti__selected-dial-code {
    font-size: 0.9rem !important;
    color: var(--text-heading) !important;
    font-weight: 600 !important;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.form-terms-group {
    margin: 4px 0;
}

.form-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    line-height: 1.45;
}

.form-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--nr-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-download-glow {
    margin-top: 8px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
}

.btn-download-glow:hover {
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6) !important;
}

.form-trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 0.78rem;
    color: var(--text-dim);
}

.form-trust-badges span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Success Card */
.lead-success-card {
    text-align: center;
    border-color: #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.success-icon-anim {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.lead-success-card h3 {
    font-size: 1.6rem;
    color: #15803d;
    margin-bottom: 10px;
}

.success-lead-msg {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.success-next-steps {
    text-align: left;
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 18px 20px;
}

.success-next-steps h4 {
    font-size: 0.95rem;
    color: #15803d;
    margin-bottom: 10px;
}

.success-next-steps ol {
    margin-left: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .lead-magnet-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--nr-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    min-height: 56px;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-icon {
    transition: var(--transition-fast);
    color: var(--nr-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px 24px;
    max-height: 1000px;
}

/* ==========================================================================
   CTA Final (Identical to WordPress Plugin Header Banner)
   ========================================================================== */
.cta-final-section {
    position: relative;
    padding: 110px 0;
    background: var(--nr-gradient);
    color: #ffffff;
    overflow: hidden;
}

.cta-final-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 4px 18px;
    border-radius: 50px;
}

.cta-title {
    font-size: 2.75rem;
    max-width: 850px;
    margin: 0 auto 20px auto;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 36px auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final-section .btn-neon-green {
    background: #ffffff;
    color: var(--nr-primary-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-final-section .btn-neon-green:hover {
    background: #f8fafc;
    color: var(--nr-primary);
}

.cta-final-section .btn-outline-cyan {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.cta-final-section .btn-outline-cyan:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    padding: 70px 0 30px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-tagline {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--text-heading);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--nr-primary);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--nr-primary);
    color: #ffffff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--nr-primary);
    font-weight: 600;
}

/* Prevent Horizontal Bleed & Improve Fluid Text */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, a, span, code {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ==========================================================================
   Responsive Queries & Touch UX Optimization
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section { padding: 120px 0 60px 0 !important; }
    .hero-title { font-size: 2.3rem; }
    .triad-grid { grid-template-columns: 1fr; }
    .lead-magnet-grid { grid-template-columns: 1fr !important; gap: 28px !important; width: 100% !important; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-bar { display: none; }
    .mobile-menu-toggle { display: block; }
    .mockup-scores { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
    .byok-micro-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
    .article-layout { grid-template-columns: 1fr; gap: 24px; margin: 24px 0 40px; }
}

@media (max-width: 768px) {
    /* Responsive Container & Padding Adjustments */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-section {
        padding: 120px 0 50px 0 !important;
    }

    /* Trust Badges Horizontal Swipe / Auto Slider */
    .hero-trust-badges {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 10px !important;
        padding: 4px 4px 12px 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 28px !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
    }

    .hero-trust-badges::-webkit-scrollbar {
        display: none;
    }

    .trust-item {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        scroll-snap-align: center;
        background: #ffffff;
        border: 1px solid var(--border-light);
        padding: 8px 14px;
        border-radius: 50px;
        font-size: 0.8rem !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    /* Compact 3-column Score Cards on Mobile */
    .mockup-scores {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 16px !important;
    }

    .score-card {
        padding: 8px 4px !important;
        border-radius: 10px !important;
    }

    .score-circle {
        margin-bottom: 3px !important;
        gap: 1px !important;
    }

    .score-num {
        font-size: 1.4rem !important;
    }

    .score-denom {
        font-size: 0.72rem !important;
    }

    .score-label {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .score-label i {
        display: none !important;
    }

    /* Compact Icon-Only CTA Button on Mobile */
    .header-actions .btn,
    .main-header .header-actions .btn {
        padding: 0 !important;
        width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        min-width: 38px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    .header-actions .btn span,
    .main-header .header-actions .btn span {
        display: none !important;
    }

    .header-actions .btn i,
    .main-header .header-actions .btn i {
        margin: 0 !important;
    }

    .mockup-tabs {
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 6px !important;
        gap: 6px !important;
    }

    .mockup-tab {
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Article Body Mobile Padding */
    .article-body {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .concept-box {
        padding: 16px 12px !important;
        margin: 18px 0 !important;
    }

    .direct-answer-passage {
        padding: 12px 14px !important;
        font-size: 0.95rem !important;
    }

    .guide-hero, .blog-hero {
        padding: 95px 0 24px !important;
    }

    .sidebar-widget {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .section-padding {
        padding: 45px 0 !important;
    }

    .checklist-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Comparison Table Responsive Touch Scroll */
    .table-scroll-hint {
        display: none !important;
    }

    .table-responsive {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px !important;
        box-shadow: var(--shadow-sm) !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid var(--border-light) !important;
        position: relative;
        background: #ffffff;
    }

    .comparison-table {
        min-width: 520px !important;
        width: 100% !important;
        border-collapse: separate !important; /* Critical for sticky position */
        border-spacing: 0 !important;
        overflow: visible !important;
    }

    /* Fixed / Sticky First Column (Característica / Capacidad) on Mobile Horizontal Scroll */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 20 !important;
        width: 140px !important;
        min-width: 135px !important;
        max-width: 150px !important;
        background: #ffffff !important;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.08) !important;
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        padding: 12px 10px !important;
        word-break: break-word !important;
        border-right: 1px solid var(--border-light) !important;
    }

    .comparison-table th:first-child {
        background: #f1f5f9 !important;
        z-index: 21 !important;
    }

    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2),
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) {
        width: 190px !important;
        min-width: 180px !important;
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        background: #ffffff;
    }

    .comparison-table td.highlight-column {
        background: rgba(99, 102, 241, 0.04) !important;
    }

    .comparison-table th {
        font-size: 0.88rem !important;
    }

    /* Transform Card Grids, BYOK Grid & Feature List into Touch-Friendly Horizontal Swipe Sliders */
    .pain-grid, .rainbow-grid, .byok-micro-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 16px;
        padding-top: 4px;
        padding-inline: 4px;
        scrollbar-width: none; /* Firefox */
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 8px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .lead-feature-list {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        gap: 16px;
        padding-bottom: 16px;
        padding-top: 4px;
        padding-inline: 4px;
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
        margin-bottom: 8px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .pain-grid::-webkit-scrollbar, 
    .rainbow-grid::-webkit-scrollbar,
    .byok-micro-grid::-webkit-scrollbar,
    .lead-feature-list::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .pain-grid > *, .rainbow-grid > *, .byok-micro-grid > * {
        flex: 0 0 88% !important; /* Shows 88% of card revealing next item peek */
        min-width: 88% !important;
        max-width: 330px !important;
        scroll-snap-align: center;
        min-height: auto !important;
    }

    .lead-feature-list > li {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: center;
        background: #ffffff !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 14px !important;
        padding: 18px 20px !important;
        box-shadow: var(--shadow-sm) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        box-sizing: border-box !important;
    }

    .lead-feature-list > li .feature-item-desc {
        padding-left: 28px !important;
    }

    /* Slider Pagination Dots (Mobile) */
    .slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 10px 0 22px;
        padding: 4px 0;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #cbd5e1;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slider-dot.active {
        width: 24px;
        border-radius: 12px;
        background: var(--nr-gradient);
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    }

    .lead-magnet-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-mockup-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .mockup-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        gap: 6px !important;
        box-sizing: border-box !important;
    }

    .mockup-title {
        font-size: 0.76rem !important;
        margin-left: 6px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .mockup-badge-ai {
        font-size: 0.68rem !important;
        padding: 3px 8px !important;
        flex-shrink: 0 !important;
    }

    .mockup-content {
        padding: 18px 14px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .ai-optimizer-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    .ai-trigger-btn {
        width: 100%;
        justify-content: center;
    }

    .lead-value-card, .lead-form-card {
        padding: 24px 18px !important;
        border-radius: 16px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* CTA Final Responsive Scale */
    .cta-final-section {
        padding: 60px 0 !important;
    }

    .cta-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }

    .cta-subtitle {
        font-size: 0.98rem !important;
        margin-bottom: 24px !important;
    }
}

@media (max-width: 576px) {
    .hero-section { padding: 110px 0 40px 0 !important; }
    .hero-title { font-size: 1.85rem !important; }
    .hero-subtitle { font-size: 0.98rem !important; }
    .section-title { font-size: 1.6rem !important; }
    .cta-title { font-size: 1.55rem !important; }
    .footer-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
    .footer-brand { grid-column: 1 / -1 !important; }
    .btn-lg { width: 100%; font-size: 1rem !important; padding: 12px 20px !important; }
    .breadcrumb-nav { font-size: 0.82rem; }
}

/* ==========================================================================
   Global Download Modal Pop-up
   ========================================================================== */
body.modal-open {
    overflow: hidden !important;
}

.neorank-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.neorank-modal-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.neorank-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.neorank-modal-container {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 2px solid var(--border-neon-purple);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 36px 32px;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.35);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.neorank-modal-overlay.active .neorank-modal-container {
    transform: translateY(0) scale(1);
}

.neorank-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neorank-modal-close:hover {
    background: #e2e8f0;
    color: var(--text-heading);
    transform: rotate(90deg);
}

@media (max-width: 576px) {
    .neorank-modal-container {
        padding: 28px 20px;
        border-radius: 16px;
    }
}

/* ==========================================================================
   Study Guide Hero & Legal Pages Hero (Left-Aligned by Default)
   ========================================================================== */
.guide-hero, .legal-hero {
    text-align: left !important;
}

.guide-hero .container, .legal-hero .container {
    text-align: left !important;
    align-items: flex-start !important;
    display: block !important;
}

.guide-hero .hero-title, .legal-hero .hero-title {
    text-align: left !important;
    margin: 0 0 16px 0 !important;
    max-width: 100% !important;
}

.guide-hero .hero-subtitle, .legal-hero .hero-subtitle {
    text-align: left !important;
    margin: 0 0 24px 0 !important;
    max-width: 880px !important;
}

.guide-hero .hero-badge, .legal-hero .hero-badge {
    margin: 0 0 16px 0 !important;
    display: inline-flex !important;
}

.guide-hero .breadcrumb-nav, .legal-hero .breadcrumb-nav {
    text-align: left !important;
    margin: 0 0 14px 0 !important;
}

/* ==========================================================================
   llms.txt Interactive Preview Modal (Light Theme)
   ========================================================================== */
.llms-modal-container {
    max-width: 680px !important;
    background: #ffffff !important;
    border: 2px solid var(--border-neon-purple) !important;
    color: var(--text-main) !important;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25) !important;
}

.llms-modal-container .neorank-modal-close {
    background: #f1f5f9 !important;
    color: var(--text-dim) !important;
}

.llms-modal-container .neorank-modal-close:hover {
    background: #e2e8f0 !important;
    color: var(--text-heading) !important;
}

.llms-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3e8ff;
    border: 1px solid #d8b4fe;
    color: #9333ea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.llms-modal-header h3 {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.llms-modal-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.llms-code-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.llms-code-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-heading);
    border-bottom: 1px solid var(--border-light);
}

.llms-code-viewer {
    padding: 16px;
    margin: 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #334155;
    background: #f8fafc;
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.llms-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 6px;
}

.btn-llms-raw {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nr-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.btn-llms-raw:hover {
    color: var(--nr-primary-dark);
    text-decoration: underline;
}



