/*
Theme Name: 88I Custom E-E-A-T SEO 2026
Description: Custom CSS for 88I Homepage - Professional Layout
Version: 1.0.0
*/

/* ===================================
   BODY & CONTAINER IMPROVEMENTS
   =================================== */

.home-content .col-inner {
    background: #ffffff;
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.home-content .col-inner > div {
    padding: 40px 30px;
}

/* Responsive padding */
@media (max-width: 768px) {
    .home-content .col-inner > div {
        padding: 25px 20px;
    }
}

/* ===================================
   H1 TITLE STYLING
   =================================== */

.home-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.3 !important;
    color: #0B0E14 !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    text-align: center !important;
    position: relative;
    padding-bottom: 20px;
}

.home-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #38BDF8 0%, #22D3EE 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .home-content h1 {
        font-size: 1.8rem !important;
    }
}

/* ===================================
   INTRO PARAGRAPH
   =================================== */

.home-content h1 + div > p:first-child {
    font-size: 1.15rem !important;
    color: #334155 !important;
    line-height: 1.8 !important;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 25px 30px !important;
    border-radius: 10px;
    border-left: 4px solid #38BDF8;
    margin-bottom: 35px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ===================================
   H2 HEADINGS
   =================================== */

.home-content h2 {
    font-size: 1.95rem !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    margin-top: 50px !important;
    margin-bottom: 25px !important;
    padding-left: 20px;
    border-left: 5px solid #38BDF8;
    position: relative;
}

.home-content h2::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #38BDF8 0%, #0EA5E9 100%);
    border-radius: 0 3px 3px 0;
}

@media (max-width: 768px) {
    .home-content h2 {
        font-size: 1.5rem !important;
        padding-left: 15px;
    }
}

/* ===================================
   H3 HEADINGS
   =================================== */

.home-content h3 {
    font-size: 1.4rem !important;
    color: #0F172A !important;
    font-weight: 600 !important;
    margin-top: 30px !important;
    margin-bottom: 18px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-content h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22D3EE;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================================
   PARAGRAPHS
   =================================== */

.home-content p {
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    color: #475569 !important;
    margin-bottom: 20px !important;
}

.home-content p strong {
    color: #1E293B !important;
    font-weight: 600;
}

/* ===================================
   LISTS
   =================================== */

.home-content ul {
    margin: 20px 0 25px 0 !important;
    padding-left: 0 !important;
}

.home-content ul li {
    padding: 12px 0 12px 35px !important;
    position: relative;
    line-height: 1.7 !important;
    color: #475569 !important;
}

.home-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #38BDF8 0%, #22D3EE 100%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ===================================
   INFO BOXES / FEATURE BOXES
   =================================== */

.home-content > div > div[style*="background: #f8f9fa"],
.home-content > div > div[style*="background: #e8f5e9"],
.home-content > div > div[style*="background: #fff3e0"] {
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-content > div > div[style*="background: #f8f9fa"]:hover,
.home-content > div > div[style*="background: #e8f5e9"]:hover,
.home-content > div > div[style*="background: #fff3e0"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12) !important;
}

/* ===================================
   GRADIENT BOXES (Promotions)
   =================================== */

.home-content > div > div[style*="linear-gradient"] {
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.home-content > div > div[style*="linear-gradient"]::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 8s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   FAQ SECTION
   =================================== */

.home-content > div > div[style*="border: 1px solid #e0e0e0"] {
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.home-content > div > div[style*="border: 1px solid #e0e0e0"] > div[style*="background: #f5f5f5"] {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%) !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    transition: background 0.3s ease;
}

.home-content > div > div[style*="border: 1px solid #e0e0e0"] > div[style*="background: #f5f5f5"]:hover {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%) !important;
}

/* ===================================
   LINKS
   =================================== */

.home-content a {
    color: #0EA5E9 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.home-content a:hover {
    color: #0284C7 !important;
    border-bottom-color: #0EA5E9;
}

/* CTA Links */
.home-content a[style*="display: inline-block"] {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
    color: white !important;
    padding: 16px 42px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-content a[style*="display: inline-block"]:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5) !important;
}

/* ===================================
   FINAL CTA BOX
   =================================== */

.home-content > div > div[style*="linear-gradient(135deg, #f093fb"] {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #DC2626 100%) !important;
    padding: 45px 35px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 48px rgba(249, 115, 22, 0.4) !important;
    position: relative;
    overflow: hidden;
}

.home-content > div > div[style*="linear-gradient(135deg, #f093fb"]::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.home-content > div > div[style*="linear-gradient(135deg, #f093fb"] h3 {
    color: white !important;
    font-size: 2rem !important;
    margin-top: 0 !important;
}

.home-content > div > div[style*="linear-gradient(135deg, #f093fb"] h3::before {
    display: none;
}

/* ===================================
   FOOTER NOTE
   =================================== */

.home-content p[style*="text-align: center; color: #666"] {
    background: #FEF3C7;
    padding: 20px 25px !important;
    border-radius: 8px;
    border-left: 4px solid #F59E0B;
    font-size: 0.95rem !important;
    margin-top: 35px !important;
}

/* ===================================
   HASHTAGS
   =================================== */

.home-content p[style*="text-align: center"] strong[style*="color: #1a73e8"] {
    display: block;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* ===================================
   RESPONSIVE IMPROVEMENTS
   =================================== */

@media (max-width: 768px) {
    .home-content .col-inner > div {
        max-width: 100% !important;
    }
    
    .home-content h1 + div > p:first-child {
        padding: 20px !important;
        font-size: 1.05rem !important;
    }
    
    .home-content a[style*="display: inline-block"] {
        padding: 14px 32px !important;
        font-size: 1rem !important;
    }
}

/* ===================================
   SMOOTH ANIMATIONS
   =================================== */

.home-content * {
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .home-content .col-inner > div[style*="linear-gradient"] {
        background: #f5f5f5 !important;
        color: #000 !important;
    }
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */

.home-content a:focus,
.home-content button:focus {
    outline: 3px solid #38BDF8;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .home-content {
        --text-color: #000;
        --bg-color: #fff;
    }
}

/* ===================================
   LOADING OPTIMIZATION
   =================================== */

.home-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===================================
   TRUST BADGES INLINE STYLING FIX
   =================================== */

.home-content ul[style*="line-height: 2"] li {
    padding: 10px 0 10px 0 !important;
}

.home-content ul[style*="line-height: 2"] li::before {
    content: '🔒';
    left: -30px;
    background: none;
    font-size: 18px;
    width: auto;
    height: auto;
}

/* ===================================
   SECTION SPACING
   =================================== */

.home-content > div > h2:first-of-type {
    margin-top: 20px !important;
}

.home-content > div > *:last-child {
    margin-bottom: 0 !important;
}
