/* ========================================
   Updates Page Styles
   ======================================== */

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1), transparent 70%);
}

.page-header h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.page-header p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Updates Section */
.updates-section {
    padding: 80px 0 100px;
}

/* Featured Update */
.featured-update {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 60px;
    transition: var(--transition);
}

.featured-update:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: var(--shadow-glow);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.featured-image .update-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 18px;
}

.update-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-button);
    color: var(--bg-dark);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.featured-content {
    padding: 50px;
    padding-right: 0;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.update-date {
    font-size: 14px;
    color: var(--text-dim);
}

.update-category {
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.featured-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Updates Grid */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.update-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.update-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.update-card-image {
    height: 180px;
    overflow: hidden;
}

.update-card-image .update-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 16px;
}

.update-card-content {
    padding: 25px;
}

.update-card-content .update-meta {
    margin-bottom: 12px;
}

.update-card-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.update-card-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-hover);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 102, 255, 0.08));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 12px;
}

.newsletter-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    font-size: 16px;
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-dim);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-update {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 300px;
    }

    .featured-content {
        padding: 40px;
    }

    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }

    .featured-content h2 {
        font-size: 26px;
    }

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

    .newsletter-section {
        padding: 40px 25px;
    }

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

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .featured-content {
        padding: 25px;
    }

    .update-card-content {
        padding: 20px;
    }
}
