/* /tutorials — one video per setting (Mode, Explain, Snap & Explain, Voice, Save & reset). Premium look like /pricing:
   dark grid+glow hero with a copy of the app's Settings panel (its rows jump to each video), then light video cards. */
.tu { --gold: #fbbf24; --gold-2: #f59e0b; --deep: #120b1f; --deep-2: #1d1235; --edge: rgba(255, 255, 255, .12); padding: 0 !important; }

/* ---- hero ---- */
.tu-hero { position: relative; overflow: hidden; color: #ece6fa; padding: 76px 0 150px;
  background: linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 55%, #2a1950 100%); }
.tu-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); }
.tu-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.tu-glow-a { width: 560px; height: 560px; right: -140px; top: -200px; background: rgba(139, 92, 246, .45); }
.tu-glow-b { width: 460px; height: 460px; left: -180px; bottom: -160px; background: rgba(245, 158, 11, .13); }
.tu-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.tu-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--edge); color: #d9cff3; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tu-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(251, 191, 36, .18); }
.tu-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.03; letter-spacing: -.03em; margin: 22px 0 18px; }
.tu-grad { background: linear-gradient(92deg, #c4b5fd 0%, #e9d5ff 35%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tu-lead { max-width: 540px; margin: 0 0 16px; font-size: 1.14rem; line-height: 1.65; color: #c9bfe0; }
.tu-lead b { color: #fff; font-weight: 600; }
.tu-start { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .98rem; color: #b9addb; }
.tu-gear { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .1);
  border: 1px solid var(--edge); color: #fff; font-size: 1rem; line-height: 1; }

/* the Settings panel copy (looks like the app's own ⚙ panel) */
.tu-panel { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(43, 30, 72, .92), rgba(28, 19, 49, .94)); border: 1px solid rgba(196, 181, 253, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 60px rgba(139, 92, 246, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tu-panel::before { content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(251, 191, 36, .75), rgba(167, 139, 250, .3) 45%, rgba(255, 255, 255, .04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tu-panel-top { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #a99dc4; border-bottom: 1px solid rgba(196, 181, 253, .14); margin-bottom: 4px; }
.tu-panel-gear { color: var(--gold); font-size: 1rem; letter-spacing: 0; }
.tu-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; color: #ece6fa; text-decoration: none;
  background: rgba(255, 255, 255, .045); transition: background .15s, transform .15s; }
.tu-row:hover { background: rgba(196, 181, 253, .16); color: #fff; transform: translateX(3px); }
.tu-row-k { font-weight: 600; font-size: .98rem; }
.tu-row-v { margin-left: auto; font-size: .84rem; color: #a99dc4; white-space: nowrap; }
.tu-row i { font-style: normal; color: #c4b5fd; font-size: 1.2rem; line-height: 1; }
.tu-panel-note { margin: 8px 6px 0; font-size: .82rem; color: #a99dc4; text-align: center; }

/* ---- the videos ---- */
.tu-body { position: relative; z-index: 2; margin-top: -90px; padding-bottom: 88px; }
.tu-item { scroll-margin-top: 96px; margin: 0 0 30px; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(36, 27, 51, .03), 0 24px 60px rgba(36, 27, 51, .1); transition: box-shadow .4s; }
.tu-item.tu-flash { box-shadow: 0 0 0 3px rgba(251, 191, 36, .7), 0 24px 60px rgba(36, 27, 51, .14); }
.tu-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.tu-n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-top: 2px;
  background: linear-gradient(160deg, var(--deep) 0%, #2c1b55 100%); color: var(--gold); font-weight: 700; font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35), 0 8px 18px rgba(36, 27, 51, .2); }
.tu-path { margin: 0 0 2px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--violet-strong); }
.tu-path i { font-style: normal; color: var(--ink-soft); margin: 0 3px; }
.tu-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 4px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.015em; }
.tu-sum { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; }
.tu-new { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(180deg, #fcd34d, var(--gold-2)); color: #2a1a03; box-shadow: 0 6px 16px rgba(245, 158, 11, .3); }
.tu-len { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--wash); color: var(--violet-strong); }
.tu-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; align-items: start; }

/* the video spot: a player once the file is there, "coming soon" until then */
.tu-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--deep);
  box-shadow: 0 18px 40px rgba(36, 27, 51, .22); }
.tu-video::after { content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(251, 191, 36, .8), rgba(139, 92, 246, .55) 50%, rgba(139, 92, 246, .15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tu-video video { display: block; width: 100%; height: 100%; background: #000; }
.tu-video video ~ .tu-soon { display: none; }
.tu-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px;
  text-align: center; color: #c9bfe0;
  background: radial-gradient(420px 260px at 85% 0%, rgba(139, 92, 246, .42), transparent 70%), radial-gradient(360px 220px at 0% 100%, rgba(245, 158, 11, .14), transparent 70%),
    linear-gradient(160deg, var(--deep) 0%, #26174d 100%); }
.tu-soon::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 50%, #000 15%, transparent 75%); }
.tu-play { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1.5px dashed rgba(251, 191, 36, .55); }
.tu-play svg { width: 30px; height: 30px; margin-left: 4px; fill: rgba(255, 255, 255, .85); }
.tu-soon b { position: relative; color: #fff; font-size: 1.15rem; font-weight: 600; }
.tu-soon span:last-child { position: relative; font-size: .92rem; }

.tu-notes h3 { margin: 2px 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.tu-notes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tu-notes li { position: relative; padding-left: 20px; font-size: .96rem; line-height: 1.55; color: var(--ink); }
.tu-notes li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.tu-notes kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; font: 600 .84rem/1.5 "Lexend", system-ui, sans-serif; color: var(--ink);
  background: var(--wash); border: 1px solid #d9ccf5; box-shadow: 0 1px 0 #d9ccf5; }
.tu-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tu-tags span { padding: 3px 10px; border-radius: 999px; font-size: .8rem; background: var(--wash); color: #4c2a92; border: 1px solid #e3d8fb; }

/* ---- still stuck ---- */
.tu-help { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 44px; padding: 34px 36px !important;
  border-radius: 26px; color: #ece6fa;
  background: radial-gradient(420px 260px at 100% 0%, rgba(139, 92, 246, .5), transparent 70%), radial-gradient(360px 220px at 0% 100%, rgba(245, 158, 11, .14), transparent 70%),
    linear-gradient(160deg, var(--deep) 0%, #26174d 100%);
  box-shadow: 0 30px 70px rgba(36, 27, 51, .3); }
.tu-help h2 { margin: 0 0 6px; color: #fff; font-size: 1.6rem; }
.tu-help p { margin: 0; color: #c9bfe0; }
.tu-help-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tu-btn-gold { background: linear-gradient(180deg, #fcd34d 0%, var(--gold-2) 100%); color: #2a1a03; border: 0; font-weight: 700;
  box-shadow: 0 10px 26px rgba(245, 158, 11, .32); }
.tu-btn-gold:hover { color: #2a1a03; filter: brightness(1.05); }

/* ---- smaller screens ---- */
@media (max-width: 960px) {
  .tu-hero { padding: 56px 0 130px; }
  .tu-hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tu-panel { max-width: 460px; }
  .tu-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .tu-hero { padding: 40px 0 110px; }
  .tu-body { margin-top: -76px; padding-bottom: 60px; }
  .tu-item { padding: 20px 16px; border-radius: 20px; margin-bottom: 20px; }
  .tu-head { gap: 12px; margin-bottom: 16px; }
  .tu-n { width: 38px; height: 38px; border-radius: 11px; font-size: 1.05rem; }
  .tu-video, .tu-video::after { border-radius: 14px; }
  .tu-play { width: 58px; height: 58px; margin-bottom: 4px; }
  .tu-play svg { width: 24px; height: 24px; }
  .tu-soon b { font-size: 1rem; }
  .tu-soon span:last-child { font-size: .84rem; }
  .tu-help { padding: 26px 20px !important; border-radius: 20px; }
  .tu-help-actions, .tu-help-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tu-row, .tu-item { transition: none; }
  .tu-row:hover { transform: none; }
}

.tu-tour-note { margin: 12px 0 0; font-size: .9rem; color: #6b6480; }
