
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #101a16;
    --surface: #17241e;
    --surface-light: #1d2c24;
    --green: #c4f36b;
    --white: #f2f4ed;
    --muted: #9ba99e;
    --line: rgba(225, 239, 224, 0.13);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* NAVBAR */

.navbar {
    min-height: 86px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: var(--bg);
    border-radius: 11px;
    font-size: 23px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 12px;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--green);
}

.page {
    width: min(1250px, 86%);
    margin: 0 auto;
}

/* BACK BUTTON */

.page-back {
    padding: 16px 7% 0;
    display: flex;
    justify-content: flex-start;
}

.page-back .back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: none;
    background: transparent;
    color: #b0b7ac;
    font-size: 11px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.page-back .back-arrow {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.page-back .back-button:hover {
    color: #d3e2cc;
}

.page-back .back-button:hover .back-arrow {
    transform: translateX(-4px);
}

/* HERO */

.hero {
    padding: 95px 0 45px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(196, 243, 107, 0.4);
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(55px, 7.5vw, 94px);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -5px;
}

.hero h1 span,
.summary-heading h2 span,
.section-heading h2 span,
.closing h2 span {
    color: var(--green);
}

.hero-text {
    max-width: 470px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 65px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

/* COMMON SECTION HEADINGS */

.summary-section,
.exchange-section {
    padding-top: 70px;
}

.section-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.summary-heading h2,
.section-heading h2 {
    margin-top: 13px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(27px, 3.5vw, 40px);
    font-weight: 600;
    letter-spacing: -1.8px;
}

/* SUMMARY */

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.summary-item {
    min-height: 180px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.summary-featured {
    background: var(--green);
    color: var(--bg);
    border-color: var(--green);
}

.summary-number {
    display: block;
    margin-bottom: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
}

.summary-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.summary-item p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.summary-featured p {
    color: #34452b;
}

/* EXCHANGE SECTIONS */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-count {
    padding-bottom: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

/* PENDING EXCHANGE ROWS */

.exchange-row {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr auto;
    align-items: center;
    gap: 30px;
    padding: 27px 0;
    border-top: 1px solid var(--line);
}

.exchange-row:last-child {
    border-bottom: 1px solid var(--line);
}

.person {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--bg);
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.avatar-purple {
    background: #e6b8f0;
}

.avatar-orange {
    background: #e8c58e;
}

.person h3,
.completed-person h3 {
    font-size: 14px;
    font-weight: 700;
}

.person p,
.completed-person p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.exchange-skills {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.exchange-skills div {
    min-width: 0;
}

.exchange-skills div > span {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.exchange-skills strong {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.exchange-arrow {
    color: var(--green);
    font-size: 22px;
    text-align: center;
}

.exchange-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* STATUS LABELS */

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.pending {
    color: #e7c98d;
    background: rgba(231, 201, 141, 0.1);
    border: 1px solid rgba(231, 201, 141, 0.2);
}

.declined {
    color: #e89b9b;
    background: rgba(232, 155, 155, 0.09);
    border: 1px solid rgba(232, 155, 155, 0.22);
}

.text-link {
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* UPCOMING SESSION */

.upcoming-card {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.session-date {
    min-height: 115px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--surface-light);
    border-radius: 6px;
}

.session-date span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.session-date strong {
    color: var(--green);
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.1;
}

.online-tag {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid rgba(196, 243, 107, 0.25);
    border-radius: 30px;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.upcoming-details h3 {
    margin-top: 15px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.upcoming-details > p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 18px;
    color: #c4cec5;
    font-size: 10px;
}

.session-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.confirmed {
    color: var(--green);
    background: rgba(196, 243, 107, 0.1);
    border: 1px solid rgba(196, 243, 107, 0.2);
}

.outline-btn {
    padding: 11px 14px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.outline-btn:hover {
    color: var(--green);
    border-color: var(--green);
}

.session-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

/* COMPLETED EXCHANGES */

.completed-section {
    padding-bottom: 10px;
}

.completed-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 125px auto;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.completed-row:last-child {
    border-bottom: 1px solid var(--line);
}

.completed-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(196, 243, 107, 0.12);
    color: var(--green);
    font-size: 16px;
}

.completed-date {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.completed {
    color: #b9c8bd;
    background: rgba(185, 200, 189, 0.08);
    border: 1px solid var(--line);
}

/* EMPTY STATES */

.empty-message {
    padding: 28px 20px;
    margin-top: 10px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* CLOSING SECTION */

.closing {
    margin-top: 100px;
    padding: 60px 0 75px;
    border-top: 1px solid var(--line);
}

.closing-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.closing h2 {
    margin-top: 23px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 5.5vw, 65px);
    font-weight: 600;
    letter-spacing: -2.5px;
    line-height: 1.2;
}

.discover-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--green);
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    transition: gap 0.2s ease;
}

.discover-link:hover {
    gap: 27px;
}

.discover-link span {
    font-size: 16px;
}

/* FOOTER */

.footer {
    min-height: 90px;
    padding: 20px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.footer-brand {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer p,
.footer > span {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.1px;
}

/* TABLET */

@media (max-width: 1050px) {
    .exchange-row {
        grid-template-columns: 1fr 1.3fr;
        gap: 22px;
    }

    .exchange-status {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .upcoming-card {
        grid-template-columns: 85px minmax(0, 1fr);
    }

    .session-action {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .completed-row {
        grid-template-columns: 38px minmax(0, 1fr) auto;
    }

    .completed-date {
        display: none;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .navbar {
        min-height: 72px;
        padding: 0 6%;
    }

    .brand {
        gap: 8px;
        font-size: 19px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 21px;
    }

    .nav-links {
        gap: 14px;
        font-size: 11px;
    }

    .nav-links a:nth-child(2),
    .nav-links a:nth-child(3) {
        display: none;
    }

    .page {
        width: 88%;
    }

    .page-back {
        padding: 14px 6% 0;
    }

    .hero {
        padding-top: 65px;
    }

    .hero h1 {
        font-size: clamp(45px, 10.5vw, 65px);
        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 13px;
    }

    .hero-meta {
        margin-top: 45px;
        font-size: 8px;
        letter-spacing: 0.6px;
    }

    .hero-meta span:last-child {
        text-align: right;
    }

    .summary-section,
    .exchange-section {
        padding-top: 50px;
    }

    .summary-heading h2,
    .section-heading h2 {
        font-size: 27px;
        letter-spacing: -1px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .summary-item {
        min-height: 130px;
        padding: 20px;
    }

    .summary-number {
        margin-bottom: 12px;
        font-size: 34px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 22px;
    }

    .section-count {
        padding-top: 5px;
        font-size: 8px;
        letter-spacing: 0.6px;
    }

    .exchange-row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 0;
    }

    .exchange-skills {
        grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr);
        gap: 8px;
        padding: 18px 12px;
        background: var(--surface);
        border-radius: 6px;
    }

    .exchange-skills div > span {
        font-size: 8px;
        letter-spacing: 0.6px;
    }

    .exchange-skills strong {
        font-size: 13px;
    }

    .exchange-arrow {
        font-size: 19px;
    }

    .exchange-status {
        grid-column: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .upcoming-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
    }

    .session-date {
        width: 100%;
        min-height: auto;
        padding: 14px;
        flex-direction: row;
        gap: 13px;
    }

    .session-date strong {
        font-size: 28px;
    }

    .upcoming-details h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .session-meta {
        flex-direction: column;
        gap: 12px;
        line-height: 1.6;
    }

    .session-action {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .outline-btn {
        width: 100%;
        padding: 13px;
    }

    .completed-row {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding: 20px 0;
    }

    .completed-icon {
        width: 30px;
        height: 30px;
    }

    .completed-row .status-pill {
        grid-column: 2;
        justify-self: start;
    }

    .completed-person h3 {
        font-size: 13px;
    }

    .completed-person p {
        font-size: 10px;
    }

    .closing {
        margin-top: 65px;
        padding: 45px 0 55px;
    }

    .closing h2 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .footer {
        padding: 22px 6%;
        flex-wrap: wrap;
    }

    .footer p {
        order: 3;
        width: 100%;
    }

    .footer > span {
        font-size: 8px;
    }
}

/* FOCUS ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

/* DYNAMIC CARD ANIMATION */

.exchange-row,
.upcoming-card,
.completed-row {
    animation: exchangeFadeIn 0.35s ease both;
}

@keyframes exchangeFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
