/* ==========================================================================
   الشيمي في الرياضيات — الصفحة الرئيسية
   ========================================================================== */

/* ---------- Hero ---------- */
.shm-hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.shm-hero::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  inset-inline-start: -220px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 67, 90, .12), transparent 65%);
  pointer-events: none;
}
.shm-hero::after {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  inset-inline-end: -260px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 86, 121, .14), transparent 65%);
  pointer-events: none;
}
.shm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.shm-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.shm-hero__kickerDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.shm-hero__title {
  margin: 22px 0 20px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.015em;
}
.shm-hero__line { display: block; }
.shm-hero__hl { position: relative; display: inline-block; color: var(--accent); }
.shm-hero__hl svg {
  position: absolute;
  inset-inline: -4% -4%;
  bottom: -8px;
  width: 108%;
  height: 18px;
  color: var(--shm-amber-500);
  opacity: .85;
}
.shm-hero__hl svg path { stroke-dasharray: 140; stroke-dashoffset: 140; animation: shmDraw 1.1s .5s ease forwards; }
.shm-hero__lead { max-width: 560px; font-size: 18.5px; line-height: 1.95; color: var(--ink-soft); }
.shm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.shm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  width: fit-content;
  max-width: 100%;
}
.shm-hero__stat { padding: 14px 24px; display: grid; gap: 2px; }
.shm-hero__stat + .shm-hero__stat { border-inline-start: 1px dashed var(--line-strong); }
.shm-hero__statVal { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.shm-hero__statLbl { margin: 0; font-size: 13.5px; color: var(--ink-mute); font-weight: 500; }
.shm-hero__pillars { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; }
.shm-hero__pillars li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.shm-hero__pillars svg { color: var(--accent); }

/* ---------- The board ---------- */
.shm-hero__visual { position: relative; padding: 28px 18px 40px; }
.shm-board {
  position: relative;
  border-radius: 26px;
  padding: 18px 18px 16px;
  color: #dbe7f1;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(61, 110, 150, .35), transparent 60%),
    linear-gradient(160deg, var(--shm-navy-800), var(--shm-navy-950));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(-1.4deg);
}
.shm-board__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; }
.shm-board__tag {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(207, 86, 112, .2);
  color: #ffc3cf;
  font-size: 13px;
  font-weight: 700;
}
.shm-board__fx { font-size: 19px; color: #fff; }
.shm-board__plot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: rgba(0, 0, 0, .18);
  color: #9db8cf;
}
.shm-plot__lbl { font-family: var(--font-math); font-style: italic; font-size: 15px; fill: #c7d7e6; }
.shm-plot__lbl--sm { font-size: 12px; opacity: .7; }
.shm-plot__lbl--pt { font-size: 12.5px; fill: #ffd28a; }
.shm-plot__curve {
  fill: none;
  stroke: #ef7b93;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: shmDraw 1.6s .3s cubic-bezier(.6, .1, .2, 1) forwards;
  filter: drop-shadow(0 0 6px rgba(239, 123, 147, .45));
}
.shm-plot__sine {
  fill: none;
  stroke: #7fb2d9;
  stroke-width: 2;
  stroke-dasharray: 5 6;
  opacity: .55;
}
.shm-plot__tangent {
  stroke: #ffd28a;
  stroke-width: 1.8;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: shmDraw .9s 1.6s ease forwards;
}
.shm-plot__pts circle {
  fill: #fff;
  stroke: #ef7b93;
  stroke-width: 3;
  opacity: 0;
  animation: shmPop .4s ease forwards;
}
.shm-plot__pts circle:nth-child(1) { animation-delay: 1.3s; }
.shm-plot__pts circle:nth-child(2) { animation-delay: 1.5s; }
.shm-plot__pts circle:nth-child(3) { animation-delay: 1.7s; }
.shm-board__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  font-size: 15px;
}
.shm-board__foot b { color: #fff; font-weight: 600; }
.shm-board__therefore { font-size: 24px; color: #ffd28a; line-height: 1; }
.shm-board__ok {
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #23a77c;
  color: #fff;
}

.shm-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  animation: shmFloat 6s ease-in-out infinite;
}
.shm-float .shm-math { font-size: 17px; }
.shm-float__ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.shm-float__ico--ok { background: var(--success-soft-bg); color: var(--success); }
.shm-float--a { top: 0; inset-inline-end: -6px; }
.shm-float--b { bottom: 6px; inset-inline-start: -8px; animation-delay: -2s; }
.shm-float--c { top: 46%; inset-inline-end: -26px; animation-delay: -4s; background: var(--shm-amber-100); border-color: #f0d29b; color: #6a4708; }
html[data-theme="dark"] .shm-float--c { background: #3b2c12; border-color: #6a4f1d; color: #ffd99a; }

.shm-hero__visual--art { padding: 0 0 18px; max-width: 540px; justify-self: center; width: 100%; }
.shm-heroArt {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--shm-navy-900, #0f2335);
  box-shadow: 0 40px 80px -36px rgba(15, 35, 53, .7), 0 0 0 1px var(--line);
  transform: rotate(-1.2deg);
}
.shm-heroArt img { display: block; width: 100%; height: auto; }
.shm-hero__visual--art .shm-float--b { bottom: 0; inset-inline-start: -14px; }

.shm-hero__teacher {
  position: absolute;
  z-index: 3;
  inset-inline-start: -10px;
  top: -6px;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.shm-hero__teacher img {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-2);
}
.shm-hero__teacher figcaption {
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

@keyframes shmDraw { to { stroke-dashoffset: 0; } }
@keyframes shmPop { from { opacity: 0; transform: scale(.4); transform-origin: center; transform-box: fill-box; } to { opacity: 1; transform: scale(1); transform-box: fill-box; } }
@keyframes shmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Ticker ---------- */
.shm-ticker {
  position: relative;
  overflow: hidden;
  background: var(--shm-navy-900);
  color: #dbe7f1;
  border-block: 1px solid rgba(255, 255, 255, .06);
  transform: rotate(-1deg);
  margin: 0 -10px;
  box-shadow: var(--shadow-2);
}
.shm-ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 18px 0;
  direction: ltr;
  animation: shmTicker 46s linear infinite;
}
.shm-ticker__item { font-size: 20px; white-space: nowrap; }
.shm-ticker__sep { color: var(--shm-rose-500); font-size: 11px; }
@keyframes shmTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Method steps ---------- */
.shm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.shm-steps::before {
  content: '';
  position: absolute;
  top: 66px;
  inset-inline: 6%;
  border-top: 2px dashed var(--line-strong);
}
.shm-step {
  --c: var(--shm-rose-600);
  --c-soft: var(--accent-soft);
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 30px 26px 30px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--c);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shm-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.shm-step:nth-child(2) { --c: var(--shm-amber-600); --c-soft: var(--shm-amber-100); }
.shm-step:nth-child(3) { --c: var(--shm-mint-600); --c-soft: var(--shm-mint-100); }
.shm-step:nth-child(4) { --c: var(--shm-navy-700); --c-soft: var(--shm-navy-100); }
html[data-theme="dark"] .shm-step { --c: #e98aa0; --c-soft: rgba(212, 96, 122, .16); }
html[data-theme="dark"] .shm-step:nth-child(2) { --c: #f0bf6a; --c-soft: rgba(227, 163, 58, .16); }
html[data-theme="dark"] .shm-step:nth-child(3) { --c: #3cc495; --c-soft: rgba(23, 138, 102, .2); }
html[data-theme="dark"] .shm-step:nth-child(4) { --c: #8fb6d8; --c-soft: rgba(143, 182, 216, .16); }
.shm-step::after {
  content: attr(data-n);
  position: absolute;
  inset-inline-end: 14px;
  bottom: -34px;
  font-family: var(--font-math);
  font-style: italic;
  font-size: 150px;
  line-height: 1;
  color: var(--c);
  opacity: .07;
  pointer-events: none;
}
.shm-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--c);
  color: #fff;
  font-size: 32px;
  box-shadow: 0 0 0 6px var(--surface), 0 14px 26px -12px var(--c);
  margin-bottom: 6px;
}
html[data-theme="dark"] .shm-step__num { color: #0f2335; }
.shm-step__tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--c);
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--c-soft);
}
.shm-step__title { font-family: var(--font-body); font-size: 23px; font-weight: 700; color: var(--ink); }
.shm-step__text { color: var(--ink-soft); font-size: 16.5px; line-height: 1.9; }

/* ---------- Bento ---------- */
.shm-sec--alt {
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface) 70%, transparent) 18%, color-mix(in srgb, var(--surface) 70%, transparent) 82%, transparent);
}
.shm-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 18px;
}
.shm-tile {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.shm-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.shm-tile--hero {
  grid-column: span 2;
  grid-row: span 2;
  align-content: end;
  gap: 16px;
  padding: 34px;
  color: #dbe7f1;
  background:
    linear-gradient(rgba(157, 184, 207, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(157, 184, 207, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(150deg, var(--shm-navy-700), var(--shm-navy-950));
  border-color: transparent;
}
.shm-tile--hero .shm-btn { justify-self: start; }
.shm-tile__watermark {
  position: absolute;
  top: -40px;
  inset-inline-end: 10px;
  font-size: 260px;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}
.shm-tile__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px;
  font-weight: 600;
  color: #ffc3cf;
}
.shm-tile__bigTitle { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
.shm-tile--hero .shm-tile__text { color: rgba(232, 238, 245, .92); font-size: 18px; max-width: 480px; }
.shm-tile--wide { grid-column: span 2; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.shm-tile__ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
}
.shm-tile__ico--rose { background: var(--accent-soft); color: var(--accent); }
.shm-tile__ico--navy { background: var(--shm-navy-100); color: var(--shm-navy-700); }
.shm-tile__ico--amber { background: var(--shm-amber-100); color: var(--shm-amber-600); }
.shm-tile__ico--mint { background: var(--shm-mint-100); color: var(--shm-mint-600); }
html[data-theme="dark"] .shm-tile__ico--navy { background: rgba(157, 184, 207, .12); color: #a9c5dd; }
html[data-theme="dark"] .shm-tile__ico--amber { background: rgba(227, 163, 58, .14); color: #f0bf6a; }
html[data-theme="dark"] .shm-tile__ico--mint { background: rgba(23, 138, 102, .18); color: #3cc495; }
.shm-tile__title { font-family: var(--font-body); font-size: 22px; font-weight: 700; color: var(--ink); }
.shm-tile__text { color: var(--ink-soft); font-size: 16.5px; line-height: 1.85; }
.shm-tile--wide .shm-tile__title { margin-bottom: 6px; }
.shm-tile__ico--rose2 { background: var(--accent); color: #fff; }
.shm-tile__devices { display: flex; gap: 8px; }
.shm-tile__devices span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.shm-tile__score {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 6px solid var(--success);
  border-inline-start-color: var(--line);
  transform: rotate(-30deg);
}
.shm-tile__score > * { transform: rotate(30deg); }
.shm-tile__score .shm-math { font-size: 30px; line-height: 1; color: var(--ink); }
.shm-tile__score small { font-size: 12px; color: var(--ink-mute); margin-top: -26px; }

/* ---------- Grades ---------- */
.shm-sec__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.shm-sec__head--split > div { display: grid; gap: 14px; }
.shm-gradeCards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shm-gradeCard {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.shm-gradeCard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.shm-gradeCard__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--shm-navy-900);
}
.shm-gradeCard__media picture, .shm-gradeCard__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.shm-gradeCard:hover .shm-gradeCard__media img { transform: scale(1.04); }
.shm-gradeCard__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(150deg, var(--shm-navy-600), var(--shm-navy-900));
}
.shm-gradeCard:nth-child(even) .shm-gradeCard__fallback {
  background:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(150deg, var(--shm-rose-500), var(--shm-rose-700));
}
.shm-gradeCard__sym { font-size: 110px; line-height: 1; color: #fff; }
.shm-gradeCard__fbName { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.3; }
.shm-gradeCard__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}
.shm-gradeCard__body { display: grid; gap: 2px; min-width: 0; }
.shm-gradeCard__name { font-size: 18.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.shm-gradeCard__sub { font-size: 14px; font-weight: 600; color: var(--accent); }
.shm-gradeCard__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-3);
  color: var(--ink);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.shm-gradeCard:hover .shm-gradeCard__go { background: var(--accent); color: #fff; transform: translateX(-4px); }

/* ---------- CTA ---------- */
.shm-cta { padding: 20px 0 100px; }
.shm-cta__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 48px 52px;
  border-radius: 30px;
  overflow: hidden;
  color: #dbe7f1;
  background:
    linear-gradient(rgba(157, 184, 207, .07) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(157, 184, 207, .07) 1px, transparent 1px) 0 0 / 30px 30px,
    radial-gradient(80% 120% at 100% 0%, rgba(184, 67, 90, .4), transparent 60%),
    linear-gradient(150deg, var(--shm-navy-800), var(--shm-navy-950));
  box-shadow: var(--shadow-3);
}
.shm-cta__therefore {
  position: absolute;
  inset-inline-end: 34%;
  bottom: -90px;
  font-size: 300px;
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.shm-cta__copy { position: relative; display: grid; gap: 14px; }
.shm-cta__eq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.shm-cta__eq span {
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.shm-cta__eq b { color: #ffd28a; font-family: var(--font-math); font-size: 18px; }
.shm-cta__eq .shm-cta__eqRes { background: var(--shm-rose-600); border-color: var(--shm-rose-600); color: #fff; }
.shm-cta__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.shm-cta__text { color: rgba(219, 231, 241, .82); font-size: 17px; max-width: 560px; }
.shm-cta__actions { position: relative; display: grid; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shm-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .shm-hero__copy { text-align: center; display: grid; justify-items: center; }
  .shm-hero__lead { margin-inline: auto; }
  .shm-hero__actions, .shm-hero__pillars { justify-content: center; }
  .shm-hero__visual { max-width: 560px; margin-inline: auto; width: 100%; order: -1; }
  .shm-steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .shm-steps::before { display: none; }
  .shm-bento { grid-template-columns: repeat(2, 1fr); }
  .shm-gradeCards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
  .shm-cta__box { grid-template-columns: 1fr; padding: 40px 32px; }
  .shm-cta__actions { grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 760px) {
  .shm-sec { padding: 72px 0; }
  .shm-gradeCards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shm-bento { grid-template-columns: 1fr; }
  .shm-tile--hero, .shm-tile--wide { grid-column: auto; grid-row: auto; }
  .shm-tile--hero { min-height: 340px; }
  .shm-tile--wide { grid-template-columns: auto 1fr; }
  .shm-tile__score, .shm-tile__devices { display: none; }
}
@media (max-width: 560px) {
  .shm-hero { padding: 36px 0 64px; }
  .shm-hero__lead { font-size: 16.5px; }
  .shm-hero__actions { width: 100%; }
  .shm-hero__actions .shm-btn { flex: 1 1 100%; }
  .shm-hero__stats { width: 100%; flex-wrap: nowrap; justify-content: space-around; }
  .shm-hero__stat { flex: 1 1 0; min-width: 0; padding: 12px 6px; text-align: center; }
  .shm-hero__statVal { font-size: 22px; }
  .shm-hero__visual { padding: 24px 0 36px; }
  .shm-hero__visual--art { padding: 0 0 22px; }
  .shm-heroArt { transform: none; border-radius: 22px; }
  .shm-hero__visual--art .shm-float--b { display: none; }
  .shm-board { transform: none; padding: 14px; border-radius: 20px; }
  .shm-board__fx { font-size: 15px; }
  .shm-float { font-size: 13px; padding: 8px 10px; }
  .shm-float--a { inset-inline-end: 4px; top: 0; }
  .shm-float--b { inset-inline-start: 4px; bottom: 0; }
  .shm-float--c { display: none; }
  .shm-hero__teacher img { width: 84px; height: 84px; }
  .shm-steps { grid-template-columns: 1fr; }
  .shm-step { padding: 22px 20px; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
  .shm-step__num { grid-row: span 3; width: 54px; height: 54px; font-size: 27px; }
  .shm-step__title { font-size: 21px; }
  .shm-step__text { font-size: 16px; }
  .shm-step__tag { justify-self: start; }
  .shm-gradeCards { gap: 12px; }
  .shm-gradeCard { border-radius: 20px; }
  .shm-gradeCard__bar { padding: 10px 8px; justify-content: center; text-align: center; }
  .shm-gradeCard__name { font-size: 15px; }
  .shm-gradeCard__sub, .shm-gradeCard__go { display: none; }
  .shm-cta__box { padding: 32px 22px; border-radius: 24px; }
  .shm-cta__actions { grid-auto-flow: row; justify-content: stretch; }
}

/* وضع الأداء على الموبايل والتطبيق */
.student-perf-lite .shm-float,
.student-perf-lite .shm-ticker__track { animation: none !important; }
.student-perf-lite .shm-ticker__track { flex-wrap: nowrap; }
.student-perf-lite .shm-plot__curve,
.student-perf-lite .shm-plot__tangent { animation: none; stroke-dashoffset: 0; }
.student-perf-lite .shm-plot__pts circle { animation: none; opacity: 1; }
.student-perf-lite .shm-hero__hl svg path { animation: none; stroke-dashoffset: 0; }
