﻿/* Use Cases ? Teacher ? Figma 808:15450 */

.uc-page {
    overflow-x: clip;
    background: #fff;
    direction: rtl;
    color: #181d27;
    font-family: "Madani Arabic", Tajawal, sans-serif;
}

.uc-eyebrow {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6a19ff;
}

.uc-eyebrow--md {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #6819fa;
    width: 100%;
}

.uc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.2s ease, background 0.15s ease, box-shadow 0.2s ease;
}

.uc-btn img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.uc-btn--primary {
    width: 158px;
    color: #fff;
    background: #6a19ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 2px rgba(10, 13, 18, 0.05),
        inset 0 0 0 1px rgba(10, 13, 18, 0.18),
        inset 0 -2px 0 rgba(10, 13, 18, 0.05);
}

.uc-btn--secondary {
    width: auto;
    min-width: 158px;
    color: #414651;
    background: #fff;
    border: 1px solid #d5d7da;
    box-shadow:
        0 1px 2px rgba(10, 13, 18, 0.05),
        inset 0 0 0 1px rgba(10, 13, 18, 0.18),
        inset 0 -2px 0 rgba(10, 13, 18, 0.05);
}

.uc-btn:hover {
    transform: translateY(-1px);
}

/* ???????????????????????????????????????????
   Hero ? 808:15481
   ??????????????????????????????????????????? */
.uc-hero {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    height: 900px;
}

/* Instructor hero ? soft lavender wash under sticky nav (Figma 808:16993) */
.uc-hero--instructor {
    margin-top: -84px;
    height: 984px; /* 900px content + 84px under-nav bleed */
    overflow: visible; /* mock extends below hero (Figma 808:17011) */
    background:
        radial-gradient(ellipse 70% 55% at 50% 72%, rgba(106, 25, 255, 0.16) 0%, transparent 62%),
        radial-gradient(ellipse 90% 50% at 50% 100%, rgba(136, 85, 255, 0.12) 0%, transparent 70%),
        linear-gradient(180deg, #f8f7ff 0%, #f3f1ff 42%, #efeaff 100%);
}

/* Keep absolute hero content below the nav */
.uc-hero--instructor .uc-hero__copy {
    top: 48px; /* -36px + 84px */
}

.uc-hero--instructor .uc-hero__media {
    top: 513px; /* 429px + 84px */
}

/* Transparent nav over instructor hero until scrolled */
body:has(.uc-page--instructor) #main-nav:not(.nav-scrolled) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

/* Solid white only while a mega/dropdown is open or hovered */
body:has(.uc-page--instructor):has(.nav-mega:hover) #main-nav:not(.nav-scrolled),
body:has(.uc-page--instructor):has(.nav-mega.is-open) #main-nav:not(.nav-scrolled),
body:has(.uc-page--instructor):has(.nav-mega:focus-within) #main-nav:not(.nav-scrolled) {
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.uc-page--instructor) #main-nav.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(106, 25, 255, 0.08);
}

.uc-hero--instructor .uc-hero__wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 40% at 50% 55%, rgba(106, 25, 255, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 80% 45% at 50% 95%, rgba(168, 140, 255, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.uc-hero--instructor .uc-hero__ellipse--1,
.uc-hero--instructor .uc-hero__ellipse--2 {
    opacity: 0.95;
    mix-blend-mode: soft-light;
}

/* Decorative strokes clash with transparent nav ? hide on instructor */
.uc-hero--instructor .uc-hero__deco {
    display: none;
}

/* ── Academy page (Figma 808:17976) ─────────────────────────────────── */
/* Hero frame 1440×928 — mock clipped flush at bottom, no white plate */
/* ── Academy hero — Figma 808:17979 (Hireing logo 1248×788) ─────────── */
.uc-hero--academy {
    margin-top: -84px;
    height: auto;
    min-height: 0;
    padding: 118px 0 0; /* content starts under transparent nav */
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 50% 72%, rgba(168, 140, 255, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(106, 25, 255, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, #faf9ff 0%, #f6f4ff 40%, #fcfcff 100%);
}

.uc-hero--academy .uc-hero__bg,
.uc-hero--academy .uc-hero__wash,
.uc-hero--academy .uc-hero__ellipse,
.uc-hero--academy .uc-hero__deco {
    display: none;
}

/* Column: copy → gap → collage (Figma gap 62px) */
.uc-hero__inner--academy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 62px;
    width: 100%;
    max-width: 1248px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
}

.uca-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 797px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
}

.uca-hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 759px;
}

.uca-hero__title {
    margin: 0;
    font-size: 60px;
    line-height: 72px;
    font-weight: 400;
    color: #181d27;
    letter-spacing: -1.2px;
    text-align: center;
}

.uca-hero__title .uc-hero__accent {
    display: block;
    color: #6819fa;
}

.uca-hero__desc {
    margin: 0;
    max-width: 759px;
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    color: #535862;
    text-align: center;
}

.uca-hero__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Collage + baked glow — full asset, flush to section bottom, no white plate */
.uca-hero__media {
    position: relative;
    width: 100%;
    max-width: 1248px;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: transparent;
}

.uca-hero__mock {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    vertical-align: bottom;
}

/* Transparent nav over academy hero (same pattern as instructor) */
body:has(.uc-page--academy) #main-nav:not(.nav-scrolled) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.uc-page--academy):has(.nav-mega:hover) #main-nav:not(.nav-scrolled),
body:has(.uc-page--academy):has(.nav-mega.is-open) #main-nav:not(.nav-scrolled),
body:has(.uc-page--academy):has(.nav-mega:focus-within) #main-nav:not(.nav-scrolled) {
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.uc-page--academy) #main-nav.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(106, 25, 255, 0.08);
}

.uca-logos {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
    background: #fff;
}

.uca-logos img {
    display: block;
    width: 100%;
    height: auto;
}

.uca-phones {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 64px 40px;
}

.uca-phones__media {
    max-width: 1312px;
    margin: 0 auto;
    line-height: 0;
}

.uca-phones__media img {
    display: block;
    width: 100%;
    height: auto;
}

.uca-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 768px;
    margin: 0 auto 48px;
    text-align: center;
}

.uca-section-head__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #d6cfff;
    background: #f3f1ff;
    color: #6819fa;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.uca-section-head__title {
    margin: 0;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    color: #181d27;
    letter-spacing: -0.72px;
    text-align: center;
}

.uca-section-head__desc {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color: #535862;
    text-align: center;
}

.uca-zigzag .uci-zigzag__head {
    display: none;
}

/* Academy zigzag rows — Figma 808:18431 / 18588 / 18686
   Page is dir=rtl: flex-start = right, start = right */
.uca-zigzag {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    background: #fff;
    direction: rtl;
}

.uca-zz {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    direction: rtl;
}

/* RTL: col1 = right, col2 = left — same tracks on every row */
.uca-zz__copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: start;
}

.uca-zz__visual {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
    line-height: 0;
}

/* Image on the right / copy on the left */
.uca-zz--flip .uca-zz__copy {
    grid-column: 2;
}

.uca-zz--flip .uca-zz__visual {
    grid-column: 1;
}

.uca-zz__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    text-align: start;
}

.uca-zz__heading .uca-zz__eyebrow {
    margin-bottom: 4px;
}

.uca-zz__eyebrow {
    display: inline-flex;
    flex-direction: row; /* icon first in DOM → on the right */
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    color: #6819fa;
    white-space: nowrap;
}

.uca-zz__eyebrow img {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.uca-zz__title {
    margin: 0;
    width: 100%;
    font-size: 30px;
    line-height: 38px;
    font-weight: 500;
    color: #181d27;
    text-align: start;
}

.uca-zz__desc {
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 28px;
    color: #535862;
    text-align: start;
}

.uca-zz__feats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    direction: rtl;
}

.uca-zz__feat {
    box-sizing: border-box;
    display: flex;
    flex-direction: row; /* icon first → on the right */
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 24px;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    background: #fff;
}

.uca-zz__feat-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: start;
    min-width: 0;
    flex: 1 1 auto;
}

.uca-zz__feat-title {
    margin: 0;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #181d27;
    text-align: start;
}

.uca-zz__feat-desc {
    margin: 0;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
    text-align: start;
}

.uca-zz__feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #eae5ff;
    flex-shrink: 0;
}

.uca-zz__feat-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.uca-zz__feat-icon--lg {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: transparent;
}

.uca-zz__feat-icon--lg img {
    width: 24px;
    height: 24px;
}

.uca-zz__checks,
.uca-zz__features {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.uca-zz__checks li,
.uca-zz__features li {
    display: flex;
    flex-direction: row; /* icon first → on the right */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    text-align: start;
}

.uca-zz__checks li > div,
.uca-zz__features li > div {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: start;
}

.uca-zz__checks li > img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.uca-zz__features li {
    gap: 16px;
}

.uca-zz__check-title {
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #181d27;
    text-align: start;
}

.uca-zz__check-desc {
    margin: 0;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
    text-align: start;
}

.uca-zz__visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* Multi-branch section — Figma 808:18803 / 808:19391 */
.uca-branches {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 80px 80px;
}

.uca-section-head--branches {
    gap: 20px;
    margin-bottom: 24px;
}

.uca-section-head--branches .uca-section-head__badge {
    text-transform: none;
    font-size: 11px;
    line-height: 16px;
    min-height: 25px;
    padding: 3.5px 9px;
    border-radius: 7px;
    color: #6a19ff;
}

.uca-branches__body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1248px;
    margin: 0 auto;
}

.uca-branches__media {
    box-sizing: border-box;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.uca-branches__media img {
    display: block;
    width: 100%;
    height: auto;
}

.uca-branches__cards {
    display: grid;
    grid-template-columns: minmax(0, 384fr) minmax(0, 384fr) minmax(0, 432fr);
    gap: 24px;
    width: 100%;
    direction: ltr;
}

.uca-branches__card {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid #e9eaeb;
    background: #fff;
}

.uca-branches__card--cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 62px;
    min-height: 222px;
    padding: 24px;
    border-radius: 12px;
    border-color: #e9eaeb;
    background: #6a19ff;
}

.uca-branches__cta-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.uca-branches__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(234, 229, 255, 0.15);
    flex-shrink: 0;
}

.uca-branches__cta-icon img {
    width: 20px;
    height: 18px;
    object-fit: contain;
}

.uca-branches__cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.uca-branches__cta-label {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #d6cfff;
}

.uca-branches__cta-value {
    margin: 0;
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: #fff;
}

.uca-branches__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 48px;
    padding: 6px 10px;
    border: 0.5px solid #d5d7da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0.5px 1px rgba(10, 13, 18, 0.05);
    color: #6a19ff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    cursor: default;
    pointer-events: none;
}

.uca-branches__cta-btn img {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.uca-branches__card--rank {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 222px;
    padding: 25px;
    border-radius: 12px;
}

.uca-branches__rank-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.uca-branches__rank-link {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #717680;
}

.uca-branches__rank-title {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #1e293b;
    text-align: right;
}

.uca-branches__rank-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.uca-branches__rank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.uca-branches__rank-pct {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    flex-shrink: 0;
}

.uca-branches__rank-pct--purple { color: #6a19ff; }
.uca-branches__rank-pct--blue { color: #2563eb; }

.uca-branches__rank-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.uca-branches__rank-name {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: #414651;
    text-align: right;
}

.uca-branches__rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    flex-shrink: 0;
}

.uca-branches__rank-badge--1 {
    background: #eae5ff;
    color: #6a19ff;
}

.uca-branches__rank-badge--2 {
    background: #f5f6f8;
    color: #94a3b8;
}

.uca-branches__rank-bar {
    width: 100%;
    height: 6px;
    border-radius: 9999px;
    background: #f1f5f9;
    overflow: hidden;
}

.uca-branches__rank-bar-fill {
    display: block;
    height: 100%;
    border-radius: 9999px;
    margin-inline-start: auto;
}

.uca-branches__rank-bar-fill--purple { background: #6a19ff; }
.uca-branches__rank-bar-fill--blue { background: #3b82f6; }

.uca-branches__card--feats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
    min-height: 222px;
    padding: 24px;
    border-radius: 20px;
    border-color: #e1e4e8;
    direction: rtl;
}

.uca-branches__feats-title {
    margin: 0;
    width: 100%;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: -0.6px;
    color: #00002b;
    text-align: right;
}

.uca-branches__feats {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.uca-branches__feats li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
}

.uca-branches__feats li span {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #2a323d;
    text-align: right;
}

.uca-branches__feats li img {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    object-fit: contain;
}

.uca-smart {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 80px 80px;
}

.uca-smart__media {
    max-width: 1225px;
    margin: 0 auto;
    line-height: 0;
}

.uca-smart__media img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .uca-phones,
    .uca-smart,
    .uca-branches {
        padding-inline: 48px;
    }

    .uca-zz {
        column-gap: 40px;
    }

    .uca-hero__title {
        font-size: 44px;
        line-height: 56px;
    }

    .uca-branches__cards {
        grid-template-columns: 1fr 1fr;
    }

    .uca-branches__card--feats {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .uca-zigzag {
        padding-inline: 16px;
        gap: 48px;
    }

    .uca-zz,
    .uca-zz--flip {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .uca-zz__copy,
    .uca-zz--flip .uca-zz__copy {
        grid-column: auto;
        max-width: 100%;
        justify-self: stretch;
        align-items: flex-start;
        text-align: start;
    }

    .uca-zz__heading {
        align-items: flex-start;
        text-align: start;
    }

    .uca-zz__title,
    .uca-zz__desc,
    .uca-zz__feat-text,
    .uca-zz__feat-title,
    .uca-zz__feat-desc,
    .uca-zz__check-title,
    .uca-zz__check-desc,
    .uca-zz__checks li > div,
    .uca-zz__features li > div {
        align-items: flex-start;
        text-align: start;
    }

    .uca-zz__feat,
    .uca-zz__checks li,
    .uca-zz__features li {
        justify-content: flex-start;
    }

    .uca-zz__feats {
        grid-template-columns: 1fr;
    }

    .uca-zz__visual,
    .uca-zz--flip .uca-zz__visual {
        grid-column: auto;
        max-width: 100%;
        order: -1;
    }
}

@media (max-width: 768px) {
    .uc-hero--academy {
        height: auto;
        min-height: 0;
        padding-top: 100px;
        overflow: hidden;
        padding-bottom: 0;
    }

    .uc-hero__inner--academy {
        height: auto;
        gap: 32px;
        padding: 0;
    }

    .uca-hero__copy {
        gap: 32px;
        padding: 0 16px;
    }

    .uca-hero__heading {
        max-width: 100%;
    }

    .uca-hero__media {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        height: auto;
        margin-top: 0;
        overflow: visible;
    }

    .uca-hero__mock {
        width: 100%;
        height: auto;
        object-fit: unset;
    }

    .uca-hero__title {
        font-size: 32px;
        line-height: 42px;
    }

    .uca-hero__desc {
        font-size: 16px;
        line-height: 26px;
    }

    .uca-phones,
    .uca-smart,
    .uca-branches {
        padding-inline: 16px;
    }

    .uca-branches__cards {
        grid-template-columns: 1fr;
    }

    .uca-branches__card--feats {
        grid-column: auto;
    }

    .uca-section-head__title {
        font-size: 28px;
        line-height: 36px;
    }

    .uca-section-head__desc {
        font-size: 16px;
        line-height: 24px;
    }
}

.uc-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.uc-hero__ellipse,
.uc-hero__deco {
    position: absolute;
    max-width: none;
    pointer-events: none;
}

/* 808:15482 ? glow behind mock */
.uc-hero__ellipse--1 {
    width: 1274px;
    height: 285px;
    left: 50%;
    top: calc(50% + 324px);
    transform: translate(-50%, -50%);
    opacity: 0.95;
}

/* 808:15484 ? rotated glow */
.uc-hero__ellipse--2 {
    width: 1015px;
    height: 672px;
    left: 50%;
    top: calc(50% + 449px);
    transform: translate(-50%, -50%) rotate(-22.17deg);
    opacity: 0.85;
    mix-blend-mode: normal;
}

/* 808:15485 ? decorative lines */
.uc-hero__deco {
    width: 1900px;
    height: auto;
    left: 50%;
    top: 5%;
    transform: translateX(-50%) scaleX(-1);
    opacity: 0.5;
}

.uc-hero__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin-inline: auto;
}

/* 808:15490 ? copy block: top -36px, padding 80px, gap 48px */
.uc-hero__copy {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: -36px;
    transform: translateX(-50%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: max-content;
    max-width: 100%;
    padding: 80px;
    text-align: center;
}

.uc-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.uc-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 4px 4px 8px;
    border-radius: 9999px;
    background: #f3f1ff;
    border: 1px solid #d6cfff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6819fa;
    white-space: nowrap;
}

.uc-hero__badge img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    object-fit: contain;
}

.uc-hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.uc-hero__title {
    margin: 0;
    font-size: 60px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -1.2px;
    color: #181d27;
}

/* Exact 2 lines ? Figma 808:15494 */
.uc-hero__title-line {
    display: block;
    white-space: nowrap;
}

.uc-hero__accent {
    color: #6819fa;
}

.uc-hero__desc {
    margin: 0;
    max-width: 880px;
    font-size: 16px;
    line-height: normal;
    font-weight: 300;
    color: #414651;
}

.uc-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 808:15500/15501 ? framed mock, full dashboard visible (no crop zoom) */
.uc-hero__media {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 429px;
    transform: translateX(-50%);
    width: min(1040px, calc(100% - 40px));
    line-height: 0;
}

.uc-hero__mock {
    display: block;
    width: 100%;
    height: auto;
}

/* ???????????????????????????????????????????
   Features ? 808:15858
   ??????????????????????????????????????????? */
.uc-features {
    box-sizing: border-box;
    max-width: 1440px;
    margin-inline: auto;
    padding: 24px 120px 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.uc-features__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.uc-features__title {
    margin: 0;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #042f2f;
}

.uc-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.uc-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    text-align: right;
}

.uc-feature__icon-wrap {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Leaf glyphs inset inside 72px box ? Figma 808:15865+ */
.uc-feature__icon {
    position: absolute;
    top: 8.33%;
    left: 8.33%;
    width: 83.34%;
    height: 83.34%;
    object-fit: contain;
}

.uc-feature__icon--chart {
    top: 12.5%;
    left: 12.5%;
    width: 75%;
    height: 75%;
}

.uc-feature__icon--webcam {
    top: 8.33%;
    left: 14.58%;
    width: 70.84%;
    height: 83.34%;
}

.uc-feature__icon--building {
    top: 12.5%;
    left: 8.33%;
    width: 83.34%;
    height: 75%;
}

.uc-feature__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.uc-feature__name {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #292929;
}

.uc-feature__desc {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #7c7c7c;
}

/* ???????????????????????????????????????????
   Tools ? 808:15885
   Cards sit inside gray box padding on both sides.
   ??????????????????????????????????????????? */
.uc-tools {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px 64px;
}

.uc-tools__card {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 80px 80px 64px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #e9eaeb;
    overflow: hidden;
}

.uc-tools__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 776px;
    text-align: center;
}

.uc-tools__eyebrow {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6a19ff;
}

.uc-tools__title {
    margin: 0;
    max-width: 742px;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #181d27;
}

.uc-tools__desc {
    margin: 0;
    max-width: 737px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #414651;
}

.uc-tools__media {
    align-self: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    line-height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.uc-tools__media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ???????????????????????????????????????????
   Split sections ? branding / payments
   ??????????????????????????????????????????? */
.uc-split {
    box-sizing: border-box;
    padding: 64px 32px;
    background: #fff;
}

/* 808:15997 ? full-bleed left; right aligns with other sections (1280 col) */
.uc-split--brand {
    padding: 0;
    overflow: hidden;
}

.uc-split__inner {
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.uc-split__inner--brand {
    max-width: none;
    width: 100%;
    min-height: 512px;
    margin-inline: 0;
    padding: 0;
    /* Physical sides ? inline-end is LEFT in RTL and was putting the gap on the image */
    padding-left: 0;
    padding-right: max(32px, calc((100% - 1280px) / 2));
    gap: 64px;
    justify-content: space-between;
}

.uc-split__inner--pay {
    gap: 96px;
}

.uc-split__copy {
    flex: 1 1 0;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: right;
}

.uc-split__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.uc-split__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.uc-split__title {
    margin: 0;
    width: 100%;
    font-size: 30px;
    line-height: 38px;
    font-weight: 500;
    color: #181d27;
}

.uc-split__desc {
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 28px;
    color: #535862;
}

.uc-split__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.uc-split__list li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    min-height: 56px;
}

.uc-split__list li > div {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

/* Featured icon 48?48 ? leaf centered in 40?40 */
.uc-split__icon {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 9999px;
    overflow: hidden;
}

.uc-split__icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

/* phone-02 leaf ~26?36 inside 40 box (inset 8.33% / 20.83%) */
.uc-split__icon-img--phone {
    width: 26px;
    height: 36px;
}

.uc-split__icon-img--cursor {
    width: 33px;
    height: 33px;
}

.uc-split__icon-img--layout {
    width: 30px;
    height: 30px;
}

.uc-split__item-title {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #181d27;
}

.uc-split__item-desc {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
}

.uc-split__media {
    flex: 0 0 auto;
    width: min(592px, 46%);
}

.uc-split__media img {
    display: block;
    width: 100%;
    height: auto;
}

/* Devices flush left; copy right edge matches other sections */
.uc-split__inner--brand .uc-split__copy {
    flex: 0 1 560px;
    max-width: 560px;
    padding-block: 59px;
    padding-inline-end: 0;
}

.uc-split__media--brand {
    width: 592px;
    max-width: none;
    height: 512px;
    overflow: hidden;
    flex: 0 0 592px;
    border-radius: 0;
    margin-left: 0;
}

.uc-split__media--brand img {
    display: block;
    width: auto;
    height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: left center;
}

.uc-split__media--pay {
    width: min(580px, 48%);
    height: auto;
}

.uc-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.uc-checks li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.uc-checks img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.uc-checks span {
    font-size: 18px;
    line-height: 28px;
    color: #535862;
    text-align: right;
}

/* ???????????????????????????????????????????
   Highlights ? 808:16135
   ??????????????????????????????????????????? */
.uc-highlights {
    box-sizing: border-box;
    max-width: 1440px;
    margin-inline: auto;
    padding: 80px 120px;
}

.uc-highlights__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 813px;
    margin: 0 auto 64px;
    text-align: center;
}

.uc-highlights__title {
    margin: 0;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #181d27;
}

.uc-highlights__desc {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    color: #535862;
}

.uc-highlights__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.uc-hl {
    position: relative;
    box-sizing: border-box;
    min-height: 218px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9eaeb;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 40%, #fff 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(106, 25, 255, 0.035) 10px,
            rgba(106, 25, 255, 0.035) 11px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 10px,
            rgba(106, 25, 255, 0.035) 10px,
            rgba(106, 25, 255, 0.035) 11px
        );
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: right;
    overflow: hidden;
}

.uc-hl__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: #6a19ff;
    border: 2.8px solid #7940ff;
    flex-shrink: 0;
}

.uc-hl__icon img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.uc-hl__body {
    width: 100%;
}

.uc-hl__title {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #000;
}

.uc-hl__desc {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
    color: #555;
}

/* ???????????????????????????????????????????
   Stories ? 808:16778 ? continuous marquee
   ??????????????????????????????????????????? */
.uc-stories {
    position: relative;
    box-sizing: border-box;
    padding: 48px 0;
    overflow: hidden;
    background: #fff;
}

.uc-stories__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 80px;
    padding-inline: 32px;
}

.uc-stories__title {
    margin: 0;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #181d27;
}

.uc-stories__desc {
    margin: 0;
    max-width: 813px;
    font-size: 18px;
    line-height: 28px;
    color: #7c7c7c;
}

.uc-stories__viewport {
    position: relative;
    width: 100%;
    height: 302px;
    overflow: hidden;
    direction: ltr;
}

.uc-stories__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

/* 808:16806 / 808:16805 */
.uc-stories__fade--left {
    left: 0;
    background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0));
}

.uc-stories__fade--right {
    right: 0;
    background: linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0));
}

.uc-stories__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 302px;
    direction: ltr;
    gap: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.uc-stories__group {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: stretch;
    gap: 24px;
    height: 302px;
    margin-right: 24px;
    padding: 0;
    box-sizing: border-box;
}

.uc-story {
    box-sizing: border-box;
    width: 508px;
    height: 302px;
    flex-shrink: 0;
    padding: 24px;
    border-radius: 12px;
    border: 1.5px solid #d5d7da;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    direction: rtl;
}

.uc-story__quote {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    color: #141812;
    text-align: right;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.uc-story__author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    width: 100%;
    direction: ltr;
}

.uc-story__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
    min-width: 0;
}

.uc-story__name {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #181d27;
    white-space: nowrap;
}

.uc-story__role {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 360px;
}

.uc-story__avatar {
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .uc-stories__viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ???????????????????????????????????????????
   CTA ? 808:16807
   ??????????????????????????????????????????? */
.uc-cta {
    box-sizing: border-box;
    padding: 0 80px 80px;
}

.uc-cta__box {
    position: relative;
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    min-height: 404px;
    padding: 64px 112px;
    border-radius: 16px;
    background: linear-gradient(180deg, #8855ff 50%, #6a19ff 96.67%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-cta__deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.9;
}

.uc-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    max-width: 720px;
}

.uc-cta__eyebrow {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    color: #fff;
}

.uc-cta__title {
    position: relative;
    margin: 0;
    font-size: 48px;
    line-height: 60px;
    font-weight: 600;
    letter-spacing: -0.96px;
    color: #fff;
}

.uc-cta__minutes {
    position: relative;
    display: inline-block;
}

.uc-cta__zap {
    position: absolute;
    width: 36px;
    height: 36px;
    left: -44px;
    top: 50%;
    transform: translateY(-50%);
}

.uc-cta__desc {
    margin: 0;
    font-size: 16px;
    line-height: normal;
    font-weight: 300;
    color: #fff;
}

.uc-cta__avatars {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    margin: 8px 0 16px;
}

.uc-cta__avatars > * {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    box-shadow: 0 0 0 1.5px #fff;
    flex-shrink: 0;
}

.uc-cta__avatars > * + * {
    margin-right: -8px;
    margin-left: 0;
}

.uc-cta__avatars img {
    object-fit: cover;
    border: 0.75px solid rgba(0, 0, 0, 0.08);
}

.uc-cta__avatars span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 0.75px solid #e9eaeb;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #717680;
}

.uc-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.uc-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 158px;
    height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.uc-cta__btn:hover {
    transform: translateY(-1px);
}

.uc-cta__btn--solid {
    color: #414651;
    background: #fff;
    border: 1px solid #d5d7da;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.uc-cta__btn--ghost {
    width: 160px;
    color: #fff;
    background: transparent;
    border: 1px solid transparent;
}

/* ???????????????????????????????????????????
   Motion
   ??????????????????????????????????????????? */
.uc-hero__ellipse--1 {
    animation: uc-glow 8s ease-in-out infinite;
}

.uc-hero__ellipse--2 {
    animation: uc-glow 10s ease-in-out infinite reverse;
}

@keyframes uc-glow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.uc-feature,
.uc-hl {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.uc-feature:hover,
.uc-hl:hover {
    transform: translateY(-4px);
}

/* ???????????????????????????????????????????
   Responsive
   ??????????????????????????????????????????? */
@media (max-width: 1200px) {
    .uc-features,
    .uc-highlights {
        padding-inline: 48px;
    }

    .uc-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uc-tools {
        padding: 0 48px 48px;
    }

    .uc-tools__card {
        padding: 56px 40px 48px;
    }

    .uc-tools__media {
        width: 100%;
        margin: 0;
    }

    .uc-split__inner,
    .uc-split__inner--brand,
    .uc-split__inner--pay {
        flex-direction: column;
        gap: 40px;
        min-height: 0;
        padding-inline: 0;
    }

    .uc-split--brand {
        padding: 40px 0;
    }

    .uc-split__inner--brand {
        padding-left: 0;
        padding-right: 16px;
    }

    .uc-split__inner--brand .uc-split__copy {
        max-width: 100%;
        flex: 1 1 auto;
        padding: 0 0 0 16px;
        order: 1;
    }

    .uc-split__copy {
        max-width: 100%;
        order: 1;
    }

    .uc-split__media,
    .uc-split__media--brand,
    .uc-split__media--pay {
        width: 100%;
        max-width: 640px;
        height: auto;
        order: 2;
    }

    .uc-split__media--brand {
        flex: none;
        margin-left: 0;
        max-width: 100%;
        height: auto;
        aspect-ratio: 592 / 512;
    }

    .uc-split__media--brand img {
        width: 100%;
        height: 100%;
        min-width: 0;
        object-fit: cover;
        object-position: left center;
    }

    .uc-cta {
        padding-inline: 32px;
    }

    .uc-cta__box {
        padding: 48px 40px;
    }
}

@media (max-width: 1100px) {
    .uc-hero {
        height: auto;
        min-height: 0;
    }

    .uc-hero--instructor {
        height: auto;
        padding-top: 84px; /* content clears transparent sticky nav */
    }

    .uc-hero--instructor .uc-hero__copy,
    .uc-hero--instructor .uc-hero__media {
        top: auto;
    }

    .uc-hero__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 32px 16px 0;
    }

    .uc-hero__copy {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 900px;
        padding: 24px 16px 0;
        gap: 32px;
    }

    .uc-hero__media {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 1040px;
        margin-top: 24px;
        margin-bottom: 0;
    }

    .uc-hero__title {
        font-size: 40px;
        letter-spacing: -0.8px;
    }

    .uc-hero__title-line {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .uc-hero__copy {
        padding: 8px 0 0;
        gap: 24px;
    }

    .uc-hero__title {
        font-size: 28px;
        letter-spacing: -0.6px;
    }

    .uc-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .uc-btn--primary,
    .uc-btn--secondary {
        width: 100%;
        min-width: 0;
    }

    .uc-hero__media {
        margin-top: 16px;
    }

    .uc-features,
    .uc-highlights {
        padding: 40px 16px;
        gap: 40px;
    }

    .uc-features__grid,
    .uc-highlights__grid {
        grid-template-columns: 1fr;
    }

    .uc-feature {
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .uc-feature__text {
        align-items: center;
    }

    .uc-features__title,
    .uc-tools__title,
    .uc-highlights__title,
    .uc-stories__title {
        font-size: 28px;
        line-height: 36px;
    }

    .uc-tools {
        padding: 0 16px 40px;
    }

    .uc-tools__card {
        padding: 40px 16px 32px;
        gap: 32px;
    }

    .uc-tools__media {
        width: 100%;
        margin: 0;
    }

    .uc-split {
        padding: 40px 16px;
    }

    .uc-hl {
        align-items: center;
        text-align: center;
    }

    .uc-story {
        width: 300px;
        padding: 24px;
    }

    .uc-story__quote {
        font-size: 18px;
        line-height: 28px;
    }

    .uc-cta {
        padding: 0 16px 48px;
    }

    .uc-cta__box {
        padding: 48px 24px;
        min-height: 0;
    }

    .uc-cta__title {
        font-size: 32px;
        line-height: 42px;
    }

    .uc-cta__zap {
        width: 28px;
        height: 28px;
        left: -34px;
    }
}

/* -------------------------------------------
   Instructor page ? Figma 808:16964 (uci-*)
   ------------------------------------------- */
.uci-cards {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 80px auto 0; /* Figma 808:17370 ? 80px below hero */
    padding: 24px 120px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.uci-cards__head,
.uci-experience__head,
.uci-zigzag__head {
    width: 100%;
    max-width: 768px;
    margin-inline: 0 auto; /* flush to the right in RTL */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* start = right in RTL */
    gap: 12px;
    text-align: right;
}

.uci-zigzag__head {
    max-width: 1200px;
    margin-inline: auto;
    align-items: center;
    text-align: center;
}

.uci-cards__title {
    margin: 0;
    width: 100%;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #1e1b26;
}

.uci-cards__desc {
    margin: 0;
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    color: #1e1b26;
}

.uci-cards__grid {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    direction: rtl;
}

.uci-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* icon on the right in RTL */
    gap: 32px;
    padding: 24px;
    border-radius: 12px;
    background: #fafafa;
    text-align: right;
}

.uci-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.uci-card__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.uci-card__icon--red { background: #fee4e2; }
.uci-card__icon--purple { background: #eae5ff; }
.uci-card__icon--blue { background: #d5e8ff; }
.uci-card__icon--green { background: #d3f8df; }
.uci-card__icon--pink { background: #fce7f6; }
.uci-card__icon--yellow { background: #fef0c7; }

.uci-card__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uci-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #181d27;
}

.uci-card__desc {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
}

.uci-experience {
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.uci-experience__panel {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
    border-radius: 20px;
    border: 1px solid #e9eaeb;
    background: #fff;
    /* Image left / list right ? matches Figma 808:17416 */
    direction: ltr;
}

.uci-experience__media {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1), 0 1px 2px -1px rgba(10, 13, 18, 0.1);
}

.uci-experience__media img {
    display: block;
    width: 100%;
    height: auto;
}

.uci-experience__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    direction: rtl;
    text-align: right;
}

.uci-experience__list li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start; /* start = right in RTL ? icon on the right */
    gap: 16px;
    text-align: right;
}

.uci-experience__list li > div {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.uci-experience__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #eae5ff;
    flex-shrink: 0;
}

.uci-experience__icon img {
    width: 18px;
    height: 18px;
}

.uci-experience__item-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #181d27;
}

.uci-experience__item-desc {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
}

.uci-zigzag {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 120px 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.uci-zz {
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    border-radius: 20px;
    border: 1px solid #e9eaeb;
    background: #fff;
    overflow: hidden;
    direction: ltr;
}

.uci-zz__visual {
    flex: 0 0 49%;
    background: linear-gradient(145deg, #eef2ff 0%, #f5f3ff 50%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.uci-zz__visual img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
}

.uci-zz__copy {
    flex: 1 1 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* start = right in RTL */
    justify-content: center;
    gap: 16px;
    padding: 64px 56px;
    text-align: right;
    direction: rtl;
}

.uci-zz--flip {
    flex-direction: row-reverse;
}

.uci-zz__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #eae5ff;
    flex-shrink: 0;
}

.uci-zz__badge img {
    width: 28px;
    height: 28px;
}

.uci-zz__title {
    margin: 0;
    width: 100%;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #181d27;
    text-align: right;
}

.uci-zz__desc {
    margin: 0;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
    text-align: right;
}

.uci-zz__points,
.uci-zz__checks,
.uci-zz__team {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.uci-zz__points li {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* right in RTL */
    gap: 4px;
    text-align: right;
}

.uci-zz__points strong {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #181d27;
}

.uci-zz__points span {
    font-size: 16px;
    line-height: 24px;
    color: #535862;
}

.uci-zz__checks li {
    position: relative;
    padding-inline-start: 36px; /* checkmark sits on the right in RTL */
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #181d27;
    text-align: right;
}

.uci-zz__checks li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    background: #eae5ff url("../usecase/instructor/icon-check.svg") center / 14px no-repeat;
}

.uci-zz__team li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* avatar on the right in RTL */
    gap: 12px;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
    background: #fafafa;
    direction: rtl;
    text-align: right;
}

.uci-zz__team img {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
}

.uci-zz__team div {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.uci-zz__team div p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #181d27;
}

.uci-zz__team div span {
    font-size: 14px;
    line-height: 20px;
    color: #535862;
}

.uci-zz__role {
    margin-inline-start: auto; /* push role badge to the left in RTL */
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 18px;
    font-style: normal;
    font-weight: 500;
    flex-shrink: 0;
}

.uci-zz__role--admin {
    background: #d5e8ff;
    color: #175cd3;
}

.uci-zz__role--view {
    background: #ffead5;
    color: #b54708;
}
/* ═══════════════════════════════════════════════════════════════════════
   Revenue Section — Figma 808:17626
   Frame: 1196×673 | Head: 84px | Gap: 64px | Monetize: 1196×525
   Sidebar cards LEFT (384) + gap 32 + Main dashboard RIGHT (~780)
   ═══════════════════════════════════════════════════════════════════════ */

.rev {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 122px 80px;
}

.rev__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1196px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px; /* Figma: monetize y=148 − head h=84 */
}

/* Head 808:17627 — RTL: copy RIGHT, button LEFT */
.rev__head {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.rev__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
    max-width: 424px;
}

.rev__title {
    margin: 0;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    color: #181d27;
    letter-spacing: -0.72px;
}

.rev__desc {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    color: #414651;
}

.rev__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    height: 40px;
    min-width: 181px;
    padding: 0 25px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

/* Monetize panel image — Figma 808:17635 @2x (2402×1060 → 1196×525) */
.rev__media {
    width: 100%;
    line-height: 0;
}

.rev__media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1196px;
}
}
@media (max-width: 1200px) {
    .uci-cards,
    .uci-zigzag,
    .rev {
        padding-inline: 48px;
    }

    .uci-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uci-experience__panel,
    .uci-zz {
        flex-direction: column;
    }

    .uci-zz--flip {
        flex-direction: column;
    }

    .uci-zz__visual {
        flex-basis: auto;
        width: 100%;
    }

    .uci-zz__copy {
        padding: 40px 32px;
    }

    .rev__head {
        flex-direction: column;
        align-items: flex-end;
        gap: 16px;
    }
    .rev__copy {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .uci-cards,
    .uci-zigzag,
    .rev,
    .uci-experience {
        padding-inline: 16px;
    }

    .uci-cards__grid {
        grid-template-columns: 1fr;
    }

    .uci-cards__title {
        font-size: 28px;
        line-height: 36px;
    }

    .uci-cards__desc {
        font-size: 16px;
        line-height: 24px;
    }

    .uci-experience__panel {
        padding: 24px;
        gap: 32px;
    }
}

/* ——— YouTube demo modal ——— */
body.uc-video-modal-open {
    overflow: hidden;
}

.uc-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.uc-video-modal[hidden] {
    display: none !important;
}

.uc-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 18, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.uc-video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    background: #0a0d12;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 24px 48px rgba(10, 13, 18, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    outline: none;
    animation: ucVideoModalIn 0.22s ease-out;
}

@keyframes ucVideoModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.uc-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #181d27;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uc-video-modal__title {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: #fff;
}

.uc-video-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.uc-video-modal__close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.uc-video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.uc-video-modal__frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
    object-fit: contain;
}

@media (max-width: 640px) {
    .uc-video-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .uc-video-modal__dialog {
        border-radius: 14px 14px 10px 10px;
        width: 100%;
    }
}