/* Visiblytics - Unified Pillar Guide Styles */

/* CSS variables scoped to our pillar container */
        .av-pillar-container {
            --av-primary: #0a6aff;
            --av-primary-hover: #0052cc;
            --av-cyan: #00b4d8;
            --av-dark: #0f1b2d;
            --av-text: #1e293b;
            --av-text-light: #475569;
            --av-bg-light: #f8f9fc;
            --av-border: #e2e8f4;
            --av-blue-light: #e8f0ff;
            --av-blue-mid: #c5d9ff;
            --av-success: #10b981;
            --av-success-light: #ecfdf5;
            --av-danger: #ef4444;
            --av-danger-light: #fef2f2;
            --av-warning: #f59e0b;
            --av-shadow-sm: 0 4px 20px -2px rgba(15, 27, 45, 0.03), 0 1px 3px -1px rgba(15, 27, 45, 0.03);
            --av-shadow-md: 0 16px 36px -8px rgba(15, 27, 45, 0.06), 0 4px 12px -2px rgba(15, 27, 45, 0.02);
            --av-shadow-lg: 0 24px 60px -12px rgba(15, 27, 45, 0.12), 0 8px 24px -4px rgba(15, 27, 45, 0.04);
            --av-radius: 16px;
            --av-radius-lg: 24px;
            
            font-family: 'Bricolage Grotesque', sans-serif;
            color: var(--av-text);
            line-height: 1.75;
            background: #ffffff;
            font-size: 16px;
            margin: 0;
            padding: 0;
            overflow-x: clip;
            max-width: 100%;
        }

.av-pillar-container * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

.av-pillar-container img {
            max-width: 100%;
            height: auto;
            box-sizing: border-box;
        }

/* Responsive Grid Utility Classes */
.av-grid-2,
.av-platforms-grid.av-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
}

.av-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.av-span-2 {
    grid-column: span 2;
}

/* Screenshot Cards Component */
.av-screenshot-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin: 32px 0;
        }

.av-screenshot-card {
            background: var(--av-bg-light);
            border: 1px solid var(--av-border);
            border-radius: var(--av-radius);
            padding: 16px;
            box-shadow: var(--av-shadow-sm);
            text-align: center;
        }

.av-screenshot-card img {
            width: 100%;
            border-radius: 8px;
            border: 1px solid var(--av-border);
            margin-bottom: 12px;
            height: auto;
            display: block;
        }

.av-screenshot-card p {
            font-size: 13.5px;
            color: var(--av-text-light);
            margin-bottom: 0;
            line-height: 1.5;
        }

/* Formula Container Component */
.av-formula-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin: 36px 0;
            flex-wrap: wrap;
            text-align: center;
        }

/* Typography Scopes */
        .av-pillar-container h1, 
        .av-pillar-container h2, 
        .av-pillar-container h3, 
        .av-pillar-container h4 {
            font-family: 'Bricolage Grotesque', sans-serif;
            color: var(--av-dark);
            line-height: 1.25;
            letter-spacing: -0.02em;
        }

.av-pillar-container p {
            margin-bottom: 20px;
        }

/* HERO SECTION */
        @keyframes avFadeUp {
            from { opacity: 0; transform: translateY(16px); }
            to { opacity: 1; transform: translateY(0); }
        }

.av-hero {
            background: radial-gradient(circle at top right, rgba(10, 106, 255, 0.08), transparent 45%), radial-gradient(circle at bottom left, rgba(0, 180, 216, 0.05), transparent 50%), linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
            padding: 40px 24px 40px;
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--av-border);
        }

.av-hero::before {
            content: '';
            position: absolute;
            top: -120px;
            right: -80px;
            width: 480px;
            height: 480px;
            background: radial-gradient(circle, rgba(10, 106, 255, 0.07) 0%, transparent 70%);
            pointer-events: none;
        }

.av-hero::after {
            content: '';
            position: absolute;
            bottom: -80px;
            left: -60px;
            width: 360px;
            height: 360px;
            background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }

.av-hero-inner {
            max-width: 860px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            animation: avFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

.av-crumb {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: var(--av-text-light);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

.av-crumb a {
            color: var(--av-text-light);
            text-decoration: none;
        }

.av-crumb a:hover {
            color: var(--av-primary);
        }

.av-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--av-blue-light);
            color: var(--av-primary);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 16px;
            border: 1px solid var(--av-blue-mid);
        }

.av-hero h1 {
            font-size: clamp(28px, 4.5vw, 50px);
            font-weight: 700;
            letter-spacing: -1.5px;
            line-height: 1.1;
            margin-bottom: 16px;
            color: var(--av-dark);
            text-align: center;
        }

.av-hero-gradient {
            background: linear-gradient(135deg, var(--av-primary), var(--av-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

.av-hero-subtitle {
            font-size: 17px;
            color: var(--av-text);
            line-height: 1.7;
            margin-bottom: 20px;
            max-width: 780px;
            text-align: center;
        }

.av-hero-links {
            display: flex;
            gap: 9px;
            flex-wrap: wrap;
            margin-bottom: 24px;
            justify-content: center;
        }

.av-hero-btn {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 7px 15px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all .2s;
        }

.av-hero-btn--primary {
            background: var(--av-primary);
            color: #ffffff !important;
            box-shadow: 0 4px 15px rgba(10, 106, 255, 0.25);
        }

.av-hero-btn--primary:hover {
            background: var(--av-primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(10, 106, 255, 0.35);
        }

.av-hero-btn--secondary {
            background: #ffffff;
            color: var(--av-text);
            border: 1px solid var(--av-border);
            box-shadow: 0 2px 8px rgba(10, 30, 60, 0.02);
        }

.av-hero-btn--secondary:hover {
            border-color: var(--av-primary);
            color: var(--av-primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(10, 30, 60, 0.05);
        }

/* Maintenance Bio Box (Preserved) */
        .av-hero-bio {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-left: 4px solid var(--av-primary);
            padding: 18px 24px;
            border-radius: var(--av-radius);
            max-width: 760px;
            text-align: left;
            margin-top: 12px;
            backdrop-filter: blur(8px);
            box-shadow: var(--av-shadow-md);
        }

.av-bio-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--av-blue-mid);
            flex-shrink: 0;
        }

.av-bio-text {
            font-size: 13.5px;
            color: var(--av-text-light);
            line-height: 1.5;
        }

.av-bio-text a {
            color: var(--av-primary);
            text-decoration: none;
            font-weight: 600;
        }

.av-bio-text a:hover {
            text-decoration: underline;
        }

/* MAIN CONTENT AREA CONTAINER (Full width with alternating sections) */
        .av-section {
            width: 100%;
            padding: 40px 0;
            position: relative;
            z-index: 1;
        }

.av-section--white {
            background: radial-gradient(circle at 80% 20%, rgba(10, 106, 255, 0.015) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.015) 0%, transparent 50%), #ffffff;
        }

.av-section--alt {
            background: radial-gradient(circle at 10% 20%, rgba(10, 106, 255, 0.025) 0%, transparent 45%), radial-gradient(circle at 90% 80%, rgba(0, 180, 216, 0.025) 0%, transparent 45%), var(--av-bg-light);
            border-top: 1px solid var(--av-border);
            border-bottom: 1px solid var(--av-border);
        }

.av-section-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            min-width: 0; /* Prevents overflow */
        }

.av-section h2 {
            font-size: clamp(24px, 3.5vw, 32px);
            font-weight: 800;
            color: var(--av-dark);
            margin-bottom: 20px;
            scroll-margin-top: 100px;
            background: linear-gradient(135deg, var(--av-dark) 40%, var(--av-primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.03em;
        }

.av-section h3 {
            font-size: clamp(19px, 2.5vw, 23px);
            font-weight: 700;
            color: var(--av-primary);
            margin: 36px 0 18px;
            scroll-margin-top: 100px;
            letter-spacing: -0.02em;
        }

/* COMPARISON TABLE: Width 860px and centered */
        .av-compare-wrap {
            max-width: 860px;
            margin: 36px auto;
            overflow-x: auto;
            border-radius: var(--av-radius);
            box-shadow: var(--av-shadow-md);
            border: 1px solid rgba(226, 232, 240, 0.8);
        }

.av-compare-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 14.5px;
            background: #ffffff;
        }

.av-compare-table th {
            padding: 18px 20px;
            font-weight: 700;
            font-family: 'Bricolage Grotesque', sans-serif;
            font-size: 15.5px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-align: center;
        }

.av-compare-table th:first-child {
            background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
            color: #ffffff;
            width: 50%;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

.av-compare-table th:last-child {
            background: linear-gradient(90deg, var(--av-primary) 0%, var(--av-cyan) 100%);
            color: #ffffff;
            width: 50%;
        }

.av-compare-table td {
            padding: 16px 20px;
            border-bottom: 1px solid var(--av-border);
            text-align: center;
        }

.av-compare-table td:first-child {
            font-weight: 600;
            color: var(--av-dark);
            border-right: 1px solid var(--av-border);
            text-align: center;
        }

.av-compare-table tr:last-child td {
            border-bottom: none;
        }

.av-compare-table tr:hover td {
            background: rgba(10, 106, 255, 0.02);
        }

/* CALLOUT NOTE BOX */
        .av-callout {
            background: rgba(10, 106, 255, 0.02);
            border-left: 4px solid var(--av-primary);
            border-top: 1px solid rgba(10, 106, 255, 0.05);
            border-bottom: 1px solid rgba(10, 106, 255, 0.05);
            border-right: 1px solid rgba(10, 106, 255, 0.05);
            padding: 22px 26px;
            border-radius: 4px var(--av-radius) var(--av-radius) 4px;
            margin: 32px 0;
            box-shadow: var(--av-shadow-sm);
        }

.av-callout p:last-child {
            margin-bottom: 0;
        }

/* LISTS */
        .av-list {
            list-style: none;
            margin-bottom: 24px;
            display: grid;
            gap: 12px;
        }

.av-list-item {
            position: relative;
            padding-left: 28px;
        }

.av-list-item::before {
            content: "";
            position: absolute;
            left: 8px;
            top: 10px;
            width: 6px;
            height: 6px;
            background: var(--av-primary);
            border-radius: 50%;
        }

/* VISUAL INFOGRAPHIC TIMELINE */
        .av-timeline {
            position: relative;
            padding-left: 36px;
            margin: 36px 0;
        }

.av-timeline::before {
            content: "";
            position: absolute;
            left: 11px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: linear-gradient(to bottom, var(--av-primary), var(--av-cyan));
        }

.av-timeline-item {
            position: relative;
            margin-bottom: 28px;
        }

.av-timeline-item:last-child {
            margin-bottom: 0;
        }

.av-timeline-node {
            position: absolute;
            left: -36px;
            top: 2px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffffff 0%, var(--av-blue-light) 100%);
            border: 2px solid var(--av-primary);
            color: var(--av-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            z-index: 2;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 4px 10px rgba(10, 106, 255, 0.15);
        }

.av-timeline-item:hover .av-timeline-node {
            background: linear-gradient(135deg, var(--av-primary) 0%, var(--av-cyan) 100%);
            color: #ffffff;
            transform: scale(1.15);
            box-shadow: 0 6px 15px rgba(10, 106, 255, 0.3);
        }

.av-timeline-content {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: var(--av-radius);
            padding: 18px 22px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: var(--av-shadow-sm);
            backdrop-filter: blur(12px);
        }

.av-timeline-item:hover .av-timeline-content {
            box-shadow: var(--av-shadow-md);
            border-color: rgba(10, 106, 255, 0.3);
            transform: translateX(4px);
        }

.av-timeline-title {
            font-weight: 600;
            color: var(--av-dark);
            margin-bottom: 6px;
            font-size: 15px;
        }

.av-timeline-desc {
            font-size: 15px;
            color: var(--av-text);
            margin-bottom: 0;
            line-height: 1.6;
        }

/* 5 PILLARS GRID */
        .av-pillars-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin: 28px 0;
        }

.av-pillar-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: var(--av-radius);
            padding: 24px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: var(--av-shadow-sm);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(12px);
        }

.av-pillar-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--av-primary), var(--av-cyan));
            transform: scaleX(0);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

.av-pillar-card:hover::before {
            transform: scaleX(1);
        }

.av-pillar-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--av-shadow-lg);
            border-color: rgba(10, 106, 255, 0.4);
        }

.av-pillar-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }

.av-pillar-icon {
            width: 38px;
            height: 38px;
            border-radius: 8px;
            background: var(--av-blue-light);
            color: var(--av-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
        }

.av-pillar-card h4 {
            font-size: 17px;
            font-weight: 700;
            color: var(--av-dark);
        }

.av-pillar-card p {
            font-size: 15px;
            line-height: 1.6;
            color: var(--av-text);
            flex-grow: 1;
            margin-bottom: 16px;
        }

.av-pillar-link {
            font-size: 13px;
            font-weight: 600;
            color: var(--av-primary);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: auto;
        }

.av-pillar-link:hover {
            color: var(--av-primary-hover);
            text-decoration: underline;
        }

/* PLATFORMS GRID */
        .av-platforms-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin: 28px 0;
        }

.av-platform-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: var(--av-radius);
            padding: 24px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: var(--av-shadow-sm);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(12px);
            box-sizing: border-box;
            height: 100%;
        }

.av-platform-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--av-primary), var(--av-cyan));
            transform: scaleX(0);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

.av-platform-card:hover::before {
            transform: scaleX(1);
        }

.av-platform-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--av-shadow-lg);
            border-color: rgba(10, 106, 255, 0.4);
        }

.av-platform-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }

.av-platform-icon {
            width: 38px;
            height: 38px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            flex-shrink: 0;
        }

.av-platform-card h4 {
            font-size: 17px;
            font-weight: 700;
            color: var(--av-dark);
        }

.av-platform-card p {
            font-size: 15px;
            line-height: 1.6;
            color: var(--av-text);
            margin-bottom: 0;
        }

.av-platform-card p a {
            color: var(--av-primary);
            text-decoration: none;
            font-weight: 600;
        }

.av-platform-card p a:hover {
            text-decoration: underline;
        }

/* VISUAL FLOWCHART */
        .av-flowchart {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            background: var(--av-primary);
            border: 1px solid var(--av-border);
            border-radius: var(--av-radius);
            padding: 24px;
            margin: 24px 0;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

.av-flow-node {
            background: #ffffff;
            border: 1.5px solid var(--av-primary);
            border-radius: 50px;
            padding: 10px 24px;
            font-size: 14px;
            font-weight: 700;
            color: var(--av-dark);
            text-align: center;
            box-shadow: var(--av-shadow-sm);
            width: 100%;
        }

.av-flow-arrow {
            color: white;
            font-size: 11.5px;
            font-weight: 600;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

/* SIGNALS DASHBOARD BLOCK */
        .av-signals-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin: 28px 0;
        }

.av-signals-col {
            border-radius: var(--av-radius);
            padding: 24px;
            border: 1px solid var(--av-border);
        }

.av-signals-col--strong {
            background: var(--av-success-light);
            border-color: #d1fae5;
        }

.av-signals-col--weak {
            background: var(--av-danger-light);
            border-color: #fee2e2;
        }

.av-signals-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.av-signals-col--strong .av-signals-title {
            color: #065f46;
        }

.av-signals-col--weak .av-signals-title {
            color: #991b1b;
        }

.av-signals-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.av-signals-list li {
            font-size: 15px;
            line-height: 1.5;
            position: relative;
            padding-left: 24px;
        }

.av-signals-col--strong .av-signals-list li {
            color: #047857;
        }

.av-signals-col--weak .av-signals-list li {
            color: #b91c1c;
        }

.av-signals-list li::before {
            position: absolute;
            left: 0;
            top: 2px;
            font-size: 14px;
            font-weight: bold;
        }

.av-signals-col--strong .av-signals-list li::before {
            content: "✓";
        }

.av-signals-col--weak .av-signals-list li::before {
            content: "✕";
        }

/* CHECKLIST COMPONENT (GRID LAYOUT FROM JUNIOR DESIGN) */
        .av-check {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            border: none;
            border-radius: 0;
            overflow: visible;
            margin: 28px 0;
            background: transparent;
            box-shadow: none;
        }

.av-check-group {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: var(--av-radius);
            padding: 28px;
            box-shadow: var(--av-shadow-sm);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            backdrop-filter: blur(12px);
        }

.av-check-group:hover {
            box-shadow: var(--av-shadow-md);
            border-color: rgba(10, 106, 255, 0.3);
            transform: translateY(-2px);
        }

.av-check-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 14px;
            font-size: 15px;
            color: var(--av-text);
            line-height: 1.5;
        }

.av-check-item:last-child {
            margin-bottom: 0;
        }

.av-check-item::before {
            content: '';
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--av-blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230a6aff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center/11px;
            margin-top: 2px;
        }

/* TOOLS GRID (COMPACT COMPONENTS FROM JUNIOR DESIGN) */
        .av-tools {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 18px;
            margin: 28px 0;
        }

.av-tool {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: var(--av-radius);
            padding: 18px;
            display: flex;
            align-items: flex-start;
            gap: 14px;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            color: inherit;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(12px);
        }

.av-tool::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--av-primary), var(--av-cyan));
            transform: scaleX(0);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

.av-tool:hover::before {
            transform: scaleX(1);
        }

.av-tool:hover {
            border-color: rgba(10, 106, 255, 0.3);
            transform: translateY(-3px);
            box-shadow: var(--av-shadow-md);
        }

.av-tool-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--av-blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
            color: var(--av-primary);
        }

.av-tool-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            flex-grow: 1;
        }

.av-tool h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--av-dark);
            margin-bottom: 4px;
            line-height: 1.4;
        }

.av-tool p {
            font-size: 15px;
            color: var(--av-text-light);
            line-height: 1.4;
            margin-bottom: 8px;
        }

.av-tool-badge {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .05em;
            padding: 3px 8px;
            border-radius: 8px;
            display: inline-block;
            line-height: 1;
        }

.av-tool-badge--live {
            background: #dcfce7;
            color: #15803d;
        }

.av-tool-badge--soon {
            background: var(--av-blue-light);
            color: var(--av-primary);
        }

/* RESOURCE HUB SECTION */
        .av-hub-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin: 28px 0;
        }

.av-hub-col {
            background: var(--av-bg-light);
            border: 1px solid var(--av-border);
            border-radius: var(--av-radius);
            padding: 24px;
        }

.av-hub-col-title {
            font-weight: 800;
            font-size: 16px;
            color: var(--av-dark);
            margin-bottom: 16px;
            border-bottom: 2px solid var(--av-border);
            padding-bottom: 10px;
        }

.av-hub-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

.av-hub-links li {
            font-size: 14px;
            line-height: 1.4;
        }

.av-hub-links a {
            color: var(--av-primary);
            text-decoration: none;
            font-weight: 600;
        }

.av-hub-links a:hover {
            color: var(--av-primary-hover);
            text-decoration: underline;
        }

.av-hub-links span {
            color: var(--av-text-light);
            font-style: italic;
        }

/* CONVERTING FINAL CTA BLOCK */
        /* Inline Help CTA Box */
        .av-cta-inline {
            background: var(--av-blue-light);
            border-radius: var(--av-radius);
            padding: 32px 30px;
            margin: 28px 0;
            text-align: center;
            border: 1px solid var(--av-blue-mid);
        }

.av-cta-inline h2 {
            font-size: 22px;
            font-weight: 700;
            color: var(--av-dark);
            margin-bottom: 12px;
            letter-spacing: -.3px;
        }

.av-cta-inline p {
            font-size: 15px;
            color: var(--av-text);
            line-height: 1.7;
            margin-bottom: 24px;
        }

.av-cta-inline a {
            display: inline-flex;
            align-items: center;
            background: var(--av-primary);
            color: #ffffff !important;
            padding: 12px 28px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            transition: all .2s;
            box-shadow: 0 4px 14px rgba(10, 106, 255, 0.35);
        }

.av-cta-inline a:hover {
            background: var(--av-primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(10, 106, 255, 0.45);
        }

/* Closing essay */
        .av-closing {
            background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 60%, #f0faff 100%);
            padding: 56px 24px;
            border-top: 1px solid var(--av-border);
            border-bottom: 1px solid var(--av-border);
        }

.av-closing-in {
            max-width: 860px;
            margin: 0 auto;
        }

.av-closing h2 {
            font-size: 26px;
            font-weight: 700;
            color: var(--av-dark);
            letter-spacing: -.5px;
            margin-bottom: 18px;
        }

.av-closing p {
            font-size: 16px;
            color: var(--av-text);
            line-height: 1.85;
            margin-bottom: 14px;
        }

.av-closing p:last-child {
            margin-bottom: 0;
        }

/* Related pillars */
        .av-related {
            background: var(--av-bg-light);
            padding: 48px 24px;
            border-bottom: 1px solid var(--av-border);
        }

.av-related-lbl {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .09em;
            color: var(--av-text-light);
            margin-bottom: 16px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

.av-rel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.av-rc {
    background: #ffffff;
    border: 1px solid var(--av-border);
    border-radius: 14px;
    padding: 22px 18px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: inherit;
    box-sizing: border-box;
    height: 100%;
}

.av-rc:hover {
    border-color: var(--av-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 30, 60, .08);
}

.av-rc--active {
    border-color: var(--av-primary);
    background: var(--av-blue-light);
    box-shadow: 0 0 0 1px var(--av-primary);
    pointer-events: none;
}

.av-rc--dim {
    opacity: .55;
    pointer-events: none;
}

.av-rc-icon {
    width: 42px;
    height: 42px;
    background: var(--av-blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    margin-bottom: 14px;
}

.av-rc--active .av-rc-icon {
    background: rgba(10, 106, 255, 0.14);
}

.av-rc > div:not(.av-rc-icon) {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.av-rc strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--av-dark);
    line-height: 1.3;
    margin-bottom: 6px;
}

.av-rc--active strong {
    color: var(--av-primary);
}

.av-rc span {
    font-size: 12.5px;
    color: var(--av-text-light);
    display: block;
    line-height: 1.45;
}

/* Full CTA banner */
        .av-cta-banner {
            background: linear-gradient(135deg, var(--av-primary) 0%, var(--av-primary-hover) 60%, #003d99 100%);
            padding: 56px 24px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

.av-cta-banner::before {
            content: '';
            position: absolute;
            top: -80px;
            right: -60px;
            width: 360px;
            height: 360px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

.av-cta-in {
            max-width: 640px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

.av-cta-in h2 {
            font-size: 28px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -.5px;
            margin-bottom: 12px;
            line-height: 1.25;
        }

.av-cta-in p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 24px;
            line-height: 1.65;
        }

.av-cta-btns {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

.av-cta-w {
            background: #ffffff;
            color: var(--av-primary) !important;
            font-size: 14.5px;
            font-weight: 700;
            padding: 12px 24px;
            border-radius: 10px;
            text-decoration: none;
            transition: all .2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

.av-cta-w:hover {
            background: #f0f6ff;
            transform: translateY(-2px);
        }

.av-cta-g {
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff !important;
            font-size: 14.5px;
            font-weight: 600;
            padding: 12px 24px;
            border-radius: 10px;
            text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.25);
            transition: all .2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

.av-cta-g:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

/* ── FAQ ACCORDION (.vb-faq) ── */
        @keyframes vbSlideDown {
            from { opacity: 0; transform: translateY(-8px); }
            to   { opacity: 1; transform: translateY(0); }
        }

.av-pillar-container .vb-faq {
            border: none;
            box-shadow: none;
            margin: 28px 0;
            background: transparent;
        }

.av-pillar-container .vb-faq-title {
            background: linear-gradient(135deg, var(--av-primary) 0%, var(--av-primary-hover) 100%);
            background-clip: border-box !important;
            -webkit-background-clip: border-box !important;
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
            font-size: 20px !important;
            font-weight: 700;
            padding: 18px 24px !important;
            margin: 0 0 16px 0 !important;
            letter-spacing: -0.2px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-radius: var(--av-radius);
            box-shadow: var(--av-shadow-md);
        }

.av-pillar-container .vb-faq-title::before {
            content: '❓';
            font-size: 18px;
            flex-shrink: 0;
        }

.av-pillar-container .vb-faq-list {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

.av-pillar-container .vb-faq-item {
            border: 1px solid rgba(226, 232, 240, 0.8);
            background: #ffffff;
            margin-bottom: 12px;
            border-radius: var(--av-radius) !important;
            box-shadow: var(--av-shadow-sm);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
        }

.av-pillar-container .vb-faq-item:first-child {
            /* Keep it normal */
        }

.av-pillar-container .vb-faq-item:hover {
            box-shadow: var(--av-shadow-md);
            border-color: rgba(10, 106, 255, 0.3);
            transform: translateY(-2px);
        }

.av-pillar-container .vb-faq-q {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 18px 24px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 15.5px;
            font-weight: 600;
            color: var(--av-dark);
            font-family: inherit;
            text-align: left;
            transition: color 0.2s, background 0.2s;
            line-height: 1.45;
            list-style: none;
        }

.av-pillar-container .vb-faq-q:hover {
            color: var(--av-primary);
            background: rgba(10, 106, 255, 0.01);
        }

.av-pillar-container .vb-faq-q[aria-expanded="true"] {
            color: var(--av-primary);
            background: rgba(10, 106, 255, 0.02);
            border-bottom: 1px solid rgba(10, 106, 255, 0.08);
        }

.av-pillar-container .vb-faq-icon {
            font-size: 18px;
            font-weight: 400;
            flex-shrink: 0;
            color: var(--av-primary);
            transition: transform 0.25s ease;
            line-height: 1;
            display: inline-block;
        }

.av-pillar-container .vb-faq-q[aria-expanded="true"] .vb-faq-icon {
            transform: rotate(45deg);
        }

.av-pillar-container .vb-faq-a {
            padding: 20px 24px;
            font-size: 15px;
            line-height: 1.75;
            color: var(--av-text);
            background: rgba(10, 106, 255, 0.005);
            animation: vbSlideDown 0.25s ease;
        }

.av-pillar-container .vb-faq-a p:last-child {
            margin-bottom: 0;
        }

/* MISTAKES GRID BASE */
.av-mistakes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.av-mistake-card {
    background: linear-gradient(135deg, #fffafc 0%, #fff5f5 100%);
    border: 1px solid rgba(254, 226, 226, 0.8);
    border-radius: var(--av-radius);
    padding: 24px;
    position: relative;
    box-shadow: var(--av-shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.av-mistake-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--av-shadow-md);
    border-color: rgba(239, 68, 110, 0.3);
}

.av-mistake-card h4 {
    color: #991b1b;
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.av-mistake-card p {
    color: var(--av-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Inline links inside body content (paragraphs, cards, timeline, lists) */
.av-section p a,
.av-section li a,
.av-pillar-card p a,
.av-timeline-desc a,
.av-closing p a {
    color: var(--av-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(10, 106, 255, 0.35);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.av-section p a:hover,
.av-section li a:hover,
.av-pillar-card p a:hover,
.av-timeline-desc a:hover,
.av-closing p a:hover {
    color: var(--av-primary-hover);
    text-decoration-color: var(--av-primary-hover);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR PILLAR PAGES
   ========================================================================== */

/* TABLET LANDSCAPE & SMALL LAPTOPS (<= 1024px) */
@media (max-width: 1024px) {
    .av-rel-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px;
    }

    .av-section {
        padding: 48px 0;
    }

    .av-section-inner {
        padding: 0 20px;
    }

    .av-pillars-grid,
    .av-platforms-grid {
        grid-template-columns: 1fr;
    }

    .av-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .av-check {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .av-tools {
        grid-template-columns: 1fr;
    }

    .av-hub-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .av-hero {
        padding: 40px 20px 40px;
    }

    .av-hero h1 {
        font-size: clamp(28px, 6vw, 42px);
    }

    .av-hero-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .av-final-cta {
        padding: 32px 24px;
    }
}

/* TABLET PORTRAIT (<= 768px) */
@media (max-width: 768px) {
    .av-rel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .av-grid-2,
    .av-platforms-grid,
    .av-platforms-grid.av-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .av-pillars-grid {
        grid-template-columns: 1fr !important;
    }

    .av-mistakes-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .av-mistake-card,
    .av-span-2 {
        grid-column: auto !important;
    }

    .av-signals-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .av-compare-wrap {
        margin: 28px 0;
    }
}

/* LARGE MOBILE & PHABLET (<= 640px) */
@media (max-width: 640px) {
    .av-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .av-screenshot-container {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin: 24px 0;
    }

    .av-formula-wrap {
        gap: 8px;
        margin: 24px 0;
    }

    .av-pillar-container .vb-faq-q { 
        padding: 15px 18px; 
        font-size: 14px; 
    }

    .av-pillar-container .vb-faq-a { 
        padding: 16px 18px; 
    }

    .av-pillar-container .vb-faq-title { 
        font-size: 18px !important; 
    }
    
    /* Flowchart Mobile Sizing & Wrapping */
    .av-flowchart {
        padding: 18px 14px;
        margin: 20px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .av-flow-node {
        padding: 8px 14px;
        font-size: 13px;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .av-flow-arrow {
        font-size: 11px;
        text-align: center;
        padding: 0 4px;
        width: 100%;
    }

    .av-flow-arrow span {
        max-width: 100%;
        word-break: break-word;
        text-align: center;
        display: inline-block;
    }

    /* Timeline Mobile Sizing */
    .av-timeline {
        padding-left: 28px;
        margin: 24px 0;
    }

    .av-timeline::before {
        left: 9px;
    }

    .av-timeline-node {
        left: -28px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .av-timeline-content {
        padding: 14px 16px;
    }

    /* Comparison Table Touch Swipe Experience */
    .av-compare-wrap {
        margin: 24px -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        -webkit-overflow-scrolling: touch;
    }

    .av-compare-table {
        min-width: 480px;
        font-size: 13px;
    }

    .av-compare-table th {
        padding: 12px 14px;
        font-size: 13.5px;
    }

    .av-compare-table td {
        padding: 12px 14px;
    }
}

/* MOBILE PHONES (<= 480px) */
@media (max-width: 480px) {
    .av-rel-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .av-rc {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
    }

    .av-rc-icon {
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .av-rc strong {
        margin-bottom: 2px;
    }

    .av-hero {
        padding: 32px 14px 32px;
    }

    .av-hero h1 {
        font-size: clamp(24px, 7.5vw, 32px);
        letter-spacing: -0.8px;
    }

    .av-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .av-hero-links {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .av-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 14px;
    }

    .av-section {
        padding: 36px 0;
    }

    .av-section-inner {
        padding: 0 14px;
    }

    .av-section h2 {
        font-size: clamp(21px, 5.5vw, 26px);
    }

    .av-section h3 {
        font-size: clamp(17px, 4.5vw, 20px);
        margin: 28px 0 14px;
    }

    .av-pillar-card,
    .av-platform-card,
    .av-mistake-card,
    .av-signals-col {
        padding: 18px 16px;
    }

    .av-cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .av-cta-w,
    .av-cta-g {
        width: 100%;
        justify-content: center;
    }

    .av-closing {
        padding: 40px 14px;
    }

    .av-cta-banner {
        padding: 40px 14px;
    }
}
