/* ============================================================
   inner-pages.css — Shared styles for About, Changelog, Terms, Security
   ============================================================ */

.inner-page {
    background: #000;
    min-height: 100vh;
}

/* ----- Inner Hero ----- */
.inner-hero {
    padding: 160px 0 80px;
}

.inner-hero-content {
    max-width: 640px;
}

.inner-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #D64545, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.inner-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.inner-hero-content p {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
}

/* ----- Inner Body ----- */
.inner-body {
    background: #fff;
    padding: 80px 0;
}

/* ----- Inner Sections ----- */
.inner-section {
    max-width: 960px;
    margin: 0 auto 64px;
}

.inner-section-dark {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 48px;
    max-width: 960px;
    margin: 0 auto 64px;
}

.inner-section-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.inner-section-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.inner-lead {
    font-size: 20px !important;
    color: #111 !important;
    font-weight: 600;
    line-height: 1.5 !important;
}

.inner-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inner-list li {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.inner-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #ccc;
}

/* ----- Values Grid (About) ----- */
.inner-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.inner-value-item {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 28px;
    border: 1px solid #eee;
}

.inner-value-icon {
    width: 44px;
    height: 44px;
    background: #111;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.inner-value-icon i {
    font-size: 20px;
    color: #F2F2F2;
}

.inner-value-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.inner-value-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ----- Security Pillars ----- */
.security-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.security-pillar {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #eee;
}

.security-pillar-icon {
    width: 52px;
    height: 52px;
    background: #111;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.security-pillar-icon i {
    font-size: 22px;
    background: linear-gradient(135deg, #D64545, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-pillar h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.security-pillar p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ----- Changelog ----- */
.changelog-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.changelog-entry {
    display: flex;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid #eee;
}

.changelog-entry:last-child {
    border-bottom: none;
}

.changelog-meta {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.changelog-version {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.changelog-date {
    font-size: 12px;
    color: #999;
}

.changelog-content {
    flex: 1;
}

.changelog-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    margin-top: 4px;
}

.changelog-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.changelog-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.changelog-content ul li {
    font-size: 13px;
    color: #555;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.changelog-content ul li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: #999;
    font-size: 16px;
    line-height: 1.3;
}

.changelog-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.changelog-tag-new {
    background: #111;
    color: #fff;
}

.changelog-tag-improved {
    background: #f0f0f0;
    color: #555;
}

.changelog-tag-fix {
    background: #fff3cd;
    color: #856404;
}

/* ----- Legal Content ----- */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 16px !important;
    color: #333 !important;
    background: #f7f7f7;
    border-left: 3px solid #111;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 40px !important;
    line-height: 1.7 !important;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-content ul li {
    font-size: 14px;
    color: #555;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.legal-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #ccc;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .security-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .inner-values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .inner-hero-content h1 {
        font-size: 32px;
    }

    .inner-hero {
        padding: 120px 0 60px;
    }

    .changelog-entry {
        flex-direction: column;
        gap: 16px;
    }

    .changelog-meta {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .inner-section-dark {
        padding: 28px 20px;
    }

    .security-pillars {
        grid-template-columns: 1fr 1fr;
    }
}
