/* News Page Specific Styles */

.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(10, 10, 10, 1) 50%);
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #b3b3b3;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Article */
.featured-article {
    padding: 5rem 0;
    background: #0f0f0f;
}

.featured-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text .article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.article-category {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-category.featured {
    background: linear-gradient(135deg, #007bff, #00ff88);
    color: #000000;
}

.article-category.company {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.article-category.insights {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.article-category.technology {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.article-date {
    color: #666666;
    font-size: 0.9rem;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.read-more-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
}

.featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ai-visualization {
    position: relative;
    width: 200px;
    height: 200px;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #007bff, #00ff88);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.node:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.node:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 0.7s;
}

.node:nth-child(3) {
    bottom: 20%;
    left: 40%;
    animation-delay: 1.4s;
}

.connection {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, #007bff, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
    opacity: 0.6;
}

/* Articles Section */
.articles-section {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.article-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #333333;
    color: #b3b3b3;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image .image-placeholder {
    height: 100%;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content .article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.article-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.9rem;
}

.article-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.article-link:hover {
    color: #0056b3;
}

/* Load More Section */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: transparent;
    border: 2px solid #333333;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #333333;
    border-color: #555555;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1.1rem;
    color: #b3b3b3;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #333333;
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #007bff;
}

.newsletter-input::placeholder {
    color: #666666;
}

.newsletter-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

/* Article Filtering */
.article-card.hidden {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-title {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .article-filters {
        width: 100%;
        justify-content: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .newsletter-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .featured-article,
    .articles-section,
    .newsletter-section {
        padding: 3rem 0;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .article-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .articles-grid {
        gap: 1.5rem;
    }

    .article-content {
        padding: 1rem;
    }

    .image-placeholder {
        height: 150px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeInUp 0.8s ease forwards;
}

.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.2s; }
.article-card:nth-child(4) { animation-delay: 0.3s; }
.article-card:nth-child(5) { animation-delay: 0.4s; }
.article-card:nth-child(6) { animation-delay: 0.5s; }
.article-card:nth-child(7) { animation-delay: 0.6s; }
.article-card:nth-child(8) { animation-delay: 0.7s; }