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

:root {
    --navy: #071a3d;
    --primary: #0866ff;
    --primary-dark: #004bd8;
    --primary-bright: #1d70ff;
    --primary-soft: #eaf3ff;
    --background: #f8fbff;
    --surface: #ffffff;
    --muted: #5b6d8b;
    --line: #dce8fb;
    --success: #12b76a;
    --orange: #ff8b1a;
    --purple: #7c3aed;
    --pink: #ef3e72;
    --footer: #071a3d;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow: 0 20px 55px rgba(7, 26, 61, .11);
    --soft-shadow: 0 12px 28px rgba(8, 102, 255, .12);
    --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    color: var(--navy);
    background: var(--background);
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}
.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}
.section-heading h2,
.split-content h2,
.contact-info h2,
.page-hero h1 {
    margin: 10px 0 14px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 42px;
    line-height: 1.25;
}
.section-heading p,
.page-hero p,
.split-content p,
.contact-info p,
.hero-text {
    color: var(--muted);
    margin: 0;
}

.btn {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 18px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn svg { font-size: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-bright)); color: #fff; box-shadow: 0 14px 28px rgba(8, 102, 255, .24); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 12px 28px rgba(255, 139, 26, .22); }
.btn-outline,
.btn-ghost { background: #fff; border-color: rgba(8, 102, 255, .28); color: var(--navy); }
.btn-large { min-height: 62px; padding: 15px 30px; font-size: 17px; border-radius: 22px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-dark-outline { color: #fff; border-color: rgba(255, 255, 255, .45); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: linear-gradient(180deg, rgba(248,251,255,.96), rgba(248,251,255,.75));
    backdrop-filter: blur(18px);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(7, 26, 61, .08); }
.site-header .container {
    width: 100%;
    max-width: none;
}
.nav-wrap {
    min-height: 72px;
    padding: 0 clamp(16px, 3.5vw, 56px);
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .96);
    display: grid;
    grid-template-columns: minmax(190px, .75fr) minmax(520px, 1.3fr) minmax(220px, .75fr);
    align-items: center;
    gap: 18px;
    box-shadow: 0 12px 34px rgba(7, 26, 61, .08);
}
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-width: 0; }
.brand-logo-link {
    width: 86px;
    height: 66px;
    justify-content: flex-start;
}
.header-logo {
    width: 86px;
    height: 66px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(8, 102, 255, .16));
}
.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(8, 102, 255, .26);
    position: relative;
}
.brand-mark:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: 2px;
    bottom: 4px;
    border-radius: 50%;
    background: #17d777;
    border: 3px solid #fff;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { color: var(--muted); font-size: 12px; }
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.desktop-nav a {
    position: relative;
    padding: 24px 0 22px;
    color: #334a70;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--primary); }
.desktop-nav a.active:after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.dashboard-link { min-width: 150px; }
.nav-icon-btn,
.menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
}
.nav-icon-btn svg { font-size: 23px; }
.menu-toggle { display: none; padding: 11px; border-radius: 14px; }
.menu-toggle span { display: block; height: 2px; width: 100%; margin: 4px 0; background: var(--navy); border-radius: 20px; }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
.mobile-menu-inner {
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.mobile-menu a { display: block; padding: 11px 6px; font-weight: 800; }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 44px;
    min-height: 690px;
    background:
        radial-gradient(circle at 18% 14%, rgba(8, 102, 255, .18), transparent 29%),
        radial-gradient(circle at 100% 100%, rgba(8, 102, 255, .12), transparent 33%),
        linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}
.hero:before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 44%;
    height: 250px;
    background: linear-gradient(135deg, #045de9, #1d70ff);
    clip-path: polygon(0 0, 100% 0, 86% 47%, 0 91%);
    opacity: .96;
}
.hero-bg-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}
.hero-bg-shape-one {
    width: 520px;
    height: 520px;
    right: -130px;
    top: 92px;
    border: 46px solid rgba(8, 102, 255, .09);
}
.hero-bg-shape-two {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -70px;
    background: rgba(8, 102, 255, .08);
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    align-items: center;
    gap: 44px;
    direction: ltr;
}
.hero-grid > * { direction: rtl; }
.hero-content { text-align: right; justify-self: stretch; padding-top: 32px; }
.eyebrow {
    padding: 9px 14px 9px 9px;
    border-radius: 999px;
    background: rgba(234, 243, 255, .95);
    box-shadow: inset 0 0 0 1px rgba(8, 102, 255, .08);
}
.eyebrow-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary-dark);
}
.eyebrow-icon svg { font-size: 24px; }
.hero h1 {
    margin: 24px 0 18px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: 0;
    color: var(--navy);
}
.hero-title-line {
    display: block;
}
.hero h1 .accent-line {
    display: block;
    color: var(--primary);
    position: relative;
}
.hero h1 .accent-line:after {
    content: "";
    display: block;
    height: 12px;
    width: min(100%, 520px);
    margin-top: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    clip-path: polygon(1% 45%, 100% 0, 97% 64%, 0 100%);
}
.hero-text { max-width: 620px; font-size: 21px; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin: 32px 0 27px; }
.hero-actions .btn { min-width: 252px; }
.hero-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    color: #334a70;
    font-size: 14px;
    font-weight: 800;
}
.hero-feature-row span { display: inline-flex; align-items: center; gap: 8px; }
.hero-feature-row svg {
    font-size: 28px;
    padding: 5px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 9px;
}
.hero-art {
    position: relative;
    min-height: 590px;
    isolation: isolate;
}
.hero-orbit {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}
.hero-orbit-large {
    width: 470px;
    height: 470px;
    right: 110px;
    top: 112px;
    background: linear-gradient(135deg, var(--primary), #0057e6);
    box-shadow: inset 0 0 0 24px rgba(255,255,255,.12);
}
.hero-orbit-small {
    width: 520px;
    height: 520px;
    right: 82px;
    top: 86px;
    border: 2px solid rgba(8, 102, 255, .22);
    border-right-color: rgba(255,255,255,.72);
}
.teacher-image {
    position: absolute;
    z-index: 3;
    right: 155px;
    bottom: -6px;
    width: min(430px, 58vw);
    height: auto;
    filter: drop-shadow(0 24px 38px rgba(7, 26, 61, .18));
}
.signature-note {
    position: absolute;
    z-index: 4;
    top: 132px;
    left: 345px;
    right: auto;
    transform: rotate(-7deg);
    color: var(--navy);
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}
.signature-note span {
    display: block;
    color: var(--orange);
    font-family: "Segoe Script", cursive;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .92), 0 10px 18px rgba(255, 139, 26, .2);
}
.signature-note strong { display: block; font-size: 22px; line-height: 1.25; direction: ltr; text-align: left; unicode-bidi: isolate; }
.signature-note small { display: block; letter-spacing: 7px; text-transform: uppercase; font-size: 10px; color: #16315f; direction: ltr; text-align: left; }
.code-window {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 92px;
    width: 300px;
    height: 170px;
    border-radius: 16px;
    background: #082754;
    box-shadow: 0 20px 35px rgba(7, 26, 61, .2);
    transform: rotate(-8deg);
    padding: 22px 24px;
}
.code-window span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-inline-end: 8px;
    border-radius: 50%;
    background: #ef476f;
}
.code-window span:nth-child(2) { background: #ffd166; }
.code-window span:nth-child(3) { background: #06d6a0; }
.code-window i {
    display: block;
    height: 6px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1d70ff 0 42%, #ff8b1a 42% 58%, #2fc7ff 58%);
    opacity: .92;
}
.code-window i:nth-of-type(2) { width: 78%; }
.code-window i:nth-of-type(3) { width: 55%; }
.code-window i:nth-of-type(4) { width: 70%; }
.code-window i:nth-of-type(5) { width: 46%; }
.cap-icon {
    display: none;
}
.cap-icon svg { width: 100%; height: auto; fill: #092d69; stroke: #092d69; }
.code-badge {
    position: absolute;
    z-index: 4;
    right: 560px;
    top: 210px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
    box-shadow: var(--soft-shadow);
}
.floating-card {
    position: absolute;
    z-index: 5;
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid rgba(220, 232, 251, .95);
    border-radius: 17px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floaty 4s ease-in-out infinite;
}
.lesson-card { left: 84px; top: 280px; }
.smart-card { right: 20px; bottom: 42px; animation-delay: .8s; }
.floating-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
}
.floating-icon svg { font-size: 25px; }
.floating-icon.blue { color: var(--primary); background: var(--primary-soft); }
.floating-icon.green { color: #fff; background: linear-gradient(135deg, #18c96e, #08a656); border-radius: 50%; }
.floating-card strong { display: block; font-size: 14px; }
.floating-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.dot-cluster {
    position: absolute;
    z-index: 2;
    left: 126px;
    bottom: 70px;
    width: 110px;
    height: 90px;
    background-image: radial-gradient(var(--primary-bright) 1.5px, transparent 1.5px);
    background-size: 13px 13px;
    opacity: .35;
}

.stats-strip {
    margin-top: -24px;
    position: relative;
    z-index: 6;
    background: transparent;
}
.stats-grid {
    padding: 22px 28px;
    border: 1px solid rgba(220, 232, 251, .85);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    min-height: 74px;
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-areas: "icon value" "icon label";
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    border-left: 1px solid var(--line);
}
.stat-item:last-child { border-left: 0; }
.stat-icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    justify-self: end;
}
.stat-icon svg { font-size: 25px; }
.stat-icon.blue { color: var(--primary); background: var(--primary-soft); }
.stat-icon.purple { color: var(--purple); background: #f1eaff; }
.stat-icon.green { color: var(--success); background: #e9fbf2; }
.stat-icon.orange { color: var(--orange); background: #fff2de; }
.stat-item strong {
    grid-area: value;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
}
.stat-item span:last-child { grid-area: label; color: var(--muted); font-size: 13px; font-weight: 800; }

.home-feature-cards { padding: 20px 0 78px; background: linear-gradient(180deg, #eef7ff, #f8fbff); }
.feature-grid,
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-feature-grid { grid-template-columns: repeat(5, 1fr); }
.feature-card,
.value-card,
.review-card,
.course-card,
.detail-card,
.contact-form,
.contact-cards a,
.lesson-side-card,
.step-card {
    background: #fff;
    border: 1px solid rgba(220, 232, 251, .95);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
}
.home-feature-card {
    min-height: 160px;
    padding: 26px 22px;
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 18px;
}
.feature-card,
.value-card { padding: 27px; transition: transform .22s ease, box-shadow .22s ease; }
.feature-card:hover,
.course-card:hover,
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    box-shadow: inset 0 0 0 8px rgba(255,255,255,.7);
}
.feature-icon svg { font-size: 30px; }
.feature-icon.blue { color: var(--primary); background: linear-gradient(135deg, #dceaff, #0866ff); }
.feature-icon.green { color: #fff; background: linear-gradient(135deg, #17d777, #08a656); }
.feature-icon.purple { color: #fff; background: linear-gradient(135deg, #a56cff, #6938ef); }
.feature-icon.orange { color: #fff; background: linear-gradient(135deg, #ffb13d, #ff640a); }
.feature-icon.pink { color: #fff; background: linear-gradient(135deg, #ff6c9a, #ef225c); }
.feature-card h3,
.value-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.35; }
.feature-card p,
.value-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.home-feature-card p { margin: 0; }
.feature-card a { color: var(--primary); font-weight: 800; }

.page-hero {
    padding: 82px 0;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fbff, #eef7ff);
}
.page-hero-inner { max-width: 820px; text-align: center; }
.page-hero h1 { font-size: 52px; }
.page-hero p { font-size: 18px; }

.courses,
.steps,
.reviews,
.course-details { background: var(--background); }
.course-grid,
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.course-cover {
    height: 200px;
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
}
.course-cover svg { width: 145px; height: 110px; stroke-width: 4; opacity: .95; }
.blue-course { background: linear-gradient(135deg, #0866ff, #0b3e9d); }
.orange-course { background: linear-gradient(135deg, #ff8b1a, #e85d04); }
.purple-course { background: linear-gradient(135deg, #8b5cf6, #5521b5); }
.course-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-size: 11px;
    font-weight: 900;
}
.course-content { padding: 23px; }
.course-category { color: var(--primary); font-size: 12px; font-weight: 900; }
.course-content h3 { margin: 7px 0 5px; font-size: 22px; }
.course-content p { color: var(--muted); margin: 0; font-size: 14px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.course-meta span:before,
.check-list li:before,
.mini-features span:before { content: "✓"; color: var(--success); font-weight: 900; margin-left: 7px; }

.lesson-grid,
.split-grid,
.contact-grid,
.course-details-grid,
.lesson-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.video-window {
    min-height: 350px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 95%, #1d70ff, transparent 34%), #082754;
    box-shadow: var(--shadow);
}
.video-window-large { min-height: 520px; }
.video-board {
    position: absolute;
    inset: 45px 55px;
    border: 3px solid rgba(255,255,255,.28);
    border-radius: 18px;
    color: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    z-index: 2;
}
.video-board strong { font-size: 34px; font-family: Alexandria, Cairo, sans-serif; }
.video-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    border: 6px solid rgba(255,255,255,.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--orange);
}
.video-play svg { font-size: 34px; fill: currentColor; }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.check-list.two-cols { grid-template-columns: repeat(2, 1fr); }
.check-list li { position: relative; padding-right: 30px; font-weight: 800; }
.check-list li:before { position: absolute; right: 0; top: 2px; margin: 0; width: 22px; height: 22px; border-radius: 50%; background: #e9fbf2; display: grid; place-items: center; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { padding: 32px 25px; text-align: center; position: relative; }
.step-number {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
}
.step-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 18px;
    color: var(--primary);
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 900;
}

.about,
.features,
.faq,
.contact-page,
.free-lesson-page { background: #fff; }
.about-image { position: relative; min-height: 510px; }
.about-photo {
    position: absolute;
    inset: 0 34px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #eaf3ff, #d9ebff);
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}
.about-photo img {
    width: min(440px, 95%);
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    filter: drop-shadow(0 18px 34px rgba(7, 26, 61, .15));
}
.teacher-head {
    position: absolute;
    width: 120px;
    height: 135px;
    top: 86px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 48% 48% 44% 44%;
    background: #f0b18a;
}
.teacher-head:before {
    content: "";
    position: absolute;
    inset: -8px 2px auto;
    height: 52px;
    border-radius: 50% 50% 36% 36%;
    background: #162033;
}
.teacher-body {
    position: absolute;
    width: 285px;
    height: 310px;
    top: 210px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 90px 90px 18px 18px;
    background: #0f56c9;
}
.teacher-body:after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 82px;
    height: 116px;
    transform: translateX(-50%);
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
}
.experience-card {
    position: absolute;
    left: 0;
    bottom: 35px;
    width: 172px;
    padding: 20px;
    border-radius: 18px;
    background: var(--orange);
    color: #fff;
    box-shadow: var(--shadow);
}
.experience-card strong { display: block; font-size: 38px; line-height: 1; }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 25px 0 30px; }
.about-points span:before { content: "✓"; color: var(--success); margin-left: 8px; font-weight: 900; }

.review-card { padding: 28px; }
.stars { color: #f5a524; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { color: #334a70; margin: 0 0 22px; min-height: 86px; }
.review-author { display: flex; align-items: center; gap: 11px; }
.review-author > span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 900;
}
.review-author small { color: var(--muted); display: block; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; }
.faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 19px 21px;
    text-align: right;
    font-weight: 900;
}
.faq-plus {
    width: 29px;
    height: 29px;
    min-width: 29px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 20px;
    transition: transform .2s ease;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer p { margin: 0; padding: 0 21px 20px; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 180px; }
.faq-item.open .faq-plus { transform: rotate(45deg); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; color: var(--muted); font-weight: 900; }
.filter-btn.active,
.filter-btn:hover { background: var(--primary); color: #fff; }
.program-box {
    margin-top: 38px;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: var(--soft-shadow);
}
.profile-card-large { background: var(--background); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: center; box-shadow: var(--soft-shadow); }
.profile-art { height: 340px; background: #dfeaff; border-radius: 20px; position: relative; overflow: hidden; margin-bottom: 18px; }
.value-card span { color: var(--primary); font-weight: 900; }
.course-details-grid { grid-template-columns: 1fr 360px; align-items: start; }
.course-main { display: grid; gap: 24px; }
.detail-card,
.lesson-side-card,
.contact-form { padding: 28px; }
.course-sidebar,
.lesson-side-card { position: sticky; top: 110px; }
.price-tag { font-size: 34px; font-weight: 900; color: var(--primary); line-height: 1.2; }
.price-tag span { font-size: 14px; color: var(--muted); }
.curriculum-list { display: grid; gap: 12px; }
.curriculum-list article { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; justify-content: space-between; gap: 15px; }
.curriculum-list span { color: var(--muted); font-size: 13px; }
.curriculum-list button { border: 1px solid var(--line); background: var(--background); color: var(--primary); border-radius: 10px; padding: 7px 13px; font-weight: 900; }
.lesson-page-grid { grid-template-columns: 1.25fr .75fr; align-items: start; }
.plan-tag { display: inline-flex; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 900; }

.course-detail-hero {
    background:
        radial-gradient(circle at 85% 10%, rgba(8, 102, 255, .13), transparent 32%),
        linear-gradient(180deg, #f8fbff, #eef7ff);
}
.course-details {
    background:
        radial-gradient(circle at 6% 15%, rgba(255, 139, 26, .1), transparent 30%),
        linear-gradient(180deg, #eef7ff, #f8fbff);
}
.course-overview-card {
    display: grid;
    grid-template-columns: minmax(340px, .92fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    border: 0;
    border-radius: 28px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}
.course-overview-card .course-cover {
    height: 100%;
    min-height: 360px;
    margin: 0;
    border-radius: 24px;
}
.course-overview-card h2 {
    margin: 14px 0 12px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 34px;
    line-height: 1.3;
}
.course-overview-card p {
    color: var(--muted);
    margin: 0;
}
.course-price-card {
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 12%, rgba(8, 102, 255, .1), transparent 30%),
        #fff;
    box-shadow: var(--shadow);
}
.course-price-card .price-tag {
    margin: 16px 0 10px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f4f8ff, #eaf3ff);
    color: var(--primary);
}
.course-price-card p {
    color: var(--muted);
}
.course-price-card .btn {
    display: flex;
    width: 100%;
}
.course-price-card .btn + .btn {
    margin-top: 16px;
}
.mini-features {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.mini-features span {
    padding: 11px 13px;
    border-radius: 14px;
    background: #f4f8ff;
    color: #254064;
    font-weight: 900;
}

.contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-cards a { padding: 17px; display: grid; gap: 3px; }
.contact-cards span { color: var(--muted); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 7px; }
.form-row label { font-weight: 900; }
.form-row input,
.form-row textarea,
.form-row select {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 13px 14px;
    outline: none;
    background: #fff;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(8,102,255,.1); }
.field-error {
    color: #e11d48;
    font-size: 12px;
    font-weight: 800;
}
.public-form-alert {
    padding: 13px 15px;
    border-radius: 16px;
    font-weight: 900;
    line-height: 1.6;
}
.public-form-alert.success {
    background: #e9fbf2;
    color: #079455;
    border: 1px solid #b7efcf;
}
.public-form-alert.error {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}
.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cta-section { padding: 40px 0 96px; background: #fff; }
.cta-box {
    background: linear-gradient(135deg, var(--primary), #0549bf);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}
.cta-box:after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    left: -70px;
    bottom: -130px;
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { margin: 4px 0 8px; font-size: 42px; line-height: 1.2; font-family: Alexandria, Cairo, sans-serif; }
.cta-box p { margin: 0; color: #d8e5ff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; min-width: max-content; }

.site-footer { background: var(--footer); color: #d6deec; padding-top: 65px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 45px; }
.site-footer h3 { color: #fff; margin: 0 0 15px; font-size: 17px; }
.site-footer a,
.site-footer span { display: block; color: #b7c4d8; margin: 9px 0; font-size: 14px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #aebcd2; }
.footer-brand p { color: #aebcd2; max-width: 350px; font-size: 14px; }
.footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
}
.footer-bottom div { display: flex; gap: 22px; }

/* Home continuation redesign */
.courses,
.free-lesson,
.steps,
.about,
.reviews,
.faq,
.cta-section {
    position: relative;
    overflow: hidden;
}
.courses > .container,
.free-lesson > .container,
.steps > .container,
.about > .container,
.reviews > .container,
.faq > .container,
.cta-section > .container {
    position: relative;
    z-index: 2;
}
.courses {
    background:
        radial-gradient(circle at 92% 8%, rgba(8, 102, 255, .13), transparent 34%),
        radial-gradient(circle at 4% 92%, rgba(255, 139, 26, .12), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}
.courses:before,
.steps:before,
.reviews:before,
.faq:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 56px solid rgba(8, 102, 255, .07);
    pointer-events: none;
}
.courses:before { right: -220px; top: 70px; }
.steps:before { left: -240px; top: 30px; border-color: rgba(124, 58, 237, .08); }
.reviews:before { right: -250px; bottom: -220px; border-color: rgba(8, 102, 255, .08); }
.faq:before { left: -250px; top: 60px; border-color: rgba(255, 139, 26, .08); }
.section-label {
    padding: 8px 17px;
    border-radius: 999px;
    background: rgba(234, 243, 255, .86);
    box-shadow: inset 0 0 0 1px rgba(8, 102, 255, .1);
}
.course-grid,
.review-grid,
.steps-grid {
    align-items: stretch;
}
.course-card {
    border: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(7, 26, 61, .08);
}
.course-cover {
    height: 228px;
    margin: 14px 14px 0;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 28%, rgba(255,255,255,.82), transparent 24%),
        linear-gradient(135deg, #0b6dff, #073b94);
}
.course-cover:before {
    content: "";
    position: absolute;
    inset: auto -34px -62px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}
.course-cover svg {
    width: 132px;
    height: 98px;
    filter: drop-shadow(0 12px 18px rgba(7, 26, 61, .18));
}
.course-cover-image {
    background: linear-gradient(135deg, #eaf3ff, #f8fbff);
}
.course-cover-image:before {
    display: none;
}
.course-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}
.course-cover-fill img,
.course-detail-cover img {
    object-fit: cover;
    padding: 0;
}
.course-cover-contain img,
.course-detail-cover.course-cover-contain img {
    object-fit: contain;
    padding: 14px;
}
.course-detail-cover {
    min-height: 360px;
}
.orange-course { background: linear-gradient(135deg, #ffb13d, #ff640a); }
.purple-course { background: linear-gradient(135deg, #a56cff, #6938ef); }
.course-badge {
    top: 16px;
    right: 16px;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(7, 26, 61, .08);
    z-index: 2;
}
.course-content {
    padding: 24px 24px 26px;
}
.course-category {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
}
.course-content h3 {
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 24px;
}
.courses .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin-inline: auto;
}
.public-course-grid {
    max-width: 1040px;
}
.course-card-primary,
.course-card-featured {
    position: relative;
}
.course-card-primary:after,
.course-card-featured:after {
    content: "";
    position: absolute;
    inset: auto 26px 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--primary), #2fc7ff);
}
.course-card-featured:after {
    background: linear-gradient(90deg, var(--orange), var(--primary));
}
.course-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 18px 0 14px;
    padding: 13px 15px;
    border-radius: 18px;
    color: var(--primary);
    background: linear-gradient(135deg, #f4f8ff, #eaf3ff);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}
.course-price span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}
.course-meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f4f8ff;
    color: #254064;
    font-weight: 800;
}
.course-card-featured .course-price {
    color: var(--orange);
    background: linear-gradient(135deg, #fff8ed, #fff2de);
}
.course-card .btn {
    margin-top: 4px;
}
.course-card[hidden] {
    display: none;
}
.free-lesson {
    background:
        linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
}
.free-lesson .lesson-grid {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255,255,255,.86);
    box-shadow: var(--shadow);
    border: 1px solid rgba(220, 232, 251, .92);
}
.video-window {
    min-height: 390px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 90%, rgba(255, 139, 26, .42), transparent 28%),
        radial-gradient(circle at 88% 14%, rgba(47, 199, 255, .35), transparent 24%),
        linear-gradient(135deg, #063e9f, #071a3d);
}
.video-window:before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.2);
}
.video-board {
    inset: 50px 52px;
    border: 0;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.video-board span {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #d8e5ff;
    font-weight: 800;
}
.video-play {
    width: 78px;
    height: 78px;
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
    box-shadow: 0 18px 34px rgba(8, 102, 255, .3);
}
.check-list li {
    padding: 14px 44px 14px 16px;
    border-radius: 16px;
    background: #f5f9ff;
    border: 1px solid rgba(220, 232, 251, .85);
}
.check-list li:before { right: 13px; top: 15px; }
.steps {
    background:
        radial-gradient(circle at 12% 20%, rgba(124, 58, 237, .11), transparent 28%),
        linear-gradient(180deg, #f8fbff, #eef7ff);
}
.step-card {
    min-height: 245px;
    border: 0;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 44px rgba(7, 26, 61, .08);
}
.step-card:after {
    content: "";
    position: absolute;
    inset: auto 28px 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--primary), var(--orange));
}
.step-number {
    width: 36px;
    height: 36px;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 10px 22px rgba(8, 102, 255, .16);
}
.step-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
    box-shadow: inset 0 0 0 9px rgba(255,255,255,.22), 0 14px 26px rgba(8, 102, 255, .18);
}
.step-card h3 {
    margin: 0 0 8px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 22px;
}
.step-card p {
    color: var(--muted);
    margin: 0;
}
.about {
    background:
        linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
}
.about-photo {
    border: 0;
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 54%, rgba(8, 102, 255, .22), transparent 45%),
        linear-gradient(160deg, #eaf3ff, #ffffff 62%, #dceaff);
    box-shadow: var(--shadow);
}
.about-photo:before {
    content: "";
    position: absolute;
    inset: 42px 42px auto auto;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 34px solid rgba(8, 102, 255, .14);
}
.experience-card {
    border-radius: 22px;
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow);
}
.experience-card strong { color: var(--orange); }
.about-points span {
    padding: 12px 15px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(220, 232, 251, .88);
    font-weight: 800;
}
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 64px;
    background:
        linear-gradient(135deg, rgba(8, 102, 255, .1), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}
.about-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(8, 102, 255, .14), transparent 28%),
        radial-gradient(circle at 88% 74%, rgba(255, 139, 26, .1), transparent 26%);
    pointer-events: none;
}
.about-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
    gap: 64px;
    align-items: center;
}
.about-hero-content h1 {
    margin: 18px 0 18px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 72px;
    line-height: 1.08;
}
.about-hero-content p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 2;
}
.about-hero-content strong,
.about-story strong,
.vision-box strong {
    color: var(--primary);
}
.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.about-hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: end center;
}
.about-hero-visual:before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.9), rgba(234,243,255,.62) 54%, transparent 55%),
        linear-gradient(135deg, rgba(8, 102, 255, .24), rgba(8, 102, 255, .06));
    box-shadow: inset 0 0 0 28px rgba(8, 102, 255, .08);
    bottom: 18px;
    right: 50%;
    transform: translateX(50%);
}
.about-hero-visual img {
    position: relative;
    z-index: 2;
    width: min(430px, 92%);
    max-height: 540px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 28px 30px rgba(7, 26, 61, .16));
}
.about-orbit {
    position: absolute;
    border: 2px solid rgba(8, 102, 255, .18);
    border-radius: 50%;
    pointer-events: none;
}
.about-orbit-large {
    width: 500px;
    height: 500px;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
}
.about-orbit-small {
    width: 330px;
    height: 330px;
    right: 12px;
    top: 42px;
    border-color: rgba(255, 139, 26, .18);
}
.about-floating-card {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 76px;
    min-width: 240px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    border: 1px solid rgba(220, 232, 251, .85);
}
.about-floating-card span {
    display: block;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.3;
}
.about-floating-card strong {
    display: block;
    margin-top: 3px;
    color: var(--navy);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.about-story {
    background: #f8fbff;
}
.about-story .split-grid {
    align-items: stretch;
}
.about-story .split-content {
    align-self: center;
}
.about-story .split-content p + p {
    margin-top: 18px;
}
.about-info-card,
.vision-box {
    border: 1px solid rgba(220, 232, 251, .9);
    border-radius: 28px;
    background:
        radial-gradient(circle at 16% 18%, rgba(8, 102, 255, .12), transparent 30%),
        #fff;
    box-shadow: var(--shadow);
}
.about-info-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
}
.info-kicker {
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}
.about-info-card h3 {
    margin: 18px 0 12px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 32px;
    line-height: 1.35;
}
.about-info-card p {
    margin: 0;
    color: var(--muted);
}
.about-feature-section {
    padding-top: 72px;
}
.about-vision {
    background:
        radial-gradient(circle at 92% 14%, rgba(8, 102, 255, .12), transparent 28%),
        linear-gradient(180deg, #f8fbff, #eef7ff);
}
.vision-box {
    max-width: 980px;
    margin-inline: auto;
    padding: 48px;
    text-align: center;
}
.vision-box h2 {
    margin: 14px 0 14px;
    font-family: Alexandria, Cairo, sans-serif;
    font-size: 42px;
    line-height: 1.25;
}
.vision-box p {
    max-width: 780px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}
.reviews {
    background:
        radial-gradient(circle at 80% 12%, rgba(8, 102, 255, .13), transparent 30%),
        linear-gradient(180deg, #f8fbff, #eef7ff);
}
.review-card {
    position: relative;
    border: 0;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 44px rgba(7, 26, 61, .08);
}
.review-card:before {
    content: "“";
    position: absolute;
    top: 14px;
    left: 24px;
    color: rgba(8, 102, 255, .12);
    font-size: 72px;
    line-height: 1;
    font-family: Georgia, serif;
}
.stars {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff7e8;
}
.review-author > span {
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
}
.faq {
    background: linear-gradient(180deg, #eef7ff, #f8fbff);
}
.faq .split-content {
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}
.faq-item {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(8, 102, 255, .08);
}
.faq-question {
    min-height: 68px;
    padding: 20px 24px;
}
.faq-plus {
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
    color: #fff;
}
.cta-section {
    padding: 74px 0 96px;
    background:
        radial-gradient(circle at 12% 12%, rgba(8, 102, 255, .12), transparent 30%),
        #f8fbff;
}
.cta-box {
    border-radius: 32px;
    padding: 54px;
    background:
        radial-gradient(circle at 12% 84%, rgba(255, 139, 26, .4), transparent 28%),
        linear-gradient(135deg, #071a3d, #0866ff);
    box-shadow: 0 26px 70px rgba(8, 102, 255, .22);
}
.cta-label {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 900;
}
.site-footer {
    background:
        linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
    color: var(--navy);
    border-top: 1px solid rgba(220, 232, 251, .95);
    padding-top: 72px;
}
.footer-grid {
    grid-template-columns: 1.35fr .8fr .9fr 1fr;
    gap: 34px;
}
.footer-grid > div {
    min-width: 0;
}
.footer-logo-link {
    display: inline-flex !important;
    width: 118px;
    height: 92px;
    margin: 0 0 18px !important;
}
.footer-logo {
    width: 118px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(8, 102, 255, .16));
}
.footer-brand p {
    color: var(--muted);
    max-width: 430px;
    line-height: 1.9;
}
.site-footer h3 {
    position: relative;
    color: var(--navy);
    padding-bottom: 11px;
}
.site-footer h3:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}
.site-footer a:not(.btn):not(.footer-logo-link) {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #425779;
    transition: color .18s ease, transform .18s ease;
}
.site-footer a:not(.btn):not(.footer-logo-link):hover {
    color: var(--primary);
    transform: translateX(-4px);
}
.site-footer span {
    color: #425779;
}
.footer-link-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 10px;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
    color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(8, 102, 255, .14), rgba(47, 199, 255, .2));
    box-shadow: inset 0 0 0 1px rgba(8, 102, 255, .13);
}
.footer-link-icon svg {
    width: 16px;
    height: 16px;
}
.footer-link > span:not(.footer-link-icon),
.footer-cta-btn > span:not(.footer-link-icon) {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
}
.footer-link-whatsapp .footer-link-icon {
    color: #16a34a !important;
    background: #e9fbf2;
    box-shadow: inset 0 0 0 1px rgba(18, 183, 106, .2);
}
.footer-cta-btn {
    gap: 9px;
}
.footer-cta-btn .footer-link-icon {
    color: #fff !important;
    background: rgba(255,255,255,.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.footer-cta-btn span:not(.footer-link-icon) {
    color: #fff;
}
.footer-bottom {
    color: #425779;
    border-top-color: rgba(8, 102, 255, .14);
}
.footer-bottom a { color: #425779; }
.footer-bottom a:hover { color: var(--primary); }
.site-footer .btn-accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(8, 102, 255, .2);
}
.site-footer .btn-accent:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 18px 34px rgba(8, 102, 255, .26);
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1280px) {
    :root { --container: 1180px; }
    .nav-wrap { grid-template-columns: minmax(180px, .75fr) minmax(480px, 1fr) minmax(200px, .75fr); }
    .desktop-nav { gap: 16px; }
    .hero h1 { font-size: 56px; }
    .hero-orbit-large { right: 82px; }
    .hero-orbit-small { right: 54px; }
    .teacher-image { right: 118px; width: 400px; }
    .signature-note { left: 315px; right: auto; }
    .home-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1120px) {
    .nav-wrap { grid-template-columns: 1fr auto; }
    .desktop-nav { display: none; }
    .menu-toggle { display: grid; }
    .nav-actions > .btn,
    .nav-icon-btn { display: none; }
    .hero { padding-top: 52px; }
    .hero-grid { grid-template-columns: 1fr; gap: 26px; direction: rtl; }
    .hero-content { order: 1; text-align: center; padding-top: 0; }
    .hero-art { order: 2; min-height: 540px; width: min(100%, 720px); margin-inline: auto; }
    .hero-text { margin-inline: auto; }
    .hero-actions,
    .hero-feature-row { justify-content: center; }
    .signature-note { left: 50%; right: auto; top: 128px; transform: translateX(-18%) rotate(-7deg); }
    .feature-grid,
    .value-grid,
    .home-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .section { padding: 72px 0; }
    .section-heading h2,
    .split-content h2,
    .contact-info h2,
    .cta-box h2 { font-size: 34px; }
    .page-hero h1 { font-size: 42px; }
    .about-hero { padding: 62px 0 42px; }
    .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-hero-content { text-align: center; }
    .about-hero-content h1 { font-size: 50px; }
    .about-hero-content p { margin-inline: auto; font-size: 18px; }
    .about-hero-actions { justify-content: center; }
    .about-hero-visual { min-height: 500px; }
    .about-floating-card { right: 50%; transform: translateX(50%); bottom: 42px; }
    .hero h1 { font-size: 44px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat-item:nth-child(2) { border-left: 0; }
    .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
    .course-grid,
    .review-grid { grid-template-columns: 1fr; }
    .courses .course-grid { grid-template-columns: 1fr; }
    .course-overview-card { grid-template-columns: 1fr; }
    .course-overview-card .course-cover { min-height: 300px; }
    .lesson-grid,
    .split-grid,
    .faq-grid,
    .contact-grid,
    .course-details-grid,
    .lesson-page-grid { grid-template-columns: 1fr; gap: 45px; }
    .course-sidebar,
    .lesson-side-card { position: static; }
    .steps-grid { grid-template-columns: 1fr; }
    .program-box,
    .cta-box { flex-direction: column; align-items: flex-start; }
    .cta-actions { min-width: 0; }
}

@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .container { width: min(calc(100% - 22px), var(--container)); }
    .site-header .container { width: 100%; }
    .nav-wrap { min-height: 66px; padding: 0 12px; border-radius: 0; }
    .brand-logo-link { width: 68px; height: 54px; }
    .header-logo { width: 68px; height: 54px; }
    .brand-mark { width: 44px; height: 44px; }
    .brand-text { display: none; }
    .mobile-actions { grid-template-columns: 1fr; }
    .hero { min-height: 0; padding: 38px 0 34px; }
    .about-hero { padding: 42px 0 28px; }
    .about-hero-content h1 { font-size: 36px; line-height: 1.2; }
    .about-hero-content p { font-size: 15px; line-height: 1.9; }
    .about-hero-actions { flex-direction: column; gap: 10px; }
    .about-hero-actions .btn { width: 100%; min-width: 0; }
    .about-hero-visual { min-height: 430px; overflow: hidden; }
    .about-hero-visual:before {
        width: 330px;
        height: 330px;
        bottom: 24px;
    }
    .about-hero-visual img {
        width: 300px;
        max-height: 390px;
    }
    .about-orbit-large {
        width: 360px;
        height: 360px;
    }
    .about-orbit-small {
        display: none;
    }
    .about-floating-card {
        min-width: 210px;
        padding: 12px 14px;
        bottom: 22px;
        border-radius: 18px;
        text-align: center;
    }
    .about-floating-card strong {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .about-info-card,
    .vision-box {
        padding: 24px;
        border-radius: 22px;
    }
    .about-info-card h3,
    .vision-box h2 {
        font-size: 27px;
    }
    .vision-box p { font-size: 15px; }
    .hero:before { width: 82%; height: 170px; opacity: .82; }
    .eyebrow {
        max-width: min(100%, 340px);
        margin-inline: auto;
        font-size: 12px;
    }
    .eyebrow-icon { width: 34px; height: 34px; }
    .hero-grid,
    .hero-content,
    .hero-art {
        min-width: 0;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-inline: 0;
        overflow: hidden;
    }
    .hero h1 {
        width: min(100%, 340px);
        max-width: 100%;
        margin-inline: auto;
        font-size: 27px;
        line-height: 1.34;
        margin-top: 18px;
        text-align: center;
        overflow-wrap: break-word;
    }
    .hero-title-line,
    .hero h1 .accent-line {
        display: block;
        white-space: normal;
    }
    .hero h1 span:after { height: 8px; }
    .hero-text {
        width: min(100%, 340px);
        max-width: 100%;
        margin-inline: auto;
        font-size: 15px;
        text-align: center;
        overflow-wrap: break-word;
    }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { min-width: 0; width: 100%; border-radius: 20px; }
    .hero-feature-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }
    .hero-feature-row span { width: auto; min-width: 0; justify-content: center; font-size: 12px; }
    .hero-art { min-height: 455px; overflow: hidden; }
    .hero-orbit-large { width: 320px; height: 320px; right: 50%; transform: translateX(50%); top: 72px; }
    .hero-orbit-small { width: 360px; height: 360px; right: 50%; transform: translateX(50%); top: 52px; }
    .teacher-image { width: 300px; right: 50%; transform: translateX(50%); bottom: -6px; }
    .signature-note {
        display: block;
        top: 14px;
        left: 18px;
        right: auto;
        width: 138px;
        transform: rotate(-7deg);
    }
    .signature-note span { font-size: 18px; }
    .signature-note strong { font-size: 14px; line-height: 1.15; }
    .signature-note small { font-size: 7px; letter-spacing: 4px; }
    .code-badge,
    .dot-cluster { display: none; }
    .code-window { width: 190px; height: 116px; right: 6px; bottom: 72px; opacity: .75; }
    .cap-icon { width: 74px; left: 20px; top: 88px; }
    .floating-card { min-width: 172px; padding: 10px 12px; border-radius: 14px; }
    .floating-icon { width: 36px; height: 36px; }
    .floating-card strong { font-size: 12px; }
    .floating-card small { font-size: 10px; }
    .lesson-card { left: 0; top: auto; bottom: 104px; }
    .smart-card { right: 0; bottom: 20px; }
    .stats-grid { padding: 14px; border-radius: 16px; }
    .stat-item { grid-template-columns: 44px 1fr; column-gap: 8px; }
    .stat-icon { width: 40px; height: 40px; }
    .stat-item strong { font-size: 21px; }
    .home-feature-cards { padding-bottom: 54px; }
    .feature-grid,
    .value-grid,
    .home-feature-grid { grid-template-columns: 1fr; }
    .home-feature-card { min-height: 132px; grid-template-columns: 58px 1fr; padding: 20px; }
    .feature-icon { width: 52px; height: 52px; }
    .video-window,
    .video-window-large { min-height: 270px; }
    .video-board { inset: 34px 28px; }
    .about-points,
    .check-list.two-cols { grid-template-columns: 1fr; }
    .about-image { min-height: 430px; }
    .about-photo { inset: 0; }
    .about-photo img { width: 330px; }
    .experience-card { left: 12px; bottom: 18px; }
    .page-hero { padding: 62px 0; }
    .cta-box,
    .program-box,
    .contact-form,
    .detail-card,
    .lesson-side-card { padding: 24px; }
    .courses,
    .free-lesson,
    .steps,
    .about,
    .reviews,
    .faq,
    .cta-section { overflow: hidden; }
    .course-card,
    .step-card,
    .review-card,
    .faq .split-content,
    .faq-item { border-radius: 20px; }
    .course-cover {
        height: 190px;
        margin: 10px 10px 0;
        border-radius: 18px;
    }
    .course-detail-cover {
        min-height: 300px;
    }
    .course-price-card .btn + .btn {
        margin-top: 18px;
    }
    .course-cover svg { width: 108px; height: 84px; }
    .course-content { padding: 20px; }
    .free-lesson .lesson-grid {
        padding: 18px;
        border-radius: 24px;
        gap: 26px;
    }
    .video-window { min-height: 290px; border-radius: 22px; }
    .video-board { inset: 36px 26px; border-radius: 18px; }
    .video-board strong { font-size: 25px; }
    .video-play { width: 64px; height: 64px; }
    .step-card { min-height: 0; padding: 28px 20px; }
    .about-photo { border-radius: 26px; }
    .experience-card { width: 150px; padding: 16px; }
    .about-points span { padding: 11px 13px; }
    .review-card { padding: 24px; }
    .review-card p { min-height: 0; }
    .faq .split-content { padding: 24px; }
    .faq-question { padding: 18px; }
    .cta-box {
        padding: 30px 24px;
        border-radius: 26px;
    }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .footer-logo-link { width: 96px; height: 74px; margin-inline: auto !important; }
    .footer-logo { width: 96px; height: 74px; }
    .footer-brand p { margin-inline: auto; text-align: center; }
    .site-footer a:not(.btn):not(.footer-logo-link) { justify-content: center; }
    .site-footer h3:after { right: 50%; transform: translateX(50%); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 18px 0; }
}

@media (max-width: 375px) {
    .hero h1 { width: min(100%, 300px); font-size: 24px; }
    .hero-text { width: min(100%, 300px); }
    .eyebrow { max-width: 100%; padding-inline: 10px; }
    .eyebrow-icon { display: none; }
    .hero-feature-row { grid-template-columns: 1fr; }
    .signature-note {
        top: 10px;
        left: 14px;
        width: 124px;
        transform: rotate(-7deg);
    }
    .signature-note span { font-size: 17px; }
    .signature-note strong { font-size: 13px; }
    .signature-note small { font-size: 6px; letter-spacing: 3px; }
    .teacher-image { width: 278px; }
    .hero-art { min-height: 420px; }
    .lesson-card { top: auto; bottom: 92px; }
    .smart-card { bottom: 12px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item,
    .stat-item:nth-child(2) { border-left: 0; }
    .stat-item + .stat-item { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
}
