/* ==========================================================================
   Neo MCP Landing Page Design System – WordPress Plugin Light & Gradient Theme
   Target: neomcp.enlanube.com / neomcp.enla-nube.com
   Brand: Neo MCP (Suite Neo, matching NeoRank design system)
   ========================================================================== */

:root {
    /* Color Palette (WordPress Neo Light Design System) */
    --bg-dark: #f8fafc;            /* Main body background (Slate 50) */
    --bg-surface: #ffffff;         /* Card & surface background */
    --bg-surface-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-terminal: #090d16;        /* High-contrast dark terminal */
    
    /* 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%);
    --nr-gradient-shield: linear-gradient(135deg, #0284c7 0%, #16a34a 100%);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* 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 & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --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;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img, svg {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
    }
}

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

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

.text-gradient {
    background: var(--nr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

/* Ambient Background Light Glow */
.ambient-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1200px;
    height: 500px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Top Notification Banner */
.top-banner {
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 100;
}

.top-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Main Navigation Header */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 99;
    padding: 14px 0;
    transition: var(--transition-fast);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nr-primary-bg);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.logo-text-col {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

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

.logo-subtext {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 18px;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--nr-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nr-primary-bg);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--nr-primary-dark);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--nr-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--bg-dark);
    border-color: var(--nr-primary-light);
    color: var(--nr-primary-dark);
    transform: translateY(-2px);
}

.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* Interactive Bitacora / Live Terminal Widget */
.terminal-window {
    background: var(--bg-terminal);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    font-family: var(--font-mono);
    position: relative;
}

.terminal-header {
    background: #111827;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.terminal-title {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.terminal-body {
    padding: 20px;
    font-size: 0.84rem;
    line-height: 1.7;
    color: #cbd5e1;
    min-height: 280px;
    max-height: 380px;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: fadeInLine 0.3s ease forwards;
}

@keyframes fadeInLine {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.line-time {
    color: #64748b;
    font-size: 0.78rem;
    user-select: none;
    min-width: 62px;
}

.line-prompt { color: #38bdf8; font-weight: 600; }
.line-tool { color: #a78bfa; }
.line-success { color: #34d399; }

.line-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-dryrun {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-snapshot {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-diff {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.terminal-footer-note {
    background: #0d1320;
    padding: 10px 18px;
    font-size: 0.76rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Section Common Styling */
.section {
    padding: 85px 0;
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nr-primary);
    background: var(--nr-primary-bg);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Touch Slider Scroll Indicator on Mobile */
.slider-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--nr-primary);
    background: var(--nr-primary-bg);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin: -15px auto 24px;
    width: fit-content;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(239, 68, 68, 0.3);
}

.problem-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.25);
    margin-bottom: 10px;
}

.problem-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.problem-card-text {
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* 5 Steps Procedure Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.step-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.step-item:hover {
    border-color: var(--nr-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nr-primary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.86rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* 8 Safety Layers Grid */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.safety-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.safety-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.12);
}

.safety-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.safety-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.safety-card-desc {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.55;
}

/* Interactive Capabilities Simulator Section */
.capabilities-demo-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.demo-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.demo-tab-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.demo-tab-btn.active, .demo-tab-btn:hover {
    background: var(--nr-primary-bg);
    border-color: var(--nr-primary);
    color: var(--nr-primary-dark);
}

.demo-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.demo-box-col {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.demo-col-header {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-user-prompt {
    font-size: 0.96rem;
    color: var(--text-heading);
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.demo-diff-view {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    background: #0f172a;
    color: #cbd5e1;
    padding: 14px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

.diff-del { color: #f87171; background: rgba(239, 68, 68, 0.15); display: block; }
.diff-add { color: #4ade80; background: rgba(34, 197, 94, 0.15); display: block; }

/* Comparison Table */
.comparison-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 660px;
}

.comparison-table th, .comparison-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

/* Sticky First Column ("Capacidad") */
.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #ffffff;
    border-right: 1px solid var(--border-light);
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
    min-width: 170px;
    max-width: 190px;
}

.comparison-table th:first-child {
    background: var(--bg-dark);
    z-index: 10;
}

.comparison-table th {
    background: var(--bg-dark);
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
}

.col-featured {
    background: var(--nr-primary-bg);
    border-left: 1px solid rgba(99, 102, 241, 0.2);
    border-right: 1px solid rgba(99, 102, 241, 0.2);
}

.featured-header {
    background: rgba(99, 102, 241, 0.14) !important;
    color: var(--nr-primary-dark) !important;
}

.icon-check { color: var(--accent-green); font-weight: 700; }
.icon-cross { color: var(--accent-red); opacity: 0.7; }

/* Real Case Study Box */
.case-study-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.case-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.case-metric-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
}

.case-metric-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 6px;
}

.case-metric-label {
    font-size: 0.82rem;
    color: #cbd5e1;
}

/* Pricing Retainer Plans */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--nr-primary-light);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--nr-primary);
    background: #ffffff;
    box-shadow: var(--shadow-md), 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Single Turnkey Service Proposal Card */
.service-single-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md), 0 0 0 2px rgba(99, 102, 241, 0.15);
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.service-single-header {
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
    margin-bottom: 30px;
    width: 100%;
}

.service-single-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 8px 0;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}

.service-single-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
    width: 100%;
}

.service-feature-col {
    width: 100%;
    box-sizing: border-box;
}

.service-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.service-single-cta-box {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.service-cta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-cta-highlight {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.service-cta-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nr-gradient);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
}

.plan-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 18px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.plan-price-box {
    margin: 14px 0 4px;
}

.plan-price-label {
    font-size: 0.82rem;
    color: var(--nr-primary);
    font-weight: 700;
}

.plan-features-list {
    margin-bottom: 26px;
    flex-grow: 1;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.plan-feature-item i {
    color: var(--accent-green);
    margin-top: 4px;
    font-size: 0.85rem;
}

.btn-plan {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 0.92rem;
}

.btn-plan-outline {
    background: var(--bg-dark);
    color: var(--text-heading);
    border: 1px solid var(--border-light);
}

.btn-plan-outline:hover {
    background: var(--nr-primary-bg);
    border-color: var(--nr-primary);
    color: var(--nr-primary-dark);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.faq-question {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    cursor: pointer;
    user-select: none;
}

.faq-toggle-icon {
    font-size: 1rem;
    color: var(--nr-primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 22px 20px;
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Final CTA Section */
.cta-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    border-radius: var(--radius-lg);
    padding: 55px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: var(--shadow-xl);
}

.cta-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.cta-banner-text {
    font-size: 1.1rem;
    color: #e0e7ff;
    max-width: 620px;
    margin: 0 auto 28px;
}

.btn-cta-white {
    background: #ffffff !important;
    color: var(--nr-primary-dark) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn-cta-white:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

/* Modal Popup (Diagnóstico & Cotización) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.25s ease forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-heading);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 14px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition-fast);
}

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

.form-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--nr-gradient);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.98rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}

/* Main Footer */
.main-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 55px 0 25px;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 14px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ==========================================================================
   Responsive & Mobile Sliders Optimization (Skill diseno-responsive)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 880px) {
    /* Hide top announcement banner on mobile to give immediate focus to logo and headline */
    .top-banner {
        display: none !important;
    }

    /* Header optimization */
    .nav-bar {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .btn-header-cta {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    /* Container padding standard */
    .container {
        padding: 0 20px !important;
    }

    /* Interactive Mobile Slider Bullets (Skill estandares-saas-uiux-frontend) */
    .slider-bullets {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 14px;
        padding: 4px 0 8px;
        width: 100%;
    }

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

    .slider-bullet.active {
        width: 22px;
        background: var(--nr-primary);
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    }

    /* 1. Transform Safety 8-Layers into Touch Carousel */
    .safety-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding-bottom: 14px;
        padding-inline: 4px;
        scrollbar-width: none;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .safety-grid::-webkit-scrollbar {
        display: none;
    }
    .safety-grid > * {
        flex: 0 0 82% !important;
        scroll-snap-align: start;
        padding: 20px !important;
    }

    /* 2. Transform 5-Steps into Touch Carousel */
    .steps-container {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding-bottom: 14px;
        padding-inline: 4px;
        scrollbar-width: none;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .steps-container::-webkit-scrollbar {
        display: none;
    }
    .steps-container > * {
        flex: 0 0 82% !important;
        scroll-snap-align: start;
        padding: 20px !important;
    }

    /* 3. Transform Problem Cards into Touch Carousel */
    .problem-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding-bottom: 14px;
        padding-inline: 4px;
        scrollbar-width: none;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .problem-grid::-webkit-scrollbar {
        display: none;
    }
    .problem-grid > * {
        flex: 0 0 85% !important;
        scroll-snap-align: start;
        padding: 20px !important;
    }

    /* 4. Transform Pricing into Touch Carousel */
    .pricing-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 16px;
        padding-inline: 4px;
        scrollbar-width: none;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .pricing-grid::-webkit-scrollbar {
        display: none;
    }
    .pricing-grid > * {
        flex: 0 0 88% !important;
        scroll-snap-align: start;
        padding: 24px 20px !important;
    }

    /* 4.1. Single Turnkey Service Proposal Responsive Card */
    .service-single-card {
        padding: 24px 18px !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: var(--radius-md) !important;
    }

    .service-single-header {
        padding-bottom: 18px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .service-single-title {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .service-single-desc {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .service-features-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 22px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-feature-col {
        background: #f8fafc !important;
        border: 1px solid var(--border-light) !important;
        border-radius: var(--radius-md) !important;
        padding: 18px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-col-title {
        font-size: 1.02rem !important;
        margin-bottom: 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .service-single-card .plan-features-list {
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .service-single-card .plan-feature-item {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        align-items: flex-start !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .service-single-card .plan-feature-item:last-child {
        margin-bottom: 0 !important;
    }

    .service-single-card .plan-feature-item i {
        flex-shrink: 0 !important;
        margin-top: 2px !important;
        font-size: 0.85rem !important;
    }

    .service-single-cta-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px 16px !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: var(--radius-md) !important;
    }

    .service-single-cta-box .service-cta-info {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .service-single-cta-box .service-cta-highlight {
        font-size: 0.98rem !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .service-single-cta-box .service-cta-sub {
        font-size: 0.82rem !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }

    .service-single-cta-box .btn-primary {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 18px !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
    }

    /* 5. Capabilities Section Mobile Carousel (Tabs & Cards) */
    .capabilities-demo-box {
        padding: 20px 16px !important;
    }

    .demo-tabs-nav {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding-bottom: 10px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .demo-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .demo-tab-btn {
        flex: 0 0 auto !important;
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
    }

    .demo-content-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 14px !important;
        padding-bottom: 10px !important;
        scrollbar-width: none;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .demo-content-grid::-webkit-scrollbar {
        display: none;
    }
    .demo-box-col {
        flex: 0 0 92% !important;
        scroll-snap-align: start;
        padding: 16px !important;
    }

    /* 6. Metrics Grid - Mobile Horizontal Touch Carousel */
    .case-metrics-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 14px !important;
        padding-bottom: 8px !important;
        padding-inline: 4px;
        scrollbar-width: none;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .case-metrics-grid::-webkit-scrollbar {
        display: none;
    }
    .case-metrics-grid > * {
        flex: 0 0 78% !important;
        scroll-snap-align: start;
        padding: 18px 16px !important;
    }
    .case-metric-num {
        font-size: 1.7rem;
    }

    /* 7. Comparison Table Mobile Optimization (Compact & Sticky) */
    .comparison-table {
        min-width: 580px !important;
    }
    .comparison-table th, .comparison-table td {
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 125px !important;
        max-width: 140px !important;
        padding: 10px 10px !important;
        font-size: 0.82rem !important;
        box-shadow: 4px 0 8px rgba(0, 0, 0, 0.06) !important;
    }
    .col-featured {
        padding: 10px 12px !important;
    }

    /* Footer 2-Columns on Mobile (Compact & Short Scroll) */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 20px !important;
    }
    .footer-grid > div:first-child {
        grid-column: span 2 !important;
        margin-bottom: 6px;
    }

    .modal-content {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    /* Super compact header on small phones */
    .btn-header-cta {
        display: none; /* Hide top CTA to prevent crowding next to hamburger */
    }
    .logo-text {
        font-size: 1.25rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .case-metrics-grid > * {
        flex: 0 0 82% !important;
    }

    /* Ultra-compact table for narrow phones */
    .comparison-table {
        min-width: 500px !important;
    }
    .comparison-table th, .comparison-table td {
        padding: 8px 7px !important;
        font-size: 0.76rem !important;
    }
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 105px !important;
        max-width: 120px !important;
        padding: 8px 8px !important;
        font-size: 0.76rem !important;
    }

    /* Ultra-compact single service card for narrow phones */
    .service-single-card {
        padding: 18px 12px !important;
    }
    .service-single-title {
        font-size: 1.28rem !important;
    }
    .featured-badge {
        font-size: 0.68rem !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
    }
    .service-feature-col {
        padding: 14px 12px !important;
    }
    .service-col-title {
        font-size: 0.95rem !important;
    }
    .service-single-card .plan-feature-item {
        font-size: 0.8rem !important;
        gap: 8px !important;
    }
    .service-single-cta-box {
        padding: 15px 12px !important;
    }
}

/* ==========================================================================
   Compatibility Marquee Section
   ========================================================================== */
.compat-section {
    padding-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
}

.compat-section .section-header {
    margin-bottom: 36px;
}

.compat-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.compat-marquee-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: compat-scroll 38s linear infinite;
}

.compat-marquee-wrapper:hover .compat-marquee-track {
    animation-play-state: paused;
}

@keyframes compat-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.compat-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    flex-shrink: 0;
}

.compat-pill i {
    color: var(--nr-primary);
    font-size: 0.9rem;
}

.compat-pill-agent {
    background: rgba(139, 92, 246, 0.06);
    border-color: var(--border-neon-purple);
}

.compat-pill-agent i {
    color: var(--accent-purple);
}

.compat-pill-featured {
    background: linear-gradient(135deg, var(--nr-primary-bg), rgba(99, 102, 241, 0.14));
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: var(--nr-primary-dark);
}

.compat-pill-featured i {
    color: var(--nr-primary-dark);
}

.compat-pill-badge {
    background: var(--nr-primary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

.compat-footnote {
    text-align: center;
    max-width: 640px;
    margin: 32px auto 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.compat-footnote a {
    color: var(--nr-primary);
    font-weight: 700;
    text-decoration: none;
}

.compat-footnote a:hover {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .compat-marquee-track {
        animation: none;
    }
    .compat-marquee-wrapper {
        overflow-x: auto;
    }
}

@media (max-width: 640px) {
    .compat-pill {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}
