/* ===================================
   VISUAL HIERARCHY UTILITIES (PHASE 2)
   =================================== */

/* Visual Dividers to break text blocks */
.visual-divider {
    height: 1px;
    width: 60%;
    margin: 40px auto;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

/* Highlighted Terms */
.term-highlight {
    color: var(--accent-cyan);
    font-weight: 600;
    padding: 0 4px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
}

/* Infographic Containers */
.infographic-box {
    border: 1px dashed var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 100%);
    margin: 30px 0;
}

/* Step Badges */
.step-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* Emphasis Box */
.emphasis-box {
    background: rgba(16, 185, 129, 0.05);
    /* Green tint */
    border-left: 4px solid var(--accent-green);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.emphasis-box h4 {
    color: var(--accent-green) !important;
    margin-bottom: 5px;
}

/* Enhanced CTA */
.cta-button-large {
    font-size: 1.25rem !important;
    padding: 18px 50px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.cta-button-large:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.6) !important;
}

/* --- Conversion & Social Proof (CRO Phase) --- */
.conversion-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.conversion-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.conversion-card p {
    color: var(--text-muted);
    font-size: 16px !important;
    margin-bottom: 30px;
}

.dashboard-preview {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

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

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Primary CTA for Conversion Cards */
.btn-primary-solid {
    background: var(--accent);
    color: #0d1117;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    filter: brightness(1.1);
}

/* Proof Resource Cards */
.proof-resource-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Prevent child overflow */
}

.resource-thumbnail {
    width: 100px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.resource-content {
    flex: 1;
}

.resource-content h4 {
    margin: 0 0 8px 0;
    color: var(--accent);
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.resource-content p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #0d1117;
}

/* Floating PDF Micro-Conversion */
.floating-pdf-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: #0d1117;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-pdf-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

@media (max-width: 768px) {
    .floating-pdf-cta {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }

    .floating-pdf-cta span {
        display: none;
    }
}

@media (max-width: 600px) {
    .proof-resource-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .resource-thumbnail {
        width: 80px;
    }
}