/* Blog Hero Section Styles */

.blog-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Background Elements */
.blog-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a1b, #1a1a3a);
    z-index: -3;
}

.animated-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(103, 58, 183, 0.5), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(0, 188, 212, 0.5), transparent 40%);
    opacity: 0.7;
    z-index: -2;
    animation: gradientShift 15s infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.particle-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.15;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(103, 58, 183, 0.8), transparent);
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 5%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.8), transparent);
    animation: floatAnimation 15s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 15%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.8), transparent);
    animation: floatAnimation 18s infinite alternate ease-in-out;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.8), transparent);
    animation: floatAnimation 12s infinite alternate-reverse ease-in-out;
}

.shape-5 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 25%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.8), transparent);
    animation: floatAnimation 25s infinite alternate ease-in-out;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(20px, -20px) rotate(5deg) scale(1.05);
    }
    100% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
    }
}

/* Hero Content */
.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.blog-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    position: relative;
}

.blog-hero-title .text-reveal {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.blog-hero-title .gradient-text {
    background: linear-gradient(90deg, #673AB7, #00BCD4, #FF5722);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    animation: gradientMove 8s infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Bar */
.blog-hero-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-input-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.search-input-container:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.search-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin: 0 15px;
}

.search-input-container input {
    flex: 1;
    background: transparent;
    border: none;
    height: 50px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.search-input-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: linear-gradient(90deg, #673AB7, #00BCD4);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #7E57C2, #26C6DA);
}

.trending-topics {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trending-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 15px;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.topic-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Stats */
.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -30px;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Articles */
.blog-hero-featured {
    margin-top: 60px;
}

.featured-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.featured-label i {
    color: #FFC107;
    margin-right: 10px;
    font-size: 18px;
    animation: pulse 2s infinite;
}

.featured-label span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
}

.featured-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.1);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.featured-card:hover .card-content h3 {
    background: linear-gradient(90deg, #673AB7, #00BCD4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.meta-date i, .meta-read i {
    margin-right: 5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.scroll-text {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.wave-separator svg {
    width: 100%;
    height: auto;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .blog-hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .blog-hero-title {
        font-size: 3.5rem;
    }
    
    .featured-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 60px;
    }
    
    .blog-hero-title {
        font-size: 2.8rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .featured-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .blog-hero-title {
        font-size: 2.2rem;
    }
    
    .blog-hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .search-input-container {
        flex-direction: column;
        padding: 10px;
        border-radius: 15px;
    }
    
    .search-input-container input {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .blog-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .trending-topics {
        flex-direction: column;
    }
    
    .trending-label {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .topic-tags {
        justify-content: center;
    }
}