/* ============================================================
   Click eCourse - Platform About Page
   ============================================================ */

.platform-about {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px 60px;
    box-sizing: border-box;
    color: #252525;
}


/* Hero
   ------------------------------------------------------------ */

.platform-about-hero {
    position: relative;
    overflow: hidden;
    padding: 75px 50px;
    margin-bottom: 32px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #182848 0%,
            #294b7a 55%,
            #3b6fa1 100%
        );
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.platform-about-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.platform-about-eyebrow {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.platform-about-hero h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}

.platform-about-tagline {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 600;
}

.platform-about-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.65;
    opacity: 0.95;
}


/* Buttons
   ------------------------------------------------------------ */

.platform-about-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.platform-about-button {
    display: inline-block;
    padding: 13px 25px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.platform-about-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.platform-about-button-primary {
    background: #ffd52a;
    color: #222 !important;
}

.platform-about-button-primary:hover {
    background: #ffe05b;
}

.platform-about-button-secondary {
    border-color: rgba(255, 255, 255, 0.8);
    color: white !important;
    background: rgba(255, 255, 255, 0.08);
}

.platform-about-button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.platform-about-button-light {
    background: white;
    color: #294b7a !important;
}


/* Standard sections
   ------------------------------------------------------------ */

.platform-about-section {
    margin-bottom: 32px;
    padding: 50px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
}

.platform-about-section-heading {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.platform-about-section-heading h2,
.platform-about-platform h2,
.platform-about-founder h2,
.platform-about-cta h2 {
    margin: 0 0 14px;
    font-size: 32px;
    line-height: 1.2;
}

.platform-about-section-heading p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #626262;
}


/* Feature cards
   ------------------------------------------------------------ */

.platform-about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.platform-about-feature-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    min-height: 220px;
    box-sizing: border-box;

    border: 1px solid #e4e7eb;
    border-radius: 12px;

    background: #fff;
    color: #252525 !important;
    text-decoration: none !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.platform-about-feature-card:hover {
    transform: translateY(-4px);
    border-color: #b7cbe0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.11);
}

.platform-about-feature-icon {
    margin-bottom: 15px;
    font-size: 38px;
    line-height: 1;
}

.platform-about-feature-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.platform-about-feature-content h3 {
    margin: 0 0 10px;
    font-size: 21px;
    color: #222;
}

.platform-about-feature-content p {
    flex: 1;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: #666;
}

.platform-about-feature-link {
    font-weight: 700;
    color: #1769aa;
}


/* Platform story
   ------------------------------------------------------------ */

.platform-about-platform {
    background: #f4f7fb;
    text-align: center;
}

.platform-about-platform-content {
    max-width: 850px;
    margin: 0 auto;
}

.platform-about-platform p {
    margin: 12px auto;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}


/* Founder
   ------------------------------------------------------------ */

.platform-about-founder {
    text-align: center;
}

.platform-about-founder-content {
    max-width: 800px;
    margin: 0 auto;
}

.platform-about-founder p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.platform-about-text-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1769aa;
    text-decoration: none;
}

.platform-about-text-link:hover {
    text-decoration: underline;
}


/* Bottom CTA
   ------------------------------------------------------------ */

.platform-about-cta {
    padding: 55px 30px;
    border-radius: 16px;
    background: #294b7a;
    color: white;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
}

.platform-about-cta p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.95;
}


/* Tablet
   ------------------------------------------------------------ */

@media (max-width: 1000px) {

    .platform-about-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platform-about-hero h1 {
        font-size: 40px;
    }
}


/* Mobile
   ------------------------------------------------------------ */

@media (max-width: 650px) {

    .platform-about {
        padding: 15px 12px 35px;
    }

    .platform-about-hero {
        padding: 48px 22px;
        border-radius: 12px;
    }

    .platform-about-hero h1 {
        font-size: 34px;
    }

    .platform-about-tagline {
        font-size: 20px;
    }

    .platform-about-intro {
        font-size: 16px;
    }

    .platform-about-section {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .platform-about-section-heading h2,
    .platform-about-platform h2,
    .platform-about-founder h2,
    .platform-about-cta h2 {
        font-size: 27px;
    }

    .platform-about-feature-grid {
        grid-template-columns: 1fr;
    }

    .platform-about-feature-card {
        min-height: 0;
    }

    .platform-about-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-about-button {
        text-align: center;
    }

    .platform-about-cta {
        padding: 40px 22px;
        border-radius: 12px;
    }
}

/* Click eCourse powered sites
   ------------------------------------------------------------ */

.platform-about-sites {
    background: #fff;
}

.platform-about-site-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1000px) {
    .platform-about-site-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .platform-about-site-grid {
        grid-template-columns: 1fr;
    }
}

.platform-about-site-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;

    border: 1px solid #e4e7eb;
    border-radius: 12px;

    background: #f8fafc;
    color: #252525 !important;
    text-decoration: none !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.platform-about-site-card:hover {
    transform: translateY(-4px);
    border-color: #b7cbe0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.11);
}

.platform-about-site-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-about-site-icon img {
    display: block;
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 12px;
}

.platform-about-site-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.platform-about-site-content h3 {
    margin: 0 0 8px;
    font-size: 21px;
    color: #222;
}

.platform-about-site-content p {
    flex: 1;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 650px) {

    .platform-about-site-card {
        align-items: flex-start;
    }

    .platform-about-site-icon {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .platform-about-site-icon img {
        max-width: 60px;
        max-height: 60px;
    }
}


/* ============================================================
   Click eCourse - Platform Downloads
   ============================================================ */

.download-page { padding: 35px 20px 60px; box-sizing: border-box; }
.download-container { max-width: 1100px; margin: 0 auto; }
.download-hero { text-align: center; margin-bottom: 35px; }
.download-hero h1 { margin: 0 0 12px; font-size: 36px; font-weight: 700; }
.download-hero p { margin: 0 auto; max-width: 750px; font-size: 16px; line-height: 1.6; color: #666; }
.download-empty { text-align: center; padding: 30px; color: #777; }

.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.download-card { min-width: 0; padding: 26px; border: 1px solid #e1e5eb; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.06); }
.download-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.download-card-heading h2 { margin: 0; font-size: 23px; font-weight: 700; }
.download-platform-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: #edf3fa; color: #294b7a; font-size: 27px; }
.download-no-release { color: #777; font-size: 14px; margin: 0 0 20px; }

.download-entry { padding: 16px 0; border-bottom: 1px solid #eee; }
.download-entry-primary { padding: 0 0 20px; }
.download-entry-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.download-entry-version { font-size: 21px; font-weight: 700; color: #252525; overflow-wrap: anywhere; }
.download-latest { display: inline-block; padding: 4px 9px; border-radius: 5px; background: #e5f5e9; color: #23763a; font-size: 11px; font-weight: 700; }
.download-snapshot-badge { display: inline-block; padding: 4px 8px; border-radius: 5px; background: #fff2dc; color: #916000; font-size: 11px; font-weight: 700; }
.download-entry-meta { color: #777; font-size: 12px; line-height: 1.7; }
.download-description { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.download-notes { margin-top: 9px; font-size: 13px; line-height: 1.5; color: #555; }

.download-button { display: inline-block; margin-top: 15px; padding: 10px 15px; border: 1px solid #cbd7e5; border-radius: 8px; background: #f4f7fb; color: #235681 !important; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none !important; overflow-wrap: anywhere; transition: background .15s, transform .15s; }
.download-button:hover { background: #e5edf7; transform: translateY(-1px); }
.download-button-primary { display: block; text-align: center; padding: 13px 18px; border-color: #287b38; background: #287b38; color: #fff !important; font-size: 16px; }
.download-button-primary:hover { background: #21672e; color: #fff !important; }

.download-file-details { margin-top: 12px; font-size: 12px; color: #777; }
.download-file-details summary { display: list-item; width: fit-content; cursor: pointer; }
.download-file-details-content { padding: 10px 0 0; line-height: 1.7; }
.download-checksum { overflow-wrap: anywhere; word-break: break-word; }

.download-expand { margin-top: 15px; border: 1px solid #e0e4e9; border-radius: 8px; overflow: hidden; }
.download-expand > summary { display: list-item; padding: 13px 15px; background: #f5f6f8; color: #444; font-size: 13px; font-weight: 600; cursor: pointer; list-style-position: inside; }
.download-expand > summary:hover { background: #e9edf2; }
.download-expand[open] > summary { border-bottom: 1px solid #e0e4e9; }
.download-expand-content { padding: 0 16px; }
.download-expand-content .download-entry:last-child { border-bottom: 0; }
.download-snapshots > summary { background: #f7f8fa; }

.download-expand summary:focus-visible, .download-file-details summary:focus-visible, .download-button:focus-visible { outline: 2px solid #287b38; outline-offset: 2px; }

@media (max-width: 850px) {
    .download-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 650px) {
    .download-page { padding: 20px 12px 40px; }
    .download-hero { margin-bottom: 25px; }
    .download-hero h1 { font-size: 29px; }
    .download-hero p { font-size: 14px; }
    .download-card { padding: 20px; }
    .download-card-heading h2 { font-size: 21px; }
}

