:root {
    --brand-primary: #f4a817;
    --brand-hover: color-mix(in srgb, var(--brand-primary) 86%, #000);
    --brand-soft: color-mix(in srgb, var(--brand-primary) 16%, transparent);

    --page-bg: #f3f4f6;
    --surface: #ffffff;
    --surface-soft: #f8fafc;

    --text: #1f2937;
    --text-soft: #64748b;
    --border: #e2e8f0;

    --dark-950: #070a0f;
    --dark-900: #0b1018;
    --dark-850: #101720;
    --dark-800: #151d28;
    --dark-700: #202b38;

    --white: #ffffff;
    --white-soft: #cbd5e1;

    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --success: #15803d;
    --success-soft: #f0fdf4;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.36);

    --content-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family:
        "Cairo",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 32px), var(--content-width));
    margin-inline: auto;
    padding-block: 28px 48px;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 76px;

    background:
        linear-gradient(
            90deg,
            rgba(7, 10, 15, 0.97),
            rgba(12, 17, 25, 0.97)
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 12px 34px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(calc(100% - 32px), var(--content-width));
    min-height: 76px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    min-width: 0;
    flex: 0 1 auto;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--white);
    text-decoration: none;
}

.logo-image,
.logo-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    border: 2px solid color-mix(
        in srgb,
        var(--brand-primary) 70%,
        transparent
    );

    border-radius: 15px;

    box-shadow:
        0 0 0 4px var(--brand-soft),
        0 8px 24px rgba(0, 0, 0, 0.26);
}

.logo-image {
    object-fit: cover;
}

.logo-mark {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            var(--brand-primary),
            color-mix(
                in srgb,
                var(--brand-primary) 72%,
                white
            )
        );

    color: var(--dark-950);

    font-size: 1.35rem;
    font-weight: 900;
}

.logo-text {
    max-width: 220px;
    overflow: hidden;

    color: var(--white);

    font-size: 1.08rem;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-links {
    min-width: 0;
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-primary,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-primary {
    gap: 6px;
}

.nav-primary > a {
    min-height: 42px;
    padding: 9px 13px;

    display: inline-flex;
    align-items: center;

    border-radius: 10px;

    color: #b8c2cf;

    font-size: 0.91rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.nav-primary > a:hover,
.nav-primary > a:focus-visible {
    background: rgba(255, 255, 255, 0.055);
    color: var(--white);
}

.nav-actions {
    flex: 0 0 auto;
    gap: 10px;
}

.nav-account {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--white-soft);
}

.nav-welcome {
    max-width: 170px;
    overflow: hidden;

    font-size: 0.86rem;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-dashboard-link {
    padding: 7px 9px;

    border-radius: 8px;

    color: var(--brand-primary);

    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.nav-dashboard-link:hover,
.nav-dashboard-link:focus-visible {
    background: var(--brand-soft);
}

.nav-logout-form {
    margin: 0;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    padding: 10px;

    display: none;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
    width: 100%;
    height: 2px;

    display: block;

    background: var(--white);
    border-radius: 999px;

    transform-origin: center;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle span + span {
    margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;

    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;

    background: rgba(0, 0, 0, 0.62);

    cursor: default;

    backdrop-filter: blur(2px);
}

.nav-backdrop[hidden] {
    display: none;
}

/* Buttons */

.btn {
    min-height: 42px;
    padding: 9px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid transparent;
    border-radius: 10px;

    background: var(--brand-primary);
    color: var(--dark-950);

    cursor: pointer;

    font-weight: 800;
    text-align: center;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    background: var(--brand-hover);
    color: var(--dark-950);

    transform: translateY(-1px);

    box-shadow: 0 10px 24px var(--brand-soft);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--brand-soft);
    outline-offset: 3px;
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border-color: color-mix(
        in srgb,
        var(--brand-primary) 76%,
        transparent
    );
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: var(--dark-950);
}

.btn-sm {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 0.86rem;
}

/* Generic forms */

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;

    color: var(--text);
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface);
    color: var(--text);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--brand-primary);
    outline: none;

    box-shadow: 0 0 0 4px var(--brand-soft);
}

/* Generic cards */

.card {
    padding: 22px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

/* Generic tables */

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 14px;

    border-bottom: 1px solid var(--border);

    text-align: right;
}

th {
    background: var(--surface-soft);
    font-weight: 800;
}

/* Alerts */

.alert {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 18px auto 0;
    padding: 12px 16px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-weight: 700;
}

.alert-error {
    background: var(--danger-soft);
    border-color: #fecaca;
    color: #991b1b;
}

.alert-success {
    background: var(--success-soft);
    border-color: #bbf7d0;
    color: #166534;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Home */

.home-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 78% 12%,
            color-mix(
                in srgb,
                var(--brand-primary) 10%,
                transparent
            ),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 52%,
            rgba(37, 99, 235, 0.08),
            transparent 28%
        ),
        var(--dark-950);

    color: var(--white);
}

.home-main {
    overflow: hidden;
}

.home-hero {
    position: relative;
    isolation: isolate;

    width: min(calc(100% - 32px), var(--content-width));
    min-height: 570px;
    margin: 30px auto 0;
    padding: 62px 64px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(340px, 0.92fr);
    align-items: center;
    gap: 58px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 24%,
            color-mix(
                in srgb,
                var(--brand-primary) 13%,
                transparent
            ),
            transparent 32%
        ),
        radial-gradient(
            circle at 16% 88%,
            rgba(255, 255, 255, 0.035),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            rgba(18, 25, 35, 0.99),
            rgba(7, 11, 17, 0.99)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.28);
}

.home-hero::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -2;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    opacity: 0.55;
}

.home-hero::after {
    content: "";

    position: absolute;
    inset-inline-end: -150px;
    bottom: -210px;
    z-index: -1;

    width: 520px;
    height: 520px;

    background:
        radial-gradient(
            circle,
            var(--brand-primary),
            transparent 67%
        );

    opacity: 0.1;
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 3;

    min-width: 0;
}

.home-eyebrow {
    width: fit-content;
    margin-bottom: 20px;
    padding: 7px 13px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    background: var(--brand-soft);

    border: 1px solid color-mix(
        in srgb,
        var(--brand-primary) 34%,
        transparent
    );

    border-radius: 999px;

    color: var(--brand-primary);

    font-size: 0.86rem;
    font-weight: 800;
}

.home-eyebrow span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    background: var(--brand-primary);

    border-radius: 50%;

    box-shadow:
        0 0 14px var(--brand-primary);
}

.home-title {
    max-width: 760px;
    margin-bottom: 21px;

    color: var(--white);

    font-size: clamp(2.35rem, 4.7vw, 4.45rem);
    font-weight: 900;
    line-height: 1.22;
}

.home-title-line {
    display: block;

    color: var(--white);
}

.hero-brand-signature {
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 10px 15px;

    display: flex;
    align-items: center;
    gap: 13px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--brand-primary),
            color-mix(
                in srgb,
                var(--brand-primary) 78%,
                white
            )
        );

    border: 1px solid color-mix(
        in srgb,
        var(--brand-primary) 78%,
        white
    );
    border-radius: 19px;

    box-shadow:
        0 15px 40px var(--brand-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-brand-logo-wrap,
.hero-brand-mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;

    border-radius: 15px;
}

.hero-brand-logo-wrap {
    padding: 5px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: rgba(8, 12, 18, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-brand-logo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.hero-brand-mark {
    display: grid;
    place-items: center;

    background: rgba(8, 12, 18, 0.94);

    color: var(--brand-primary);

    font-size: 1.65rem;
    font-weight: 1000;
}

.hero-brand-name {
    min-width: 0;

    color: var(--dark-950);

    font-size: clamp(1.35rem, 2.8vw, 2.3rem);
    font-weight: 1000;
    line-height: 1.35;

    overflow-wrap: anywhere;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-description {
    max-width: 670px;
    margin-bottom: 28px;

    color: #aeb9c7;

    font-size: 1.04rem;
    line-height: 1.95;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.btn-primary-lg,
.btn-ghost-lg {
    min-height: 52px;
    padding-inline: 25px;

    border-radius: 12px;

    font-size: 0.98rem;
}

.btn-ghost-lg {
    background: rgba(255, 255, 255, 0.035);
    color: var(--white);

    border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost-lg:hover,
.btn-ghost-lg:focus-visible {
    background: rgba(255, 255, 255, 0.085);
    color: var(--white);

    border-color: rgba(255, 255, 255, 0.28);

    box-shadow: none;
}

.hero-highlights {
    margin-top: 27px;

    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #8997a8;

    font-size: 0.82rem;
    line-height: 1.7;
}

.hero-highlights i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    background: var(--brand-primary);

    border-radius: 50%;

    box-shadow:
        0 0 12px
        color-mix(
            in srgb,
            var(--brand-primary) 70%,
            transparent
        );
}

.home-physics-panel {
    position: relative;
    isolation: isolate;

    width: min(100%, 440px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;

    display: grid;
    place-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            color-mix(
                in srgb,
                var(--brand-primary) 12%,
                transparent
            ),
            transparent 54%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 38px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 70px rgba(0, 0, 0, 0.26);
}

.home-physics-panel::before,
.home-physics-panel::after {
    content: "";

    position: absolute;
    z-index: 2;

    width: 10px;
    height: 10px;

    background: var(--brand-primary);

    border-radius: 50%;

    box-shadow:
        0 0 18px var(--brand-primary);
}

.home-physics-panel::before {
    top: 18%;
    inset-inline-start: 14%;
}

.home-physics-panel::after {
    inset-inline-end: 15%;
    bottom: 17%;
}

.physics-grid {
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );

    background-size: 30px 30px;

    opacity: 0.65;
}

.physics-brand-core {
    position: relative;
    z-index: 5;

    width: 150px;
    height: 150px;
    padding: 7px;

    display: grid;
    place-items: center;

    background:
        rgba(9, 14, 21, 0.94);

    border: 1px solid color-mix(
        in srgb,
        var(--brand-primary) 72%,
        transparent
    );

    border-radius: 50%;

    box-shadow:
        0 0 0 11px var(--brand-soft),
        0 24px 55px rgba(0, 0, 0, 0.42);
}

.home-hero-logo,
.physics-brand-mark {
    width: 100%;
    height: 100%;

    border-radius: 50%;
}

.home-hero-logo {
    display: block;

    padding: 7px;

    object-fit: contain;

    background: rgba(8, 12, 18, 0.92);
}

.physics-brand-mark {
    display: grid;
    place-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--brand-primary),
            color-mix(
                in srgb,
                var(--brand-primary) 72%,
                white
            )
        );

    color: var(--dark-950);

    font-size: 3.65rem;
    font-weight: 900;
}

.physics-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 3;

    width: 79%;
    height: 79%;

    transform: translate(-50%, -50%);
}

.physics-orbit span {
    position: absolute;
    inset: 50% auto auto 50%;

    width: 100%;
    height: 38%;

    border: 1.5px solid color-mix(
        in srgb,
        var(--brand-primary) 44%,
        transparent
    );

    border-radius: 50%;

    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.physics-orbit .orbit-two {
    transform:
        translate(-50%, -50%)
        rotate(60deg);
}

.physics-orbit .orbit-three {
    transform:
        translate(-50%, -50%)
        rotate(120deg);
}

.physics-orbit i {
    position: absolute;
    top: 2%;
    left: 48%;

    width: 9px;
    height: 9px;

    background: var(--brand-primary);

    border-radius: 50%;

    box-shadow:
        0 0 15px var(--brand-primary);
}

.physics-formula,
.hero-equation {
    position: absolute;

    color: rgba(255, 255, 255, 0.15);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-style: italic;

    user-select: none;
    pointer-events: none;
}

.physics-formula {
    z-index: 2;

    font-size: 1.08rem;
    font-weight: 700;
}

.formula-one {
    top: 14%;
    inset-inline-end: 10%;
}

.formula-two {
    inset-inline-start: 9%;
    bottom: 13%;
}

.formula-three {
    inset-inline-end: 11%;
    bottom: 29%;
}

.physics-wave {
    position: absolute;
    inset-inline-start: 12%;
    top: 26%;

    width: 82px;
    height: 26px;

    border-top: 2px solid
        color-mix(
            in srgb,
            var(--brand-primary) 72%,
            transparent
        );

    border-radius: 50%;

    opacity: 0.68;

    transform: rotate(-8deg);
}

.hero-equation {
    z-index: 0;

    font-size: clamp(2.3rem, 4.5vw, 4.7rem);
    font-weight: 700;

    opacity: 0.82;
}

.hero-equation-top {
    top: 22px;
    inset-inline-start: 30px;

    transform: rotate(-7deg);
}

.hero-equation-bottom {
    inset-inline-end: 43%;
    bottom: 20px;

    transform: rotate(5deg);
}

.home-section {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    padding-top: 88px;
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.section-kicker {
    display: block;
    margin-bottom: 7px;

    color: var(--brand-primary);

    font-size: 0.86rem;
    font-weight: 900;
}

.section-heading h2 {
    margin-bottom: 0;

    color: var(--white);

    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 900;
}

.section-description {
    max-width: 680px;
    margin: 10px auto 0;

    color: #93a1b2;

    font-size: 0.95rem;
    line-height: 1.9;
}

.platform-about-section {
    padding-top: 76px;
}

.platform-about {
    position: relative;

    padding: 34px;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.95fr);
    align-items: center;
    gap: 42px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 18%,
            color-mix(
                in srgb,
                var(--brand-primary) 11%,
                transparent
            ),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(20, 28, 39, 0.94),
            rgba(10, 15, 22, 0.96)
        );

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: var(--radius-xl);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.2);
}

.platform-about::after {
    content: "";

    position: absolute;
    inset-inline-end: -80px;
    bottom: -100px;

    width: 220px;
    height: 220px;

    background: var(--brand-soft);

    border-radius: 50%;

    pointer-events: none;
}

.platform-about-content {
    position: relative;
    z-index: 2;
}

.platform-about-content h2 {
    max-width: 620px;
    margin: 0 0 18px;

    color: var(--white);

    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.45;
}

.platform-about-content p {
    max-width: 670px;
    margin: 0;

    color: #9eabb9;

    font-size: 0.96rem;
    line-height: 2;
}

.platform-about-content p + p {
    margin-top: 12px;
}

.platform-learning-map {
    position: relative;
    z-index: 2;

    min-width: 0;
    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
}

.learning-map-item {
    min-width: 64px;
    min-height: 86px;
    padding: 12px 9px;

    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;

    text-align: center;
}

.learning-map-item span {
    color: var(--brand-primary);

    font-size: 0.72rem;
    font-weight: 900;
}

.learning-map-item strong {
    color: var(--white);

    font-size: 0.86rem;
    font-weight: 800;
}

.learning-map-arrow {
    flex: 0 0 auto;

    color: color-mix(
        in srgb,
        var(--brand-primary) 70%,
        transparent
    );

    font-size: 1.15rem;
    font-weight: 900;
}

#features {
    padding-top: 76px;
}

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

.feature-card {
    position: relative;

    min-width: 0;
    min-height: 245px;
    padding: 26px;

    overflow: hidden;

    background:
        linear-gradient(
            150deg,
            rgba(22, 30, 41, 0.97),
            rgba(11, 16, 23, 0.97)
        );

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: var(--radius-lg);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.feature-card::after {
    content: "";

    position: absolute;
    inset-inline-end: -58px;
    bottom: -64px;

    width: 145px;
    height: 145px;

    background:
        radial-gradient(
            circle,
            var(--brand-soft),
            transparent 70%
        );

    border-radius: 50%;

    pointer-events: none;
}

.feature-card:hover {
    border-color: color-mix(
        in srgb,
        var(--brand-primary) 34%,
        transparent
    );

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.2);

    transform: translateY(-3px);
}

.feature-icon {
    position: relative;
    z-index: 2;

    width: 50px;
    height: 50px;
    margin-bottom: 20px;

    display: grid;
    place-items: center;

    background: var(--brand-soft);

    border: 1px solid color-mix(
        in srgb,
        var(--brand-primary) 28%,
        transparent
    );

    border-radius: 14px;
}

/* Academic scope icon */

.feature-icon-scope::before {
    content: "";

    width: 22px;
    height: 22px;

    border: 2px solid var(--brand-primary);
    border-radius: 50%;

    box-shadow:
        inset 0 0 0 5px transparent;
}

.feature-icon-scope::after {
    content: "";

    position: absolute;

    width: 6px;
    height: 6px;

    background: var(--brand-primary);

    border-radius: 50%;

    box-shadow:
        0 0 10px var(--brand-primary);
}

/* Progress icon */

.feature-icon-progress::before {
    content: "";

    width: 23px;
    height: 19px;

    border-inline-start: 2px solid var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
}

.feature-icon-progress::after {
    content: "";

    position: absolute;

    width: 19px;
    height: 14px;

    background:
        linear-gradient(
            to top,
            var(--brand-primary) 0 100%
        );

    clip-path:
        polygon(
            0 100%,
            0 72%,
            28% 72%,
            28% 48%,
            58% 48%,
            58% 22%,
            100% 22%,
            100% 100%
        );

    opacity: 0.9;
}

/* Messaging icon */

.feature-icon-message::before {
    content: "";

    width: 22px;
    height: 16px;

    border: 2px solid var(--brand-primary);
    border-radius: 6px;
}

.feature-icon-message::after {
    content: "";

    position: absolute;
    bottom: 12px;
    inset-inline-start: 15px;

    width: 7px;
    height: 7px;

    border-inline-start: 2px solid var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);

    transform: skewY(-32deg);
}

/* Payment / receipt icon */

.feature-icon-payment::before {
    content: "";

    width: 21px;
    height: 25px;

    border: 2px solid var(--brand-primary);
    border-radius: 4px;
}

.feature-icon-payment::after {
    content: "";

    position: absolute;

    width: 11px;
    height: 7px;

    border-top: 2px solid var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
}

.feature-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 9px;

    color: var(--white);

    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.6;
}

.feature-card p {
    position: relative;
    z-index: 2;

    margin-bottom: 0;

    color: #93a1b2;

    font-size: 0.91rem;
    line-height: 1.9;
}

.learning-section {
    padding-bottom: 84px;
}

.learning-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.learning-step {
    position: relative;

    min-width: 0;
    min-height: 178px;
    padding: 26px 24px;

    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(22, 30, 41, 0.92),
            rgba(11, 16, 23, 0.95)
        );

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: var(--radius-lg);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.learning-step::before {
    content: "";

    position: absolute;
    inset-inline-start: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            var(--brand-primary),
            transparent
        );

    opacity: 0.85;
}

.learning-step::after {
    content: "";

    position: absolute;
    inset-inline-end: -52px;
    bottom: -62px;

    width: 130px;
    height: 130px;

    background:
        radial-gradient(
            circle,
            var(--brand-soft),
            transparent 70%
        );

    border-radius: 50%;

    pointer-events: none;
}

.learning-step:hover {
    border-color: color-mix(
        in srgb,
        var(--brand-primary) 32%,
        transparent
    );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.18);

    transform: translateY(-2px);
}

.step-number {
    position: relative;
    z-index: 2;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            var(--brand-primary),
            color-mix(
                in srgb,
                var(--brand-primary) 76%,
                white
            )
        );

    border-radius: 16px;

    color: var(--dark-950);

    font-size: 0.96rem;
    font-weight: 900;

    box-shadow:
        0 10px 28px var(--brand-soft);
}

.learning-step > div {
    position: relative;
    z-index: 2;

    min-width: 0;
}

.learning-step h3 {
    margin-bottom: 7px;

    color: var(--white);

    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.6;
}

.learning-step p {
    margin-bottom: 0;

    color: #93a1b2;

    font-size: 0.92rem;
    line-height: 1.9;
}

.learning-payment-note {
    margin-top: 18px;
    padding: 16px 18px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    background:
        linear-gradient(
            135deg,
            var(--brand-soft),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid color-mix(
        in srgb,
        var(--brand-primary) 26%,
        transparent
    );

    border-radius: 14px;
}

.learning-payment-note > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: grid;
    place-items: center;

    background: var(--brand-primary);

    border-radius: 50%;

    color: var(--dark-950);

    font-size: 0.82rem;
    font-weight: 900;
}

.learning-payment-note p {
    margin: 1px 0 0;

    color: #aeb9c7;

    font-size: 0.88rem;
    line-height: 1.85;
}

.home-final-cta {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    padding-bottom: 72px;
}

.home-final-cta-inner {
    position: relative;

    padding: 34px 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            color-mix(
                in srgb,
                var(--brand-primary) 13%,
                transparent
            ),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(24, 33, 45, 0.98),
            rgba(10, 15, 22, 0.98)
        );

    border: 1px solid color-mix(
        in srgb,
        var(--brand-primary) 24%,
        rgba(255, 255, 255, 0.06)
    );

    border-radius: var(--radius-xl);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.24);
}

.home-final-cta-inner::after {
    content: "";

    position: absolute;
    inset-inline-end: -80px;
    bottom: -115px;

    width: 240px;
    height: 240px;

    background: var(--brand-soft);

    border-radius: 50%;

    pointer-events: none;
}

.home-final-cta-content {
    position: relative;
    z-index: 2;

    max-width: 670px;
}

.home-final-cta-content h2 {
    margin: 0 0 10px;

    color: var(--white);

    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.45;
}

.home-final-cta-content p {
    margin: 0;

    color: #9eabb9;

    font-size: 0.95rem;
    line-height: 1.9;
}

.home-final-cta-actions {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.home-final-cta-actions .btn {
    min-width: 150px;
}

.home-footer {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(0, 0, 0, 0.14)
        );

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-footer-inner {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    padding: 30px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.home-footer-brand {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 13px;
}

.home-footer-logo,
.home-footer-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    border-radius: 14px;
}

.home-footer-logo {
    display: block;

    object-fit: cover;
}

.home-footer-mark {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            var(--brand-primary),
            color-mix(
                in srgb,
                var(--brand-primary) 72%,
                white
            )
        );

    color: var(--dark-950);

    font-size: 1.05rem;
    font-weight: 1000;

    box-shadow:
        0 8px 24px var(--brand-soft);
}

.home-footer-brand > div {
    min-width: 0;
}

.home-footer-brand strong {
    display: block;

    max-width: 360px;

    overflow: hidden;

    color: var(--white);

    font-size: 1rem;
    font-weight: 900;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-footer-brand p {
    margin: 3px 0 0;

    color: #778391;

    font-size: 0.82rem;
    line-height: 1.7;
}

.home-footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.home-footer-nav a {
    color: #9aa6b4;

    font-size: 0.86rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.home-footer-nav a:hover,
.home-footer-nav a:focus-visible {
    color: var(--brand-primary);
}

.home-footer-bottom {
    padding: 15px 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.055);

    text-align: center;
}

.home-footer-bottom p {
    margin: 0;

    color: #687482;

    font-size: 0.8rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .home-final-cta-inner {
        padding: 30px;

        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .home-final-cta-actions {
        justify-content: flex-start;
    }

    .home-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .home-final-cta {
        width: min(calc(100% - 20px), var(--content-width));
        padding-bottom: 56px;
    }

    .home-final-cta-inner {
        padding: 25px 20px;

        border-radius: 22px;
    }

    .home-final-cta-content h2 {
        font-size: 1.6rem;
    }

    .home-final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-final-cta-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .home-footer-inner {
        width: min(calc(100% - 24px), var(--content-width));
        padding: 26px 0;
    }

    .home-footer-brand {
        align-items: flex-start;
    }

    .home-footer-brand strong {
        max-width: calc(100vw - 105px);
    }

    .home-footer-nav {
        width: 100%;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-footer-nav a {
        padding: 8px 0;
    }
}

/* Responsive */

@media (max-width: 980px) {
    .header,
    .header-inner {
        min-height: 68px;
    }

    .header-inner {
        width: min(calc(100% - 28px), var(--content-width));
        gap: 16px;
    }

    .logo {
        max-width: calc(100% - 60px);
    }

    .logo-image,
    .logo-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;

        border-radius: 13px;
    }

    .logo-text {
        max-width: min(52vw, 220px);
        font-size: 1rem;
    }

    .menu-toggle {
        margin-inline-start: auto;

        display: block;
        flex: 0 0 44px;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        inset-inline-start: 16px;
        z-index: 1002;

        width: min(380px, calc(100% - 32px));
        max-height: calc(100dvh - 92px);
        padding: 16px;

        display: none;
        overflow-y: auto;

        background:
            linear-gradient(
                155deg,
                rgba(19, 26, 36, 0.99),
                rgba(8, 12, 18, 0.99)
            );

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 18px;

        box-shadow:
            0 24px 70px rgba(0, 0, 0, 0.52);
    }

    .nav-links.active {
        display: block;
    }

    .nav-primary,
    .nav-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .nav-primary {
        gap: 3px;
    }

    .nav-primary > a {
        width: 100%;
        min-height: 46px;
        padding: 11px 13px;
    }

    .nav-actions {
        margin-top: 14px;
        padding-top: 14px;
        gap: 9px;

        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-actions .btn {
        width: 100%;
    }

    .nav-account {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .nav-welcome {
        max-width: 100%;
        padding-inline: 4px;
    }

    .nav-dashboard-link {
        min-height: 42px;

        display: flex;
        align-items: center;
    }

    .nav-logout-form,
    .nav-logout-form .btn {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .platform-about {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

@media (max-width: 900px) {
    .home-hero {
        min-height: auto;
        padding: 46px 38px;

        grid-template-columns: 1fr;
        gap: 42px;
    }

    .home-hero-content {
        max-width: 720px;
    }

    .home-physics-panel {
        width: min(100%, 380px);
    }
}

@media (max-width: 768px) {
    .home-hero {
        width: min(calc(100% - 20px), var(--content-width));
        margin-top: 16px;
        padding: 34px 22px;

        gap: 34px;

        border-radius: 22px;
    }

    .home-title {
        font-size: clamp(2rem, 10vw, 3.25rem);
        line-height: 1.24;
    }

    .home-description {
        margin-bottom: 24px;

        font-size: 0.96rem;
        line-height: 1.9;
    }

    .home-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-actions .btn {
        width: 100%;
    }

    .hero-highlights {
        margin-top: 23px;

        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-physics-panel {
        width: min(100%, 300px);

        border-radius: 28px;
    }

    .physics-brand-core {
        width: 116px;
        height: 116px;
        padding: 6px;
    }

    .physics-brand-mark {
        font-size: 2.85rem;
    }

    .physics-formula {
        font-size: 0.88rem;
    }

    .home-section {
        width: min(calc(100% - 20px), var(--content-width));
        padding-top: 62px;
    }

    .learning-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .learning-step {
        min-height: auto;
        padding: 21px 19px;

        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }

    .step-number {
        width: 50px;
        height: 50px;

        border-radius: 13px;
    }

    .learning-payment-note {
        padding: 15px 16px;
    }

    .flex-wrap > * {
        flex: 1 1 100%;
    }
}

@media (max-width: 620px) {

    .hero-brand-signature {
        width: 100%;
        padding: 9px 11px;

        gap: 10px;

        border-radius: 16px;
    }

    .hero-brand-logo-wrap,
    .hero-brand-mark {
        width: 50px;
        height: 50px;
        flex-basis: 50px;

        border-radius: 12px;
    }

    .hero-brand-name {
        font-size: clamp(1.08rem, 5.8vw, 1.55rem);
    }

    .platform-about-section,
    #features {
        padding-top: 58px;
    }

    .platform-about {
        padding: 24px 20px;

        border-radius: 22px;
    }

    .platform-about-content h2 {
        font-size: 1.7rem;
    }

    .platform-about-content p {
        font-size: 0.92rem;
    }

    .platform-learning-map {
        padding: 14px;

        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;

        border-radius: 16px;
    }

    .learning-map-item {
        min-height: 58px;

        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;

        text-align: start;
    }

    .learning-map-arrow {
        display: none;
    }

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

    .feature-card {
        min-height: auto;
        padding: 23px;
    }

    .section-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .learning-step {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        padding: 19px 17px;
    }

    .step-number {
        width: 44px;
        height: 44px;

        border-radius: 12px;

        font-size: 0.84rem;
    }

    .learning-step h3 {
        font-size: 1rem;
    }

    .learning-step p {
        font-size: 0.88rem;
    }

    .learning-payment-note {
        gap: 10px;
        padding: 14px;
    }

    .learning-payment-note p {
        font-size: 0.84rem;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(calc(100% - 20px), var(--content-width));
    }

    .home-hero {
        width: calc(100% - 16px);
        padding: 28px 18px;

        gap: 30px;
    }

    .home-eyebrow {
        margin-bottom: 17px;

        font-size: 0.76rem;
    }

    .home-title {
        font-size: clamp(1.9rem, 10.5vw, 2.75rem);
    }

    .home-physics-panel {
        width: min(100%, 250px);

        border-radius: 24px;
    }

    .physics-brand-core {
        width: 96px;
        height: 96px;
    }

    .physics-brand-mark {
        font-size: 2.35rem;
    }

    .formula-three {
        display: none;
    }

    .hero-equation {
        display: none;
    }
}


/* === AUTH PAGES START === */

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 85% 15%,
            color-mix(
                in srgb,
                var(--brand-primary) 10%,
                transparent
            ),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        var(--dark-950);
}

.auth-main {
    min-height: calc(100vh - 76px);
    padding: 42px 16px 64px;

    display: grid;
    place-items: center;
}

.auth-shell {
    width: min(100%, 1040px);

    display: grid;
    grid-template-columns:
        minmax(320px, 0.92fr)
        minmax(400px, 1.08fr);

    overflow: hidden;

    background: var(--dark-900);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-dark);
}

.auth-brand-panel {
    position: relative;
    isolation: isolate;

    min-height: 610px;
    padding: 48px 42px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(22, 30, 41, 0.98),
            rgba(9, 13, 19, 0.99)
        );

    border-inline-end: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-brand-panel::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -2;

    opacity: 0.11;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 34px 34px;
}

.auth-brand-panel::after {
    content: "";

    position: absolute;
    inset-inline-start: -120px;
    bottom: -150px;
    z-index: -1;

    width: 360px;
    height: 360px;

    background: var(--brand-primary);

    border-radius: 50%;

    opacity: 0.09;
}

.auth-brand-content {
    position: relative;
    z-index: 2;
}

.auth-brand-logo {
    width: 86px;
    height: 86px;
    margin-bottom: 28px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: var(--brand-primary);

    border: 3px solid var(--brand-primary);
    border-radius: 50%;

    box-shadow:
        0 0 0 9px var(--brand-soft),
        0 18px 45px rgba(0, 0, 0, 0.34);

    color: var(--dark-950);

    font-size: 2.4rem;
    font-weight: 900;
    text-decoration: none;
}

.auth-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-brand-kicker {
    display: block;
    margin-bottom: 8px;

    color: var(--brand-primary);

    font-size: 0.82rem;
    font-weight: 900;
}

.auth-brand-content h1 {
    margin-bottom: 14px;

    color: var(--white);

    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.2;
}

.auth-brand-content p {
    max-width: 410px;
    margin-bottom: 0;

    color: #9aa8b8;

    font-size: 0.94rem;
    line-height: 2;
}

.auth-physics-art {
    position: relative;

    height: 190px;
    margin-top: 36px;
}

.auth-orbit {
    position: absolute;
    left: 50%;
    bottom: 4px;

    width: 160px;
    height: 160px;

    transform: translateX(-50%);
}

.auth-orbit i {
    position: absolute;
    inset: 50% auto auto 50%;

    width: 100%;
    height: 42%;

    border: 1.5px solid color-mix(
        in srgb,
        var(--brand-primary) 48%,
        transparent
    );

    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.auth-orbit i:nth-child(2) {
    transform: translate(-50%, -50%) rotate(60deg);
}

.auth-orbit i:nth-child(3) {
    transform: translate(-50%, -50%) rotate(120deg);
}

.auth-orbit b {
    position: absolute;
    top: 4px;
    left: 50%;

    width: 9px;
    height: 9px;

    background: var(--brand-primary);

    border-radius: 50%;

    box-shadow: 0 0 14px var(--brand-primary);
}

.auth-equation {
    position: absolute;

    color: rgba(255, 255, 255, 0.17);

    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 700;

    user-select: none;
}

.equation-one {
    top: 4px;
    right: 8px;

    font-size: 2.2rem;

    transform: rotate(-7deg);
}

.equation-two {
    left: 12px;
    bottom: 24px;

    font-size: 1.7rem;

    transform: rotate(6deg);
}

.auth-form-panel {
    padding: 48px 46px;

    background:
        linear-gradient(
            180deg,
            rgba(17, 23, 32, 0.99),
            rgba(11, 16, 23, 0.99)
        );
}

.auth-form-heading {
    margin-bottom: 30px;
}

.auth-form-kicker {
    display: block;
    margin-bottom: 5px;

    color: var(--brand-primary);

    font-size: 0.82rem;
    font-weight: 900;
}

.auth-form-heading h2 {
    margin-bottom: 8px;

    color: var(--white);

    font-size: 2rem;
    font-weight: 900;
}

.auth-form-heading p {
    margin-bottom: 0;

    color: #8391a2;

    font-size: 0.9rem;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    margin-bottom: 7px;

    color: #dbe3ec;

    font-size: 0.88rem;
    font-weight: 700;
}

.auth-form .form-control {
    min-height: 50px;
    padding: 11px 14px;

    background: rgba(255, 255, 255, 0.045);

    border-color: rgba(255, 255, 255, 0.1);

    color: var(--white);

    caret-color: var(--brand-primary);
}

.auth-form select.form-control {
    appearance: auto;
}

.auth-form .form-control::placeholder {
    color: #667384;
}

.auth-form .form-control:focus {
    background: rgba(255, 255, 255, 0.06);

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 4px var(--brand-soft);
}

.auth-form select.form-control option {
    background: var(--dark-850);
    color: var(--white);
}

.ltr-input {
    direction: ltr;
    text-align: right;
}

.field-error {
    margin-top: 6px;

    color: #fca5a5;

    font-size: 0.79rem;
    font-weight: 700;
}

.remember-option {
    width: fit-content;
    margin: 2px 0 22px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #a7b3c1;

    cursor: pointer;

    font-size: 0.88rem;
}

.remember-option input {
    width: 17px;
    height: 17px;

    accent-color: var(--brand-primary);
}

.auth-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;

    border-radius: 12px;

    font-size: 0.95rem;
    font-weight: 900;
}

.auth-switch {
    margin-top: 24px;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #7f8b9a;

    font-size: 0.86rem;
}

.auth-switch a {
    color: var(--brand-primary);

    font-weight: 900;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-password-grid .form-group {
    min-width: 0;
}

.auth-shell-register .auth-brand-panel,
.auth-shell-register .auth-form-panel {
    min-height: 670px;
}

@media (max-width: 860px) {
    .auth-shell {
        max-width: 620px;
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: auto;
        padding: 30px;

        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .auth-brand-logo {
        width: 68px;
        height: 68px;
        margin-bottom: 20px;
    }

    .auth-brand-content h1 {
        font-size: 2rem;
    }

    .auth-physics-art {
        display: none;
    }

    .auth-form-panel {
        padding: 34px 30px;
    }

    .auth-shell-register .auth-brand-panel,
    .auth-shell-register .auth-form-panel {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .auth-main {
        min-height: calc(100vh - 68px);
        padding: 18px 10px 36px;
    }

    .auth-shell {
        border-radius: 20px;
    }

    .auth-brand-panel {
        padding: 24px 20px;
    }

    .auth-brand-logo {
        width: 58px;
        height: 58px;
    }

    .auth-brand-content p {
        font-size: 0.86rem;
    }

    .auth-form-panel {
        padding: 28px 20px;
    }

    .auth-form-heading h2 {
        font-size: 1.65rem;
    }

    .auth-password-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-switch {
        flex-wrap: wrap;
    }
}

/* ===== REVIEW-01 PUBLIC HOME V3 ===== */

/* ==========================================================
   GLOBAL PUBLIC WIDTH SYSTEM
   ========================================================== */

.public-header-inner,
.home-hero,
.home-section,
.footer-inner {
    width: 92vw;
    max-width: none;
    margin-inline: auto;
    box-sizing: border-box;
}

.home-section {
    width: 92vw;
    max-width: none;
    margin-inline: auto;
}

.home-section-inner {
    max-width: none !important;
}

.home-section-inner > * {
    max-width: none;
}

.feature-grid,
.learning-map,
.learning-steps,
.payment-note {
    width: 100%;
    max-width: none !important;
}


/* ==========================================================
   PUBLIC HEADER — SAME DARK IDENTITY AS HOMEPAGE
   ========================================================== */

.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(7, 12, 20, 0.985),
            rgba(10, 17, 28, 0.97)
        );

    border-bottom: 1px solid rgba(255, 174, 24, 0.14);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.22);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.public-header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: clamp(22px, 3vw, 52px);

    direction: rtl;
}

.public-brand {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 11px;

    text-decoration: none;
    color: #ffffff;
}

.public-brand-image,
.public-brand-mark {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border-radius: 13px;
}

.public-brand-image {
    object-fit: contain;
}

.public-brand-mark {
    display: grid;
    place-items: center;

    color: #09111d;

    background:
        linear-gradient(
            145deg,
            #ffc247,
            #f3a400
        );

    font-size: 1.3rem;
    font-weight: 900;

    box-shadow:
        0 8px 26px rgba(245, 166, 0, 0.25);
}

.public-brand-text {
    max-width: 290px;

    overflow: hidden;

    color: #ffffff;

    font-size: clamp(1rem, 1.18vw, 1.2rem);
    font-weight: 900;

    line-height: 1.2;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.public-nav {
    flex: 1 1 auto;

    min-width: 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;

    gap: 26px;
}

.public-nav-primary {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}

.public-nav-primary a {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding-inline: 15px;

    border-radius: 11px;

    color: #cbd5e1;

    font-size: 0.95rem;
    font-weight: 800;

    text-decoration: none;
    white-space: nowrap;

    transition:
        color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.public-nav-primary a:hover,
.public-nav-primary a:focus-visible {
    color: #ffffff;

    background: rgba(255, 174, 24, 0.1);

    transform: translateY(-1px);
}

.public-nav-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.public-nav-actions .btn {
    min-width: 112px;
    min-height: 43px;

    margin: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 0.9rem;
    font-weight: 900;

    white-space: nowrap;
}

.public-nav-actions .btn-outline {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.025);

    border-color: rgba(255, 174, 24, 0.52);
}

.public-nav-actions .btn-outline:hover {
    color: #07101b;

    background: #ffb21b;
}

.public-nav-account {
    display: flex;
    align-items: center;

    gap: 10px;
}

.public-nav-welcome {
    max-width: 180px;

    overflow: hidden;

    color: #94a3b8;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.public-nav-dashboard-link {
    color: #ffb21b;

    font-weight: 900;

    text-decoration: none;
    white-space: nowrap;
}

.public-nav-logout-form {
    margin: 0;
}


/* ==========================================================
   MENU BUTTON
   ========================================================== */

.public-menu-toggle {
    display: none;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    margin-inline-start: auto;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.045);

    cursor: pointer;
}

.public-menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 3px auto;

    border-radius: 999px;

    background: #ffffff;
}

.public-nav-backdrop {
    position: fixed;
    inset: 76px 0 0;

    z-index: 890;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;

    background: rgba(0, 0, 0, 0.58);

    backdrop-filter: blur(2px);
}

.public-nav-backdrop[hidden] {
    display: none;
}


/* ==========================================================
   HERO — WIDE DESKTOP LAYOUT
   ========================================================== */

.home-hero {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(0, 0.98fr);

    align-items: center;

    gap: clamp(34px, 4vw, 68px);

    min-height: 500px;

    margin-top: 28px;

    padding:
        clamp(30px, 3vw, 46px)
        clamp(32px, 3.4vw, 56px);

    overflow: hidden;

    box-sizing: border-box;
}

.home-hero-content {
    width: 100%;
    max-width: 760px;

    align-self: center;

    text-align: right;
}

.home-eyebrow {
    margin-bottom: 13px;

    font-size: 0.94rem;
    line-height: 1.7;
}


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

.home-title {
    width: max-content;
    max-width: 100%;

    margin: 0;

    font-size: clamp(
        2.25rem,
        2.65vw,
        3rem
    );

    line-height: 1.17;

    letter-spacing: -0.02em;

    white-space: nowrap;

    text-wrap: nowrap;
}

.home-title-line {
    display: inline;

    font-size: inherit;
    line-height: inherit;
}

/*
 * الهوية داخل الهيرو تظل صفًا منفصلًا
 * حتى لا تدخل داخل جملة العنوان.
 */
.hero-brand-signature {
    width: max-content;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 17px;

    white-space: normal;
}

.hero-brand-logo-wrap,
.hero-brand-mark {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    min-width: 40px;
}

.hero-brand-name {
    font-size: clamp(
        1.05rem,
        1.18vw,
        1.28rem
    );

    line-height: 1.35;
}

.home-description {
    max-width: 700px;

    margin-top: 22px;
    margin-bottom: 0;

    font-size: clamp(
        1rem,
        1.02vw,
        1.12rem
    );

    line-height: 1.9;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    margin-top: 27px;
}

.home-highlights {
    margin-top: 28px;
}


/* ==========================================================
   PHYSICS PANEL
   ========================================================== */

.home-physics-panel {
    position: relative;

    width: min(100%, 560px);

    min-height: 400px;

    margin-inline: auto;

    align-self: center;
    justify-self: center;

    overflow: hidden;

    isolation: isolate;
}

/*
 * تعطيل المدارين السابقين اللذين كانا يدوران
 * اعتمادًا على الـ panel وليس على النواة.
 */
.home-physics-panel::before,
.home-physics-panel::after {
    content: none !important;

    animation: none !important;
}


/* ==========================================================
   ATOM — EXACT NUCLEUS CENTER
   ========================================================== */

.physics-brand-core {
    position: relative !important;

    z-index: 8;

    overflow: visible !important;

    isolation: isolate;

    animation: none !important;
}

/*
 * مركز كلا المدارين هو 50% / 50% من
 * physics-brand-core نفسه.
 *
 * أي تغيير في مكان النواة ينقل المدارات معها آليًا.
 */
.physics-brand-core::before,
.physics-brand-core::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 1;

    border-radius: 50%;

    pointer-events: none;

    transform-origin: 50% 50%;

    will-change: transform;

    box-sizing: border-box;
}

/*
 * المدار الأول:
 * أفقي مائل، دوران يمين.
 */
.physics-brand-core::before {
    width: clamp(300px, 25vw, 440px);
    height: clamp(112px, 9vw, 156px);

    border:
        1.2px solid
        rgba(255, 174, 24, 0.56);

    background:
        radial-gradient(
            circle at 99% 50%,
            #ffd36b 0 3px,
            #ffad18 4px 6px,
            rgba(255, 174, 24, 0.32) 7px,
            transparent 11px
        );

    box-shadow:
        0 0 34px rgba(255, 174, 24, 0.035);

    animation:
        noorAtomOrbitClockwise
        12s
        linear
        infinite;
}

/*
 * المدار الثاني:
 * نفس المركز، اتجاه وزاوية مختلفة،
 * دوران عكسي.
 */
.physics-brand-core::after {
    width: clamp(292px, 24vw, 425px);
    height: clamp(108px, 8.7vw, 150px);

    border:
        1.1px solid
        rgba(255, 174, 24, 0.44);

    background:
        radial-gradient(
            circle at 1% 50%,
            #ffffff 0 2px,
            #ffbf37 3px 6px,
            rgba(255, 174, 24, 0.28) 7px,
            transparent 11px
        );

    box-shadow:
        0 0 30px rgba(255, 174, 24, 0.028);

    animation:
        noorAtomOrbitCounterClockwise
        15s
        linear
        infinite;
}

/*
 * كل ما داخل النواة فوق المدارات.
 */
.physics-brand-core > * {
    position: relative;

    z-index: 3;
}


/* نفس المركز — اتجاهين متعاكسين */

@keyframes noorAtomOrbitClockwise {
    from {
        transform:
            translate(-50%, -50%)
            rotate(18deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(378deg);
    }
}

@keyframes noorAtomOrbitCounterClockwise {
    from {
        transform:
            translate(-50%, -50%)
            rotate(67deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(-293deg);
    }
}


/* ==========================================================
   REMOVE DUPLICATED FINAL CTA
   ========================================================== */

.final-cta {
    display: none !important;
}


/* ==========================================================
   SECTION WIDTH CONSISTENCY
   ========================================================== */

.home-section {
    box-sizing: border-box;
}

.home-section-inner {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
}

.home-section-inner > .feature-grid,
.home-section-inner > .learning-map,
.home-section-inner > .learning-steps,
.home-section-inner > .payment-note {
    width: 100%;

    max-width: none !important;
}


/* ==========================================================
   LAPTOP
   ========================================================== */

@media (max-width: 1180px) {
    .public-header-inner,
    .home-hero,
    .home-section,
    .footer-inner {
        width: 94vw;
    }

    .home-hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, .86fr);

        gap: 34px;

        min-height: 480px;

        padding-inline: 34px;
    }

    .home-title {
        font-size: clamp(
            2.12rem,
            3.7vw,
            2.7rem
        );
    }

    .home-physics-panel {
        min-height: 380px;
    }
}


/* ==========================================================
   TABLET / MOBILE HEADER
   ========================================================== */

@media (max-width: 980px) {
    .public-header-inner {
        width: calc(100% - 28px);

        min-height: 70px;

        gap: 14px;
    }

    .public-brand-image,
    .public-brand-mark {
        flex-basis: 43px;

        width: 43px;
        height: 43px;
    }

    .public-brand-text {
        max-width: min(48vw, 250px);

        font-size: 1rem;
    }

    .public-menu-toggle {
        display: block;
    }

    .public-nav {
        position: fixed;

        top: 82px;
        right: 14px;
        left: 14px;

        z-index: 1001;

        display: none;

        max-height: calc(100vh - 100px);

        overflow-y: auto;

        padding: 16px;

        border:
            1px solid
            rgba(255, 255, 255, 0.09);

        border-radius: 19px;

        background:
            linear-gradient(
                145deg,
                rgba(10, 17, 28, 0.99),
                rgba(6, 11, 18, 0.99)
            );

        box-shadow:
            0 28px 70px
            rgba(0, 0, 0, 0.48);

        grid-template-columns: 1fr;

        gap: 14px;
    }

    .public-nav.active {
        display: grid;
    }

    .public-nav-primary {
        display: grid;

        grid-template-columns: 1fr;

        gap: 4px;
    }

    .public-nav-primary a {
        width: 100%;

        min-height: 46px;

        justify-content: flex-start;

        padding-inline: 14px;
    }

    .public-nav-actions {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        padding-top: 14px;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.08);
    }

    .public-nav-actions .btn {
        width: 100%;

        min-width: 0;
    }

    .public-nav-account {
        grid-column: 1 / -1;

        justify-content: space-between;
    }

    .public-nav-logout-form {
        grid-column: 1 / -1;
    }

    .public-nav-logout-form .btn {
        width: 100%;
    }

    .public-nav-backdrop {
        inset: 70px 0 0;
    }


    /* HERO */

    .home-hero,
    .home-section,
    .footer-inner {
        width: calc(100% - 28px);
    }

    .home-hero {
        grid-template-columns: 1fr;

        gap: 34px;

        min-height: auto;

        padding:
            34px
            26px;
    }

    .home-hero-content {
        max-width: 740px;

        margin-inline: auto;

        text-align: center;
    }

    .home-title {
        width: auto;

        max-width: 100%;

        margin-inline: auto;

        font-size: clamp(
            2rem,
            6vw,
            2.65rem
        );

        white-space: normal;

        text-wrap: balance;
    }

    .hero-brand-signature {
        margin-inline: auto;
    }

    .home-description {
        margin-inline: auto;
    }

    .home-actions {
        justify-content: center;
    }

    .home-highlights {
        justify-content: center;
    }

    .home-physics-panel {
        width: min(100%, 590px);

        min-height: 350px;
    }
}


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

@media (max-width: 620px) {
    .public-header-inner,
    .home-hero,
    .home-section,
    .footer-inner {
        width: calc(100% - 20px);
    }

    .public-header-inner {
        min-height: 66px;
    }

    .public-brand {
        gap: 8px;
    }

    .public-brand-image,
    .public-brand-mark {
        flex-basis: 39px;

        width: 39px;
        height: 39px;
    }

    .public-brand-text {
        max-width: calc(100vw - 112px);

        font-size: .94rem;
    }

    .public-menu-toggle {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .public-nav {
        top: 76px;
        right: 10px;
        left: 10px;

        padding: 14px;
    }

    .public-nav-actions {
        grid-template-columns: 1fr;
    }

    .public-nav-account {
        display: grid;

        grid-template-columns: 1fr;
    }

    .public-nav-welcome {
        max-width: 100%;
    }

    .public-nav-backdrop {
        inset: 66px 0 0;
    }


    /* HERO */

    .home-hero {
        gap: 28px;

        padding:
            30px
            16px;

        border-radius: 21px;
    }

    .home-title {
        font-size: clamp(
            1.78rem,
            8vw,
            2.2rem
        );

        line-height: 1.22;
    }

    .hero-brand-logo-wrap,
    .hero-brand-mark {
        flex-basis: 37px;

        width: 37px;
        height: 37px;

        min-width: 37px;
    }

    .hero-brand-name {
        font-size: 1rem;
    }

    .home-description {
        margin-top: 17px;

        font-size: .98rem;
    }

    .home-actions {
        display: grid;

        grid-template-columns: 1fr;

        width: 100%;
    }

    .home-actions .btn {
        width: 100%;
    }

    .home-physics-panel {
        min-height: 300px;
    }

    .physics-brand-core::before {
        width: clamp(230px, 75vw, 310px);
        height: clamp(88px, 26vw, 112px);
    }

    .physics-brand-core::after {
        width: clamp(220px, 71vw, 295px);
        height: clamp(84px, 24vw, 106px);
    }
}


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

@media (max-width: 420px) {
    .home-hero {
        padding:
            31px
            14px;
    }

    .home-title {
        font-size: 1.76rem;
    }

    .home-physics-panel {
        min-height: 280px;
    }
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    .physics-brand-core::before,
    .physics-brand-core::after {
        animation: none !important;
    }
}

/* ===== REVIEW-01 ABOUT COMPACT V4 ===== */

/* Outer section only controls page alignment */
.platform-about-section {
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;

    box-shadow: none !important;
}

/* Compact modern card */
.platform-about {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(480px, .92fr);

    align-items: center;

    gap: clamp(34px, 4vw, 68px);

    width: 100%;

    min-height: 0;

    padding:
        clamp(28px, 2.4vw, 38px)
        clamp(30px, 3vw, 48px);

    border:
        1px solid
        rgba(148, 163, 184, .16);

    border-radius: 26px;

    background:
        linear-gradient(
            110deg,
            rgba(17, 28, 43, .96),
            rgba(17, 22, 30, .96) 58%,
            rgba(36, 29, 18, .78)
        );

    box-shadow:
        0 22px 60px
        rgba(0, 0, 0, .18);

    overflow: hidden;

    box-sizing: border-box;
}

/* Very restrained visual accent */
.platform-about::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -110px;
    bottom: -135px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 174, 24, .14),
            rgba(255, 174, 24, 0) 70%
        );

    pointer-events: none;
}

/* Remove any old decorative layer */
.platform-about::after {
    content: none !important;
}


/* ----------------------------------------------------------
   TEXT CONTENT
---------------------------------------------------------- */

.platform-about-content {
    position: relative;

    z-index: 2;

    min-width: 0;

    text-align: right;
}

.platform-about-content .section-kicker {
    display: inline-flex;

    margin-bottom: 9px;
}

.platform-about-content h2 {
    max-width: 720px;

    margin:
        0
        0
        14px;

    color: #ffffff;

    font-size: clamp(
        1.75rem,
        2.15vw,
        2.45rem
    );

    line-height: 1.28;

    letter-spacing: -.018em;
}

.platform-about-description {
    max-width: 760px;

    margin: 0;

    color: #aebdd0;

    font-size: clamp(
        .98rem,
        1vw,
        1.08rem
    );

    line-height: 1.85;
}


/* ----------------------------------------------------------
   QUICK POINTS
---------------------------------------------------------- */

.platform-about-points {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-top: 20px;
}

.platform-about-points span {
    min-height: 42px;

    display: flex;
    align-items: center;

    padding-inline: 13px;

    border:
        1px solid
        rgba(148, 163, 184, .13);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, .035);

    color: #d8e1ec;

    font-size: .88rem;
    font-weight: 800;

    white-space: nowrap;
}

.platform-about-points span::before {
    content: "";

    flex: 0 0 7px;

    width: 7px;
    height: 7px;

    margin-inline-end: 9px;

    border-radius: 50%;

    background: #ffad18;

    box-shadow:
        0 0 12px
        rgba(255, 174, 24, .5);
}


/* ----------------------------------------------------------
   LEARNING ROUTE
---------------------------------------------------------- */

.platform-learning-map {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    align-items: center;

    gap: 9px;

    width: 100%;

    padding: 20px;

    border:
        1px solid
        rgba(148, 163, 184, .14);

    border-radius: 20px;

    background:
        rgba(7, 13, 22, .36);

    box-sizing: border-box;
}

/* Connector running behind the five nodes */
.platform-learning-map::before {
    content: "";

    position: absolute;

    top: 50%;
    right: 8%;
    left: 8%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 174, 24, .04),
            rgba(255, 174, 24, .46),
            rgba(255, 174, 24, .04)
        );

    transform: translateY(-50%);

    pointer-events: none;
}

.learning-map-item {
    position: relative;

    z-index: 2;

    min-width: 0;
    min-height: 82px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 10px 8px;

    border:
        1px solid
        rgba(148, 163, 184, .16);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(28, 39, 53, .98),
            rgba(21, 30, 41, .98)
        );

    box-shadow:
        0 9px 22px
        rgba(0, 0, 0, .12);
}

.learning-map-item span {
    color: #ffad18;

    font-size: .72rem;
    font-weight: 900;
}

.learning-map-item strong {
    color: #ffffff;

    font-size: .9rem;
    font-weight: 900;

    white-space: nowrap;
}


/* Old explicit arrows are no longer used */
.platform-learning-map .learning-map-arrow {
    display: none !important;
}


/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 1100px) {
    .platform-about {
        grid-template-columns: 1fr;

        gap: 26px;

        padding:
            30px
            32px;
    }

    .platform-about-content h2,
    .platform-about-description {
        max-width: none;
    }

    .platform-learning-map {
        max-width: none;

        margin: 0;
    }
}


/* ----------------------------------------------------------
   PHONE
---------------------------------------------------------- */

@media (max-width: 680px) {
    .platform-about {
        gap: 22px;

        padding:
            25px
            18px;

        border-radius: 21px;
    }

    .platform-about-content h2 {
        margin-bottom: 12px;

        font-size: clamp(
            1.6rem,
            7vw,
            2rem
        );
    }

    .platform-about-description {
        font-size: .95rem;

        line-height: 1.75;
    }

    .platform-about-points {
        grid-template-columns: 1fr;

        gap: 7px;

        margin-top: 16px;
    }

    .platform-about-points span {
        min-height: 39px;

        white-space: normal;
    }

    .platform-learning-map {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        padding: 14px;
    }

    .platform-learning-map::before {
        content: none;
    }

    .learning-map-item {
        min-height: 68px;
    }

    .learning-map-item:last-child {
        grid-column: 1 / -1;
    }
}

/* ===== END REVIEW-01 ABOUT COMPACT V4 ===== */

/* ===== END REVIEW-01 PUBLIC HOME V3 ===== */
