/* EduSoulX tablet page – built on the Munja AI home styles (home.css): h-sec, h-head, acard, wcard, why/vs. 17 Oct 2026 */

/* hero */
.tb-hero { background: radial-gradient(120% 90% at 85% 10%, #3B2A99 0%, #1D1842 55%, #141032 100%); color: #fff; overflow: hidden; }
.tb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.tb-hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tb-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; margin: 0; }
.tb-hero h1 em { font-style: normal; color: #FFC46B; }
.tb-hero .lede { color: var(--on-dark-soft); max-width: 34em; margin: 0; }
.tb-price { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 12px 16px; }
.tb-price div { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); }
.tb-price b { font-size: 2.4rem; line-height: 1; color: #fff; }
.tb-price span { font-size: 1.1rem; color: var(--on-dark-soft); }
.tb-price p { margin: 0; font-size: .95rem; color: var(--on-dark-soft); flex: 1 1 220px; }
.tb-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tb-trust li { font-size: .88rem; font-weight: 700; padding: 5px 12px 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.tb-trust li::before { content: "✓ "; color: #7FE3B5; }
.tb-tc { margin: -6px 0 0; font-size: .8rem; color: var(--on-dark-soft); }
.tb-tc a { color: inherit; }
.tb-hero-art { position: relative; justify-self: center; width: min(520px, 100%); }
.tb-hero-art img { width: 100%; height: auto; display: block; border-radius: 26px; border: 6px solid rgba(255, 255, 255, .92); box-shadow: 0 34px 70px rgba(0, 0, 0, .5); transform: rotate(-2deg); animation: tbFloat 7s ease-in-out infinite; }
.tb-tag { position: absolute; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; border-radius: 12px; padding: 7px 12px 6px; box-shadow: 0 12px 26px rgba(0, 0, 0, .3); white-space: nowrap; animation: tbPop .6s both; }
.tb-tag.t1 { top: -4%; left: -4%; animation-delay: .4s; }
.tb-tag.t2 { bottom: 16%; right: -5%; animation-delay: .7s; }
.tb-tag.t3 { bottom: -5%; left: 6%; background: var(--saffron); color: var(--night); animation-delay: 1s; }
@keyframes tbFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes tbPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* gallery: one big photo, thumbnails underneath */
.tb-gallery { max-width: 920px; margin: 36px auto 0; padding: 16px; gap: 14px; }
.tb-main { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tb-main img { width: 100%; height: 400px; object-fit: contain; display: block; border-radius: 16px; background: var(--paper); transition: opacity .25s; }
.tb-main figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-align: center; color: var(--ink); }
.tb-thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.tb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--paper); cursor: pointer; aspect-ratio: 1; overflow: hidden; transition: border-color .2s, transform .2s; }
.tb-thumbs button:hover { transform: translateY(-2px); }
.tb-thumbs button.on { border-color: var(--violet); box-shadow: 0 6px 16px rgba(91, 67, 214, .25); }
.tb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* phone vs tablet: home "why" panel */
.tb-note { text-align: center; margin: 18px 0 0; font-size: .85rem; color: var(--on-dark-soft); }
.tb-note a { color: inherit; }
.why .vs-row:nth-child(6) { animation-delay: 1.25s; }

/* features */
.tb-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tb-feats .acard { padding: 22px 22px 24px; gap: 10px; }
.tb-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.tb-ic svg { width: 28px; height: 28px; }
.tb-ic.v { background: #EFEAFD; color: var(--violet); }
.tb-ic.s { background: var(--saffron-wash); color: #B8650C; }
.tb-ic.t { background: var(--teal-wash); color: var(--teal-deep); }
.tb-feats .acard h3 { font-size: 1.25rem; }

/* blocked / allowed */
.tb-lock .wcard { border-radius: 24px; }
.tb-lock-top { display: flex; align-items: center; gap: 12px; padding: 18px 24px; }
.tb-lock-top h3 { margin: 0; font-size: 1.35rem; }
.tb-lock-top span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.tb-lock-top span svg { width: 22px; height: 22px; }
.tb-lock-top.off { background: linear-gradient(135deg, #FDE4E1, #FFF4F2); }
.tb-lock-top.off span { background: #C6392B; }
.tb-lock-top.on { background: linear-gradient(135deg, #DDF5E7, #F2FBF6); }
.tb-lock-top.on span { background: #1F9D5C; }
.tb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tb-list li { position: relative; padding-left: 30px; color: var(--ink); }
.tb-list li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; }
.tb-list.x li::before { content: "✕"; background: #E8806F; }
.tb-list.ok li::before { content: "✓"; background: #3FB57A; }

/* specifications + box */
.tb-specgrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; margin-top: 36px; align-items: start; }
.tb-spec { padding: 8px 22px; gap: 0; }
.tb-spec div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tb-spec div:last-child { border-bottom: 0; }
.tb-spec span { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.tb-spec b { font-weight: 600; color: var(--ink); }
.tb-boxcard img { width: 100%; height: 240px; object-fit: contain; display: block; background: linear-gradient(160deg, #F1ECFF, #FFFFFF); padding: 14px; }
.tb-boxcard .wcard-body h3 { font-size: 1.4rem; }
.tb-care { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tb-care span { background: var(--teal-wash); color: var(--teal-deep); border-radius: 99px; padding: 5px 12px 4px; font-size: .88rem; }

/* how to buy */
.tb-steps .acard { padding: 22px; }

/* booking summary */
.tb-sum dl { margin: 0; display: flex; flex-direction: column; }
.tb-sum dl div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tb-sum dt { color: var(--ink-soft); }
.tb-sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.tb-sum .tot dd, .tb-sum .tot dt { color: var(--ink); font-weight: 800; }
.tb-sum .adv { background: var(--saffron-wash); border-radius: 12px; padding: 10px 12px; border: 0; margin: 8px 0; }
.tb-sum .adv dt, .tb-sum .adv dd { color: #7A4300; font-weight: 800; }

/* demo */
.tb-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.tb-demo .h-head { margin: 0; }

@media (max-width: 900px) {
  .tb-hero-grid, .tb-specgrid, .tb-demo { grid-template-columns: minmax(0, 1fr); }
  .tb-hero-art { width: min(420px, 92%); order: -1; }
  .tb-hero-art img { transform: none; animation: none; }
  .tb-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .tb-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tb-feats { grid-template-columns: minmax(0, 1fr); }
  .tb-main img { height: 260px; }
  .tb-thumbs { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .tb-thumbs button { flex: none; width: 70px; }
  .tb-spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tb-tag { font-size: .76rem; padding: 5px 9px 4px; }
  .tb-price b { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .tb-hero-art img, .tb-tag { animation: none; } }

/* "See the tablet": portrait video + 4 photos (17 Oct 2026) */
.tb-show { display: grid; grid-template-columns: 330px minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, 285px); gap: 16px; max-width: 1000px; margin: 36px auto 0; }
.tb-show-video { grid-row: 1 / 3; position: relative; border-radius: 26px; overflow: hidden; background: #141032; box-shadow: 0 24px 50px rgba(30, 20, 80, .28); }
.tb-show-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #141032; }
.tb-show-tag { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 700; font-size: .78rem; border-radius: 99px; padding: 5px 11px 4px 26px; pointer-events: none; }
.tb-show-tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #E5484D; animation: tbBlink 1.6s infinite; }
@keyframes tbBlink { 50% { opacity: .25; } }
.tb-shot { position: relative; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; font: inherit; background: var(--surface, #fff); box-shadow: var(--shadow); min-width: 0; }
.tb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tb-shot:hover img, .tb-shot:focus-visible img { transform: scale(1.05); }
.tb-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 13px; background: linear-gradient(transparent, rgba(20, 16, 50, .82)); color: #fff; font-weight: 700; font-size: .95rem; text-align: left; }
.tb-show.novideo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: repeat(3, 190px); }
.tb-show.novideo .tb-show-video { display: none; }
.tb-show.novideo .tb-shot:first-of-type { grid-row: 1 / 4; }

/* light box */
.tb-lb { position: fixed; inset: 0; z-index: 100; background: rgba(15, 12, 40, .88); display: grid; place-items: center; padding: 20px; }
.tb-lb[hidden] { display: none; }
.tb-lb figure { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.tb-lb img { max-width: min(1000px, 92vw); max-height: 80vh; border-radius: 18px; display: block; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.tb-lb figcaption { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-align: center; }
.tb-lb button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* "Free online demo" button, on every panel */
.tb-dcta { display: inline-flex; align-items: center; gap: 14px; padding: 11px 14px 11px 11px; border-radius: 20px; background: #fff; border: 1.5px solid #CFC2F7; box-shadow: 0 12px 28px rgba(62, 43, 166, .14); color: var(--ink); text-decoration: none; text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tb-dcta:hover, .tb-dcta:focus-visible { transform: translateY(-2px); border-color: var(--violet); box-shadow: 0 16px 34px rgba(62, 43, 166, .22); }
.tb-dcta-ic { position: relative; width: 46px; height: 46px; flex: none; border-radius: 15px; background: linear-gradient(135deg, #6A52E6, #3E2BA6); color: #fff; display: grid; place-items: center; }
.tb-dcta-ic svg { width: 23px; height: 23px; }
.tb-dcta-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 18px; border: 2px solid rgba(106, 82, 230, .45); animation: tbRing 2.2s ease-out infinite; }
@keyframes tbRing { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.tb-dcta-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tb-dcta-t b { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.15; }
.tb-dcta-t small { color: var(--ink-soft); font-size: .86rem; }
.tb-dcta-go { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--saffron); color: var(--night); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; margin-left: 4px; transition: transform .2s; }
.tb-dcta:hover .tb-dcta-go { transform: translateX(3px); }
.why .tb-dcta { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: #fff; box-shadow: none; }
.why .tb-dcta:hover { border-color: #FFC46B; background: rgba(255, 255, 255, .12); }
.why .tb-dcta-t small { color: var(--on-dark-soft); }
.why .tb-dcta-ic { background: var(--saffron); color: var(--night); }
.why .tb-dcta-ic::after { border-color: rgba(238, 138, 27, .5); }
.why .tb-dcta-go { background: #fff; }
.tb-dcta-row { align-items: center; }
.tb-dcta-side { margin-top: 14px; }
.tb-dcta-side .tb-dcta { width: 100%; }
.tb-dcta-side .tb-dcta-t { flex: 1; }

@media (max-width: 760px) {
  .tb-show, .tb-show.novideo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .tb-show-video { grid-row: auto; grid-column: 1 / -1; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; justify-self: center; }
  .tb-shot { aspect-ratio: 1; }
  .tb-show.novideo .tb-shot:first-of-type { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .tb-shot span { font-size: .82rem; padding: 24px 10px 9px; }
  .tb-dcta { width: 100%; }
  .tb-dcta-t { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .tb-dcta-ic::after, .tb-show-tag::before { animation: none; } }