:root {
    --primary: #6D4E99;
    --accent: #E8674F;
    --accent-2: #009C71;
    --bg-dark: #020617;
    --bg-surface: #282828;
    --text-main: #F7F7F7;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at top left, rgba(109, 78, 153, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(232, 103, 79, 0.25), transparent 60%),
        radial-gradient(circle at center, rgba(0, 156, 113, 0.18), transparent 55%),
        var(--bg-dark);
    color: var(--text-main);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* ===============================
   Background FX (waves / grid / beams / particles / stars)
   =============================== */
.background-effects,
.particles,
.grid-overlay,
.dynamic-lighting,
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.background-effects { z-index: -3; }
.grid-overlay,
.dynamic-lighting,
.particles,
.stars { z-index: -2; }

.grid-overlay,
.wave,
.bg-orb {
    will-change: transform;
}
.light-beam,
.particle {
    will-change: transform, opacity;
}

html.fx-paused .grid-overlay,
html.fx-paused .wave,
html.fx-paused .light-beam,
html.fx-paused .particle,
html.fx-paused .star,
html.fx-paused .bg-orb,
html.fx-paused .landing-footer-inner::before {
    animation-play-state: paused !important;
}

.grid-overlay {
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(109, 78, 153, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 40, 40, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 40s linear infinite;
}
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 103, 79, 0.06) 0%, transparent 70%);
    animation: waveAnimation 20s linear infinite;
}
.wave:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 25s;
    background: radial-gradient(circle, rgba(109, 78, 153, 0.045) 0%, transparent 70%);
}
.wave:nth-child(3) {
    animation-delay: -10s;
    animation-duration: 30s;
    background: radial-gradient(circle, rgba(0, 156, 113, 0.055) 0%, transparent 70%);
}
@keyframes waveAnimation {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    box-shadow: 0 0 6px currentColor;
}
.particle:nth-child(odd) {
    background: radial-gradient(circle, var(--accent), transparent);
    color: var(--accent);
}
.particle:nth-child(even) {
    background: radial-gradient(circle, var(--accent-2), transparent);
    color: var(--accent-2);
}
.particle:nth-child(3n) {
    background: radial-gradient(circle, var(--primary), transparent);
    color: var(--primary);
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%,90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.dynamic-lighting { overflow: hidden; }

.light-beam {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(232, 103, 79, 0.9), transparent);
    opacity: 0.06;
    animation: lightBeam 8s infinite;
}
.light-beam:nth-child(1) { left: 15%; }
.light-beam:nth-child(2) {
    left: 35%;
    animation-delay: 2s;
    background: linear-gradient(180deg, transparent, rgba(109, 78, 153, 0.95), transparent);
}
.light-beam:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    background: linear-gradient(180deg, transparent, rgba(0, 156, 113, 0.9), transparent);
}
.light-beam:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
}
@keyframes lightBeam {
    0%,100% { opacity: 0.06; transform: scaleY(0); }
    50%     { opacity: 0.28; transform: scaleY(1); }
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--accent);
    animation: twinkle 3s infinite;
}
@keyframes twinkle {
    0%,100% { opacity: 0.35; transform: scale(1); }
    50%     { opacity: 1; transform: scale(1.6); }
}

/* Orbs layer (lowest) */
.animated-bg-wrapper {
    position: fixed;
    inset: 0;
    z-index: -4;
    overflow: hidden;
    pointer-events: none;
}
.bg-orb {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: orbPulse 20s ease-in-out infinite alternate;
}
.bg-orb.orb-1 {
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(109, 78, 153, 0.95), transparent 65%);
    animation-delay: 0s;
}
.bg-orb.orb-2 {
    bottom: -250px;
    left: -200px;
    background: radial-gradient(circle, rgba(232, 103, 79, 0.9), transparent 70%);
    animation-delay: 4s;
}
.bg-orb.orb-3 {
    top: 40%;
    left: 10%;
    background: radial-gradient(circle, rgba(0, 156, 113, 0.7), transparent 70%);
    animation-delay: 8s;
}
@keyframes orbPulse {
    0%   { transform: translate3d(0, 0, 0) scale(1);   opacity: 0.5; }
    50%  { transform: translate3d(40px, -30px, 0) scale(1.15); opacity: 0.9; }
    100% { transform: translate3d(-40px, 40px, 0) scale(1.05); opacity: 0.6; }
}

/* ===============================
   Layout / Sections
   =============================== */
section {
    padding: 4rem 1.5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@supports (content-visibility: auto) {
    section.reveal {
        content-visibility: auto;
        contain-intrinsic-size: 900px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e5e7eb, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}
.section-header p {
    color: #e2e8f0;
    font-size: 1.05rem;
}

/* ===============================
   Scroll Reveal (JS gated)
   =============================== */
.js-enabled .reveal,
.js-enabled .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.45s ease-out,
        transform 0.45s ease-out;
    will-change: opacity, transform;
}
.reveal.is-visible,
.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   Glassmorphism Cards
   =============================== */
.glass-card {
    background: linear-gradient(
        135deg,
        rgba(40, 40, 40, 0.85),
        rgba(15, 23, 42, 0.85)
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateY(0) translateZ(0);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(148, 163, 184, 0.04);
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left,
                rgba(252, 211, 77, 0.16),
                transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
    mix-blend-mode: soft-light;
    pointer-events: none;
}
.glass-card:hover {
    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.75),
        0 0 25px rgba(109, 78, 153, 0.25);
    border-color: rgba(232, 103, 79, 0.35);
    background: linear-gradient(
        135deg,
        rgba(40, 40, 40, 0.95),
        rgba(15, 23, 42, 0.95)
    );
}
.glass-card:hover::before { opacity: 1; }

.info-card {
    padding: 1.6rem 1.5rem;
    border-color: rgba(148, 163, 184, 0.18);
}

/* ===============================
   Hero / Seasonal Banner
   =============================== */
.seasonal-banner {
    background: radial-gradient(circle at top right,
                    rgba(232, 103, 79, 0.4),
                    transparent 55%),
                radial-gradient(circle at bottom left,
                    rgba(109, 78, 153, 0.45),
                    transparent 60%),
                linear-gradient(135deg,
                    rgba(40, 40, 40, 0.9),
                    rgba(15, 23, 42, 0.96));
    border-radius: 26px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(109, 78, 153, 0.4);
}
.seasonal-banner::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    opacity: 0;
    mix-blend-mode: soft-light;
    animation: bannerGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes bannerGlow {
    0%   { opacity: 0; transform: translate3d(0, 0, 0); }
    100% { opacity: 1; transform: translate3d(40px, -20px, 0); }
}

.seasonal-tag {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: #fff;
    padding: 0.45rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    box-shadow:
        0 8px 25px rgba(232, 103, 79, 0.55),
        0 0 18px rgba(232, 103, 79, 0.65);
}

.hero-metrics {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 2.3rem;
    flex-wrap: wrap;
}
.hero-metrics-item {
    padding: 0.9rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.45);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    text-align: center;
    min-width: 170px;
}
.hero-metrics-item span:first-child {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #e5e7eb, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-metrics-item span:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Buttons */
.btn-glow {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: #fff;
    padding: 0.8rem 2.3rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.55);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease,
        opacity 0.25s ease;
    text-decoration: none;
}
.btn-glow:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 16px 40px rgba(232, 103, 79, 0.75),
        0 0 25px rgba(109, 78, 153, 0.7);
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    border-radius: 999px;
    padding: 0.8rem 2.3rem;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: var(--text-main);
    cursor: pointer;
    transition: 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-ghost:hover {
    border-color: var(--primary);
    background: radial-gradient(circle at top,
                    rgba(109, 78, 153, 0.22),
                    transparent 60%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.7rem;
}
.mini-feature {
    padding: 1.4rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(148, 163, 184, 0.04),
        0 16px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.mini-feature h4 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
}
.mini-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 103, 79, 0.35);
    background: rgba(15, 23, 42, 0.75);
    box-shadow:
        inset 0 0 0 1px rgba(148, 163, 184, 0.06),
        0 22px 55px rgba(0, 0, 0, 0.55);
}
.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(232, 103, 79, 0.15), rgba(109, 78, 153, 0.15));
    border-radius: 20px;
    border: 2px solid rgba(232, 103, 79, 0.3);
    transition: all 0.3s ease;
    position: relative;
}
.glass-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(232, 103, 79, 0.6);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.4);
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
}
.course-img {
    height: 190px;
    border-radius: 18px;
    background: radial-gradient(circle at top, #1e293b, #020617);
    margin-bottom: 1.4rem;
    position: relative;
    overflow: hidden;
}
.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.course-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}
.glass-card:hover .course-img::after {
    opacity: 1;
    transform: translateX(120%);
    transition: transform 0.65s ease-out, opacity 0.3s ease-out;
}
.glass-card:hover .course-img img { transform: scale(1.06); }

.badge-level {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(40, 40, 40, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.75rem;
    color: #facc15;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Course CTA */
.course-actions {
    margin-top: 1.15rem;
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 0.75rem;
    align-items: end;
}
.term-offer {
    position: relative;
    padding-top: 18px;
}
.discount-badge {
    position: absolute;
    top: 0;
    right: 14px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0b1020;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px 999px 999px 14px;
    box-shadow: 0 14px 34px rgba(251,191,36,0.22);
    z-index: 2;
    white-space: nowrap;
}
.discount-badge::after{
    content: '';
    position: absolute;
    right: 22px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 0 0 10px 0;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
}
.btn-term{
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.96rem;
    letter-spacing: 0.2px;
    box-shadow:
        0 16px 40px rgba(232, 103, 79, 0.70),
        0 0 34px rgba(109, 78, 153, 0.55);
    border: 1px solid rgba(255,255,255,0.14);
    position: relative;
    overflow: hidden;
}
.btn-term::before{
    content:'';
    position:absolute;
    inset:-45%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.term-offer:hover .btn-term::before{ opacity: 1; }

.btn-monthly{
    width: 100%;
    justify-content: center;
    border-color: rgba(148, 163, 184, 0.35);
    color: rgba(226, 232, 240, 0.92);
    background: rgba(15, 23, 42, 0.35);
}
.btn-monthly:hover{
    border-color: rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.55);
    box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.7rem;
}
.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: conic-gradient(from 140deg,
                #4b5563,
                #111827,
                #6D4E99,
                #E8674F,
                #4b5563);
    padding: 2px;
    position: relative;
}
.user-avatar::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: radial-gradient(circle at top,
                    #1f2937,
                    #020617);
}

/* Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 30px rgba(109, 78, 153, 0.45);
    background: radial-gradient(circle at top,
                    rgba(109, 78, 153, 0.45),
                    rgba(2, 6, 23, 1));
}
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.faq-item {
    background: rgba(15, 23, 42, 0.7);
    margin-bottom: 1rem;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: 0.25s ease;
}
.faq-item:hover {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(109, 78, 153, 0.6);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
}
.faq-question {
    font-weight: 600;
    font-size: 1.02rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-answer {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Newsletter */
.newsletter-box {
    background: radial-gradient(circle at top,
                    rgba(109, 78, 153, 0.45),
                    rgba(2, 6, 23, 0.98));
    padding: 3rem 2.5rem;
    border-radius: 26px;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 26px 65px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(109, 78, 153, 0.55);
}
.input-group {
    display: flex;
    max-width: 520px;
    margin: 1.5rem auto 0;
    gap: 0.8rem;
}
.input-field {
    flex: 1;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s ease;
}
.input-field::placeholder { color: rgba(148, 163, 184, 0.85); }
.input-field:focus {
    border-color: rgba(232, 103, 79, 0.8);
    box-shadow: 0 0 0 1px rgba(232, 103, 79, 0.4);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    opacity: 0.95;
}
.payment-txt {
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    min-width: 180px;
    text-align: center;
}
.payment-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}
.payment-brands {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    z-index: 9999;
    cursor: pointer;
    color: #ffffff;
    animation: floatPulse 2.4s ease-in-out infinite;
    transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.12); }
.whatsapp-float img,
.whatsapp-float svg {
    width: 34px;
    height: 34px;
    filter: brightness(1.1);
    display: block;
}
@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.whatsapp-float::after {
    content: "تواصل معنا";
    position: absolute;
    right: 70px;
    background: rgba(15, 23, 42, 0.95);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.landing-footer {
    position: relative;
    margin-top: 3rem;
    padding: 3rem 1.5rem 2rem;
    max-width: 1200px;
    margin-inline: auto;
}
.landing-footer-inner {
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at top,
                    rgba(15, 23, 42, 0.85),
                    rgba(2, 6, 23, 0.98));
    box-shadow:
        0 26px 65px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(109, 78, 153, 0.55);
    padding: 2.5rem 2.2rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}
.landing-footer-inner::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(120deg,
                transparent 0%,
                rgba(255, 255, 255, 0.32) 50%,
                transparent 100%);
    transform: translateX(-120%);
    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: footerShine 9s linear infinite;
}
@keyframes footerShine {
    0%   { transform: translateX(-120%) translateY(0); }
    50%  { transform: translateX(0) translateY(-10px); }
    100% { transform: translateX(120%) translateY(0); }
}
.landing-footer-brand-title {
    font-size: 1.6rem;
    font-weight: 800;
}
.landing-footer-brand-title span { color: var(--accent); }
.landing-footer-brand-text {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.landing-footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}
.landing-footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #e5e7eb;
}
.landing-footer-link {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.landing-footer-link:hover {
    color: var(--accent);
    transform: translateX(-3px);
}
.landing-footer-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.landing-footer-contact a {
    color: inherit;
    text-decoration: none;
    direction: ltr;
    unicode-bidi: embed;
}
.landing-footer-contact a:hover { color: var(--accent); }

.landing-footer-socials-wrapper {
    grid-column: 1 / -1;
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}
.landing-footer-socials-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.landing-footer-socials {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.landing-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #e5e7eb;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.landing-footer-socials a:hover {
    background: var(--accent);
    border-color: transparent;
    transform: translateY(-1px);
}
.landing-footer-socials a.instagram {
    background: radial-gradient(circle at 30% 30%,
                #fdf497 0%, #fdf497 15%,
                #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: #ffffff;
}
.landing-footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    margin-top: 1.8rem;
    padding-top: 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}
.landing-footer-credit a {
    color: var(--accent);
    text-decoration: none;
    direction: ltr;
    unicode-bidi: embed;
}
.landing-footer-credit a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    body { scroll-behavior: auto; }

    .grid-overlay,
    .wave,
    .light-beam,
    .particle,
    .star,
    .bg-orb,
    .landing-footer-inner::before,
    .whatsapp-float {
        animation: none !important;
    }

    .glass-card,
    .btn-glow,
    .btn-ghost,
    .mini-feature,
    .store-btn {
        transition: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    section { padding-inline: 1rem; }
    .section-header h2 { font-size: 1.7rem; }
    .seasonal-banner { padding-inline: 1.5rem; }

    .glass-card {
        padding: 1.5rem 1.25rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
    }

    .hero-metrics { gap: 1rem; }
    .hero-metrics-item { min-width: 150px; }
    .grid-overlay { opacity: 0.18; background-size: 80px 80px; }
    .bg-orb { filter: blur(65px); opacity: 0.55; }

    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-glow,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .landing-footer { padding-inline: 1rem; }
    .landing-footer-inner {
        padding: 2rem 1.5rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .course-actions {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .js-enabled .reveal,
    .js-enabled .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* ===============================
   App Stores Card
   =============================== */
.app-stores-card{
    padding: 2.4rem 2.2rem;
    border-color: rgba(232, 103, 79, 0.22);
    background: radial-gradient(circle at top right,
                rgba(232, 103, 79, 0.18),
                transparent 55%),
              radial-gradient(circle at bottom left,
                rgba(109, 78, 153, 0.22),
                transparent 60%),
              linear-gradient(135deg,
                rgba(40, 40, 40, 0.92),
                rgba(15, 23, 42, 0.92));
}

.app-stores-inner{
    display:grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.app-stores-pill{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.45rem 1.1rem;
    border-radius: 999px;
    font-weight:700;
    font-size:.85rem;
    color:#0b1020;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 14px 35px rgba(251,191,36,0.18);
}

.app-stores-title{
    margin-top: 1rem;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 900;
    line-height: 1.35;
}

.app-stores-desc{
    margin-top: .8rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 58ch;
}

.app-stores-actions{
    margin-top: 1.4rem;
    display:flex;
    gap: .9rem;
    flex-wrap: wrap;
}

.store-btn{
    flex: 1;
    min-width: 240px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: .9rem;
    padding: .95rem 1.1rem;
    border-radius: 18px;
    text-decoration:none;
    color: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}
.store-btn:hover{
    transform: translateY(-2px);
    border-color: rgba(232, 103, 79, 0.45);
    box-shadow: 0 22px 55px rgba(0,0,0,.62), 0 0 22px rgba(109, 78, 153, 0.25);
    filter: brightness(1.03);
}
.store-ic{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(135deg, rgba(232,103,79,.18), rgba(109,78,153,.18));
    border: 1px solid rgba(255,255,255,.10);
    flex: 0 0 auto;
}
.store-btn-play .store-ic{ color: rgba(226,232,240,.95); }
.store-btn-apple .store-ic{ color: rgba(226,232,240,.95); }

.store-txt{
    display:flex;
    flex-direction: column;
    gap: .1rem;
    text-align:right;
    flex: 1 1 auto;
}
.store-txt small{
    color: rgba(148,163,184,.95);
    font-weight: 600;
    font-size: .78rem;
}
.store-txt strong{
    font-size: 1.05rem;
    letter-spacing: .2px;
}
.store-arrow{
    opacity: .85;
    font-weight: 900;
}

.app-stores-hint{
    margin-top: 1.15rem;
    display:flex;
    align-items:center;
    gap:.55rem;
    color: rgba(148,163,184,.95);
    font-size: .9rem;
}
.hint-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    box-shadow: 0 0 18px rgba(232,103,79,.5);
}

/* Right visual */
.app-stores-visual{
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}
.phone-mock{
    width: 210px;
    height: 420px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(148,163,184,.22);
    box-shadow: 0 30px 70px rgba(0,0,0,.65);
    position: relative;
    overflow: hidden;
    transform: rotate(-6deg);
}
.phone-notch{
    position:absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 20px;
    border-radius: 999px;
    background: rgba(2,6,23,.65);
    border: 1px solid rgba(255,255,255,.06);
}
.phone-screen{
    position:absolute;
    inset: 44px 14px 14px;
    border-radius: 24px;
    background: radial-gradient(circle at top,
                rgba(109, 78, 153, 0.35),
                rgba(2, 6, 23, 1));
    border: 1px solid rgba(255,255,255,.06);
    padding: 14px;
}
.mini-card{
    height: 90px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(232,103,79,.18), rgba(109,78,153,.18));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.06);
}
.mini-row{
    margin-top: 12px;
    height: 14px;
    border-radius: 999px;
    background: rgba(226,232,240,.14);
}
.mini-row:nth-child(3){ width: 85%; }
.mini-row:nth-child(4){ width: 70%; }
.mini-row:nth-child(5){ width: 90%; }

.glow-bubble{
    position:absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: .55;
    mix-blend-mode: screen;
}
.bubble-1{
    right: 0;
    top: 10%;
    background: radial-gradient(circle, rgba(232,103,79,.85), transparent 70%);
}
.bubble-2{
    left: 0;
    bottom: 5%;
    background: radial-gradient(circle, rgba(0,156,113,.65), transparent 70%);
}

/* Responsive */
@media (max-width: 900px){
    .app-stores-inner{
        grid-template-columns: 1fr;
    }
    .app-stores-visual{
        order: -1;
        min-height: 200px;
    }
    .phone-mock{
        transform: rotate(0deg) scale(.92);
    }
}
.store-ic svg { display: block; }
.store-btn-play .store-ic { color: rgba(255,255,255,.95); }
.store-btn-play:hover .store-ic { color: #fff; }

/* ===============================
   Homepage UX additions (chips / stepper / tabs / command bar / sticky CTA)
   =============================== */

/* Hero chips */
.hero-cta {
    margin-top: 1.6rem;
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-chips {
    margin: 0.4rem 0 1.1rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.hero-chip {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: rgba(15, 23, 42, 0.45);
    color: rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    padding: 0.46rem 1.05rem;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.hero-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(232, 103, 79, 0.55);
    box-shadow: 0 14px 35px rgba(0,0,0,0.55);
}
.hero-chip.is-active {
    border-color: transparent;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(232, 103, 79, 0.35);
}
.hero-chip--icon {
    padding: 0.46rem 0.65rem;
    width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.hero-chip:focus-visible {
    outline: 3px solid rgba(232, 103, 79, 0.55);
    outline-offset: 2px;
}

/* Quick steps (stepper) */
.quick-steps {
    padding: 1.7rem 1.6rem;
}
.quick-steps__head {
    text-align: center;
    margin-bottom: 1.15rem;
}
.quick-steps__title {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0;
}
.quick-steps__desc {
    margin-top: 0.45rem;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.98rem;
}
.quick-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    position: relative;
}
.quick-steps__list::before,
.quick-steps__list::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    left: 18px;
    height: 2px;
    transform: translateY(-50%);
    border-radius: 999px;
    pointer-events: none;
}
.quick-steps__list::before {
    background: rgba(148, 163, 184, 0.22);
    opacity: 0.6;
}
.quick-steps__list::after {
    background: linear-gradient(90deg, transparent, rgba(232, 103, 79, 0.9), transparent);
    background-size: 200% 100%;
    opacity: 0.6;
    animation: quickStepsGlow 4.2s ease-in-out infinite;
}
@keyframes quickStepsGlow {
    0%   { background-position: 160% 0; }
    100% { background-position: -160% 0; }
}
.quick-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.55);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.04);
}
.quick-step__num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #0b1020;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border: 1px solid rgba(255,255,255,0.28);
    flex: 0 0 auto;
}
.quick-step__text {
    font-weight: 800;
    color: rgba(226, 232, 240, 0.95);
}

/* Courses toolbar (stage chips + plan tabs) */
.courses-toolbar {
    padding: 1.05rem 1.15rem;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}
.courses-toolbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}
.stage-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.stage-chip {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(2, 6, 23, 0.35);
    color: rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.stage-chip:hover {
    border-color: rgba(232, 103, 79, 0.45);
    background: rgba(15, 23, 42, 0.55);
}
.stage-chip.is-active {
    border-color: transparent;
    background: linear-gradient(90deg, rgba(232, 103, 79, 0.95), rgba(109, 78, 153, 0.95));
    box-shadow: 0 14px 34px rgba(232, 103, 79, 0.25);
    color: #fff;
}

.plan-tabs {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.32);
    overflow: hidden;
}
.plan-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(226, 232, 240, 0.85);
    padding: 0.55rem 0.95rem;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.plan-tab:hover {
    background: rgba(255, 255, 255, 0.06);
}
.plan-tab.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.stage-chip:focus-visible,
.plan-tab:focus-visible {
    outline: 3px solid rgba(232, 103, 79, 0.55);
    outline-offset: 2px;
}

/* Course footer (single CTA) */
.badge-plan {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(40, 40, 40, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.74rem;
    color: rgba(226, 232, 240, 0.92);
    font-weight: 900;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.course-footer {
    margin-top: 1.1rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.course-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.course-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.course-price {
    font-size: 1.18rem;
    font-weight: 950;
    letter-spacing: 0.2px;
    color: #ffffff;
}
.course-plan-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: rgba(148, 163, 184, 0.9);
}
.course-offer-pill {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 950;
    color: #0b1020;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 14px 35px rgba(251,191,36,0.18);
    white-space: nowrap;
}
.course-cta {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 16px;
    text-decoration: none;
}

/* Filter hiding */
.js-course-card.is-hidden {
    display: none !important;
}

/* Image skeleton shimmer (perceived speed) */
html.home-enhanced .course-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        rgba(255, 255, 255, 0.05) 8%,
        rgba(255, 255, 255, 0.14) 18%,
        rgba(255, 255, 255, 0.05) 33%);
    background-size: 200% 100%;
    animation: courseShimmer 1.45s linear infinite;
    opacity: 0.55;
    pointer-events: none;
}
@keyframes courseShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
html.home-enhanced .course-img.is-loaded::before {
    opacity: 0;
    animation: none;
    transition: opacity 0.35s ease;
}
/* Images remain visible; shimmer sits behind until loaded. */

/* Click-to-load video */
.video-click {
    cursor: pointer;
}
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: transparent;
    border: 0;
    padding: 0;
    z-index: 3;
    cursor: pointer;
}
.video-overlay__icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.75);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-size: 1.15rem;
    line-height: 1;
}
.video-overlay__text {
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(2, 6, 23, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.video-click:hover .video-overlay__icon {
    transform: translateY(-2px) scale(1.04);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 22px 60px rgba(0,0,0,0.85), 0 0 22px rgba(232, 103, 79, 0.18);
}
.video-poster {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 1.15rem;
    background:
        radial-gradient(circle at top right, rgba(232, 103, 79, 0.22), transparent 55%),
        radial-gradient(circle at bottom left, rgba(109, 78, 153, 0.26), transparent 60%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(2, 6, 23, 0.85));
    pointer-events: none;
}
.video-poster__badge {
    font-weight: 950;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.22);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.video-poster__hint {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.9rem;
}
.video-click__btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    z-index: 3;
    cursor: pointer;
}
.video-click__btn span {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.75);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.video-click:hover .video-click__btn span {
    transform: translateY(-2px) scale(1.04);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 22px 60px rgba(0,0,0,0.85), 0 0 22px rgba(232, 103, 79, 0.18);
}
.video-click__poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.15rem;
    background:
        radial-gradient(circle at top right, rgba(232, 103, 79, 0.22), transparent 55%),
        radial-gradient(circle at bottom left, rgba(109, 78, 153, 0.26), transparent 60%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(2, 6, 23, 0.85));
}
.video-click__poster-txt {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.video-click__poster-title {
    font-weight: 950;
    color: rgba(255, 255, 255, 0.95);
}
.video-click__poster-sub {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.9rem;
}
.video-click__btn:focus-visible {
    outline: 3px solid rgba(232, 103, 79, 0.55);
    outline-offset: 3px;
}
.video-overlay:focus-visible {
    outline: 3px solid rgba(232, 103, 79, 0.55);
    outline-offset: 3px;
}

/* Command bar */
html.command-open {
    overflow: hidden;
}
.command-bar-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 8vh 1rem 1rem;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0s linear 0.18s;
    z-index: 10000;
}
.command-bar-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.18s ease;
}
.command-bar {
    width: min(720px, 100%);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 30px 80px rgba(0,0,0,0.85);
    overflow: hidden;
    transform: translateY(-10px);
    transition: transform 0.18s ease;
}
.command-bar-backdrop.is-open .command-bar {
    transform: translateY(0);
}
.command-bar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.command-bar__title {
    font-weight: 950;
    font-size: 1.05rem;
}
.command-bar__close {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.35);
    color: rgba(226, 232, 240, 0.95);
    width: 38px;
    height: 38px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}
.command-bar__close:hover {
    border-color: rgba(232, 103, 79, 0.45);
    background: rgba(15, 23, 42, 0.55);
}
.command-bar__body {
    padding: 1rem 1.1rem 1.1rem;
}
.command-bar__input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.35);
    color: rgba(255, 255, 255, 0.95);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.command-bar__input::placeholder {
    color: rgba(148, 163, 184, 0.85);
}
.command-bar__input:focus {
    border-color: rgba(232, 103, 79, 0.7);
    box-shadow: 0 0 0 2px rgba(232, 103, 79, 0.25);
}
.command-bar__list {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 320px;
    overflow: auto;
    padding-right: 4px;
}
.command-bar__item {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.28);
    border-radius: 18px;
    padding: 0.85rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.95);
    text-align: right;
    transition: 0.2s ease;
}
.command-bar__item:hover {
    border-color: rgba(232, 103, 79, 0.45);
    background: rgba(15, 23, 42, 0.55);
}
.command-bar__item.is-hidden {
    display: none;
}
.command-bar__item-title {
    font-weight: 900;
}
.command-bar__item-hint {
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.9);
    direction: ltr;
    unicode-bidi: embed;
    white-space: nowrap;
}
.command-bar__footer {
    padding: 0.9rem 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.85rem;
}
.command-bar__kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.35);
    color: rgba(226, 232, 240, 0.95);
    font-weight: 900;
}
.command-bar__close:focus-visible,
.command-bar__item:focus-visible {
    outline: 3px solid rgba(232, 103, 79, 0.55);
    outline-offset: 2px;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 0.65rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 22px 60px rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    z-index: 9999;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-sticky-cta.is-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.mobile-sticky-cta__primary {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    box-shadow: 0 12px 28px rgba(232, 103, 79, 0.28);
}
.mobile-sticky-cta__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.35);
    transition: 0.2s ease;
}
.mobile-sticky-cta__icon--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: transparent;
}
.mobile-sticky-cta__icon:hover {
    border-color: rgba(232, 103, 79, 0.45);
    background: rgba(15, 23, 42, 0.55);
}
.mobile-sticky-cta__icon--whatsapp:hover {
    border-color: transparent;
    filter: brightness(1.05);
}
.mobile-sticky-cta__primary:focus-visible,
.mobile-sticky-cta__icon:focus-visible {
    outline: 3px solid rgba(232, 103, 79, 0.55);
    outline-offset: 2px;
}

/* Smart motion reductions */
@media (prefers-reduced-motion: reduce) {
    .quick-steps__list::after { animation: none !important; }
    .course-img::before { animation: none !important; }
}
html.fx-paused .quick-steps__list::after,
html.fx-paused .course-img::before {
    animation-play-state: paused !important;
}

@media (max-width: 900px) {
    .courses-toolbar {
        padding: 0.95rem 1rem;
    }
}
@media (max-width: 768px) {
    .hero-chips {
        gap: 0.5rem;
    }
    .hero-chip {
        font-size: 0.9rem;
        padding: 0.45rem 0.95rem;
    }
    .quick-steps {
        padding: 1.4rem 1.2rem;
    }
    .quick-steps__list {
        grid-template-columns: 1fr;
    }
    .quick-steps__list::before,
    .quick-steps__list::after {
        display: none;
    }
    .courses-toolbar__row {
        justify-content: center;
    }
    .plan-tabs {
        width: 100%;
        justify-content: center;
    }
    .plan-tab {
        flex: 1 1 50%;
        text-align: center;
    }
    .mobile-sticky-cta {
        display: flex;
    }
    body {
        padding-bottom: 92px;
    }
    .whatsapp-float {
        display: none;
    }
}
@media (min-width: 769px) {
    .mobile-sticky-cta { display: none; }
}
