﻿/* ================================================================
   EDULYNK WEBSITE
   PLATEFORME
   ================================================================ */


/* ================================================================
   HERO
   ================================================================ */

.platform-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 100px;
    background: linear-gradient( 180deg, #ffffff 0%, #fbfcff 68%, #f7f9ff 100% );
}

.platform-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.platform-glow-one {
    top: -360px;
    left: 50%;
    width: 950px;
    height: 750px;
    transform: translateX(-50%);
    background: radial-gradient( circle, rgba(55, 103, 240, 0.12), rgba(55, 103, 240, 0) 68% );
}

.platform-glow-two {
    right: -250px;
    bottom: -300px;
    width: 650px;
    height: 650px;
    background: radial-gradient( circle, rgba(19, 184, 166, 0.07), rgba(19, 184, 166, 0) 70% );
}


/* ================================================================
   HERO HEADING
   ================================================================ */

.platform-hero-heading {
    position: relative;
    z-index: 3;
    max-width: 990px;
    margin: 0 auto 28px;
    text-align: center;
}

.platform-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 23px;
    padding: 7px 14px 7px 8px;
    color: #3559c8;
    background: #f1f4ff;
    border: 1px solid #e0e7ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.platform-eyebrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    background: var(--edulynk-primary);
    border-radius: 50%;
    font-size: 12px;
}

.platform-hero-heading h1 {
    margin: 0 0 22px;
    color: var(--edulynk-dark);
    font-size: clamp(58px, 6vw, 88px);
    font-weight: 780;
    line-height: 0.99;
    letter-spacing: -4.8px;
}

    .platform-hero-heading h1 span {
        color: var(--edulynk-primary);
    }

.platform-hero-heading > p {
    max-width: 760px;
    margin: 0 auto 26px;
    color: var(--edulynk-muted);
    font-size: 19px;
    line-height: 1.72;
}

.platform-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-primary-button,
.platform-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 53px;
    padding: 0 22px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 650;
    transition: all 0.2s ease;
}

.platform-primary-button {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--edulynk-primary), #4b78f4 );
    box-shadow: 0 12px 27px rgba(55, 103, 240, 0.24);
}

    .platform-primary-button:hover {
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(55, 103, 240, 0.31);
    }

.platform-secondary-button {
    color: var(--edulynk-dark);
    background: #ffffff;
    border: 1px solid var(--edulynk-border);
}

    .platform-secondary-button:hover {
        color: var(--edulynk-primary);
        border-color: #ccd8f7;
    }


/* ================================================================
   HERO PRODUCT
   ================================================================ */

.platform-product {
    position: relative;
    z-index: 4;
    max-width: 1240px;
    min-height: 650px;
    margin: auto;
}

.platform-product-glow {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 1000px;
    height: 530px;
    transform: translateX(-50%);
    background: radial-gradient( circle, rgba(82, 118, 232, 0.14), rgba(82, 118, 232, 0) 68% );
    border-radius: 50%;
}


/* ================================================================
   GRAND DASHBOARD
   ================================================================ */

.platform-dashboard {
    position: absolute;
    top: 5px;
    left: 50%;
    width: calc(100% - 130px);
    max-width: 1080px;
    overflow: hidden;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #dde4ef;
    border-radius: 25px;
    box-shadow: 0 40px 95px rgba(24, 39, 78, 0.17);
}

.platform-dashboard-topbar {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    height: 64px;
    padding: 0 20px;
    border-bottom: 1px solid #edf0f4;
}

.platform-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--edulynk-dark);
    font-size: 12px;
}

    .platform-dashboard-brand span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 31px;
        height: 31px;
        color: #ffffff;
        background: var(--edulynk-primary);
        border-radius: 9px;
    }

.platform-dashboard-search {
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 270px;
    margin: auto;
    padding: 8px 11px;
    color: #a2a9b5;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 9px;
    font-size: 8px;
}

.platform-dashboard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

    .platform-dashboard-actions > i {
        color: #8e97a6;
        font-size: 12px;
    }

.platform-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #ffffff;
    background: #7188cc;
    border-radius: 50%;
    font-size: 7px;
    font-weight: 700;
}

.platform-dashboard-body {
    display: flex;
    min-height: 455px;
    background: #f8fafc;
}


/* ================================================================
   SIDEBAR
   ================================================================ */

.platform-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 62px;
    padding-top: 20px;
    background: #ffffff;
    border-right: 1px solid #edf0f4;
}

    .platform-sidebar span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        color: #a0a8b6;
        border-radius: 9px;
        font-size: 12px;
    }

        .platform-sidebar span.active {
            color: var(--edulynk-primary);
            background: var(--edulynk-primary-light);
        }


/* ================================================================
   DASHBOARD CONTENT
   ================================================================ */

.platform-dashboard-content {
    flex: 1;
    padding: 26px;
}

.platform-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .platform-dashboard-heading small {
        display: block;
        color: #98a2b3;
        font-size: 8px;
    }

    .platform-dashboard-heading h3 {
        margin: 2px 0 0;
        color: var(--edulynk-dark);
        font-size: 19px;
        font-weight: 720;
    }


/* ================================================================
   CHILD SELECTOR
   ================================================================ */

.platform-child-selector {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
}

.platform-child-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #365ac9;
    background: #e8edff;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 700;
}

.platform-child-selector strong,
.platform-child-selector span {
    display: block;
}

.platform-child-selector strong {
    color: #344054;
    font-size: 9px;
}

.platform-child-selector span {
    color: #98a2b3;
    font-size: 7px;
}

.platform-child-selector > i {
    margin-left: 6px;
    color: #98a2b3;
    font-size: 8px;
}


/* ================================================================
   DASHBOARD STATS
   ================================================================ */

.platform-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 13px;
}

.platform-stat {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 68px;
    padding: 11px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 11px;
}

.platform-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 13px;
}

    .platform-stat-icon.blue {
        color: var(--edulynk-primary);
        background: var(--edulynk-primary-light);
    }

    .platform-stat-icon.green {
        color: #079b89;
        background: #eaf9f6;
    }

    .platform-stat-icon.orange {
        color: #e98a2b;
        background: #fff3e8;
    }

    .platform-stat-icon.purple {
        color: #925bc8;
        background: #f5eefc;
    }

.platform-stat small,
.platform-stat strong {
    display: block;
}

.platform-stat small {
    color: #98a2b3;
    font-size: 6px;
}

.platform-stat strong {
    color: var(--edulynk-dark);
    font-size: 11px;
}


/* ================================================================
   DASHBOARD GRID
   ================================================================ */

.platform-dashboard-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 12px;
}

.platform-chart-panel,
.platform-schedule-panel {
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
}

.platform-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .platform-panel-heading small,
    .platform-panel-heading strong {
        display: block;
    }

    .platform-panel-heading small {
        color: #98a2b3;
        font-size: 7px;
    }

    .platform-panel-heading strong {
        color: #344054;
        font-size: 9px;
    }

    .platform-panel-heading > span {
        color: #98a2b3;
        font-size: 7px;
    }


/* ================================================================
   CHART
   ================================================================ */

.platform-chart {
    position: relative;
    height: 160px;
}

.chart-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #eef1f5;
}

    .chart-grid-line.line-1 {
        top: 20%;
    }

    .chart-grid-line.line-2 {
        top: 40%;
    }

    .chart-grid-line.line-3 {
        top: 60%;
    }

    .chart-grid-line.line-4 {
        top: 80%;
    }

.platform-chart-bars {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 30px 5px;
}

    .platform-chart-bars i {
        display: block;
        width: 25px;
        background: linear-gradient( 180deg, #7593fb, #3d67e8 );
        border-radius: 5px 5px 2px 2px;
    }


/* ================================================================
   SCHEDULE
   ================================================================ */

.platform-schedule-row {
    display: grid;
    grid-template-columns: 36px 3px 1fr;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}

    .platform-schedule-row:last-child {
        border-bottom: 0;
    }

    .platform-schedule-row > span {
        color: var(--edulynk-primary);
        font-size: 7px;
        font-weight: 700;
    }

.schedule-marker {
    width: 3px;
    height: 27px;
    border-radius: 10px;
}

    .schedule-marker.blue {
        background: #4f74e8;
    }

    .schedule-marker.green {
        background: #20ad9b;
    }

    .schedule-marker.purple {
        background: #9562cd;
    }

.platform-schedule-row strong,
.platform-schedule-row small {
    display: block;
}

.platform-schedule-row strong {
    color: #344054;
    font-size: 8px;
}

.platform-schedule-row small {
    color: #98a2b3;
    font-size: 6px;
}


/* ================================================================
   PHONE
   ================================================================ */

.platform-phone {
    position: absolute;
    z-index: 8;
    right: 8px;
    bottom: 42px;
    width: 205px;
    height: 405px;
    padding: 7px;
    background: #151a23;
    border-radius: 32px;
    box-shadow: 0 30px 65px rgba(15, 25, 50, 0.30);
    transform: rotate(2deg);
}

.platform-phone-speaker {
    position: absolute;
    top: 13px;
    left: 50%;
    z-index: 12;
    width: 55px;
    height: 5px;
    transform: translateX(-50%);
    background: #30343d;
    border-radius: 10px;
}

.platform-phone-screen {
    height: 100%;
    padding: 31px 13px 14px;
    overflow: hidden;
    background: #f7f9fc;
    border-radius: 25px;
}

.platform-phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .platform-phone-header small,
    .platform-phone-header strong {
        display: block;
    }

    .platform-phone-header small {
        color: #98a2b3;
        font-size: 6px;
    }

    .platform-phone-header strong {
        color: #344054;
        font-size: 9px;
    }

    .platform-phone-header > div:last-child {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 27px;
        height: 27px;
        color: #ffffff;
        background: #748ace;
        border-radius: 50%;
        font-size: 7px;
        font-weight: 700;
    }

.platform-phone-child {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 17px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
}

    .platform-phone-child > span {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 29px;
        height: 29px;
        color: #365ac9;
        background: #e8edff;
        border-radius: 8px;
        font-size: 7px;
        font-weight: 700;
    }

    .platform-phone-child > div {
        flex: 1;
    }

    .platform-phone-child strong,
    .platform-phone-child small {
        display: block;
    }

    .platform-phone-child strong {
        color: #344054;
        font-size: 7px;
    }

    .platform-phone-child small {
        color: #98a2b3;
        font-size: 5px;
    }

    .platform-phone-child i {
        color: #98a2b3;
        font-size: 7px;
    }

.platform-phone-screen h4 {
    margin-bottom: 8px;
    color: #344054;
    font-size: 9px;
    font-weight: 700;
}

.platform-phone-card {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 9px;
}

    .platform-phone-card > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 27px;
        height: 27px;
        border-radius: 8px;
        font-size: 10px;
    }

        .platform-phone-card > span.blue {
            color: var(--edulynk-primary);
            background: var(--edulynk-primary-light);
        }

        .platform-phone-card > span.green {
            color: #079b89;
            background: #eaf9f6;
        }

        .platform-phone-card > span.purple {
            color: #925bc8;
            background: #f5eefc;
        }

    .platform-phone-card small,
    .platform-phone-card strong {
        display: block;
    }

    .platform-phone-card small {
        color: #98a2b3;
        font-size: 5px;
    }

    .platform-phone-card strong {
        color: #344054;
        font-size: 6px;
    }


/* ================================================================
   FLOATING CARDS
   ================================================================ */

.platform-floating-card {
    position: absolute;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 165px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #e6eaf1;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(24, 38, 77, 0.15);
    backdrop-filter: blur(12px);
}

.platform-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 13px;
}

    .platform-floating-icon.blue {
        color: var(--edulynk-primary);
        background: var(--edulynk-primary-light);
    }

    .platform-floating-icon.green {
        color: #079b89;
        background: #eaf9f6;
    }

.platform-floating-card small,
.platform-floating-card strong {
    display: block;
}

.platform-floating-card small {
    color: #98a2b3;
    font-size: 7px;
}

.platform-floating-card strong {
    color: #344054;
    font-size: 9px;
}

.floating-platform-grade {
    top: -38px;
    right: 110px;
}

.floating-platform-message {
    left: 5px;
    bottom: 95px;
}

.floating-platform-child {
    right: -15px;
    top: 130px;
}

.platform-floating-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #9a5d91;
    background: #f8eaf5;
    border-radius: 10px;
    font-size: 8px;
    font-weight: 700;
}


/* ================================================================
   EXPERIENCES
   ================================================================ */

.platform-experiences {
    padding: 120px 0;
    background: #ffffff;
    scroll-margin-top: 100px;
}

.platform-section-heading {
    max-width: 900px;
    margin-bottom: 55px;
}

.platform-role-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.platform-role-card {
    display: block;
    min-height: 285px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 19px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .platform-role-card:hover {
        transform: translateY(-5px);
        border-color: #dbe3f6;
        box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
    }

.platform-role-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 25px;
    border-radius: 13px;
    font-size: 18px;
}

    .platform-role-icon.blue {
        color: var(--edulynk-primary);
        background: var(--edulynk-primary-light);
    }

    .platform-role-icon.green {
        color: #079b89;
        background: #eaf9f6;
    }

    .platform-role-icon.orange {
        color: #e88c31;
        background: #fff2e7;
    }

    .platform-role-icon.purple {
        color: #925bc8;
        background: #f5eefc;
    }

    .platform-role-icon.cyan {
        color: #168da9;
        background: #e9f7fa;
    }

.platform-role-card > span {
    display: block;
    margin-bottom: 7px;
    color: var(--edulynk-primary);
    font-size: 10px;
    font-weight: 700;
}

.platform-role-card h3 {
    margin-bottom: 11px;
    color: var(--edulynk-dark);
    font-size: 17px;
    font-weight: 700;
}

.platform-role-card p {
    margin-bottom: 20px;
    color: var(--edulynk-muted);
    font-size: 12px;
    line-height: 1.7;
}

.platform-role-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--edulynk-primary);
    font-size: 11px;
    font-weight: 700;
}


/* ================================================================
   OVERVIEW
   ================================================================ */

.platform-overview {
    padding: 125px 0;
    background: #f8fafc;
}

.platform-overview-row {
    row-gap: 55px;
}

.platform-overview-content {
    max-width: 540px;
}

    .platform-overview-content h2 {
        margin-bottom: 22px;
        color: var(--edulynk-dark);
        font-size: clamp(40px, 4vw, 58px);
        font-weight: 750;
        line-height: 1.07;
        letter-spacing: -2.2px;
    }

    .platform-overview-content > p {
        margin-bottom: 30px;
        color: var(--edulynk-muted);
        font-size: 17px;
        line-height: 1.72;
    }

.platform-check-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .platform-check-list > div {
        display: flex;
        gap: 12px;
    }

        .platform-check-list > div > span {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 29px;
            height: 29px;
            color: #ffffff;
            background: var(--edulynk-primary);
            border-radius: 50%;
            font-size: 13px;
        }

    .platform-check-list strong {
        display: block;
        margin-bottom: 3px;
        color: var(--edulynk-dark);
        font-size: 14px;
    }

    .platform-check-list p {
        margin: 0;
        color: var(--edulynk-muted);
        font-size: 13px;
        line-height: 1.6;
    }


/* ================================================================
   OVERVIEW DASHBOARD
   ================================================================ */

.overview-dashboard {
    max-width: 700px;
    margin-left: auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 23px;
    box-shadow: 0 28px 65px rgba(25, 40, 79, 0.11);
}

.overview-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .overview-dashboard-header small,
    .overview-dashboard-header strong {
        display: block;
    }

    .overview-dashboard-header small {
        color: #98a2b3;
        font-size: 8px;
    }

    .overview-dashboard-header strong {
        color: var(--edulynk-dark);
        font-size: 15px;
    }

    .overview-dashboard-header > span {
        padding: 7px 10px;
        color: #667085;
        background: #f8fafc;
        border-radius: 8px;
        font-size: 7px;
    }

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

    .overview-stats > div {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        background: #f8fafc;
        border-radius: 11px;
    }

        .overview-stats > div > span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 9px;
        }

            .overview-stats > div > span.blue {
                color: var(--edulynk-primary);
                background: var(--edulynk-primary-light);
            }

            .overview-stats > div > span.green {
                color: #079b89;
                background: #eaf9f6;
            }

            .overview-stats > div > span.orange {
                color: #e88c31;
                background: #fff2e7;
            }

    .overview-stats p {
        margin: 0;
    }

    .overview-stats small,
    .overview-stats strong {
        display: block;
    }

    .overview-stats small {
        color: #98a2b3;
        font-size: 7px;
    }

    .overview-stats strong {
        color: var(--edulynk-dark);
        font-size: 13px;
    }

.overview-bottom {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 10px;
}

.overview-chart,
.overview-activity {
    padding: 14px;
    background: #f8fafc;
    border-radius: 11px;
}

.overview-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
}

    .overview-panel-title span {
        color: #344054;
        font-size: 8px;
        font-weight: 700;
    }

    .overview-panel-title small {
        color: #98a2b3;
        font-size: 6px;
    }

.overview-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 140px;
    padding: 0 15px 5px;
    border-bottom: 1px solid #e9edf2;
}

    .overview-bars i {
        display: block;
        width: 20px;
        background: linear-gradient( 180deg, #7593fb, #3d67e8 );
        border-radius: 4px 4px 2px 2px;
    }

.overview-activity-row {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
}

    .overview-activity-row:last-child {
        border-bottom: 0;
    }

    .overview-activity-row > span {
        flex: 0 0 auto;
        width: 7px;
        height: 7px;
        margin-top: 3px;
        border-radius: 50%;
    }

        .overview-activity-row > span.blue {
            background: #5376e5;
        }

        .overview-activity-row > span.green {
            background: #1bab98;
        }

        .overview-activity-row > span.orange {
            background: #ed9b49;
        }

    .overview-activity-row strong,
    .overview-activity-row small {
        display: block;
    }

    .overview-activity-row strong {
        color: #344054;
        font-size: 7px;
    }

    .overview-activity-row small {
        color: #98a2b3;
        font-size: 6px;
    }


/* ================================================================
   TRACKING
   ================================================================ */

.platform-tracking {
    padding: 120px 0;
    background: #ffffff;
    scroll-margin-top: 100px;
}

.platform-tracking-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 55px;
}

    .platform-tracking-heading .section-title {
        margin-bottom: 0;
    }

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

.platform-feature-card {
    min-height: 235px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .platform-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
    }

.platform-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    border-radius: 14px;
    font-size: 19px;
}

    .platform-feature-icon.blue {
        color: var(--edulynk-primary);
        background: var(--edulynk-primary-light);
    }

    .platform-feature-icon.green {
        color: #079b89;
        background: #eaf9f6;
    }

    .platform-feature-icon.orange {
        color: #e88c31;
        background: #fff2e7;
    }

    .platform-feature-icon.purple {
        color: #925bc8;
        background: #f5eefc;
    }

    .platform-feature-icon.cyan {
        color: #168da9;
        background: #e9f7fa;
    }

    .platform-feature-icon.pink {
        color: #bc5e94;
        background: #fbedf6;
    }

.platform-feature-card h3 {
    margin-bottom: 10px;
    color: var(--edulynk-dark);
    font-size: 18px;
    font-weight: 700;
}

.platform-feature-card p {
    margin: 0;
    color: var(--edulynk-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* ================================================================
   COMMUNICATION
   ================================================================ */

.platform-communication {
    padding: 125px 0;
    background: #f8fafc;
    scroll-margin-top: 100px;
}

.platform-communication-row {
    row-gap: 55px;
}

.platform-message-window {
    position: relative;
    max-width: 600px;
    padding: 24px 24px 55px;
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 23px;
    box-shadow: 0 28px 65px rgba(25, 40, 79, 0.11);
}

.platform-message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f4;
}

    .platform-message-header small,
    .platform-message-header strong {
        display: block;
    }

    .platform-message-header small {
        color: #98a2b3;
        font-size: 8px;
    }

    .platform-message-header strong {
        color: var(--edulynk-dark);
        font-size: 14px;
    }

    .platform-message-header > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        color: var(--edulynk-primary);
        background: var(--edulynk-primary-light);
        border-radius: 10px;
    }

.platform-message-row {
    display: flex;
    gap: 12px;
    padding: 15px 12px;
    margin-top: 8px;
    border-radius: 12px;
}

    .platform-message-row.active {
        background: #f6f8ff;
    }

.platform-message-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
}

    .platform-message-avatar.blue {
        color: #365ac9;
        background: #e8edff;
    }

    .platform-message-avatar.green {
        color: #078d80;
        background: #e7f8f5;
    }

    .platform-message-avatar.purple {
        color: #925cc4;
        background: #f4ecfb;
    }

.platform-message-content {
    flex: 1;
}

    .platform-message-content > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .platform-message-content strong {
        color: #344054;
        font-size: 11px;
    }

    .platform-message-content small {
        color: #98a2b3;
        font-size: 7px;
    }

    .platform-message-content p {
        margin: 3px 0 0;
        color: #667085;
        font-size: 9px;
    }

.platform-message-notification {
    position: absolute;
    right: -22px;
    bottom: -15px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 245px;
    padding: 13px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(24, 38, 77, 0.16);
}

    .platform-message-notification > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 37px;
        height: 37px;
        color: #079b89;
        background: #eaf9f6;
        border-radius: 10px;
    }

    .platform-message-notification small,
    .platform-message-notification strong,
    .platform-message-notification p {
        display: block;
    }

    .platform-message-notification small {
        color: #98a2b3;
        font-size: 6px;
    }

    .platform-message-notification strong {
        color: #344054;
        font-size: 9px;
    }

    .platform-message-notification p {
        margin: 2px 0 0;
        color: #667085;
        font-size: 7px;
    }


/* ================================================================
   COMMUNICATION TEXT
   ================================================================ */

.platform-communication-content {
    max-width: 600px;
    margin-left: auto;
    padding-left: 30px;
}

    .platform-communication-content h2 {
        margin-bottom: 24px;
        color: var(--edulynk-dark);
        font-size: clamp(40px, 4vw, 58px);
        font-weight: 750;
        line-height: 1.07;
        letter-spacing: -2.2px;
    }

        .platform-communication-content h2 span {
            color: var(--edulynk-primary);
        }

    .platform-communication-content > p {
        margin-bottom: 29px;
        color: var(--edulynk-muted);
        font-size: 17px;
        line-height: 1.72;
    }

.platform-communication-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

    .platform-communication-list div {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 14px;
        color: #344054;
        background: #ffffff;
        border: 1px solid #e7ebf0;
        border-radius: 11px;
        font-size: 11px;
        font-weight: 600;
    }

    .platform-communication-list i {
        color: var(--edulynk-primary);
    }


/* ================================================================
   FAMILY
   ================================================================ */

.platform-family {
    padding: 120px 0;
    background: #ffffff;
}

.platform-family-card {
    padding: 70px;
    background: linear-gradient( 135deg, #f4f7ff, #fafbff );
    border: 1px solid #e5eaf7;
    border-radius: 32px;
}

.platform-family-content {
    max-width: 570px;
}

    .platform-family-content h2 {
        margin-bottom: 23px;
        color: var(--edulynk-dark);
        font-size: clamp(40px, 4vw, 58px);
        font-weight: 750;
        line-height: 1.07;
        letter-spacing: -2.2px;
    }

        .platform-family-content h2 span {
            color: var(--edulynk-primary);
        }

    .platform-family-content p {
        margin: 0;
        color: var(--edulynk-muted);
        font-size: 16px;
        line-height: 1.75;
    }

.platform-family-panel {
    max-width: 500px;
    margin-left: auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 21px;
    box-shadow: 0 25px 55px rgba(24, 39, 79, 0.10);
}

.platform-family-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 11px;
    padding: 14px;
    border: 1px solid #e9edf2;
    border-radius: 13px;
}

    .platform-family-profile.active {
        background: #f6f8ff;
        border-color: #cad6ff;
    }

.platform-family-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

    .platform-family-avatar.blue {
        color: #365ac9;
        background: #e8edff;
    }

    .platform-family-avatar.pink {
        color: #a05e96;
        background: #f8eaf5;
    }

.platform-family-profile > div:nth-child(2) {
    flex: 1;
}

.platform-family-profile strong,
.platform-family-profile span,
.platform-family-profile small {
    display: block;
}

.platform-family-profile strong {
    color: #344054;
    font-size: 12px;
}

.platform-family-profile span {
    color: #667085;
    font-size: 9px;
}

.platform-family-profile small {
    color: #98a2b3;
    font-size: 8px;
}

.platform-family-profile em {
    padding: 5px 8px;
    color: #365ac9;
    background: #e7edff;
    border-radius: 999px;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
}

.platform-family-profile > i {
    color: #98a2b3;
}

.platform-family-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    padding: 12px;
    color: #667085;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 10px;
}

    .platform-family-note i {
        color: var(--edulynk-primary);
    }


/* ================================================================
   APPS
   ================================================================ */

.platform-apps {
    padding: 120px 0;
    background: #f8fafc;
}

    .platform-apps .edulynk-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 100px;
    }

.platform-apps-heading {
    max-width: 650px;
}

.platform-apps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--edulynk-primary);
    font-size: 14px;
    font-weight: 700;
}

.platform-device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.platform-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    padding: 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 19px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.055);
}

    .platform-device > div {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 51px;
        height: 51px;
        margin-bottom: 16px;
        color: var(--edulynk-primary);
        background: var(--edulynk-primary-light);
        border-radius: 14px;
        font-size: 21px;
    }

    .platform-device small {
        color: #98a2b3;
        font-size: 9px;
    }

    .platform-device strong {
        color: var(--edulynk-dark);
        font-size: 18px;
    }


/* ================================================================
   SECURITY
   ================================================================ */

.platform-security {
    padding: 100px 0;
    background: #ffffff;
}

.platform-security-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 48px 50px;
    background: linear-gradient( 135deg, #f7fbfa, #f9fbff );
    border: 1px solid #e4eeeb;
    border-radius: 25px;
}

.platform-security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    color: #079b89;
    background: #e5f7f3;
    border-radius: 18px;
    font-size: 29px;
}

.platform-security-content {
    max-width: 700px;
}

    .platform-security-content > span {
        display: block;
        margin-bottom: 6px;
        color: var(--edulynk-primary);
        font-size: 12px;
        font-weight: 700;
    }

    .platform-security-content h2 {
        margin-bottom: 8px;
        color: var(--edulynk-dark);
        font-size: 27px;
        font-weight: 720;
        line-height: 1.25;
        letter-spacing: -0.8px;
    }

    .platform-security-content p {
        margin: 0;
        color: var(--edulynk-muted);
        font-size: 14px;
        line-height: 1.65;
    }

.platform-security-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .platform-security-list div {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        color: #475467;
        font-size: 12px;
    }

    .platform-security-list i {
        color: #11a390;
    }


/* ================================================================
   CTA
   ================================================================ */

.platform-cta {
    padding: 20px 0 110px;
    background: #ffffff;
}

.platform-cta-card {
    position: relative;
    overflow: hidden;
    padding: 85px 65px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient( 135deg, #204bd0, #416fee 65%, #557ff3 );
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(49, 88, 201, 0.24);
}

.platform-cta-glow {
    position: absolute;
    top: -240px;
    left: 50%;
    width: 700px;
    height: 550px;
    transform: translateX(-50%);
    background: radial-gradient( circle, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0) 68% );
}

.platform-cta-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

    .platform-cta-content > span {
        display: block;
        margin-bottom: 16px;
        color: rgba(255, 255, 255, 0.75);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
    }

    .platform-cta-content h2 {
        margin-bottom: 20px;
        color: #ffffff;
        font-size: clamp(39px, 4.4vw, 61px);
        font-weight: 750;
        line-height: 1.08;
        letter-spacing: -2.4px;
    }

    .platform-cta-content p {
        max-width: 620px;
        margin: 0 auto 30px;
        color: rgba(255, 255, 255, 0.80);
        font-size: 17px;
        line-height: 1.7;
    }

.platform-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
}

.platform-cta-primary,
.platform-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 51px;
    padding: 0 21px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 650;
    transition: all 0.2s ease;
}

.platform-cta-primary {
    color: #2751c3;
    background: #ffffff;
}

    .platform-cta-primary:hover {
        color: #2751c3;
        transform: translateY(-1px);
    }

.platform-cta-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

    .platform-cta-secondary:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.14);
    }



/* ================================================================
   PROTECTION CONTRE LE DÉBORDEMENT HORIZONTAL
   ================================================================ */

/*
   Les mockups EduLynk utilisent volontairement des éléments
   positionnés et agrandis. On empêche uniquement leur débordement
   horizontal de créer une scrollbar sur la page.
*/

.platform-hero,
.platform-experiences,
.platform-overview,
.platform-tracking,
.platform-communication,
.platform-family,
.platform-apps,
.platform-security,
.platform-cta {
    overflow-x: hidden;
    overflow-x: clip;
}

.platform-product,
.platform-overview-row,
.platform-communication-row,
.platform-family-card,
.platform-security-card {
    min-width: 0;
    max-width: 100%;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1399.98px) {

    .platform-product {
        min-height: 620px;
    }

    .platform-dashboard {
        width: calc(100% - 100px);
    }

    .platform-role-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 1199.98px) {

    .platform-hero {
        padding-top: 72px;
    }

    .platform-hero-heading h1 {
        font-size: 72px;
        letter-spacing: -4px;
    }

    .platform-dashboard {
        width: calc(100% - 60px);
    }

    .platform-phone {
        right: 0;
    }

    .floating-platform-child {
        right: -5px;
    }

    .platform-family-card {
        padding: 55px;
    }

    .platform-apps .edulynk-container {
        gap: 60px;
    }
}


@media (max-width: 991.98px) {

    .platform-hero {
        padding: 70px 0 90px;
    }

    .platform-hero-heading {
        margin-bottom: 24px;
    }

        .platform-hero-heading h1 {
            font-size: 62px;
            letter-spacing: -3.5px;
        }

    .platform-product {
        min-height: 570px;
    }

    .platform-dashboard {
        width: 100%;
        top: 5px;
    }

    .platform-phone {
        transform: rotate(2deg) scale(0.88);
        transform-origin: bottom right;
    }

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

    .platform-overview-content {
        max-width: 720px;
    }

    .overview-dashboard {
        margin: auto;
    }

    .platform-tracking-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .platform-message-window {
        margin: auto;
    }

    .platform-communication-content {
        max-width: 720px;
        margin: auto;
        padding-left: 0;
    }

    .platform-family-panel {
        margin: 50px auto 0;
    }

    .platform-apps .edulynk-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .platform-device-grid {
        max-width: 650px;
    }

    .platform-security-card {
        grid-template-columns: auto 1fr;
    }

    .platform-security-list {
        grid-column: 2;
    }
}


@media (max-width: 767.98px) {

    .platform-hero {
        padding: 55px 0 75px;
    }

    .platform-hero-heading h1 {
        font-size: clamp(45px, 12vw, 60px);
        letter-spacing: -3px;
    }

    .platform-hero-heading > p {
        font-size: 17px;
    }

    .platform-hero-actions {
        flex-direction: column;
    }

    .platform-primary-button,
    .platform-secondary-button {
        width: 100%;
    }

    .platform-product {
        width: 100%;
        max-width: 100%;
        min-height: 430px;
    }

    .platform-dashboard {
        top: 5px;
        width: 135%;
        max-width: none;
        transform: translateX(-50%) scale(0.72);
        transform-origin: top center;
    }

    .platform-phone {
        right: -10px;
        bottom: -15px;
        transform: rotate(2deg) scale(0.68);
        transform-origin: bottom right;
    }

    .platform-floating-card {
        transform: scale(0.80);
    }

    .floating-platform-grade {
        right: -5px;
        top: -22px;
    }

    .floating-platform-message {
        left: -15px;
        bottom: 30px;
    }

    .floating-platform-child {
        display: none;
    }

    /* ------------------------------------------------
       Anti-overflow des sections secondaires
       ------------------------------------------------ */

    .platform-overview-row,
    .platform-communication-row {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .overview-dashboard {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .overview-dashboard-header {
        gap: 12px;
        flex-wrap: wrap;
    }

    .platform-message-window {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .platform-message-notification {
        left: 12px;
        right: 12px;
        bottom: -15px;
        width: auto;
        max-width: calc(100% - 24px);
    }

    .platform-communication-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .platform-family-card {
        width: 100%;
        max-width: 100%;
    }

    .platform-family-panel {
        width: 100%;
        max-width: 100%;
    }

    .platform-apps .edulynk-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .platform-device-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .platform-security-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .platform-experiences,
    .platform-overview,
    .platform-tracking,
    .platform-communication,
    .platform-family,
    .platform-apps {
        padding: 80px 0;
    }

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

    .platform-role-card {
        min-height: auto;
    }

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

    .platform-feature-card {
        min-height: auto;
    }

    .platform-communication-content h2,
    .platform-overview-content h2,
    .platform-family-content h2 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    .platform-communication-list {
        grid-template-columns: 1fr;
    }

    .platform-family-card {
        padding: 38px 25px;
        border-radius: 24px;
    }

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

    .platform-device {
        min-height: 130px;
    }

    .platform-security-card {
        display: block;
        padding: 30px;
    }

    .platform-security-icon {
        margin-bottom: 22px;
    }

    .platform-security-list {
        margin-top: 23px;
    }

    .platform-cta-card {
        padding: 60px 25px;
        border-radius: 24px;
    }
}


@media (max-width: 575.98px) {

    .platform-hero {
        padding-top: 48px;
    }

    .platform-hero-heading h1 {
        font-size: clamp(42px, 12vw, 52px);
        letter-spacing: -2.6px;
    }

    .platform-product {
        width: 100%;
        max-width: 100%;
        min-height: 350px;
    }

    .platform-dashboard {
        width: 165%;
        max-width: none;
        transform: translateX(-50%) scale(0.55);
        transform-origin: top center;
    }

    .platform-phone {
        transform: rotate(2deg) scale(0.52);
    }

    .platform-floating-card {
        display: none;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .overview-bottom {
        grid-template-columns: 1fr;
    }

    .platform-family-profile em {
        display: none;
    }
}


@media (max-width: 420px) {

    .platform-hero-heading h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .platform-eyebrow {
        font-size: 11px;
    }
}
