/*
|--------------------------------------------------------------------------
| FILE PATH:
| /home/mahaupsi/public_html/assets/public/css/platform-pages.css
|
| FILE PURPOSE:
| Shared styling for new Maha Shikshan Awaaz public information pages:
| - Draft / Objections hub
| - Maharashtra Community Coming Soon
| - Educational Tools Coming Soon
| - About Maha Shikshan Awaaz
|
| RESPONSIVE RULE:
| - Desktop : >= 1024px
| - Tablet  : 600px - 1023px
| - Mobile  : <= 599px
|
| IMPORTANT:
| - Flexbox only; no CSS Grid.
| - Exactly ONE Desktop, ONE Tablet and ONE Mobile responsive block.
| - All responsive blocks are together at the END of this file.
|--------------------------------------------------------------------------
*/


/* =========================================================
   PAGE SHELL
   ========================================================= */

.platform-page-section {
    padding: 34px 0 42px;
}

.platform-page-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.platform-page-intro {
    max-width: 850px;
    margin-bottom: 22px;
}

.platform-page-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 9px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: var(--radius-pill);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.platform-page-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 950;
    line-height: 1.2;
}

.platform-page-lead {
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.platform-page-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
}

.platform-page-actions .btn {
    margin-right: 9px;
    margin-bottom: 9px;
}


/* =========================================================
   ACTION / INFORMATION CARDS
   ========================================================= */

.platform-action-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 18px;
}

.platform-action-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    padding: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.platform-action-card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-color);
    border-radius: 13px;
    font-size: 1.2rem;
}

.platform-action-card h2,
.platform-action-card h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.4;
}

.platform-action-card p {
    flex: 1 1 auto;
    margin: 7px 0 0;
    color: var(--text-secondary);
    font-size: 0.87rem;
    line-height: 1.6;
}

.platform-action-card .btn {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
}


/* =========================================================
   COMING SOON
   ========================================================= */

.platform-coming-card {
    box-sizing: border-box;
    max-width: 900px;
    margin: 0 auto;
    padding: 34px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.08),
            rgba(14, 165, 233, 0.03)
        ),
        var(--bg-surface);
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.platform-coming-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-radius: 50%;
    font-size: 1.8rem;
}

.platform-coming-badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: rgba(245, 158, 11, 0.12);
    color: #a16207;
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.platform-coming-card h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1.25;
}

.platform-coming-card p {
    max-width: 650px;
    margin: 12px auto 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.platform-coming-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

.platform-coming-points span {
    margin: 4px;
    padding: 7px 10px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 750;
}

.platform-coming-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.platform-coming-actions .btn {
    margin: 4px;
}


/* =========================================================
   ABOUT PAGE
   ========================================================= */

.platform-about-block {
    box-sizing: border-box;
    margin-bottom: 16px;
    padding: 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.platform-about-block h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.4;
}

.platform-about-block p {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.75;
}

.platform-about-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 14px;
}

.platform-about-value {
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 14px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.platform-about-value strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 850;
}

.platform-about-value span {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

.platform-founder-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.09),
            rgba(37, 99, 235, 0.02)
        ),
        var(--bg-surface);
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.platform-founder-mark {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 950;
}

.platform-founder-content {
    min-width: 0;
}

.platform-founder-label {
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.platform-founder-content h2 {
    margin: 4px 0 0;
    color: var(--text-primary);
    font-size: 1.45rem;
    font-weight: 950;
}

.platform-founder-role {
    margin-top: 4px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 800;
}

.platform-founder-content p {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.65;
}

.platform-independent-note {
    margin-top: 16px;
    padding: 13px 15px;
    background: var(--info-bg);
    color: var(--info-text);
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    line-height: 1.55;
}


/* =========================================================
   DARK THEME
   ========================================================= */

:root[data-theme="dark"] .platform-coming-card,
:root[data-theme="dark"] .platform-founder-card {
    border-color: rgba(96, 165, 250, 0.27);
}

:root[data-theme="dark"] .platform-coming-badge {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.11);
    border-color: rgba(245, 158, 11, 0.23);
}


/* =========================================================
   DESKTOP
   >= 1024px
   ========================================================= */

@media (min-width: 1024px) {

    .platform-action-card {
        width: 32.3%;
    }

    .platform-about-value {
        width: 49%;
    }

}


/* =========================================================
   TABLET
   600px - 1023px
   ========================================================= */

@media (min-width: 600px) and (max-width: 1023px) {

    .platform-page-section {
        padding-top: 28px;
    }

    .platform-action-card {
        width: 49%;
    }

    .platform-about-value {
        width: 49%;
    }

}


/* =========================================================
   MOBILE
   <= 599px
   ========================================================= */

@media (max-width: 599px) {

    .platform-page-section {
        padding: 20px 0 28px;
    }

    .platform-page-title {
        font-size: 1.65rem;
    }

    .platform-page-lead {
        font-size: 0.9rem;
    }

    .platform-page-actions {
        display: block;
    }

    .platform-page-actions .btn {
        width: 100%;
        margin-right: 0;
        justify-content: center;
    }

    .platform-action-list {
        display: block;
    }

    .platform-action-card {
        width: 100%;
        margin-bottom: 10px;
        padding: 15px;
    }

    .platform-coming-card {
        padding: 24px 16px;
    }

    .platform-coming-icon {
        width: 62px;
        height: 62px;
        font-size: 1.5rem;
    }

    .platform-coming-card h1 {
        font-size: 1.6rem;
    }

    .platform-coming-card p {
        font-size: 0.9rem;
    }

    .platform-coming-actions {
        display: block;
    }

    .platform-coming-actions .btn {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
    }

    .platform-about-block {
        padding: 17px;
    }

    .platform-about-values {
        display: block;
    }

    .platform-about-value {
        width: 100%;
    }

    .platform-founder-card {
        display: block;
        padding: 18px;
        text-align: center;
    }

    .platform-founder-mark {
        width: 66px;
        height: 66px;
        margin: 0 auto 12px;
    }

}
