/* ============================================
   What's New Page Styles
   ============================================ */

/* Hero */
.whats-new-hero {
    background: #000000;
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
    text-align: center;
}

.whats-new-hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.whats-new-hero__subheadline {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.whats-new-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.whats-new-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.whats-new-hero__btn--primary {
    background: #d1fe17;
    color: #000000;
    border: none;
}

.whats-new-hero__btn--primary:hover {
    background: #FFFFFF;
    color: #000000;
}

.whats-new-hero__btn--subscribe {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.whats-new-hero__btn--subscribe:hover {
    border-color: #FFFFFF;
}

/* Timeline */
.whats-new-timeline {
    padding: clamp(60px, 8vw, 100px) 0;
    background: #FFFFFF;
}

.whats-new-month {
    margin-bottom: 64px;
}

.whats-new-month:last-child {
    margin-bottom: 0;
}

.whats-new-month__title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #000000;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000000;
}

.whats-new-month__entries {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Entry card */
.whats-new-entry {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s;
}

.whats-new-entry:hover {
    border-color: #000000;
}

.whats-new-entry__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.whats-new-entry__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Badge colors */
.whats-new-entry--feature .whats-new-entry__badge {
    background: #d1fe17;
    color: #000000;
}

.whats-new-entry--improvement .whats-new-entry__badge {
    background: #f3f4f6;
    color: #374151;
}

.whats-new-entry--bugfix .whats-new-entry__badge {
    background: #fef3c7;
    color: #92400e;
}

.whats-new-entry--beta .whats-new-entry__badge {
    background: #ede9fe;
    color: #5b21b6;
}

.whats-new-entry__title {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.whats-new-entry__summary {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 4px;
}

.whats-new-entry__details {
    margin-top: 8px;
}

.whats-new-entry__details p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.whats-new-entry__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}

.whats-new-entry__link:hover {
    color: #374151;
}

.whats-new-entry__link-arrow {
    transition: transform 0.2s;
}

.whats-new-entry__link:hover .whats-new-entry__link-arrow {
    transform: translateX(3px);
}

/* Coming Soon */
.whats-new-coming-soon {
    padding: clamp(80px, 10vw, 140px) 0;
    text-align: center;
}

.whats-new-coming-soon__headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px;
}

.whats-new-coming-soon__subheadline {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Subscribe Modal */
.whats-new-subscribe-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whats-new-subscribe-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.whats-new-subscribe-modal__content {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    z-index: 1;
}

.whats-new-subscribe-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.whats-new-subscribe-modal__close:hover {
    color: #000000;
}

.whats-new-subscribe-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px;
}

.whats-new-subscribe-modal__desc {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 24px;
}

.whats-new-subscribe-modal__form {
    display: flex;
    gap: 8px;
}

.whats-new-subscribe-modal__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.whats-new-subscribe-modal__input:focus {
    border-color: #000000;
}

.whats-new-subscribe-modal__submit {
    padding: 12px 24px;
    background: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.whats-new-subscribe-modal__submit:hover {
    background: #374151;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whats-new-entry {
        padding: 20px;
    }

    .whats-new-entry__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }


    .whats-new-subscribe-modal__form {
        flex-direction: column;
    }

    .whats-new-subscribe-modal__content {
        padding: 28px;
    }
}
