
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800;900&display=swap');

:root {
    color-scheme: dark;
    --bg: #07110e;
    --bg-soft: #0b1712;
    --surface: rgba(17, 34, 26, .76);
    --surface-solid: #102019;
    --green: #65f0a1;
    --green-light: #a0ffca;
    --green-dark: #16a05b;
    --text: #f2fff7;
    --muted: #9aafa2;
    --border: rgba(166, 255, 202, .13);
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, .28);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 83% 8%, rgba(21, 139, 77, .13), transparent 35%),
        radial-gradient(ellipse at 0% 45%, rgba(27, 91, 59, .10), transparent 34%),
        var(--bg);
    color: var(--text);
    font-family: 'Tajawal', Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .14;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

::selection {
    color: #06140b;
    background: var(--green);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

img,
svg {
    max-width: 100%;
}

.wrap {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Header */

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(181, 255, 211, .08);
    background: rgba(7, 17, 14, .78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(160, 255, 202, .34);
    border-radius: 15px;
    background: linear-gradient(145deg, #7affb2, #1ba965 70%);
    box-shadow: 0 5px 28px rgba(45, 220, 123, .19), inset 0 1px rgba(255,255,255,.45);
    color: #062213;
    font-size: 23px;
    font-weight: 900;
    transform: rotate(-4deg);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.brand:hover .brand-mark {
    transform: rotate(4deg) translateY(-2px);
    box-shadow: 0 8px 34px rgba(45, 220, 123, .32);
}

.brand-copy {
    display: grid;
    line-height: 1.3;
}

.brand-copy strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .6px;
}

.nav > a:not(.brand),
.nav > .button {
    flex-shrink: 0;
}

/* Hero */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: clamp(36px, 6vw, 88px);
    min-height: 670px;
    padding-block: 90px 100px;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 11%;
    right: 23%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(36, 202, 112, .08);
    filter: blur(100px);
    content: "";
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    animation: enter-up .9s var(--ease) both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 8px 14px;
    border: 1px solid rgba(120, 255, 176, .18);
    border-radius: 999px;
    background: rgba(46, 151, 91, .10);
    color: #b4fbd0;
    font-size: 13px;
    font-weight: 700;
}

.eyebrow::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(101, 240, 161, .10), 0 0 15px var(--green);
    content: "";
    animation: pulse-dot 2.3s ease-in-out infinite;
}

.hero h1 {
    max-width: 680px;
    margin: 25px 0 20px;
    color: var(--text);
    font-size: clamp(39px, 5.3vw, 68px);
    font-weight: 900;
    line-height: 1.19;
    letter-spacing: -2.1px;
}

.hero h1 .highlight,
.hero h1 span {
    color: var(--green);
    background: linear-gradient(100deg, #b4ffd1 4%, #62f09e 48%, #2cbe76 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy > p {
    max-width: 560px;
    margin: 0;
    color: #a9bdb0;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 12px 22px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    transition:
        transform .28s var(--ease),
        box-shadow .28s var(--ease),
        border-color .28s ease,
        background .28s ease;
}

.button::after {
    position: absolute;
    top: -80%;
    left: -45%;
    width: 30%;
    height: 260%;
    background: rgba(255, 255, 255, .23);
    content: "";
    transform: rotate(25deg) translateX(-220%);
    transition: transform .65s var(--ease);
    pointer-events: none;
}

.button:hover::after {
    transform: rotate(25deg) translateX(650%);
}

.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(-1px) scale(.985);
}

.button-primary {
    color: #061b0e;
    background: linear-gradient(120deg, #a2ffca, #57e994 55%, #39ce7c);
    box-shadow: 0 9px 30px rgba(48, 210, 117, .18), inset 0 1px rgba(255,255,255,.55);
}

.button-primary:hover {
    box-shadow: 0 14px 42px rgba(48, 210, 117, .30), inset 0 1px rgba(255,255,255,.55);
}

.button-secondary {
    border-color: rgba(179, 237, 200, .17);
    background: rgba(255, 255, 255, .035);
    color: #e8f9ee;
}

.button-secondary:hover {
    border-color: rgba(126, 255, 174, .42);
    background: rgba(80, 211, 129, .08);
}

.micro-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #91a89a;
    font-size: 13px;
}

.proof-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(101, 240, 161, .65);
}

/* Hero visual */

.visual-stage {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 470px;
    place-items: center;
    perspective: 1100px;
    animation: enter-visual 1.1s .12s var(--ease) both;
}

.visual-stage::before {
    position: absolute;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 211, 124, .16), rgba(22, 114, 66, .04) 48%, transparent 72%);
    filter: blur(14px);
    content: "";
    animation: aura 7s ease-in-out infinite alternate;
}

.visual-stage::after {
    position: absolute;
    z-index: -1;
    width: 76%;
    height: 40px;
    bottom: 12%;
    border-radius: 50%;
    background: rgba(28, 198, 103, .15);
    filter: blur(36px);
    content: "";
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(114, 255, 171, .14);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-23deg);
    pointer-events: none;
}

.orbit-one {
    width: 112%;
    height: 58%;
    animation: orbit-drift 18s linear infinite;
}

.orbit-two {
    width: 95%;
    height: 83%;
    border-color: rgba(114, 255, 171, .09);
    transform: translate(-50%, -50%) rotate(48deg);
    animation: orbit-drift 25s linear infinite reverse;
}

.learning-card {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    padding: 23px;
    overflow: hidden;
    border: 1px solid rgba(180, 255, 210, .19);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(31, 58, 43, .88), rgba(9, 22, 15, .94)),
        var(--surface);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, .42),
        0 0 60px rgba(40, 194, 105, .08),
        inset 0 1px rgba(255,255,255,.07);
    backdrop-filter: blur(24px);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform .65s var(--ease), box-shadow .65s var(--ease);
    animation: card-float 7s ease-in-out infinite;
}

.visual-stage:hover .learning-card {
    box-shadow:
        0 42px 100px rgba(0, 0, 0, .48),
        0 0 75px rgba(40, 194, 105, .14),
        inset 0 1px rgba(255,255,255,.09);
    transform: rotateY(0) rotateX(0) translateY(-4px);
}

.learning-card::before {
    position: absolute;
    top: -130px;
    left: -90px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(86, 255, 151, .11);
    filter: blur(45px);
    content: "";
    pointer-events: none;
}

.learning-top,
.learning-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.learning-top {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(181, 255, 211, .10);
}

.mini-logo {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border: 1px solid rgba(148, 255, 188, .22);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(105, 245, 157, .23), rgba(29, 130, 72, .12));
    color: var(--green-light);
    font-size: 18px;
    font-weight: 900;
}

.card-label {
    margin-inline-start: auto;
    color: #a4b9aa;
    font-size: 12px;
}

.card-menu {
    display: flex;
    gap: 4px;
}

.card-menu span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #769181;
}

.learning-heading {
    position: relative;
    margin: 23px 0 17px;
}

.learning-heading small {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.learning-heading h3 {
    margin: 5px 0 0;
    color: #f2fff7;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.45;
}

.lesson-preview {
    position: relative;
    display: grid;
    min-height: 182px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(166, 255, 202, .13);
    border-radius: 19px;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(119, 255, 170, .19), transparent 45%),
        linear-gradient(135deg, #153e29, #0b2116 72%);
}

.lesson-preview::before,
.lesson-preview::after {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(132, 255, 179, .12);
    border-radius: 50%;
    content: "";
}

.lesson-preview::before {
    transform: scale(.72);
}

.lesson-preview::after {
    transform: scale(1.1);
}

.play-symbol {
    position: relative;
    z-index: 1;
    display: grid;
    width: 65px;
    height: 65px;
    place-items: center;
    padding-inline-start: 4px;
    border: 1px solid rgba(218, 255, 231, .55);
    border-radius: 50%;
    background: linear-gradient(145deg, #b0ffd0, #5be995);
    box-shadow: 0 0 0 9px rgba(100, 241, 158, .09), 0 10px 35px rgba(0, 0, 0, .25);
    color: #07331a;
    font-size: 23px;
    transition: transform .3s var(--ease), box-shadow .3s ease;
}

.lesson-preview:hover .play-symbol {
    transform: scale(1.09);
    box-shadow: 0 0 0 13px rgba(100, 241, 158, .10), 0 10px 40px rgba(0, 0, 0, .3);
}

.lesson-arrow {
    position: absolute;
    right: 17px;
    bottom: 14px;
    color: #a4eabd;
    font-size: 12px;
}

.learning-footer {
    padding-top: 17px;
}

.footer-lines {
    display: grid;
    flex: 1;
    gap: 7px;
}

.footer-lines span {
    display: block;
    width: 100%;
    max-width: 140px;
    height: 6px;
    border-radius: 10px;
    background: rgba(190, 225, 201, .13);
}

.footer-lines span:last-child {
    width: 64%;
    background: rgba(190, 225, 201, .08);
}

.learning-footer strong {
    color: var(--green-light);
    font-size: 13px;
}

.float-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 205px;
    padding: 13px 15px;
    border: 1px solid rgba(174, 255, 204, .18);
    border-radius: 17px;
    background: rgba(13, 31, 21, .88);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
    animation: note-float 6s ease-in-out infinite;
}

.note-top {
    top: 11%;
    right: -3%;
}

.note-bottom {
    bottom: 9%;
    left: -4%;
    animation-delay: -3s;
}

.note-icon,
.note-check {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(94, 238, 151, .12);
    color: var(--green-light);
    font-size: 18px;
    font-weight: 800;
}

.note-check {
    border-radius: 50%;
    background: linear-gradient(145deg, #a2ffca, #4cdd88);
    color: #07351b;
}

.float-note div {
    display: grid;
    gap: 1px;
}

.float-note strong {
    color: #effff4;
    font-size: 13px;
    line-height: 1.5;
}

.float-note small {
    color: #9cb3a3;
    font-size: 11px;
}

/* Features */

.features {
    position: relative;
    padding-block: 90px 110px;
    border-top: 1px solid rgba(177, 255, 208, .07);
}

.section-intro {
    max-width: 670px;
    margin: 0 auto 43px;
    text-align: center;
}

.section-intro .eyebrow {
    margin-bottom: 14px;
}

.section-intro h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1px;
}

.section-intro p {
    max-width: 570px;
    margin: 13px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.features-grid,
.features > .wrap {
    position: relative;
}

.features .feature {
    position: relative;
    min-height: 210px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(20, 43, 29, .68), rgba(9, 23, 15, .64));
    transition: transform .35s var(--ease), border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.features .feature::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(132, 255, 177, .38), transparent);
    content: "";
    opacity: 0;
    transition: opacity .35s ease;
}

.features .feature:hover {
    border-color: rgba(120, 255, 174, .30);
    background: linear-gradient(145deg, rgba(25, 56, 37, .84), rgba(10, 29, 18, .82));
    box-shadow: 0 22px 50px rgba(0, 0, 0, .20), 0 0 30px rgba(49, 204, 115, .05);
    transform: translateY(-7px);
}

.features .feature:hover::after {
    opacity: 1;
}

.feature-index {
    display: grid;
    width: 47px;
    height: 47px;
    margin-bottom: 20px;
    place-items: center;
    border: 1px solid rgba(112, 255, 169, .19);
    border-radius: 14px;
    background: rgba(76, 216, 127, .09);
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}

.feature h3 {
    margin: 0 0 8px;
    color: #edfff3;
    font-size: 20px;
    font-weight: 800;
}

.feature p {
    margin: 0;
    color: #9db3a3;
    font-size: 14px;
    line-height: 1.9;
}

/* Closing CTA */

.closing {
    position: relative;
    padding: 0 0 100px;
}

.closing > .wrap,
.closing .closing-inner {
    position: relative;
    overflow: hidden;
    padding: clamp(35px, 6vw, 70px);
    border: 1px solid rgba(143, 255, 187, .22);
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(83, 255, 155, .15), transparent 45%),
        linear-gradient(135deg, #122e1e, #0b1b12 68%);
    box-shadow: var(--shadow);
}

.closing > .wrap::before,
.closing .closing-inner::before {
    position: absolute;
    top: -150px;
    left: -100px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(136, 255, 178, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(136, 255, 178, .025), 0 0 0 65px rgba(136, 255, 178, .02);
    content: "";
    pointer-events: none;
}

.closing h2 {
    position: relative;
    max-width: 650px;
    margin: 0 0 14px;
    color: #f3fff7;
    font-size: clamp(29px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.35;
}

.closing p {
    position: relative;
    max-width: 570px;
    margin: 0;
    color: #a9c1b1;
}

.closing .button {
    margin-top: 25px;
}

.button-light {
    color: #082112;
    background: linear-gradient(120deg, #c1ffda, #6df2a5);
    box-shadow: 0 10px 28px rgba(59, 221, 126, .15);
}

.button-light:hover {
    box-shadow: 0 15px 38px rgba(59, 221, 126, .26);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(180, 255, 210, .08);
    background: rgba(4, 12, 8, .35);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 27px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dff9e8;
    font-size: 14px;
    font-weight: 800;
}

.footer-brand .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
    font-size: 17px;
}

.site-footer p {
    margin: 0;
    color: #82998a;
    font-size: 12px;
}

/* Shared form elements */

input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid rgba(166, 255, 202, .15);
    border-radius: 13px;
    background: rgba(5, 17, 10, .72);
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #718b79;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(101, 240, 161, .65);
    background: rgba(8, 24, 14, .92);
    box-shadow: 0 0 0 4px rgba(101, 240, 161, .08);
    outline: none;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #d5e9dc;
    font-size: 14px;
    font-weight: 700;
}

::placeholder {
    opacity: 1;
}

/* Scrollbars */

* {
    scrollbar-width: thin;
    scrollbar-color: #286443 #09130d;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #09130d;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #09130d;
    border-radius: 99px;
    background: #286443;
}

::-webkit-scrollbar-thumb:hover {
    background: #3e9562;
}

/* Motion */

@keyframes enter-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes enter-visual {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes card-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -9px;
    }
}

@keyframes note-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

@keyframes orbit-drift {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

@keyframes aura {
    from {
        opacity: .6;
        scale: .92;
    }
    to {
        opacity: 1;
        scale: 1.08;
    }
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(101, 240, 161, .08), 0 0 12px var(--green);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(101, 240, 161, .025), 0 0 19px var(--green);
    }
}

/* Responsive */

@media (min-width: 1400px) {
    .hero {
        min-height: 730px;
    }

    .visual-stage {
        transform: scale(1.04);
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 65px 70px;
    }

    .hero-copy {
        max-width: 720px;
        margin-inline: auto;
        text-align: center;
    }

    .hero-copy > p {
        margin-inline: auto;
    }

    .hero-actions,
    .micro-proof {
        justify-content: center;
    }

    .visual-stage {
        width: min(100%, 570px);
        margin-inline: auto;
    }

    .features {
        padding-block: 65px 80px;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 32px, 520px);
    }

    .nav {
        min-height: 70px;
        gap: 12px;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 13px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        font-size: 10px;
    }

    .nav .button {
        min-height: 41px;
        padding: 10px 13px;
        border-radius: 11px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        gap: 18px;
        padding-block: 52px 60px;
    }

    .eyebrow {
        padding: 7px 11px;
        font-size: 11px;
    }

    .hero h1 {
        margin-top: 20px;
        font-size: clamp(35px, 9.2vw, 49px);
        letter-spacing: -1.2px;
    }

    .hero-copy > p {
        font-size: 15px;
        line-height: 1.9;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 23px;
    }

    .hero-actions .button {
        flex: 1 1 auto;
        min-width: 145px;
        padding-inline: 14px;
        font-size: 13px;
    }

    .micro-proof {
        font-size: 11px;
    }

    .visual-stage {
        min-height: 390px;
        transform: scale(.94);
        transform-origin: top center;
        margin-bottom: -20px;
    }

    .learning-card {
        width: min(100%, 350px);
        padding: 18px;
        border-radius: 22px;
        transform: none;
    }

    .learning-heading h3 {
        font-size: 21px;
    }

    .lesson-preview {
        min-height: 155px;
    }

    .float-note {
        max-width: 170px;
        padding: 10px;
        gap: 8px;
        border-radius: 14px;
    }

    .note-top {
        top: 4%;
        right: -2%;
    }

    .note-bottom {
        bottom: 3%;
        left: -2%;
    }

    .note-icon,
    .note-check {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 10px;
        font-size: 15px;
    }

    .float-note strong {
        font-size: 11px;
    }

    .float-note small {
        font-size: 10px;
    }

    .orbit-one {
        width: 115%;
    }

    .features {
        padding-block: 55px 65px;
    }

    .section-intro {
        margin-bottom: 27px;
    }

    .section-intro h2 {
        font-size: 30px;
    }

    .section-intro p {
        font-size: 14px;
    }

    .features .feature {
        min-height: auto;
        padding: 22px;
        border-radius: 18px;
    }

    .feature-index {
        width: 41px;
        height: 41px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .feature h3 {
        font-size: 18px;
    }

    .feature p {
        font-size: 13px;
    }

    .closing {
        padding-bottom: 65px;
    }

    .closing > .wrap,
    .closing .closing-inner {
        padding: 29px 23px;
        border-radius: 23px;
    }

    .closing h2 {
        font-size: 29px;
    }

    .closing p {
        font-size: 14px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-block: 22px;
    }
}

@media (max-width: 380px) {
    .wrap {
        width: calc(100% - 24px);
    }

    .brand-copy small {
        letter-spacing: 0;
    }

    .nav {
        gap: 7px;
    }

    .nav .button {
        padding-inline: 10px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .visual-stage {
        min-height: 350px;
        transform: scale(.88);
        margin-bottom: -35px;
    }

    .float-note {
        max-width: 150px;
    }
}

/* Respect accessibility settings */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* Premium homepage visual layer */
:root {
    --premium-glow: rgba(82, 255, 157, .16);
    --premium-line: rgba(155, 255, 194, .18);
}

.site-header {
    transition: background .3s ease, border-color .3s ease;
}

.site-header:hover {
    border-bottom-color: var(--premium-line);
}

.hero {
    isolation: isolate;
}

.hero::after {
    position: absolute;
    z-index: -1;
    top: 8%;
    right: -12%;
    width: min(65vw, 750px);
    aspect-ratio: 1;
    border: 1px solid rgba(108, 255, 166, .06);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(108, 255, 166, .018),
        0 0 0 110px rgba(108, 255, 166, .012);
    content: "";
    pointer-events: none;
    animation: premium-ring 12s ease-in-out infinite alternate;
}

.hero h1 {
    text-wrap: balance;
    text-shadow: 0 6px 35px rgba(0, 0, 0, .13);
}

.hero-copy > p {
    text-wrap: pretty;
}

.button-primary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.button-primary::before {
    position: absolute;
    z-index: -1;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.42), transparent 75%);
    content: "";
    transform: translateX(-140%);
    transition: transform .7s ease;
}

.button-primary:hover::before {
    transform: translateX(140%);
}

.visual-stage {
    transform-style: preserve-3d;
}

.learning-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.learning-top {
    position: relative;
}

.learning-top::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 30%;
    height: 1px;
    background: var(--green);
    box-shadow: 0 0 15px var(--green);
    content: "";
}

.lesson-preview {
    isolation: isolate;
}

.lesson-preview::before {
    animation: preview-breathe 5s ease-in-out infinite alternate;
}

.play-symbol {
    animation: play-halo 3.5s ease-in-out infinite;
}

.float-note {
    transition: border-color .3s ease, background .3s ease;
}

.float-note:hover {
    border-color: rgba(139, 255, 181, .42);
    background: rgba(16, 42, 26, .96);
}

.features .feature,
.course-card {
    isolation: isolate;
}

.features .feature::before,
.course-card::before {
    position: absolute;
    z-index: -1;
    top: var(--pointer-y, 50%);
    left: var(--pointer-x, 50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 255, 154, .09), transparent 70%);
    content: "";
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .35s ease;
    pointer-events: none;
}

.features .feature:hover::before,
.course-card:hover::before {
    opacity: 1;
}

.course-card {
    transform-style: preserve-3d;
}

.course-art {
    position: relative;
    isolation: isolate;
}

.course-art::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(153, 255, 194, .07);
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.035), transparent 55%);
    content: "";
    pointer-events: none;
}

.course-art svg {
    transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease;
}

.course-card:hover .course-art svg {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 0 22px rgba(101,240,161,.32));
}

.section-intro h2,
.why-copy h2,
.closing h2 {
    text-wrap: balance;
}

.closing > .wrap,
.closing .closing-inner {
    box-shadow:
        0 28px 90px rgba(0, 0, 0, .25),
        inset 0 1px rgba(255,255,255,.035);
}

@keyframes premium-ring {
    from {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: .6;
    }
    to {
        transform: translate3d(-12px, 10px, 0) rotate(12deg);
        opacity: 1;
    }
}

@keyframes preview-breathe {
    from {
        opacity: .4;
        transform: scale(.78);
    }
    to {
        opacity: .95;
        transform: scale(1.12);
    }
}

@keyframes play-halo {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(100,241,158,.07), 0 10px 35px rgba(0,0,0,.25);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(100,241,158,.025), 0 10px 42px rgba(0,0,0,.32);
    }
}

@media (max-width: 640px) {
    .hero::after {
        right: -40%;
        width: 110vw;
    }

    .learning-card {
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .play-symbol,
    .lesson-preview::before {
        animation: none !important;
    }
}
