/* --- INTRO & MODAL PREMIUM STYLING --- */
.intro-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    border-top: 4px solid #3b82f6 !important;
    margin-bottom: 3rem;
}
.intro-section:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}
#readMoreIntroBtn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
#readMoreIntroBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Modal Styling */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.custom-modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 850px;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.custom-modal-overlay.active .custom-modal-card {
    transform: translateY(0) scale(1);
}
.custom-modal-header {
    padding: 20px 32px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.custom-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}
.custom-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
    line-height: 1;
}
.custom-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: rotate(90deg);
}
.custom-modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}
/* Modal Content Formatting */
.modal-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #64748b;
}
.modal-meta-item {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}
.modal-meta-item strong {
    color: #0f172a;
}
.custom-modal-body hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}
.custom-modal-body h2 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}
.custom-modal-body h3 {
    color: #0f172a;
    font-size: 1.2rem;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}
.custom-modal-body ul, .custom-modal-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.custom-modal-body li {
    margin-bottom: 8px;
}
.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}
.modal-table th, .modal-table td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.modal-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}
.modal-table tr:nth-child(even) {
    background-color: #f8fafc;
}
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}
.niche-badge {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #bfdbfe;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}
.niche-badge:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}
.modal-cta-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}
.modal-cta-btn {
    display: inline-block;
    background: #3b82f6;
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    background: #2563eb;
}
.modal-resource-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.modal-resource-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
body.modal-open {
    overflow: hidden;
}
