/* ==========================================================================
   Laravel Learn — Design System v2 (Brand Book v1.0)
   مینیمال · فلت · تیره | Vazirmatn | #FF2D20
   نسبت رنگ: ۶۰٪ مشکی · ۲۵٪ سطوح · ۱۰٪ سفید/برف · ۵٪ قرمز
   ========================================================================== */

@font-face { font-family: "Vazirmatn"; font-weight: 300; font-display: swap; src: url("../fonts/vazirmatn/Vazirmatn-Light.ttf") format("truetype"); }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url("../fonts/vazirmatn/Vazirmatn-Regular.ttf") format("truetype"); }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-display: swap; src: url("../fonts/vazirmatn/Vazirmatn-Medium.ttf") format("truetype"); }
@font-face { font-family: "Vazirmatn"; font-weight: 600; font-display: swap; src: url("../fonts/vazirmatn/Vazirmatn-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Vazirmatn"; font-weight: 700 900; font-display: swap; src: url("../fonts/vazirmatn/Vazirmatn-Bold.ttf") format("truetype"); }

:root {
  --ll-primary: #FF2D20;
  --ll-primary-hover: #E51D16;
  --ll-bg: #0B0F19;
  --ll-surface: #111827;
  --ll-surface-2: #171E2B;
  --ll-text: #F5F7FA;
  --ll-slate: #6B7280;
  --ll-muted: #9CA3AF;
  --ll-border: #273244;
  --ll-success: #22C55E;
  --ll-warning: #F59E0B;
  --ll-radius-sm: 8px;
  --ll-radius-md: 14px;
  --ll-radius-lg: 20px;
  --ll-glow: 0 10px 30px -8px rgba(255, 45, 32, .55);
  --ll-font: "Vazirmatn", system-ui, sans-serif;
  --ll-code: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ll-max: 1200px;

  /* همسان‌سازی صفحات قدیمی (Tailwind) با رنگ‌های برند */
  --main-color: 255 45 32;
  --secondary-color: 11 15 25;
  --dark-color: 17 24 39;
}

/* ---------- Base (فقط روی بدنه‌ی جدید) ---------- */
.lc-body {
  margin: 0;
  background: var(--ll-bg);
  color: var(--ll-text);
  font-family: var(--ll-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lc-body *, .lc-body *::before, .lc-body *::after { box-sizing: border-box; }
.lc-body a { color: inherit; text-decoration: none; }
.lc-body img { max-width: 100%; display: block; }
.lc-body h1, .lc-body h2, .lc-body h3, .lc-body h4, .lc-body p, .lc-body ul { margin: 0; padding: 0; }
.lc-body ul { list-style: none; }
.lc-body button, .lc-body input, .lc-body select, .lc-body textarea { font: inherit; color: inherit; }
.lc-body :focus-visible { outline: 2px solid var(--ll-primary); outline-offset: 3px; border-radius: 4px; }
.lc-body ::selection { background: var(--ll-primary); color: #fff; }
.lc-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lc-container { width: min(100% - 2.5rem, var(--ll-max)); margin-inline: auto; }
.lc-hl { color: var(--ll-primary); }
.lc-main { min-height: 70vh; }

/* ---------- Buttons ---------- */
.lc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.9rem; padding: .6rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--ll-radius-md);
  font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.lc-btn:hover { transform: translateY(-2px); }
.lc-btn-primary { background: var(--ll-primary); color: #fff; box-shadow: var(--ll-glow); }
.lc-btn-primary:hover { background: var(--ll-primary-hover); }
.lc-btn-outline { background: transparent; border-color: var(--ll-border); color: var(--ll-text); }
.lc-btn-outline:hover { border-color: var(--ll-primary); color: #fff; background: rgba(255, 45, 32, .08); }
.lc-btn-white { background: #fff; color: var(--ll-bg); }
.lc-btn-white:hover { background: var(--ll-text); }
.lc-btn-sm { min-height: 2.35rem; padding: .4rem .95rem; font-size: .85rem; border-radius: var(--ll-radius-sm); }
.lc-btn-lg { min-height: 3.3rem; padding: .8rem 1.9rem; font-size: 1.02rem; border-radius: var(--ll-radius-md); }
.lc-btn-block { width: 100%; }
.lc-btn:disabled, .lc-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.lc-iconbtn {
  position: relative; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); background: transparent; color: var(--ll-muted); cursor: pointer;
  transition: .2s;
}
.lc-iconbtn:hover { color: #fff; border-color: var(--ll-primary); background: rgba(255, 45, 32, .08); }
.lc-iconbtn .lc-icon { width: 1.2rem; height: 1.2rem; }
.lc-badge-dot { position: absolute; top: -.35rem; inset-inline-start: -.35rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; display: grid; place-items: center; border-radius: 1rem; background: var(--ll-primary); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1; }

/* ---------- Tags ---------- */
.lc-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .7rem; border-radius: 2rem; font-size: .72rem; font-weight: 700; line-height: 1.5; background: var(--ll-primary); color: #fff; }
.lc-tag-green { background: rgba(34, 197, 94, .15); color: #4ADE80; }
.lc-tag-ghost { background: rgba(255, 255, 255, .08); color: var(--ll-text); backdrop-filter: blur(6px); }
.lc-tag-red-soft { background: rgba(255, 45, 32, .14); color: #FF6B61; }

/* ---------- Header ---------- */
.lc-banner { background: var(--ll-primary); color: #fff; text-align: center; font-size: .85rem; font-weight: 500; padding: .5rem 2.5rem; position: relative; }
.lc-banner button { position: absolute; inset-inline-end: .8rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; opacity: .85; display: grid; }
.lc-header { position: sticky; top: 0; z-index: 60; background: rgba(11, 15, 25, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ll-border); }
.lc-header-in { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.lc-logo { display: flex; align-items: center; flex: 0 0 auto; }
.lc-logo img { height: 2.6rem; width: auto; }
.lc-nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: .5rem; }
.lc-nav > li { position: relative; }
.lc-nav > li > a { display: flex; align-items: center; gap: .3rem; padding: .5rem .85rem; border-radius: var(--ll-radius-sm); color: var(--ll-muted); font-size: .93rem; font-weight: 500; transition: .2s; }
.lc-nav > li > a:hover, .lc-nav > li > a.is-active { color: #fff; background: var(--ll-surface); }
.lc-nav .lc-icon { width: .9rem; height: .9rem; }
.lc-sub { position: absolute; top: calc(100% + .25rem); inset-inline-start: 0; min-width: 13rem; padding: .4rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.lc-nav > li:hover .lc-sub, .lc-nav > li:focus-within .lc-sub { opacity: 1; visibility: visible; transform: none; }
.lc-sub a { display: block; padding: .5rem .8rem; border-radius: var(--ll-radius-sm); color: var(--ll-muted); font-size: .88rem; }
.lc-sub a:hover { background: var(--ll-surface-2); color: #fff; }
.lc-tools { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }
.lc-search { position: relative; }
.lc-search input { width: 15rem; height: 2.6rem; padding: 0 2.6rem 0 1rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); color: var(--ll-text); font-size: .88rem; transition: .2s; }
.lc-search input::placeholder { color: var(--ll-slate); }
.lc-search input:focus { outline: 0; border-color: var(--ll-primary); width: 18rem; }
.lc-search button { position: absolute; inset-inline-end: .35rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; display: grid; place-items: center; background: none; border: 0; color: var(--ll-muted); cursor: pointer; }
.lc-menu-btn { display: none; }

.lc-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.lc-drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); opacity: 0; transition: .25s; }
.lc-drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(20rem, 86vw); background: var(--ll-bg); border-inline-end: 1px solid var(--ll-border); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
.lc-drawer.is-open { visibility: visible; }
.lc-drawer.is-open .lc-drawer-bg { opacity: 1; }
.lc-drawer.is-open .lc-drawer-panel { transform: none; }
.lc-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.lc-drawer-head img { height: 2.2rem; }
.lc-drawer nav a, .lc-drawer nav summary { display: flex; justify-content: space-between; align-items: center; padding: .75rem .5rem; border-bottom: 1px solid var(--ll-border); color: var(--ll-text); font-weight: 500; cursor: pointer; list-style: none; }
.lc-drawer nav summary::-webkit-details-marker { display: none; }
.lc-drawer nav details a { padding-inline-start: 1.25rem; color: var(--ll-muted); font-weight: 400; font-size: .92rem; }

/* ---------- Hero ---------- */
.lc-hero { position: relative; overflow: hidden; padding: 5.5rem 0 5rem; border-bottom: 1px solid var(--ll-border); isolation: isolate; }
.lc-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--ll-border) 1px, transparent 1px), linear-gradient(90deg, var(--ll-border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%); }
.lc-hero::after { content: ""; position: absolute; z-index: -1; width: 46rem; height: 46rem; inset-block-start: -22rem; inset-inline-end: -12rem; background: radial-gradient(circle, rgba(255, 45, 32, .30), transparent 62%); pointer-events: none; }
.lc-hero-glow2 { position: absolute; z-index: -1; width: 34rem; height: 34rem; inset-block-end: -20rem; inset-inline-start: -10rem; background: radial-gradient(circle, rgba(255, 45, 32, .16), transparent 65%); pointer-events: none; }
.lc-hero-grid > *, .lc-grid > *, .lc-cart-grid > * { min-width: 0; }
.lc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; align-items: center; }
.lc-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .95rem .35rem .8rem; border: 1px solid var(--ll-border); border-radius: 2rem; background: rgba(17, 24, 39, .7); color: var(--ll-muted); font-size: .82rem; font-weight: 500; margin-bottom: 1.5rem; }
.lc-eyebrow i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ll-primary); box-shadow: 0 0 10px var(--ll-primary); }
.lc-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.lc-hero p.lc-lead { margin-top: 1.4rem; max-width: 34rem; color: var(--ll-muted); font-size: 1.1rem; line-height: 1.9; }
.lc-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.lc-hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.4rem; color: var(--ll-muted); font-size: .85rem; }
.lc-hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.lc-hero-trust .lc-icon { color: var(--ll-primary); width: 1.05rem; height: 1.05rem; }

/* Code window */
.lc-code { max-width: 100%; position: relative; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); overflow: hidden; direction: ltr; }
.lc-code-bar { display: flex; align-items: center; gap: .45rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--ll-border); background: var(--ll-surface-2); }
.lc-code-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #2B3547; }
.lc-code-bar i:first-child { background: var(--ll-primary); }
.lc-code-bar span { margin-inline-start: auto; color: var(--ll-slate); font: 500 .75rem var(--ll-code); }
.lc-code pre { direction: ltr; text-align: left; unicode-bidi: isolate; margin: 0; padding: 1.4rem 1.5rem 1.6rem; font: 400 .86rem/1.9 var(--ll-code); color: #C9D1E0; overflow-x: auto; }
.lc-code .k { color: #FF6B61; } .lc-code .s { color: #7EE0A1; } .lc-code .f { color: #8FB8FF; } .lc-code .c { color: var(--ll-slate); } .lc-code .n { color: #FFD479; }
.lc-hero-visual { position: relative; }
.lc-float { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); font-size: .82rem; }
.lc-float b { display: block; font-size: .95rem; color: #fff; line-height: 1.4; }
.lc-float small { color: var(--ll-muted); font-size: .72rem; }
.lc-float .lc-fi { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 45, 32, .14); color: var(--ll-primary); }
.lc-float-a { inset-block-end: -1.5rem; inset-inline-start: -1.8rem; }
.lc-float-b { inset-block-start: -2.6rem; inset-inline-end: 2.2rem; }

/* ---------- Stats ---------- */
.lc-stats { border-bottom: 1px solid var(--ll-border); background: var(--ll-surface); }
.lc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lc-stat { display: flex; align-items: center; gap: 1rem; padding: 1.7rem 1.25rem; border-inline-start: 1px solid var(--ll-border); }
.lc-stat:first-child { border-inline-start: 0; }
.lc-stat .lc-icon { width: 1.7rem; height: 1.7rem; color: var(--ll-primary); }
.lc-stat b { display: block; font-size: 1.55rem; font-weight: 800; line-height: 1.2; color: #fff; }
.lc-stat span { color: var(--ll-muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.lc-section { padding: 5rem 0; }
.lc-section-alt { background: var(--ll-surface); border-block: 1px solid var(--ll-border); }
.lc-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.4rem; }
.lc-kicker { display: inline-block; margin-bottom: .55rem; color: var(--ll-primary); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.lc-sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.4; }
.lc-sec-head p { margin-top: .4rem; color: var(--ll-muted); }
.lc-more { display: inline-flex; align-items: center; gap: .4rem; color: var(--ll-muted); font-size: .9rem; font-weight: 500; white-space: nowrap; transition: .2s; }
.lc-more:hover { color: var(--ll-primary); gap: .65rem; }
.lc-more .lc-icon { width: 1rem; height: 1rem; }
.lc-sec-center { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }

/* ---------- Cards ---------- */
.lc-grid { display: grid; gap: 1.4rem; }
.lc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lc-card { display: flex; flex-direction: column; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); overflow: hidden; transition: border-color .25s, transform .25s; }
.lc-card:hover { border-color: rgba(255, 45, 32, .55); transform: translateY(-4px); }
.lc-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ll-surface-2); }
.lc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lc-card:hover .lc-cover img { transform: scale(1.04); }
.lc-cover .lc-tag { position: absolute; top: .8rem; inset-inline-start: .8rem; }
.lc-cover-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #1a2234, #0e1422); }
.lc-cover-ph img { width: 3.2rem; opacity: .85; }
.lc-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.2rem 1.2rem; gap: .9rem; }
.lc-card-title { font-size: 1.02rem; font-weight: 700; line-height: 1.7; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.4em; }
.lc-card:hover .lc-card-title { color: var(--ll-primary); }
.lc-meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: var(--ll-muted); font-size: .8rem; }
.lc-meta span, .lc-meta a { display: inline-flex; align-items: center; gap: .35rem; }
.lc-meta .lc-icon { width: .95rem; height: .95rem; color: var(--ll-slate); }
.lc-meta a:hover { color: #fff; }
.lc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--ll-border); }
.lc-price { display: flex; flex-direction: column; line-height: 1.4; }
.lc-price { min-height: 2.9rem; justify-content: flex-end; }
.lc-price del { color: var(--ll-slate); font-size: .78rem; line-height: 1.3; }
.lc-price b { font-size: 1.05rem; font-weight: 800; color: #fff; line-height: 1.5; }
.lc-price .free { color: #4ADE80; }
.lc-link-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: var(--ll-radius-sm); background: rgba(255, 45, 32, .12); color: #FF6B61; font-size: .82rem; font-weight: 600; transition: .2s; }
.lc-card:hover .lc-link-btn { background: var(--ll-primary); color: #fff; }
.lc-link-btn .lc-icon { width: .95rem; height: .95rem; }

/* ---------- Paths ---------- */
.lc-paths { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.lc-path { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 1.5rem 1rem; text-align: center; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); font-weight: 600; font-size: .92rem; transition: .25s; }
.lc-path:hover { border-color: var(--ll-primary); transform: translateY(-3px); background: var(--ll-surface-2); }
.lc-path-ico { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 45, 32, .12); color: var(--ll-primary); }
.lc-path-ico svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.lc-path-ico img { width: 1.7rem; height: 1.7rem; }

/* ---------- Features ---------- */
.lc-feature { padding: 1.7rem; background: var(--ll-bg); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); transition: .25s; }
.lc-feature:hover { border-color: rgba(255, 45, 32, .5); }
.lc-feature img { width: 2.6rem; height: 2.6rem; margin-bottom: 1.2rem; }
.lc-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; }
.lc-feature p { color: var(--ll-muted); font-size: .9rem; line-height: 1.9; }

/* ---------- Plans ---------- */
.lc-plan { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.8rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); }
.lc-plan.is-hot { border-color: var(--ll-primary); box-shadow: 0 20px 50px -26px rgba(255, 45, 32, .6); }
.lc-plan h3 { font-size: 1.15rem; font-weight: 800; }
.lc-plan-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.lc-plan-price b { font-size: 1.7rem; font-weight: 800; }
.lc-plan-price del { color: var(--ll-slate); font-size: .85rem; }
.lc-plan-days { color: var(--ll-muted); font-size: .85rem; }
.lc-plan ul { display: grid; gap: .65rem; padding-top: 1rem; border-top: 1px solid var(--ll-border); color: var(--ll-muted); font-size: .9rem; }
.lc-plan li { display: flex; align-items: center; gap: .6rem; }
.lc-plan li .lc-icon { color: var(--ll-primary); width: 1.05rem; height: 1.05rem; }

/* ---------- Testimonials ---------- */
.lc-quote { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.6rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); }
.lc-quote p { color: #D6DBE6; font-size: .93rem; line-height: 2; flex: 1; }
.lc-quote-by { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--ll-border); }
.lc-quote-by img { width: 2.8rem; height: 2.8rem; border-radius: 50%; object-fit: cover; background: var(--ll-surface-2); }
.lc-quote-by b { display: block; font-size: .92rem; }
.lc-quote-by small { color: var(--ll-muted); font-size: .76rem; }
.lc-quote .lc-tag { align-self: flex-start; }

/* ---------- CTA ---------- */
.lc-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 3.4rem; border-radius: var(--ll-radius-lg); background: var(--ll-primary); color: #fff; isolation: isolate; }
.lc-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/brand/pattern-tile.png") center / 380px; opacity: .22; }
.lc-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.5; }
.lc-cta p { margin-top: .5rem; opacity: .9; }
.lc-ad { display: block; margin: 0 auto 4rem; border-radius: var(--ll-radius-lg); overflow: hidden; border: 1px solid var(--ll-border); }
.lc-ad img { width: 100%; }

/* ---------- Footer ---------- */
.lc-footer { margin-top: 5rem; background: var(--ll-surface); border-top: 1px solid var(--ll-border); }
.lc-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; padding: 4rem 0 3rem; }
.lc-footer-brand img { height: 3rem; margin-bottom: 1.2rem; }
.lc-footer p { color: var(--ll-muted); font-size: .88rem; line-height: 2; }
.lc-footer h3 { font-size: .98rem; font-weight: 700; margin-bottom: 1.1rem; color: #fff; }
.lc-footer li + li { margin-top: .6rem; }
.lc-footer li a, .lc-footer p a { color: var(--ll-muted); font-size: .88rem; transition: .2s; }
.lc-footer li a:hover, .lc-footer p a:hover { color: var(--ll-primary); }
.lc-social { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.lc-social a { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); color: var(--ll-muted); transition: .2s; }
.lc-social a:hover { color: #fff; border-color: var(--ll-primary); background: rgba(255, 45, 32, .1); }
.lc-badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.lc-badges > div { background: #fff; padding: .45rem; border-radius: var(--ll-radius-sm); }
.lc-footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--ll-border); color: var(--ll-slate); font-size: .82rem; }
.lc-top { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); background: transparent; color: var(--ll-muted); cursor: pointer; transition: .2s; }
.lc-top:hover { background: var(--ll-primary); border-color: var(--ll-primary); color: #fff; }

/* ---------- Page header / breadcrumb ---------- */
.lc-page-head { padding: 3rem 0 2.4rem; border-bottom: 1px solid var(--ll-border); background: radial-gradient(ellipse 60% 100% at 90% 0, rgba(255, 45, 32, .12), transparent 70%), var(--ll-bg); }
.lc-page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.lc-page-head p { margin-top: .5rem; color: var(--ll-muted); }
.lc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; color: var(--ll-slate); font-size: .82rem; }
.lc-crumbs a:hover { color: var(--ll-primary); }

/* ---------- Forms ---------- */
.lc-field { display: grid; gap: .45rem; }
.lc-field label { font-size: .85rem; font-weight: 500; color: #D6DBE6; }
.lc-input, .lc-select, .lc-textarea { width: 100%; min-height: 3rem; padding: .65rem 1rem; background: var(--ll-bg); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); color: var(--ll-text); transition: border-color .2s, box-shadow .2s; }
.lc-textarea { min-height: 8rem; resize: vertical; }
.lc-input::placeholder, .lc-textarea::placeholder { color: var(--ll-slate); }
.lc-input:focus, .lc-select:focus, .lc-textarea:focus { outline: 0; border-color: var(--ll-primary); box-shadow: 0 0 0 3px rgba(255, 45, 32, .15); }
.lc-error { color: #FF6B61; font-size: .8rem; }
.lc-note { color: var(--ll-muted); font-size: .85rem; }

/* ---------- Panels (cart / profile / auth) ---------- */
.lc-panel { background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); padding: 1.6rem; }
.lc-panel h2, .lc-panel h3 { font-weight: 700; }
.lc-cart-grid { display: grid; grid-template-columns: 1fr 24rem; gap: 1.5rem; align-items: start; padding: 2.5rem 0; }
.lc-cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); background: var(--ll-bg); }
.lc-cart-item + .lc-cart-item { margin-top: .8rem; }
.lc-cart-item img { width: 6.5rem; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--ll-radius-sm); }
.lc-cart-item .t { flex: 1; font-weight: 600; line-height: 1.7; }
.lc-sum-row { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; color: var(--ll-muted); font-size: .92rem; }
.lc-sum-row b { color: #fff; }
.lc-sum-total { margin-top: .4rem; padding-top: 1rem; border-top: 1px dashed var(--ll-border); color: #fff; font-weight: 700; }
.lc-sum-total b { font-size: 1.2rem; color: var(--ll-primary); }
.lc-empty { display: grid; justify-items: center; gap: 1rem; padding: 3.5rem 1rem; text-align: center; color: var(--ll-muted); }
.lc-empty img { width: 3.4rem; opacity: .9; }
.lc-gw { display: grid; gap: .7rem; margin: 1.2rem 0; }
.lc-gw label { display: flex; align-items: center; gap: .85rem; padding: .95rem 1rem; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); background: var(--ll-bg); cursor: pointer; transition: .2s; }
.lc-gw label:hover { border-color: #3b4a63; }
.lc-gw input { accent-color: var(--ll-primary); width: 1.1rem; height: 1.1rem; }
.lc-gw label:has(input:checked) { border-color: var(--ll-primary); background: rgba(255, 45, 32, .07); }
.lc-gw b { display: block; font-size: .92rem; }
.lc-gw small { color: var(--ll-muted); font-size: .76rem; }
.lc-gw .gw-logo { margin-inline-start: auto; height: 1.5rem; width: auto; border-radius: 4px; }

.lc-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 3rem; }
.lc-pager a, .lc-pager span { min-width: 2.5rem; height: 2.5rem; padding: 0 .7rem; display: inline-grid; place-items: center; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-sm); color: var(--ll-muted); font-size: .9rem; transition: .2s; }
.lc-pager a:hover { border-color: var(--ll-primary); color: #fff; }
.lc-pager .is-active { background: var(--ll-primary); border-color: var(--ll-primary); color: #fff; font-weight: 700; }
.lc-pager .is-disabled { opacity: .35; }

.lc-filter { display: flex; flex-wrap: wrap; gap: .7rem; padding: 1rem; margin: 2rem 0; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); }
.lc-filter .lc-input, .lc-filter .lc-select { flex: 1 1 11rem; min-height: 2.8rem; }

/* ---------- Auth ---------- */
.lc-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.lc-auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; background: var(--ll-surface); border-inline-end: 1px solid var(--ll-border); isolation: isolate; }
.lc-auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 20% 90%, rgba(255, 45, 32, .28), transparent 55%), linear-gradient(var(--ll-border) 1px, transparent 1px) 0 0 / 52px 52px, linear-gradient(90deg, var(--ll-border) 1px, transparent 1px) 0 0 / 52px 52px; opacity: .9; }
.lc-auth-side img.logo { height: 2.8rem; width: auto; }
.lc-auth-side h2 { font-size: 2.2rem; font-weight: 800; line-height: 1.5; }
.lc-auth-side p { margin-top: 1rem; color: var(--ll-muted); max-width: 26rem; }
.lc-auth-main { display: grid; place-items: center; padding: 2rem 1.25rem; }
.lc-auth-box { width: min(100%, 26rem); display: grid; gap: 1.2rem; }
.lc-auth-box h1 { font-size: 1.7rem; font-weight: 800; }
.lc-auth-foot { text-align: center; color: var(--ll-muted); font-size: .9rem; }
.lc-auth-foot a { color: var(--ll-primary); font-weight: 600; }

/* ---------- Alerts ---------- */
.lc-alert { padding: .9rem 1.1rem; border-radius: var(--ll-radius-md); border: 1px solid var(--ll-border); background: var(--ll-surface); font-size: .9rem; }
.lc-alert-error { border-color: rgba(255, 45, 32, .5); color: #FF8F87; background: rgba(255, 45, 32, .08); }
.lc-alert-success { border-color: rgba(34, 197, 94, .4); color: #4ADE80; background: rgba(34, 197, 94, .08); }

/* ---------- Error pages ---------- */
.lc-err { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.lc-err b { display: block; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--ll-primary); letter-spacing: -.02em; }
.lc-err h1 { font-size: 1.6rem; margin: 1rem 0 .6rem; font-weight: 800; }
.lc-err p { color: var(--ll-muted); margin-bottom: 1.8rem; }

/* ---------- Reveal ---------- */
.lc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.lc-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lc-footer-grid { grid-template-columns: 1fr 1fr; }
  .lc-search input, .lc-search input:focus { width: 11rem; }
}
@media (max-width: 960px) {
  .lc-nav, .lc-search { display: none; }
  .lc-menu-btn { display: inline-grid; }
  .lc-hero { padding: 3.5rem 0; }
  .lc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .lc-float-a { inset-inline-start: 0; } .lc-float-b { inset-inline-end: 0; }
  .lc-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lc-stat:nth-child(3) { border-inline-start: 0; }
  .lc-stat:nth-child(n+3) { border-top: 1px solid var(--ll-border); }
  .lc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-cart-grid { grid-template-columns: minmax(0, 1fr); }
  .lc-cta { flex-direction: column; align-items: flex-start; padding: 2.4rem 1.8rem; }
  .lc-auth { grid-template-columns: 1fr; }
  .lc-auth-side { display: none; }
}
@media (max-width: 640px) {
  .lc-section { padding: 3.4rem 0; }
  .lc-grid-4, .lc-grid-3, .lc-grid-2 { grid-template-columns: 1fr; }
  .lc-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-sec-head { flex-direction: column; align-items: flex-start; }
  .lc-footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .lc-footer-bar { flex-direction: column; text-align: center; }
  .lc-hero-cta .lc-btn { flex: 1 1 100%; }
  .lc-float { display: none; }
  .lc-tools .lc-btn { display: none; }
  .lc-cart-item { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-body *, .lc-body *::before, .lc-body *::after { transition: none !important; animation: none !important; }
  .lc-reveal { opacity: 1; transform: none; }
}

/* ---------- Chips ---------- */
.lc-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.lc-chip { padding: .4rem 1rem; border: 1px solid var(--ll-border); border-radius: 2rem; color: var(--ll-muted); font-size: .85rem; font-weight: 500; transition: .2s; background: var(--ll-surface); }
.lc-chip:hover { color: #fff; border-color: var(--ll-primary); }
.lc-chip.is-active { background: var(--ll-primary); border-color: var(--ll-primary); color: #fff; }

/* ---------- Auth extras / helpers ---------- */
.d-none { display: none !important; }
.lc-inputwrap { position: relative; }
.lc-inputwrap .lc-icon { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); color: var(--ll-slate); width: 1.1rem; height: 1.1rem; pointer-events: none; }
.lc-inputwrap .lc-input { padding-inline-start: 2.8rem; }
.lc-auth-side { border-inline-end: 0 !important; border-inline-start: 1px solid var(--ll-border); }
.lc-auth-points { display: grid; gap: .7rem; margin-top: 1.6rem; color: #D6DBE6; font-size: .92rem; }
.lc-auth-points li { display: flex; align-items: center; gap: .6rem; }
.lc-auth-points .lc-icon { color: var(--ll-primary); }
.lc-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.lc-otp .lc-input { text-align: center; padding: 0; font-size: 1.3rem; font-weight: 700; min-height: 3.4rem; }
@media (max-width: 960px) { .lc-auth-box { padding-block: 1rem; } }

/* ---------- Podcast card ---------- */
.lc-podcast { flex-direction: row; }
.lc-podcast .lc-cover { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.lc-podcast .lc-card-body { min-width: 0; }
.lc-podcast audio { width: 100%; }
@media (max-width: 640px) { .lc-podcast { flex-direction: column; } .lc-podcast .lc-cover { flex: none; aspect-ratio: 16/10; } }
/* Plyr با تم برند */
.plyr { --plyr-color-main: #FF2D20; --plyr-audio-controls-background: var(--ll-surface-2); --plyr-audio-control-color: #F5F7FA; border-radius: var(--ll-radius-md); }

/* ---------- Article / prose ---------- */
.lc-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1.5rem; padding: 2.5rem 0 1rem; align-items: start; }
.lc-article-cover { width: 100%; border-radius: var(--ll-radius-md); margin-bottom: 1.6rem; aspect-ratio: 16 / 8; object-fit: cover; }
.lc-reader.is-focus { position: fixed; inset: 0; z-index: 200; overflow: auto; border-radius: 0; padding: 2rem max(1.25rem, calc((100vw - 56rem) / 2)); background: var(--ll-bg); }
.lc-reader-close { position: sticky; top: 0; z-index: 2; margin-bottom: 1rem; }
.lc-prose { color: #D6DBE6; font-size: 1.02rem; line-height: 2.1; overflow-wrap: anywhere; }
.lc-prose h1, .lc-prose h2, .lc-prose h3, .lc-prose h4 { color: #fff; font-weight: 800; line-height: 1.7; margin: 2rem 0 .8rem; }
.lc-prose h2 { font-size: 1.5rem; padding-inline-start: .8rem; border-inline-start: 3px solid var(--ll-primary); }
.lc-prose h3 { font-size: 1.2rem; }
.lc-prose p { margin: 0 0 1.1rem; }
.lc-prose a { color: #FF6B61; border-bottom: 1px dashed rgba(255, 107, 97, .5); }
.lc-prose a:hover { color: #fff; }
.lc-prose ul, .lc-prose ol { margin: 0 0 1.1rem; padding-inline-start: 1.6rem; }
.lc-prose ul { list-style: disc; } .lc-prose ol { list-style: decimal; }
.lc-prose li { margin-bottom: .35rem; }
.lc-prose li::marker { color: var(--ll-primary); }
.lc-prose img { border-radius: var(--ll-radius-md); margin: 1.2rem auto; height: auto; }
.lc-prose blockquote { margin: 1.4rem 0; padding: 1rem 1.2rem; border-inline-start: 3px solid var(--ll-primary); background: var(--ll-surface-2); border-radius: var(--ll-radius-sm); color: var(--ll-muted); }
.lc-prose code { direction: ltr; unicode-bidi: isolate; padding: .12rem .45rem; border-radius: 6px; background: var(--ll-surface-2); color: #FF8F87; font: 500 .88em var(--ll-code); }
.lc-prose pre { direction: ltr; text-align: left; margin: 1.3rem 0; padding: 1.1rem 1.3rem; overflow-x: auto; background: #0A0E17 !important; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); line-height: 1.8; }
.lc-prose pre code { padding: 0; background: none; color: #C9D1E0; font-size: .86rem; }
.lc-prose table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; display: block; overflow-x: auto; }
.lc-prose th, .lc-prose td { padding: .65rem .9rem; border: 1px solid var(--ll-border); }
.lc-prose th { background: var(--ll-surface-2); color: #fff; }
.lc-prose iframe, .lc-prose video { max-width: 100%; border-radius: var(--ll-radius-md); }
.lc-comments { display: grid; gap: .9rem; margin: 1.4rem 0 1rem; }
.lc-comment { padding: 1rem 1.1rem; background: var(--ll-bg); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); }
.lc-comment.is-reply { margin-inline-start: 2rem; border-inline-start: 2px solid var(--ll-primary); }
.lc-comment header { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.lc-comment header img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; }
.lc-comment header b { font-size: .9rem; }
.lc-comment header small { display: block; color: var(--ll-slate); font-size: .74rem; }
.lc-comment p { color: #D6DBE6; font-size: .92rem; margin-bottom: .6rem; }
.lc-mini { display: flex; align-items: center; gap: .8rem; font-size: .86rem; font-weight: 500; line-height: 1.7; }
.lc-mini img { width: 4.4rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ll-radius-sm); flex: 0 0 auto; }
.lc-mini:hover span { color: var(--ll-primary); }
@media (max-width: 960px) { .lc-article-grid { grid-template-columns: minmax(0, 1fr); } }
.lc-podcast-hero { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; align-items: center; }
.lc-podcast-hero > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ll-radius-lg); border: 1px solid var(--ll-border); }
@media (max-width: 720px) { .lc-podcast-hero { grid-template-columns: minmax(0, 1fr); } .lc-podcast-hero > img { max-width: 12rem; } }

/* ---------- Single course ---------- */
.lc-video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 1.6rem; border-radius: var(--ll-radius-md); overflow: hidden; background: #000; }
.lc-video iframe, .lc-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lc-collapse { position: relative; max-height: 36rem; overflow: hidden; }
.lc-collapse.is-open { max-height: none; }
.lc-collapse-fade { position: absolute; inset-inline: 0; bottom: 0; height: 7rem; background: linear-gradient(transparent, var(--ll-surface)); pointer-events: none; }
.lc-collapse.is-open .lc-collapse-fade { display: none; }
.lc-note-box { margin-top: 1.6rem; padding: 1.2rem 1.4rem; background: var(--ll-surface-2); border: 1px solid var(--ll-border); border-inline-start: 3px solid var(--ll-primary); border-radius: var(--ll-radius-md); }
.lc-acc { border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); background: var(--ll-bg); overflow: hidden; }
.lc-acc + .lc-acc { margin-top: .6rem; }
.lc-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; font-weight: 600; cursor: pointer; list-style: none; }
.lc-acc > summary::-webkit-details-marker { display: none; }
.lc-acc[open] > summary { border-bottom: 1px solid var(--ll-border); color: #fff; }
.lc-acc-end { display: inline-flex; align-items: center; gap: .6rem; color: var(--ll-muted); }
.lc-acc[open] .lc-acc-end > .lc-icon:last-child { transform: rotate(180deg); }
.lc-acc-end form, .lc-lesson form { margin: 0; }
.lc-acc-body { padding: .4rem .6rem .6rem; }
.lc-lesson { display: flex; align-items: center; gap: .8rem; padding: .65rem .5rem; border-radius: var(--ll-radius-sm); transition: background .15s; }
.lc-lesson:hover { background: var(--ll-surface); }
.lc-lesson .n { width: 1.9rem; height: 1.9rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--ll-surface-2); color: var(--ll-muted); font-size: .8rem; font-weight: 700; }
.lc-lesson h4 { flex: 1; min-width: 0; font-size: .92rem; font-weight: 500; line-height: 1.7; }
.lc-lesson h4 a:hover { color: var(--ll-primary); }
.lc-lesson .end { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.lc-buy { position: sticky; top: 6rem; border-color: rgba(255, 45, 32, .45); }
.lc-stars { display: inline-flex; flex-direction: row-reverse; gap: .1rem; }
.lc-stars input { position: absolute; opacity: 0; pointer-events: none; }
.lc-stars label { font-size: 1.5rem; line-height: 1; color: var(--ll-border); cursor: pointer; transition: color .15s; }
.lc-stars input:checked ~ label, .lc-stars label:hover, .lc-stars label:hover ~ label { color: #FFB020; }
.lc-stars input:disabled ~ label { cursor: default; }
.lc-progress { height: .5rem; background: var(--ll-surface-2); border-radius: 1rem; overflow: hidden; }
.lc-progress i { display: block; height: 100%; background: var(--ll-primary); border-radius: 1rem; }
.lc-sticky-buy { position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 40; display: none; }
@media (max-width: 960px) { .lc-buy { position: static; } .lc-sticky-buy { display: inline-flex; } }

/* ---------- Profile ---------- */
.lc-profile { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 1.5rem; padding: 2.5rem 0 1rem; align-items: start; }
.lc-profile-side { display: grid; gap: 1rem; position: sticky; top: 6rem; }
.lc-profile-card { display: grid; justify-items: center; gap: .15rem; text-align: center; padding: 1.5rem 1rem; }
.lc-profile-card b { font-size: 1rem; margin-top: .6rem; }
.lc-avatar { width: 4.6rem; height: 4.6rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ll-surface-2); border: 2px solid var(--ll-primary); color: var(--ll-muted); }
.lc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lc-avatar .lc-icon { width: 1.8rem; height: 1.8rem; }
.lc-profile-nav { display: grid; gap: .2rem; padding: .6rem; }
.lc-profile-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: var(--ll-radius-sm); color: var(--ll-muted); font-size: .9rem; font-weight: 500; transition: .18s; }
.lc-profile-nav a:hover { background: var(--ll-surface-2); color: #fff; }
.lc-profile-nav a.is-active { background: rgba(255, 45, 32, .12); color: #fff; }
.lc-profile-nav a.is-active .lc-icon { color: var(--ll-primary); }
.lc-profile-nav a.is-staff { margin-top: .4rem; border: 1px dashed var(--ll-border); }
.lc-profile-nav a.is-out { color: #FF6B61; }
.lc-tabpane { display: none; }
.lc-tabpane.is-active { display: block; animation: lcfade .25s ease; }
@keyframes lcfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lc-pane-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.2rem; }
.lc-pane-sub { font-size: 1rem; font-weight: 700; margin-bottom: .9rem; }
.lc-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.lc-stat-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); }
.lc-stat-card .ico { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 45, 32, .12); color: var(--ll-primary); }
.lc-stat-card b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.lc-stat-card small { color: var(--ll-muted); font-size: .78rem; }
.lc-teacher-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; border-color: rgba(255, 45, 32, .4); background: linear-gradient(120deg, rgba(255, 45, 32, .12), transparent 60%), var(--ll-surface); }
.lc-row-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.lc-sub-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lc-notice { padding: .8rem 0; border-bottom: 1px solid var(--ll-border); }
.lc-notice:last-child { border-bottom: 0; }
.lc-notice p { font-size: .9rem; } .lc-notice small { color: var(--ll-slate); font-size: .74rem; }
.lc-order { display: flex; align-items: center; gap: 1rem; padding: .9rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); flex-wrap: wrap; }
.lc-order img { width: 6.5rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--ll-radius-sm); }
.lc-order .t { flex: 1; min-width: 12rem; display: grid; gap: .25rem; justify-items: start; }
.lc-order .t a { font-weight: 600; line-height: 1.7; } .lc-order .t a:hover { color: var(--ll-primary); }
.lc-avatar-edit { display: flex; align-items: center; gap: 1rem; }
.lc-formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lc-tablewrap { overflow-x: auto; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); }
.lc-table { width: 100%; border-collapse: collapse; }
.lc-table th, .lc-table td { padding: .85rem 1rem; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--ll-border); font-size: .88rem; }
.lc-table th { background: var(--ll-surface-2); color: var(--ll-muted); font-weight: 600; font-size: .78rem; }
.lc-table tr:last-child td { border-bottom: 0; }
.lc-dialog { width: min(100% - 2rem, 38rem); max-height: 90vh; padding: 0; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); background: var(--ll-surface); color: var(--ll-text); font-family: var(--ll-font); overflow: auto; }
.lc-dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
.lc-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; border-bottom: 1px solid var(--ll-border); }
.lc-dialog-head h3 { font-size: 1.02rem; font-weight: 700; }
.lc-dialog-body { padding: 1.3rem; }
@media (max-width: 960px) {
  .lc-profile { grid-template-columns: minmax(0, 1fr); }
  .lc-profile-side { position: static; }
  .lc-profile-nav { display: flex; overflow-x: auto; gap: .3rem; }
  .lc-profile-nav a { white-space: nowrap; }
}
@media (max-width: 640px) { .lc-formgrid { grid-template-columns: minmax(0, 1fr); } }
.lc-tickets { display: grid; gap: .7rem; }
.lc-ticket { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); transition: .2s; }
.lc-ticket:hover { border-color: var(--ll-primary); }
.lc-ticket .s { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; }
.lc-ticket .lc-icon { color: var(--ll-primary); }

.lc-teacher-head { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.lc-teacher-head > div:last-child { flex: 1; min-width: 16rem; }
.lc-lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.5rem; padding: 2rem 0 1rem; align-items: start; }
.lc-lesson-list { max-height: 75vh; overflow-y: auto; }
.lc-lesson.is-current { background: rgba(255, 45, 32, .1); }
.lc-lesson.is-current h4 { color: #fff; font-weight: 700; }
@media (max-width: 960px) { .lc-lesson-grid { grid-template-columns: minmax(0, 1fr); } .lc-lesson-list { max-height: none; } }
.lc-map { height: 22rem; border-radius: var(--ll-radius-lg); overflow: hidden; border: 1px solid var(--ll-border); }
.lc-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: start; }
.lc-contact-list { display: grid; gap: 1rem; }
.lc-contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.lc-contact-list .ico { width: 2.6rem; height: 2.6rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 45, 32, .12); color: var(--ll-primary); }
.lc-contact-list h3 { font-size: .92rem; font-weight: 700; } .lc-contact-list p { color: var(--ll-muted); font-size: .88rem; }
@media (max-width: 960px) { .lc-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.lc-chat { display: grid; gap: .9rem; margin-top: 1rem; }
.lc-bubble { max-width: 85%; padding: .9rem 1.1rem; border: 1px solid var(--ll-border); border-radius: var(--ll-radius-md); background: var(--ll-bg); display: grid; gap: .5rem; justify-items: start; }
.lc-bubble header { display: flex; gap: .8rem; align-items: baseline; }
.lc-bubble header small { color: var(--ll-slate); font-size: .74rem; }
.lc-bubble p { font-size: .92rem; line-height: 2; white-space: pre-line; }
.lc-bubble.is-admin { margin-inline-start: auto; border-color: rgba(255, 45, 32, .4); background: rgba(255, 45, 32, .07); }
.lc-buy .lc-price { gap: .15rem; }
