﻿/* ═══════════════════════════════════════════════════════════
   OpuClasses — Professional Editorial Theme
   Typefaces: Space Grotesk (display) · Inter (body)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* ── TOKENS ── */
:root {
    --black: #0a0a0a;
    --near-black: #1a1a1a;
    --card-bg: #ffffff;
    --surface: #f7f7f8;
    --surface-hover: #f0f0f2;
    --border: #e8e8ea;
    --border-strong: #d4d4d8;
    --g600: #a1a1aa;
    --g500: #71717a;
    --g400: #52525b;
    --g300: #3f3f46;
    --g200: #27272a;
    --g100: #18181b;
    --white: #ffffff;
    --accent: #0a0a0a;
    --red: #dc2626;
    --green: #16a34a;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
}

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #fafafa;
    color: var(--g200);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #bbb;
    }

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .nav-brand i {
        color: var(--g500);
        font-size: 0.85rem;
    }

.nav-actions {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .nav-actions a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.1rem;
        border-radius: var(--radius-sm);
        font-size: 0.82rem;
        font-weight: 600;
        font-family: var(--font-display);
        color: var(--g400);
        text-decoration: none;
        letter-spacing: 0.01em;
        border: 1px solid transparent;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .nav-actions a:hover {
            color: var(--black);
            border-color: var(--border);
            background: var(--surface);
        }

        .nav-actions a.primary {
            background: var(--black);
            color: var(--white);
            border-color: var(--black);
            box-shadow: var(--shadow-sm);
        }

            .nav-actions a.primary:hover {
                background: var(--g200);
                transform: translateY(-1px);
                box-shadow: var(--shadow-md);
            }

/* ══════════════════════════════════
   PAGE STRUCTURE
══════════════════════════════════ */
.page-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: 6rem 2.5rem 5rem;
}

/* ── TYPOGRAPHY SYSTEM ── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--g500);
    margin-bottom: 0.8rem;
}

    .section-eyebrow::before {
        content: '';
        display: inline-block;
        width: 1.2rem;
        height: 1px;
        background: var(--g500);
    }

.section-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--g400);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 480px;
    font-weight: 400;
}

/* ══════════════════════════════════
   HERO / MAIN LAYOUT
══════════════════════════════════ */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 5rem;
    padding-top: 1rem;
}

@media (max-width: 980px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ══════════════════════════════════
   FORM CARD
══════════════════════════════════ */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

    .form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--black) 0%, var(--g300) 100%);
    }

.form-card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.form-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}

    .form-card-title i {
        color: var(--g500);
        font-size: 1rem;
    }

.form-card-sub {
    font-size: 0.85rem;
    color: var(--g500);
    line-height: 1.6;
}

/* ── FIELDS ── */
.field-group {
    margin-bottom: 1.25rem;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--g400);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

    .field-label i {
        font-size: 0.72rem;
        color: var(--g600);
    }

.field-input,
.field-textarea,
.field-select {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

    .field-input::placeholder,
    .field-textarea::placeholder {
        color: var(--g600);
        font-weight: 400;
    }

    .field-input:focus,
    .field-textarea:focus,
    .field-select:focus {
        background: var(--white);
        border-color: var(--g300);
        box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
    }

.field-textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.field-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2371717a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

    .field-select option {
        background: var(--white);
        color: var(--black);
        padding: 0.5rem;
    }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

/* ── ROLE TOGGLE ── */
.role-toggle {
    display: flex;
    gap: 0.6rem;
    background: var(--surface);
    padding: 0.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.role-opt {
    display: none;
}

.role-opt-lbl {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--g400);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

    .role-opt-lbl:hover {
        color: var(--g300);
        background: rgba(255,255,255,0.5);
    }

.role-opt:checked + .role-opt-lbl {
    background: var(--white);
    border-color: var(--border-strong);
    color: var(--black);
    box-shadow: var(--shadow-sm);
}

/* ── GENERATE BUTTON ── */
.btn-generate {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem 1.5rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

    .btn-generate::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: left 0.5s;
    }

    .btn-generate:hover {
        background: var(--g200);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

        .btn-generate:hover::after {
            left: 100%;
        }

    .btn-generate:active {
        transform: translateY(0);
    }

/* ── LINK RESULT ── */
.link-result {
    display: none;
    margin-top: 1.5rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    animation: fadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

    .link-result.show {
        display: block;
    }

.link-result-header {
    padding: 1.25rem 1.5rem 0.5rem;
}

.link-result-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--g500);
}

.link-display {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.5rem 1.25rem;
}

.link-url {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--g400);
    word-break: break-all;
    line-height: 1.5;
    background: var(--white);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.link-copy-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--g400);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    white-space: nowrap;
}

    .link-copy-btn:hover {
        border-color: var(--g500);
        color: var(--black);
        background: var(--surface-hover);
    }

    .link-copy-btn.copied {
        border-color: var(--green);
        color: var(--green);
        background: rgba(22, 163, 74, 0.06);
    }

.meeting-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.info-cell {
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
}

    .info-cell:last-child {
        border-right: none;
    }

.info-cell-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.info-cell-lbl {
    font-size: 0.68rem;
    color: var(--g500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

.link-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
}

.link-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.btn-instructor {
    background: var(--black);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

    .btn-instructor:hover {
        background: var(--g200);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

.btn-share {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--g400);
}

    .btn-share:hover {
        border-color: var(--g500);
        color: var(--black);
        background: var(--surface);
    }

/* ══════════════════════════════════
   VIDEO / PREVIEW CARD
══════════════════════════════════ */
.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 80px;
}

.video-header {
    margin-bottom: 0.5rem;
}

    .video-header .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .video-header .section-sub {
        max-width: none;
        font-size: 0.9rem;
    }

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

    .video-wrapper iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.video-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--g500);
    font-family: var(--font-mono);
    padding: 0 0.25rem;
}

.video-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--g400);
    letter-spacing: 0.04em;
    background: var(--white);
}

    .video-live-chip i {
        font-size: 0.5rem;
        color: var(--g500);
    }

.preview-info {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

    .preview-info h4 {
        font-family: var(--font-display);
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--black);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        letter-spacing: -0.01em;
    }

        .preview-info h4 i {
            color: var(--g500);
            font-size: 0.85rem;
        }

    .preview-info p {
        font-size: 0.85rem;
        color: var(--g500);
        margin-bottom: 1.1rem;
        line-height: 1.6;
    }

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.p-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--g400);
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    transition: all 0.2s;
    background: var(--white);
}

    .p-tag:hover {
        border-color: var(--g500);
        color: var(--g200);
        background: var(--surface);
        transform: translateY(-1px);
    }

    .p-tag i {
        font-size: 0.7rem;
        color: var(--g600);
    }

/* ══════════════════════════════════
   HOW IT WORKS
══════════════════════════════════ */
.how-section {
    margin: 5rem 0;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

    .how-section .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .how-section .section-eyebrow {
        justify-content: center;
    }

        .how-section .section-eyebrow::before {
            display: none;
        }

    .how-section .section-title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .how-section .section-sub {
        text-align: center;
        margin: 0 auto;
        max-width: 500px;
    }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

    .steps-grid::before {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: 12.5%;
        right: 12.5%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
        z-index: 0;
    }

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

        .steps-grid::before {
            display: none;
        }

    .step {
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 520px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step {
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
    border-right: 1px solid var(--border);
}

    .step:last-child {
        border-right: none;
    }

    .step:not(:first-child) {
        padding-left: 2rem;
    }

.step-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--g600);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1rem;
    color: var(--g300);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.step:hover .step-icon {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

    .step-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }

        .step-title a:hover {
            color: var(--g400);
        }

.step-desc {
    font-size: 0.82rem;
    color: var(--g500);
    line-height: 1.65;
    max-width: 220px;
    margin: 0 auto;
}

/* ══════════════════════════════════
   UPCOMING SESSIONS
══════════════════════════════════ */
.sessions-section {
    margin-top: 4rem;
}

.sessions-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

    .sessions-header .section-title {
        margin-bottom: 0;
    }

.view-all-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 2px solid var(--black);
    padding-bottom: 3px;
    margin-bottom: 0.3rem;
    font-family: var(--font-display);
    transition: all 0.2s;
}

    .view-all-link:hover {
        gap: 0.6rem;
        border-bottom-color: var(--g400);
        color: var(--g400);
    }

    .view-all-link i {
        font-size: 0.72rem;
        transition: transform 0.2s;
    }

    .view-all-link:hover i {
        transform: translateX(2px);
    }

.sessions-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.session-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .session-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: transparent;
        transition: background 0.3s;
    }

    .session-card:hover {
        border-color: var(--border-strong);
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

        .session-card:hover::before {
            background: var(--black);
        }

.session-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.session-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
}

    .session-tag.upcoming {
        background: var(--surface);
        color: var(--g400);
        border: 1px solid var(--border);
    }

    .session-tag.live {
        background: rgba(22, 163, 74, 0.08);
        color: var(--green);
        border: 1px solid rgba(22, 163, 74, 0.2);
    }

.session-time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--g500);
}

.session-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.session-tutor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tutor-avatar {
    width: 36px;
    height: 36px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--g400);
    flex-shrink: 0;
    transition: all 0.2s;
}

.session-card:hover .tutor-avatar {
    border-color: var(--g500);
    background: var(--surface-hover);
}

.tutor-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
}

.tutor-role {
    font-size: 0.75rem;
    color: var(--g500);
}

.zoom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.25rem;
    box-shadow: var(--shadow-sm);
}

    .zoom-btn:hover {
        background: var(--g200);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

/* ══════════════════════════════════
   TOAST
══════════════════════════════════ */
#toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

    #toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* ══════════════════════════════════
   VISIBILITY MODAL (Public / Private)
══════════════════════════════════ */
.visibility-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    padding: 1.5rem;
}

    .visibility-modal-bg.open {
        opacity: 1;
        visibility: visible;
    }

.visibility-modal-box {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(12px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.visibility-modal-bg.open .visibility-modal-box {
    transform: translateY(0) scale(1);
}

.visibility-modal-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

    .visibility-modal-head i {
        color: var(--g400);
        font-size: 0.95rem;
    }

    .visibility-modal-head h3 {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--black);
    }

.visibility-modal-sub {
    font-size: 0.85rem;
    color: var(--g500);
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

.visibility-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.visibility-opt {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    text-align: left;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

    .visibility-opt i {
        font-size: 0.95rem;
        color: var(--g400);
        margin-top: 0.15rem;
        width: 18px;
        text-align: center;
        flex-shrink: 0;
    }

    .visibility-opt:hover {
        border-color: var(--black);
        background: var(--white);
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

        .visibility-opt:hover i {
            color: var(--black);
        }

.visibility-opt-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.visibility-opt-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
}

.visibility-opt-desc {
    font-size: 0.78rem;
    color: var(--g500);
    line-height: 1.4;
}

.visibility-modal-cancel {
    width: 100%;
    margin-top: 1.2rem;
    padding: 0.7rem;
    background: transparent;
    border: none;
    color: var(--g500);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

    .visibility-modal-cancel:hover {
        color: var(--black);
        text-decoration: underline;
    }

/* Small "PRIVATE" tag next to a session's status tag */
.session-tag.private {
    background: var(--surface);
    color: var(--g500);
    border: 1px solid var(--border-strong);
}

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease both;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 768px) {
    .page-body {
        padding: 5rem 1rem 4rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .form-card, .video-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .link-actions {
        flex-direction: column;
    }

    .meeting-info-strip {
        grid-template-columns: 1fr;
    }

    .info-cell {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 1rem;
    }

        .info-cell:last-child {
            border-bottom: none;
        }

    .sessions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .how-section .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .video-header .section-title {
        font-size: 1.4rem;
    }

    .form-card-title {
        font-size: 1.1rem;
    }

    .role-opt-lbl {
        font-size: 0.75rem;
        padding: 0.6rem 0.5rem;
    }

    .step {
        padding: 1.5rem 1rem;
    }
}
