/* ═══════════════════════════════════════════════════════════════════════════
   Vibe Coding Course — Companion Page Styles
   Dark-mode, RTL, mobile-first. Lives next to the existing AI-prompt
   stylesheet but is fully self-contained.
   ═══════════════════════════════════════════════════════════════════════════ */

.ls-vibe-body {
    background: var(--ls-bg, #0a0f1a);
}

/* Safety: never let any SVG blow up past its container */
.lvc-hero,
.lvc-hero * {
    /* allow children to define their own sizes, but cap any rogue SVG */
}
.lvc-hero svg,
.lvc-mockup-window svg,
.lvc-step svg,
.lvc-tool-link svg,
.lvc-tool-chip svg {
    max-width: 100%;
    flex-shrink: 0;
}

/* Brand accents (the "vibe" gradient — purple/cyan, distinct from
   the site's main blue so this page feels like a special destination) */
:root {
    --lvc-grad-from: #7c3aed;       /* purple */
    --lvc-grad-to:   #06b6d4;       /* cyan   */
    --lvc-bg:        var(--ls-bg, #0a0f1a);
    --lvc-card:      var(--ls-surface, #141924);
    --lvc-card-2:    var(--ls-surface-2, #1b2133);
    --lvc-border:    var(--ls-border, rgba(255, 255, 255, 0.08));
    --lvc-text:      var(--ls-text-2, #e2e6f0);
    --lvc-text-dim:  var(--ls-text-muted, #999eb2);
    --lvc-text-mute: #6b7394;
    --lvc-accent:    var(--ls-blue, #4077f3);
    --lvc-success:   #22c55e;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — split layout (text left, code editor mockup right on desktop;
   stacked on mobile)
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 24px 56px;
    color: var(--lvc-text);
}

.lvc-hero-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 0%,  rgba(124, 58, 237, 0.20), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.16),  transparent 50%);
    pointer-events: none;
}

/* ── Floating tool icons as decorative background ── */
.lvc-hero-floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.lvc-floater {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    animation: lvc-float 8s ease-in-out infinite;
    max-width: 80px;
    max-height: 80px;
}
.lvc-floater--claude  { top:  8%; inset-inline-end: 4%;  width: 64px;  height: 64px;  animation-delay: 0s;   }
.lvc-floater--vscode  { top: 60%; inset-inline-start: 2%; width: 72px;  height: 72px;  animation-delay: 1.5s; }
.lvc-floater--github  { bottom: 6%; inset-inline-end: 22%; width: 56px; height: 56px; animation-delay: 3s;   color: rgba(124, 58, 237, 0.10); }
.lvc-floater--sparkle { top: 22%; inset-inline-start: 5%;  width: 32px; height: 32px; animation-delay: 2s;   color: rgba(6, 182, 212, 0.14); }
@keyframes lvc-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-16px) rotate(8deg); }
}

/* ── Grid: 2 columns on desktop, 1 column on mobile ── */
.lvc-hero-grid {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.lvc-hero-text { text-align: start; min-width: 0; }

.lvc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.35);
    color: #c4b5fd;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.lvc-hero-badge svg { width: 16px; height: 16px; }

.lvc-hero-title {
    font-size: clamp(36px, 5.4vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    color: var(--ls-text, #ffffff);     /* hard guarantee that "كورس" reads white */
}
.lvc-hero-title-ar {
    display: inline;
    color: var(--ls-text, #ffffff);     /* hard guarantee that "كورس" reads white */
}
.lvc-hero-title-en {
    display: inline-block;
    margin-inline-start: 6px;
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lvc-gradient-text {
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding: 0 4px;
}

.lvc-hero-subtitle {
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.7;
    color: var(--lvc-text-dim);
    max-width: 540px;
    margin: 0 0 32px;
}
.lvc-hero-subtitle strong {
    color: var(--lvc-text);
    font-weight: 600;
}

.lvc-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 32px;
    flex-wrap: wrap;
}
.lvc-stat { text-align: start; }
.lvc-stat-num {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.lvc-stat-label {
    font-size: 13px;
    color: var(--lvc-text-mute);
    margin-top: 4px;
}
.lvc-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--lvc-border);
}

.lvc-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Code editor mockup ── */
.lvc-hero-mockup {
    position: relative;
    max-width: 100%;
    min-width: 0;     /* allow it to shrink in a grid */
}
.lvc-mockup-window {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(124, 58, 237, 0.15);
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease;
    max-width: 100%;
}
.lvc-hero-mockup:hover .lvc-mockup-window {
    transform: perspective(1200px) rotateY(0) rotateX(0);
}

.lvc-mockup-titlebar {
    background: #161b22;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.lvc-mockup-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.lvc-mockup-dot--red    { background: #ff5f57; }
.lvc-mockup-dot--yellow { background: #febc2e; }
.lvc-mockup-dot--green  { background: #28c840; }
.lvc-mockup-filename {
    position: absolute;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #8b949e;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 12px;
    border-radius: 6px;
}
.lvc-mockup-tab {
    margin-inline-start: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #6e7681;
}

.lvc-mockup-body {
    padding: 18px 20px;
    background: #0d1117;
    overflow-x: auto;
}
.lvc-mockup-code {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: #c9d1d9;
    direction: ltr;
    text-align: left;
    white-space: pre;
}
.lvc-ml-c  { color: #6e7681; font-style: italic; }   /* comment */
.lvc-ml-k  { color: #ff7b72; }                       /* keyword */
.lvc-ml-s  { color: #a5d6ff; }                       /* string */
.lvc-ml-fn { color: #d2a8ff; }                       /* function */

.lvc-mockup-statusbar {
    background: #161b22;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #8b949e;
}
.lvc-mockup-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.lvc-mockup-status-spacer { flex: 1; }

/* Floating badge on top of the mockup */
.lvc-mockup-badge {
    position: absolute;
    top: -16px;
    inset-inline-end: -16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    color: var(--ls-text, #ffffff);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
    transform: rotate(4deg);
}
.lvc-mockup-badge-icon {
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.lvc-btn svg { width: 18px; height: 18px; }

.lvc-btn-primary {
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    color: var(--ls-text, #ffffff);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.lvc-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
    color: var(--ls-text, #ffffff);
}

.lvc-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--lvc-text);
    border: 1px solid var(--lvc-border);
}
.lvc-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--lvc-text);
}

/* RTL flip: ghost button arrow should be on the right */
.lvc-btn-ghost svg { transform: scaleX(-1); }

/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-video-section {
    max-width: 980px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.lvc-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--lvc-border);
}
.lvc-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lvc-video-poster {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: var(--ls-text, #ffffff);
}
.lvc-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lvc-video-poster:hover img { transform: scale(1.03); }

.lvc-video-play {
    position: absolute;
    top: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
}
.lvc-video-poster:hover .lvc-video-play {
    background: rgba(255, 0, 0, 0.9);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.15);
}
.lvc-video-play svg {
    width: 36px;
    height: 36px;
    color: var(--ls-text, #ffffff);
    margin-inline-start: 4px; /* optical alignment */
}

.lvc-video-cta {
    position: absolute;
    bottom: 24px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--ls-text, #ffffff);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.lvc-video-note {
    text-align: center;
    font-size: 13px;
    color: var(--lvc-text-mute);
    margin: 16px 0 0;
}
.lvc-video-note a { color: var(--lvc-accent); text-decoration: none; }
.lvc-video-note a:hover { text-decoration: underline; }
.lvc-video-note code {
    background: var(--lvc-card-2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #c4b5fd;
    font-family: 'JetBrains Mono', monospace;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY STEP NAV
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-step-nav {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-block: 1px solid var(--lvc-border);
    margin-block: 24px;
    padding: 12px 0;
}
.lvc-step-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.lvc-step-nav-label {
    font-size: 13px;
    color: var(--lvc-text-mute);
    font-weight: 600;
    white-space: nowrap;
}
.lvc-step-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--lvc-card);
    border: 1px solid var(--lvc-border);
    border-radius: 999px;
    color: var(--lvc-text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.lvc-step-nav-pill:hover {
    color: var(--lvc-text);
    border-color: rgba(124, 58, 237, 0.4);
}
.lvc-step-nav-pill.is-active {
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    color: var(--ls-text, #ffffff);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
.lvc-step-nav-num {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}
.lvc-step-nav-pill.is-active .lvc-step-nav-num { background: rgba(255, 255, 255, 0.3); }

/* ═══════════════════════════════════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-steps {
    max-width: 880px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.lvc-section-head {
    text-align: center;
    margin-bottom: 48px;
}
.lvc-section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--lvc-text);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.lvc-section-sub {
    font-size: 16px;
    color: var(--lvc-text-dim);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.lvc-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 56px;
    scroll-margin-top: 180px;
}
.lvc-step:last-child { margin-bottom: 0; }

.lvc-step-number-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lvc-step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    color: var(--ls-text, #ffffff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}
.lvc-step-number-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, var(--lvc-grad-from), transparent);
    margin-top: 16px;
    min-height: 40px;
}
.lvc-step:last-child .lvc-step-number-line { display: none; }

.lvc-step-body {
    background: var(--lvc-card);
    border: 1px solid var(--lvc-border);
    border-radius: 20px;
    padding: 28px;
    transition: border-color 0.2s ease;
}
.lvc-step-body:hover {
    border-color: rgba(124, 58, 237, 0.35);
}

.lvc-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.lvc-step-icon {
    width: 44px;
    height: 44px;
    background: rgba(124, 58, 237, 0.12);
    color: #c4b5fd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lvc-step-icon svg { width: 22px; height: 22px; }
.lvc-step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--lvc-text);
    margin: 0;
}

.lvc-step-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--lvc-text-dim);
    margin: 0 0 16px;
}

.lvc-step-tip {
    display: flex;
    gap: 12px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 20px;
}
.lvc-step-tip-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}
.lvc-step-tip p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--lvc-text);
}

.lvc-step-tools-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lvc-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}
.lvc-step-tools-label svg { width: 14px; height: 14px; }

.lvc-tool-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Visual strip of tool chips (pill row above the link list) ── */
.lvc-tool-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}
.lvc-tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background: var(--lvc-card-2);
    border: 1px solid var(--lvc-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--lvc-text-dim);
    transition: all 0.2s ease;
}
.lvc-tool-chip:hover {
    border-color: var(--chip-color, rgba(124, 58, 237, 0.4));
    color: var(--lvc-text);
}
.lvc-tool-chip-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--chip-color, #4077f3);
    color: var(--ls-text, #ffffff);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px var(--lvc-card-2);
}

.lvc-tool {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.lvc-tool-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--lvc-card-2);
    border: 1px solid var(--lvc-border);
    border-radius: 10px;
    color: var(--lvc-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.lvc-tool-link:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.4);
    color: var(--lvc-text);
}
.lvc-tool-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--ls-text, #ffffff);
    font-size: 11px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.lvc-tool-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    flex: 1;
}
.lvc-tool-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    flex-shrink: 0;
}
.lvc-tool-link:hover .lvc-tool-arrow { opacity: 1; }
/* RTL: external link arrow points to the right, but RTL arrows are reversed
   in user perception, so we keep it pointing "out" */
.lvc-tool-arrow { transform: scaleX(-1); }

.lvc-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: var(--lvc-card-2);
    border: 1px solid var(--lvc-border);
    border-radius: 10px;
    color: var(--lvc-text-dim);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 84px;
    justify-content: center;
}
.lvc-copy-btn:hover {
    color: var(--lvc-text);
    border-color: rgba(124, 58, 237, 0.4);
}
.lvc-copy-btn.is-copied {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    color: var(--lvc-success);
}
.lvc-copy-btn svg { width: 14px; height: 14px; }
.lvc-check-icon { display: none; }
.lvc-copy-btn.is-copied .lvc-copy-icon { display: none; }
.lvc-copy-btn.is-copied .lvc-check-icon { display: inline-block; }

/* ═══════════════════════════════════════════════════════════════════════════
   COURSE CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-courses {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 64px 24px;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04) 30%, rgba(124, 58, 237, 0.04) 70%, transparent);
    border-block: 1px solid var(--lvc-border);
}

.lvc-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.lvc-course {
    position: relative;
    background: var(--lvc-card);
    border: 1px solid var(--lvc-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}
.lvc-course:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.lvc-course--highlight {
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.06));
    border-color: rgba(124, 58, 237, 0.4);
}
.lvc-course--highlight:hover {
    border-color: rgba(124, 58, 237, 0.7);
}

/* ── Gradient thumbnail header (visual "cover image" for the course) ── */
.lvc-course-thumb {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lvc-course-thumb-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12) 0, transparent 40%);
    pointer-events: none;
}
.lvc-course-thumb-emoji {
    font-size: 64px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    z-index: 1;
}
.lvc-course-thumb-label {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 16px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ls-text, #ffffff);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
    z-index: 1;
}
.lvc-course-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ls-text, #ffffff);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lvc-course-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lvc-course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--lvc-text);
    margin: 0 0 12px;
    line-height: 1.4;
}
.lvc-course-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--lvc-text-dim);
    margin: 0 0 14px;
    flex: 1;
}
.lvc-course-meta {
    font-size: 13px;
    color: var(--lvc-text-mute);
    margin: 0 0 20px;
    padding-block: 12px;
    border-block: 1px dashed var(--lvc-border);
}

.lvc-course-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.lvc-course-price-new {
    font-size: 30px;
    font-weight: 800;
    color: var(--lvc-text);
    font-family: 'Inter', sans-serif;
}
.lvc-currency {
    font-size: 14px;
    font-weight: 500;
    color: var(--lvc-text-dim);
    margin-inline-start: 2px;
}
.lvc-course-price-old {
    font-size: 16px;
    color: var(--lvc-text-mute);
    text-decoration: line-through;
}
.lvc-course-discount {
    background: rgba(34, 197, 94, 0.15);
    color: var(--lvc-success);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.lvc-course-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--lvc-card-2);
    border: 1px solid var(--lvc-border);
    border-radius: 12px;
    color: var(--lvc-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.lvc-course-cta svg { width: 18px; height: 18px; transform: scaleX(-1); }
.lvc-course-cta:hover {
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    border-color: transparent;
    color: var(--ls-text, #ffffff);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}
.lvc-course--highlight .lvc-course-cta {
    background: linear-gradient(135deg, var(--lvc-grad-from), var(--lvc-grad-to));
    border-color: transparent;
    color: var(--ls-text, #ffffff);
}
.lvc-course--highlight .lvc-course-cta:hover {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.lvc-footer-cta {
    padding: 64px 24px 96px;
    text-align: center;
}
.lvc-footer-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.06));
    border: 1px solid var(--lvc-border);
    border-radius: 24px;
}
.lvc-footer-cta-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--lvc-text);
    margin: 0 0 10px;
}
.lvc-footer-cta-sub {
    font-size: 15px;
    color: var(--lvc-text-dim);
    margin: 0 0 28px;
}
.lvc-footer-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.lvc-footer-cta-actions .lvc-btn svg { width: 18px; height: 18px; }
.lvc-footer-cta-actions .lvc-btn-ghost svg { transform: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* Hero stacks earlier than other sections because the mockup is wide */
    .lvc-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .lvc-hero-text { text-align: center; }
    .lvc-hero-stats { justify-content: center; }
    .lvc-hero-ctas { justify-content: center; }
    .lvc-hero-subtitle { margin-inline: auto; }
    .lvc-mockup-window { transform: none; }
    .lvc-hero-mockup { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .lvc-hero { padding: 48px 20px 36px; }
    .lvc-hero-stats { gap: 18px; }
    .lvc-stat-num { font-size: 26px; }
    .lvc-stat-divider { display: none; }

    .lvc-floater { display: none; } /* hide decorations on mobile for clarity */

    .lvc-video-section { padding: 0 16px; margin-bottom: 48px; }
    .lvc-video-frame { border-radius: 14px; }
    .lvc-video-play { width: 64px; height: 64px; }
    .lvc-video-play svg { width: 28px; height: 28px; }
    .lvc-video-cta { font-size: 12px; padding: 8px 16px; }

    .lvc-step-nav { top: 60px; }
    .lvc-step-nav-inner { padding: 0 16px; }
    .lvc-step-nav-title { display: none; } /* keep just the number on mobile */

    .lvc-steps { padding: 0 16px; margin-bottom: 56px; }

    .lvc-step {
        grid-template-columns: 56px 1fr;
        gap: 14px;
        margin-bottom: 32px;
    }
    .lvc-step-number { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }
    .lvc-step-body { padding: 20px; border-radius: 16px; }
    .lvc-step-icon { width: 38px; height: 38px; }
    .lvc-step-title { font-size: 18px; }
    .lvc-step-desc { font-size: 14px; }

    .lvc-tool { flex-direction: column; }
    .lvc-copy-btn { padding: 10px 14px; }
    .lvc-tool-strip { gap: 6px; }
    .lvc-tool-chip { font-size: 11px; padding: 5px 12px 5px 5px; }
    .lvc-tool-chip-initial { width: 22px; height: 22px; font-size: 10px; }

    .lvc-courses { padding: 48px 16px; }
    .lvc-course-body { padding: 20px 20px 24px; }
    .lvc-course-thumb { height: 100px; }
    .lvc-course-thumb-emoji { font-size: 52px; }

    .lvc-footer-cta { padding: 48px 16px 64px; }
    .lvc-footer-cta-inner { padding: 36px 24px; }
}

@media (max-width: 480px) {
    .lvc-hero-ctas { flex-direction: column; width: 100%; }
    .lvc-hero-ctas .lvc-btn { width: 100%; justify-content: center; }
    .lvc-footer-cta-actions { flex-direction: column; }
    .lvc-footer-cta-actions .lvc-btn { width: 100%; justify-content: center; }
    .lvc-mockup-filename { display: none; } /* tight on small screens */
}
