/* =========================================
   THE SUMMIT HUB
   ========================================= */

:root {

    --navy: #13263d;
    --navy-light: #1d3856;

    --blue: #39779f;
    --blue-dark: #2c6286;
    --blue-pale: #edf5f9;

    --background: #f5f7f9;
    --white: #ffffff;

    --text: #263544;
    --muted: #697887;

    --border: #dfe5ea;

    --max-width: 1180px;

}


/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   HEADER
   ========================================= */

.topbar {

    height: 74px;

    background: var(--white);

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;

}

.topbar-inner {

    max-width: var(--max-width);

    height: 100%;

    margin: auto;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 11px;

}

.brand img {

    width: 38px;

    height: 38px;

    object-fit: contain;

}

.brand-text strong {

    display: block;

    color: var(--navy);

    font-size: 16px;

    line-height: 1.1;

}

.brand-text span {

    display: block;

    margin-top: 3px;

    color: #84909c;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}


/* NAVIGATION */

.navigation {

    display: flex;

    align-items: center;

    gap: 28px;

}

.navigation a {

    color: #5e6d7c;

    font-size: 13px;

    font-weight: 500;

}

.navigation a:hover,
.navigation a.active {

    color: var(--navy);

}


/* HEADER ACTIONS */

.header-actions {

    display: flex;

    align-items: center;

    gap: 17px;

}

.sign-in {

    color: var(--navy);

    font-size: 13px;

    font-weight: 600;

}

.join-button {

    background: var(--navy);

    color: white;

    padding: 9px 17px;

    border-radius: 4px;

    font-size: 13px;

    font-weight: 600;

}

.join-button:hover {

    background: var(--navy-light);

}


/* MOBILE */

.mobile-menu-button {

    display: none;

    border: 0;

    background: none;

    font-size: 24px;

    color: var(--navy);

    cursor: pointer;

}

.mobile-navigation {

    display: none;

}


/* =========================================
   HERO
   ========================================= */

.hero {

    background: var(--white);

    border-bottom: 1px solid var(--border);

}

.hero-inner {

    max-width: var(--max-width);

    margin: auto;

    padding: 82px 24px;

    display: grid;

    grid-template-columns: 1fr 460px;

    gap: 80px;

    align-items: center;

}

.section-tag {

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.4px;

    margin-bottom: 17px;

}

.hero h1 {

    color: var(--navy);

    font-size: clamp(44px, 5vw, 64px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 24px;

}

.hero h1 span {

    color: var(--blue);

}

.hero-copy > p {

    max-width: 560px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;

    margin-bottom: 30px;

}


/* BUTTONS */

.hero-buttons {

    display: flex;

    gap: 10px;

}

.button {

    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 19px;

    border-radius: 4px;

    font-size: 13px;

    font-weight: 600;

}

.button-primary {

    background: var(--navy);

    color: white;

}

.button-primary:hover {

    background: var(--navy-light);

}

.button-secondary {

    border: 1px solid var(--border);

    background: white;

    color: var(--navy);

}

.button-secondary:hover {

    border-color: #bbc5cd;

}


/* =========================================
   HERO DASHBOARD
   ========================================= */

.hero-dashboard {

    background: white;

    border: 1px solid var(--border);

    box-shadow: 0 15px 35px rgba(19, 38, 61, 0.08);

}

.dashboard-header {

    padding: 19px 22px;

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.small-label {

    display: block;

    color: #8a96a2;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 3px;

}

.dashboard-header strong {

    color: var(--navy);

    font-size: 15px;

}

.dashboard-avatar {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--blue-pale);

    color: var(--blue);

    font-weight: 700;

    border-radius: 50%;

}


.dashboard-course {

    padding: 27px 24px 13px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

}

.course-info span {

    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-bottom: 3px;

}

.course-info strong {

    color: var(--navy);

    font-size: 18px;

}

.course-percent {

    color: var(--blue);

    font-size: 14px;

    font-weight: 700;

}

.progress {

    height: 6px;

    background: #e9edf0;

    margin: 0 24px;

    overflow: hidden;

}

.progress span {

    display: block;

    height: 100%;

    background: var(--blue);

}

.dashboard-row {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 28px;

    border-top: 1px solid var(--border);

}

.dashboard-row > div {

    padding: 20px;

    border-right: 1px solid var(--border);

}

.dashboard-row > div:last-child {

    border-right: 0;

}

.dashboard-number {

    display: block;

    color: var(--navy);

    font-size: 22px;

    font-weight: 700;

}

.dashboard-row small {

    color: #85919d;

    font-size: 10px;

}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.content-section {

    max-width: var(--max-width);

    margin: auto;

    padding: 90px 24px;

}

.section-heading {

    max-width: 680px;

    margin-bottom: 48px;

}

.section-heading h2 {

    color: var(--navy);

    font-size: 39px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 15px;

}

.section-heading p {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================
   LEARNING CARDS
   ========================================= */

.learning-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);

}

.learning-card {

    min-height: 290px;

    padding: 28px;

    background: white;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}

.card-number {

    color: #9aa6b1;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 48px;

}

.learning-card h3 {

    color: var(--navy);

    font-size: 19px;

    margin-bottom: 12px;

}

.learning-card p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 23px;

}

.learning-card a {

    color: var(--blue);

    font-size: 12px;

    font-weight: 700;

}


/* =========================================
   SUPPORT
   ========================================= */

.support {

    background: var(--blue-pale);

    border-top: 1px solid #dce8ee;

    border-bottom: 1px solid #dce8ee;

}

.support-inner {

    max-width: var(--max-width);

    margin: auto;

    padding: 90px 24px;

    display: grid;

    grid-template-columns: 1fr 450px;

    gap: 90px;

    align-items: center;

}

.support-content h2 {

    max-width: 550px;

    color: var(--navy);

    font-size: 42px;

    line-height: 1.1;

    letter-spacing: -1.2px;

    margin-bottom: 20px;

}

.support-content > p {

    max-width: 560px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 28px;

}


/* SESSION CARD */

.session-card {

    background: white;

    border: 1px solid var(--border);

    box-shadow: 0 12px 30px rgba(19, 38, 61, 0.07);

}

.session-header {

    padding: 17px 21px;

    display: flex;

    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    color: #8a96a2;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

}

.session-status {

    color: #4c8660;

}

.session-body {

    padding: 30px;

}

.session-body h3 {

    color: var(--navy);

    font-size: 23px;

    margin-bottom: 10px;

}

.session-body > p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 28px;

}

.session-details {

    border-top: 1px solid var(--border);

}

.session-details div {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 13px 0;

    border-bottom: 1px solid var(--border);

}

.session-details strong {

    color: var(--blue);

    font-size: 11px;

}

.session-details span {

    color: #566575;

    font-size: 12px;

}


/* =========================================
   RESOURCES
   ========================================= */

.resources-section {

    background: var(--background);

}

.resource-list {

    max-width: 900px;

    border-top: 1px solid var(--border);

}

.resource-row {

    min-height: 76px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);

}

.resource-icon {

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: white;

    border: 1px solid var(--border);

    color: var(--blue);

    font-size: 9px;

    font-weight: 700;

}

.resource-info {

    flex: 1;

}

.resource-info strong {

    display: block;

    color: var(--navy);

    font-size: 14px;

}

.resource-info span {

    display: block;

    color: #82909d;

    font-size: 11px;

}

.resource-arrow {

    color: var(--blue);

    font-size: 17px;

}


/* =========================================
   MEMBERSHIP
   ========================================= */

.membership {

    background: var(--navy);

    color: white;

}

.membership-inner {

    max-width: var(--max-width);

    margin: auto;

    padding: 85px 24px;

    display: grid;

    grid-template-columns: 1fr 380px;

    gap: 100px;

    align-items: center;

}

.membership h2 {

    max-width: 650px;

    font-size: 43px;

    line-height: 1.1;

    letter-spacing: -1.2px;

    margin-bottom: 18px;

}

.membership p {

    color: #b7c4d0;

    font-size: 14px;

}

.membership .section-tag {

    color: #91b6cc;

}

.membership-box {

    background: #1c344d;

    border: 1px solid #2d4761;

    padding: 30px;

}

.membership-box > span {

    color: #91b6cc;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.2px;

}

.membership-box h3 {

    font-size: 25px;

    margin: 10px 0;

}

.membership-box p {

    margin-bottom: 22px;

}

.button-light {

    background: white;

    color: var(--navy);

}


/* =========================================
   FOOTER
   ========================================= */

.footer {

    background: #0d1b2a;

    color: white;

}

.footer-inner {

    max-width: var(--max-width);

    margin: auto;

    padding: 55px 24px;

    display: flex;

    justify-content: space-between;

    gap: 80px;

}

.footer-brand strong {

    font-size: 15px;

}

.footer-brand p {

    color: #7f8d9b;

    font-size: 12px;

    margin-top: 7px;

}

.footer-links {

    display: flex;

    gap: 70px;

}

.footer-links div {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.footer-links strong {

    color: white;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 4px;

}

.footer-links a {

    color: #83919e;

    font-size: 12px;

}

.footer-links a:hover {

    color: white;

}

.footer-bottom {

    max-width: var(--max-width);

    margin: auto;

    padding: 17px 24px;

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;

    justify-content: space-between;

    color: #647382;

    font-size: 10px;

}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .navigation,
    .header-actions {

        display: none;

    }

    .mobile-menu-button {

        display: block;

    }

    .hero-inner {

        grid-template-columns: 1fr;

        gap: 55px;

    }

    .hero-dashboard {

        max-width: 600px;

    }

    .learning-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .support-inner {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .session-card {

        max-width: 550px;

    }

    .membership-inner {

        grid-template-columns: 1fr;

        gap: 45px;

    }

}


@media (max-width: 650px) {

    .topbar {

        height: 68px;

    }

    .brand-text span {

        display: none;

    }

    .hero-inner {

        padding: 60px 20px;

    }

    .hero h1 {

        font-size: 43px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-buttons .button {

        width: 100%;

    }

    .dashboard-row > div {

        padding: 16px 12px;

    }

    .content-section {

        padding: 70px 20px;

    }

    .section-heading h2 {

        font-size: 32px;

    }

    .learning-grid {

        grid-template-columns: 1fr;

    }

    .learning-card {

        min-height: auto;

    }

    .support-inner {

        padding: 70px 20px;

    }

    .support-content h2 {

        font-size: 34px;

    }

    .session-body {

        padding: 25px;

    }

    .membership-inner {

        padding: 70px 20px;

    }

    .membership h2 {

        font-size: 35px;

    }

    .footer-inner {

        flex-direction: column;

        padding: 45px 20px;

    }

    .footer-links {

        flex-wrap: wrap;

        gap: 35px;

    }

    .footer-bottom {

        padding: 17px 20px;

        flex-direction: column;

        gap: 5px;

    }

    .mobile-navigation {

        background: white;

        border-bottom: 1px solid var(--border);

        padding: 5px 20px 15px;

    }

    .mobile-navigation.open {

        display: block;

    }

    .mobile-navigation a {

        display: block;

        padding: 12px 0;

        border-bottom: 1px solid var(--border);

        color: var(--navy);

        font-size: 14px;

        font-weight: 500;

    }

}