/* Blog Index Page Specific Styles */

/* =====================================================
   BLOG HERO SECTION
   ===================================================== */

.hero-progressive {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: var(--gradient-radial);
    opacity: 0.1;
}

.energy-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(135, 43, 151, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 113, 48, 0.08) 0%, transparent 50%);
    animation: energy-flow 25s ease-in-out infinite;
}

@keyframes energy-flow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.03) rotate(0.5deg); }
}

.floating-nodes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-nodes::before,
.floating-nodes::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(135, 43, 151, 0.06) 0%, transparent 70%);
    animation: float-nodes 20s ease-in-out infinite;
}

.floating-nodes::before {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-nodes::after {
    bottom: 15%;
    right: 15%;
    animation-delay: 10s;
}

@keyframes float-nodes {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    animation: fade-in-up 1s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   BLOG SECTION STYLES
   ===================================================== */

.blog-section {
    background: var(--bg-secondary);
    padding: var(--space-3xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

/* =====================================================
   BLOG CARD STYLES
   ===================================================== */

.blog-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(135, 43, 151, 0.3);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: var(--space-lg);
}

.blog-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-date,
.blog-reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-title {
    margin-bottom: var(--space-sm);
}

.blog-title h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.blog-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.blog-excerpt a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-excerpt a:hover {
    border-bottom-color: var(--purple);
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

.blog-read-more i {
    transition: transform 0.3s ease;
    color: var(--purple);
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* =====================================================
   RELATED LINKS SECTION
   ===================================================== */

.intelligence-section {
    background: var(--bg-primary);
    padding: var(--space-3xl) 0;
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.intelligence-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intelligence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.intelligence-card:hover::before {
    transform: scaleX(1);
}

.intelligence-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(135, 43, 151, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.card-header h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

.card-content {
    color: var(--text-gray);
    line-height: 1.6;
}

.feature-list {
    margin: var(--space-md) 0;
}

.feature-item {
    padding: var(--space-xs) 0;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.feature-item a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.feature-item a:hover {
    border-bottom-color: var(--purple);
}

/* =====================================================
   RESPONSIVE DESIGN - BLOG SPECIFIC
   ===================================================== */

@media (max-width: 768px) {
    .hero-progressive {
        padding-top: 80px;
        min-height: 60vh;
        padding-bottom: var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .blog-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .intelligence-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-card {
        border-radius: var(--radius-md);
    }
    
    .blog-content {
        padding: var(--space-md);
    }
    
    .blog-image {
        height: 180px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .intelligence-card {
        padding: var(--space-md);
    }
}

/* Print styles for blog */
@media print {
    .blog-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--text-muted);
    }
    
    .blog-image {
        height: auto;
    }
    
    .hero-background,
    .floating-nodes,
    .energy-grid {
        display: none;
    }
    
    .hero-progressive {
        background: white;
        min-height: auto;
        color: black;
    }
    
    .blog-card {
        background: white;
        color: black;
    }
}
