/* =====================================================================
   Tutin theme (2026 refresh)
   Loaded after styles.css. Brand colours are unchanged; this layer adds
   the type scale, components, layout and motion used by public pages.
   ===================================================================== */

:root {
  --t-green: #25a36f;
  --t-green-600: #1e8d5f;
  --t-green-700: #17734d;
  --t-teal: #2fb79c;
  --t-blue: #4dbbe6;
  --t-mint: #e6f7f0;
  --t-aqua: #e4f5fb;
  --t-ink: #0f2236;
  --t-ink-2: #2b3d50;
  --t-muted: #5f7184;
  --t-line: #e2ebe7;
  --t-surface: #ffffff;
  --t-wash: #f5faf8;
  --t-amber: #f5b301;
  --t-coral: #e2574c;
  --t-grad: linear-gradient(120deg, #25a36f 0%, #2fb79c 52%, #4dbbe6 100%);
  --t-grad-soft: linear-gradient(135deg, #e9f8f1 0%, #e6f6fb 100%);
  --t-radius-xl: 28px;
  --t-radius-lg: 22px;
  --t-radius: 16px;
  --t-radius-sm: 12px;
  --t-shadow-sm: 0 1px 2px rgba(15, 34, 54, .06), 0 2px 10px rgba(15, 34, 54, .04);
  --t-shadow: 0 14px 34px -16px rgba(15, 34, 54, .22);
  --t-shadow-lg: 0 34px 70px -28px rgba(15, 34, 54, .35);
  --t-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-ease: cubic-bezier(.2, .7, .2, 1);
  --bs-primary: #25a36f;
  --bs-primary-rgb: 37, 163, 111;
  --bs-link-color: #1e8d5f;
  --bs-link-color-rgb: 30, 141, 95;
  --bs-link-hover-color: #17734d;
  --bs-link-hover-color-rgb: 23, 115, 77;
  --bs-body-font-family: var(--t-font);
  --bs-body-color: #0f2236;
  --bs-border-radius: 12px;
  --bs-border-radius-lg: 16px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--t-font);
  color: var(--t-ink);
  background: var(--t-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-4, .display-5 {
  font-family: var(--t-font);
  color: inherit;
  letter-spacing: -.022em;
  font-weight: 750;
}
.text-muted { color: var(--t-muted) !important; }
::selection { background: rgba(47, 183, 156, .22); }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(47, 183, 156, .55); outline-offset: 2px; }
img { max-width: 100%; }
main { min-height: 50vh; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 650; letter-spacing: -.005em; padding: .6rem 1.25rem; transition: transform .2s var(--t-ease), box-shadow .2s var(--t-ease), background-color .2s, color .2s, border-color .2s; }
.btn-sm { padding: .4rem .9rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-primary {
  --bs-btn-bg: var(--t-green); --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: var(--t-green-600); --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: var(--t-green-700); --bs-btn-active-border-color: transparent;
  background-image: var(--t-grad); background-size: 140% 100%; background-position: 0 0;
  border: 0; color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 163, 111, .7);
}
.btn-primary:hover, .btn-primary:focus-visible { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(37, 163, 111, .8); color: #fff; }
.btn-outline-primary {
  --bs-btn-color: var(--t-green-600); --bs-btn-border-color: rgba(37, 163, 111, .45);
  --bs-btn-hover-bg: var(--t-mint); --bs-btn-hover-color: var(--t-green-700); --bs-btn-hover-border-color: var(--t-green);
  --bs-btn-active-bg: var(--t-mint); --bs-btn-active-color: var(--t-green-700);
  border-width: 1.5px;
}
.btn-outline-primary:hover { transform: translateY(-1px); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--t-line); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: rgba(37, 163, 111, .45); }

.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 999px; font-weight: 700; padding: .85rem 1.45rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s var(--t-ease), box-shadow .2s var(--t-ease), background-position .4s var(--t-ease), background-color .2s, color .2s; line-height: 1.1; }
.tbtn svg { flex: none; }
.tbtn--primary { color: #fff; background: var(--t-grad); background-size: 150% 100%; box-shadow: 0 14px 30px -14px rgba(37, 163, 111, .75); }
.tbtn--primary:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(37, 163, 111, .85); }
.tbtn--ghost { color: var(--t-ink); background: rgba(255, 255, 255, .7); border-color: var(--t-line); backdrop-filter: blur(8px); }
.tbtn--ghost:hover { color: var(--t-green-700); border-color: rgba(37, 163, 111, .5); transform: translateY(-2px); }
.tbtn--white { color: var(--t-green-700); background: #fff; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45); }
.tbtn--white:hover { color: var(--t-green-700); transform: translateY(-2px); }
.tbtn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.tbtn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.tbtn--sm { padding: .55rem 1rem; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--t-grad); }
.site-header.is-scrolled { border-bottom-color: var(--t-line); box-shadow: 0 10px 30px -22px rgba(15, 34, 54, .35); background: rgba(255, 255, 255, .92); }
.site-nav { display: flex; align-items: center; gap: .75rem; min-height: 72px; padding-top: .35rem; padding-bottom: .35rem; flex-wrap: wrap; }
.site-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--t-ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.site-brand img { height: 50px; width: auto; display: block; border-radius: 12px; }
.site-links { display: none; align-items: center; gap: .15rem; margin: 0 auto; padding: .3rem; border-radius: 999px; background: rgba(245, 250, 248, .9); border: 1px solid var(--t-line); }
.site-links a { position: relative; padding: .5rem .9rem; border-radius: 999px; color: var(--t-ink-2); font-weight: 600; font-size: .93rem; text-decoration: none; transition: color .2s, background-color .2s; white-space: nowrap; }
.site-links a:hover { color: var(--t-green-700); background: #fff; }
.site-links a.is-active { color: #fff; background: var(--t-grad); box-shadow: 0 8px 18px -10px rgba(37, 163, 111, .8); }
.site-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.site-pill {
  display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .5rem .85rem;
  background: #fff; border: 1px solid var(--t-line); color: var(--t-ink); font-weight: 650; font-size: .88rem;
  text-decoration: none; transition: border-color .2s, color .2s, transform .2s var(--t-ease);
}
.site-pill:hover, .site-pill:focus-visible, .site-pill.show { border-color: rgba(37, 163, 111, .55); color: var(--t-green-700); }
.site-pill.dropdown-toggle::after { margin-left: .15rem; }
.site-cta { padding: .62rem 1.1rem; font-size: .9rem; }
.site-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--t-line); background: #fff; color: var(--t-ink); }
.site-menu-btn span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color .2s; }
.site-menu-btn span::before, .site-menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--t-ease); }
.site-menu-btn span::before { top: -6px; }
.site-menu-btn span::after { top: 6px; }
.site-menu-btn[aria-expanded="true"] span { background: transparent; }
.site-menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.site-menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.site-mobile { flex-basis: 100%; }
.site-mobile-inner { padding: .5rem 0 1rem; display: grid; gap: .25rem; }
.site-mobile-inner a { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: 14px; color: var(--t-ink); font-weight: 650; text-decoration: none; background: var(--t-wash); }
.site-mobile-inner a:hover { color: var(--t-green-700); background: var(--t-mint); }
.site-mobile-inner .site-mobile-sub { display: flex; gap: .4rem; flex-wrap: wrap; padding: 0 .25rem .25rem; }
.site-mobile-inner .site-mobile-sub a { padding: .45rem .8rem; font-size: .85rem; background: #fff; border: 1px solid var(--t-line); }
.site-header .dropdown-menu { border-radius: 16px; border: 1px solid var(--t-line); box-shadow: var(--t-shadow); padding: .4rem; }
.site-header .dropdown-item { border-radius: 10px; padding: .5rem .75rem; font-weight: 550; }
.site-header .dropdown-item:hover { background: var(--t-mint); color: var(--t-green-700); }
@media (min-width: 1200px) {
  .site-links { display: flex; }
  .site-menu-btn, .site-mobile { display: none !important; }
}
@media (max-width: 575.98px) {
  .site-brand img { height: 42px; }
  .site-nav { min-height: 64px; gap: .5rem; }
  .site-cta { display: none; }
  .site-pill { padding: .45rem .7rem; font-size: .82rem; }
}

/* ---------- Layout helpers ---------- */
.tsection { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.tsection--wash { background: var(--t-wash); }
.tsection--tight { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.tsection-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.tsection-head--center { flex-direction: column; align-items: center; text-align: center; }
.tsection-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); margin: .35rem 0 0; font-weight: 800; }
.tsection-head p { color: var(--t-muted); margin: .6rem 0 0; max-width: 46rem; font-size: 1.05rem; }
.teyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; background: var(--t-mint); color: var(--t-green-700); font-weight: 750; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.teyebrow--light { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.tlink { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--t-green-600); text-decoration: none; }
.tlink svg { transition: transform .2s var(--t-ease); }
.tlink:hover { color: var(--t-green-700); }
.tlink:hover svg { transform: translateX(3px); }
.tgrad-text { background: var(--t-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tgrid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ---------- Catalogue cards ---------- */
.tcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--t-radius-lg);
  background: var(--t-surface); border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm);
  transition: transform .35s var(--t-ease), box-shadow .35s var(--t-ease), border-color .35s;
  isolation: isolate;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--t-shadow-lg); border-color: rgba(37, 163, 111, .35); }
.tcard-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--t-grad-soft); }
.tcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--t-ease); }
.tcard:hover .tcard-media img { transform: scale(1.06); }
.tcard-media-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--t-grad); }
.tcard-media-fallback span { font-size: 3.5rem; font-weight: 800; color: rgba(255, 255, 255, .9); }
.tcard-flags { position: absolute; top: .75rem; left: .75rem; right: .75rem; display: flex; gap: .4rem; justify-content: space-between; pointer-events: none; }
.tcard-flag { display: inline-flex; padding: .3rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; background: rgba(255, 255, 255, .92); color: var(--t-ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.tcard-flag--deal { margin-left: auto; background: var(--t-coral); color: #fff; }
.tcard-flag--demo { background: var(--t-amber); color: #2b1d00; }
.tcard-flag--bundle { background: var(--t-ink); color: #fff; }
.tcard-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.15rem 1.25rem 1.25rem; flex: 1; }
.tcard-title { font-size: 1.12rem; line-height: 1.35; font-weight: 750; margin: 0; color: var(--t-ink); }
.tcard-meta { font-size: .9rem; color: var(--t-muted); margin: 0; }
.tcard-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tcard-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; background: var(--t-wash); border: 1px solid var(--t-line); font-size: .76rem; font-weight: 650; color: var(--t-ink-2); }
.tcard-provider { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .82rem; }
.tcard-provider img { width: 24px; height: 24px; object-fit: contain; border-radius: 7px; background: #fff; border: 1px solid var(--t-line); }
.tcard-provider-name { font-weight: 700; color: var(--t-ink-2); }
.tcard-provider-badge { padding: .12rem .5rem; border-radius: 999px; background: var(--t-mint); color: var(--t-green-700); font-weight: 700; font-size: .7rem; }
.tcard-foot { margin-top: auto; padding-top: .85rem; border-top: 1px dashed var(--t-line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.tcard-price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.tcard-price-now { font-size: 1.1rem; color: var(--t-ink); }
.tcard-price-was { text-decoration: line-through; color: var(--t-muted); font-size: .85rem; }
.tcard-price-free { color: var(--t-green-600); font-weight: 800; }
.tcard-rating { display: inline-flex; align-items: center; gap: .2rem; font-size: .82rem; font-weight: 700; color: var(--t-ink-2); }
.tcard-rating svg { fill: var(--t-amber); }
.tcard-rating span { color: var(--t-muted); font-weight: 550; }
.tcard-cta { display: inline-flex; align-items: center; gap: .35rem; font-weight: 750; font-size: .92rem; color: var(--t-green-600); text-decoration: none; }
.tcard-cta svg { transition: transform .25s var(--t-ease); }
.tcard:hover .tcard-cta { color: var(--t-green-700); }
.tcard:hover .tcard-cta svg { transform: translateX(4px); }

/* ---------- Home hero ---------- */
.hx-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 7.5rem); background: radial-gradient(1200px 600px at 10% -10%, #dff6ec 0%, transparent 60%), radial-gradient(900px 600px at 100% 0%, #dcf1fb 0%, transparent 55%), linear-gradient(180deg, #f7fcfa 0%, #ffffff 100%); }
.hx-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 34, 54, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%); pointer-events: none; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: hxFloat 18s ease-in-out infinite; }
.hx-blob--1 { width: 420px; height: 420px; background: #8de0bf; top: -120px; left: -80px; }
.hx-blob--2 { width: 360px; height: 360px; background: #9adaf3; top: 10%; right: -100px; animation-delay: -6s; }
.hx-blob--3 { width: 300px; height: 300px; background: #b7ecd9; bottom: -140px; left: 40%; animation-delay: -12s; }
@keyframes hxFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }
.hx-hero > .container { position: relative; z-index: 1; }
.hx-hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .hx-hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hx-kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm); font-size: .86rem; font-weight: 700; color: var(--t-ink-2); }
.hx-kicker-dot { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--t-grad); display: grid; place-items: center; }
.hx-kicker-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(47, 183, 156, .45); animation: hxPulse 2.4s ease-out infinite; }
.hx-kicker-dot svg { width: 12px; height: 12px; color: #fff; }
@keyframes hxPulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hx-title { font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 1.25rem 0 1.1rem; color: var(--t-ink); }
.hx-title .tgrad-text { display: inline-block; padding-bottom: .06em; }
.hx-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--t-ink-2); max-width: 36rem; margin-bottom: 1.75rem; line-height: 1.6; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hx-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0; list-style: none; color: var(--t-ink-2); font-weight: 600; font-size: .93rem; }
.hx-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hx-trust svg { color: var(--t-green); flex: none; }
.hx-rating { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid var(--t-line); font-weight: 650; font-size: .9rem; }
.hx-stars { display: inline-flex; gap: 1px; color: var(--t-amber); }
.hx-visual { position: relative; }
.hx-frame { position: relative; border-radius: var(--t-radius-xl); padding: 10px; background: linear-gradient(140deg, rgba(37, 163, 111, .55), rgba(77, 187, 230, .55)); box-shadow: var(--t-shadow-lg); transform: rotate(-1.2deg); transition: transform .6s var(--t-ease); }
.hx-frame:hover { transform: rotate(0deg) scale(1.01); }
.hx-frame-inner { position: relative; border-radius: calc(var(--t-radius-xl) - 8px); overflow: hidden; background: linear-gradient(135deg, #0f2236, #17734d); aspect-ratio: 16 / 10; }
.hx-frame-inner video, .hx-frame-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: var(--t-shadow); font-weight: 750; font-size: .88rem; color: var(--t-ink); animation: hxBob 6s ease-in-out infinite; white-space: nowrap; }
.hx-chip-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--t-grad); flex: none; }
.hx-chip-icon svg { width: 17px; height: 17px; }
.hx-chip small { display: block; font-weight: 600; color: var(--t-muted); font-size: .74rem; }
.hx-chip--a { bottom: -24px; left: -26px; }
.hx-chip--b { top: -24px; right: -22px; animation-delay: -2s; }
.hx-chip--c { top: -22px; right: 6%; animation-delay: -4s; }
.hx-chip--b .hx-chip-icon { background: linear-gradient(135deg, #4dbbe6, #2f8fd6); }
.hx-chip--c .hx-chip-icon { background: linear-gradient(135deg, #f5b301, #ef8a17); }
@keyframes hxBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 575.98px) {
  .hx-chip { font-size: .78rem; padding: .5rem .7rem; }
  .hx-chip--a { left: 4px; bottom: -30px; }
  .hx-chip--b { right: 4px; top: -30px; }
  .hx-chip--c { display: none; }
}

/* ---------- Search (overlapping hero) ---------- */
.hx-search-wrap { position: relative; z-index: 3; margin-top: -2.6rem; }
.hx-search { display: flex; align-items: center; gap: .5rem; max-width: 760px; margin: 0 auto; padding: .5rem .5rem .5rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .96); border: 1px solid var(--t-line); box-shadow: var(--t-shadow-lg); backdrop-filter: blur(10px); }
.hx-search svg { color: var(--t-muted); flex: none; }
.hx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.02rem; padding: .55rem .25rem; color: var(--t-ink); }
.hx-search input::placeholder { color: #8a9aab; }
.hx-search button { flex: none; }

/* ---------- Marquee ---------- */
.hx-marquee { position: relative; overflow: hidden; padding: 1.25rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-marquee-label { text-align: center; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); margin-bottom: .75rem; }
.hx-marquee-track { display: flex; width: max-content; gap: .75rem; animation: hxMarquee 38s linear infinite; }
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-marquee-item { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.05rem; border-radius: 999px; background: #fff; border: 1px solid var(--t-line); font-weight: 650; font-size: .92rem; color: var(--t-ink-2); white-space: nowrap; text-decoration: none; transition: border-color .2s, color .2s; }
.hx-marquee-item:hover { border-color: rgba(37, 163, 111, .5); color: var(--t-green-700); }
.hx-marquee-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--t-grad); }
@keyframes hxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Scroll gallery (ad cards, promotions) ---------- */
.tgallery { position: relative; }
.tgallery .home-carousel-track { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: .5rem 4px 1.25rem; scrollbar-width: none; }
.tgallery .home-carousel-track::-webkit-scrollbar { display: none; }
.tgallery .home-carousel-item { flex: 0 0 clamp(240px, 30vw, 340px); scroll-snap-align: start; }
.tgallery-shot { display: block; border-radius: var(--t-radius-lg); overflow: hidden; background: var(--t-grad-soft); border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm); transition: transform .35s var(--t-ease), box-shadow .35s var(--t-ease); }
.tgallery-shot:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--t-shadow-lg); }
.tgallery-shot img { width: 100%; height: auto; display: block; }
.tgallery .home-carousel-btn { position: absolute; top: 42%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--t-line); background: #fff; color: var(--t-ink); display: grid; place-items: center; box-shadow: var(--t-shadow); transition: transform .2s var(--t-ease), color .2s; }
.tgallery .home-carousel-btn:hover { color: var(--t-green-700); transform: scale(1.06); }
.tgallery .home-btn-prev { left: -14px; }
.tgallery .home-btn-next { right: -14px; }
@media (max-width: 767.98px) { .tgallery .home-carousel-btn { display: none; } }
.tpromo { display: flex; flex-direction: column; height: 100%; border-radius: var(--t-radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm); text-decoration: none; color: var(--t-ink); transition: transform .35s var(--t-ease), box-shadow .35s var(--t-ease); }
.tpromo:hover { transform: translateY(-5px); box-shadow: var(--t-shadow-lg); color: var(--t-ink); }
.tpromo-media { position: relative; aspect-ratio: 16 / 9; background: var(--t-ink); overflow: hidden; }
.tpromo-media img { width: 100%; height: 100%; object-fit: cover; }
.tpromo-media .tpromo-video { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; gap: .4rem; font-size: .85rem; font-weight: 700; }
.tpromo-body { padding: 1rem 1.15rem 1.2rem; }
.tpromo-body h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.tpromo-body p { font-size: .9rem; color: var(--t-muted); margin: 0; }
.tpromo-tag { position: absolute; top: .7rem; left: .7rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 800; }

/* ---------- How it works ---------- */
.hx-steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .hx-steps { grid-template-columns: repeat(3, 1fr); } }
.hx-step { position: relative; padding: 1.75rem 1.5rem 1.6rem; border-radius: var(--t-radius-lg); background: #fff; border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm); transition: transform .35s var(--t-ease), box-shadow .35s var(--t-ease); overflow: hidden; }
.hx-step:hover { transform: translateY(-5px); box-shadow: var(--t-shadow); }
.hx-step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: .4rem; right: 1rem; font-size: 4.2rem; font-weight: 800; letter-spacing: -.05em; color: rgba(37, 163, 111, .08); line-height: 1; }
.hx-step-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--t-grad); box-shadow: 0 12px 24px -12px rgba(37, 163, 111, .8); margin-bottom: 1.1rem; }
.hx-step-icon svg { width: 24px; height: 24px; }
.hx-step h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.hx-step p { color: var(--t-muted); margin: 0; }
@media (min-width: 768px) {
  .hx-step:not(:last-child)::after { content: ""; position: absolute; top: 3.2rem; right: -1.25rem; width: 1.25rem; height: 2px; background: repeating-linear-gradient(90deg, rgba(37, 163, 111, .5) 0 6px, transparent 6px 10px); }
}

/* ---------- Bento highlights ---------- */
.hx-bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hx-bento { grid-template-columns: repeat(6, 1fr); } }
.hx-bento-item { position: relative; display: flex; gap: .9rem; align-items: flex-start; padding: 1.35rem 1.4rem; border-radius: var(--t-radius-lg); background: #fff; border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm); transition: transform .35s var(--t-ease), box-shadow .35s var(--t-ease); }
.hx-bento-item:hover { transform: translateY(-4px); box-shadow: var(--t-shadow); }
.hx-bento-item p { margin: 0; font-weight: 600; color: var(--t-ink-2); line-height: 1.5; }
.hx-bento-check { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--t-mint); color: var(--t-green-600); }
.hx-bento-check svg { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .hx-bento-item { grid-column: span 2; }
  .hx-bento-item:nth-child(1) { grid-column: span 4; grid-row: span 2; flex-direction: column; justify-content: flex-end; min-height: 220px; color: #fff; border: 0; background: var(--t-grad); overflow: hidden; }
  .hx-bento-item:nth-child(1)::before { content: ""; position: absolute; width: 260px; height: 260px; right: -60px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
  .hx-bento-item:nth-child(1) p { color: #fff; font-size: 1.35rem; font-weight: 750; letter-spacing: -.01em; position: relative; }
  .hx-bento-item:nth-child(1) .hx-bento-check { background: rgba(255, 255, 255, .2); color: #fff; position: relative; }
}

/* ---------- Testimonials ---------- */
.hx-quotes { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 440px)); justify-content: center; }
.hx-quote { position: relative; margin: 0; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--t-radius-lg); background: #fff; border: 1px solid var(--t-line); box-shadow: var(--t-shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.hx-quote::before { content: "\201C"; position: absolute; top: -.2rem; right: 1.1rem; font-size: 5rem; line-height: 1; font-weight: 800; color: rgba(37, 163, 111, .15); font-family: Georgia, serif; }
.hx-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--t-ink-2); }
.hx-quote figcaption { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.hx-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--t-mint); }
.hx-quote .hx-stars { font-size: .9rem; }

/* ---------- CTA band ---------- */
.hx-cta { position: relative; overflow: hidden; border-radius: var(--t-radius-xl); padding: clamp(2.25rem, 5vw, 3.75rem); background: var(--t-grad); color: #fff; box-shadow: var(--t-shadow-lg); }
.hx-cta::before, .hx-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.hx-cta::before { width: 380px; height: 380px; right: -110px; top: -170px; }
.hx-cta::after { width: 240px; height: 240px; left: -80px; bottom: -130px; }
.hx-cta > * { position: relative; z-index: 1; }
.hx-cta h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); font-weight: 800; margin: 0 0 .6rem; color: #fff; }
.hx-cta p { font-size: 1.08rem; opacity: .95; margin: 0 0 1.6rem; max-width: 38rem; }
.hx-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Floating catalogue button ---------- */
.home-fab-catalog { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1020; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.15rem; border-radius: 999px; color: #fff; background: var(--t-ink); box-shadow: var(--t-shadow-lg); font-weight: 700; font-size: .92rem; text-decoration: none; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--t-ease), background-color .2s; right: auto; top: auto; border: 0; }
.home-fab-catalog.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.home-fab-catalog:hover { color: #fff; background: var(--t-green-700); }
.home-fab-catalog svg { margin: 0 !important; }

/* ---------- Inner page heroes ---------- */
.about-hero, .resources-hero, .institutions-hero, .students-hero, .catalog-hero, .download-app-hero, .bundle-hero, .page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 380px at 85% -10%, rgba(77, 187, 230, .55), transparent 60%), radial-gradient(600px 400px at 0% 110%, rgba(47, 183, 156, .55), transparent 60%), linear-gradient(120deg, #17734d 0%, #1e8d5f 35%, #2a9f8c 70%, #2d8fb8 100%) !important;
  color: #fff;
  padding-top: clamp(3rem, 6vw, 5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}
.about-hero::before, .resources-hero::before, .institutions-hero::before, .students-hero::before, .catalog-hero::before, .download-app-hero::before, .bundle-hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.about-hero::after, .resources-hero::after, .institutions-hero::after, .students-hero::after, .catalog-hero::after, .download-app-hero::after, .bundle-hero::after, .page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; bottom: -220px; border-radius: 50%;
  background: rgba(255, 255, 255, .09); animation: hxFloat 20s ease-in-out infinite; pointer-events: none;
}
.about-hero h1, .resources-hero h1, .institutions-hero h1, .students-hero h1, .catalog-hero h1, .download-app-hero h1, .bundle-hero h1, .page-hero h1 { font-weight: 800; letter-spacing: -.035em; color: #fff; }
.catalog-hero h1, .catalog-hero p, .download-app-hero h1, .download-app-hero p, .bundle-hero h1, .bundle-hero p { color: #fff !important; }
.students-hero-info { background: rgba(255, 255, 255, .12) !important; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); border-radius: var(--t-radius) !important; }
.students-hero-card { border-radius: var(--t-radius-xl) !important; }
.students-hero-card .card-body { padding: 1.75rem !important; }
.students-search-section { background: var(--t-wash) !important; }

/* Bootstrap components on public pages */
.card { border-radius: var(--t-radius-lg); }
.accordion-item { border-radius: var(--t-radius) !important; overflow: hidden; }
.accordion-button { font-weight: 650; }
.accordion-button:not(.collapsed) { color: var(--t-green-700); background: var(--t-mint); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(47, 183, 156, .25); }
.form-control, .form-select { border-radius: 12px; border-color: var(--t-line); }
.form-control:focus, .form-select:focus { border-color: var(--t-teal); box-shadow: 0 0 0 .2rem rgba(47, 183, 156, .2); }
.students-nav-tabs { gap: .4rem; border: 0 !important; padding: .35rem; background: var(--t-wash); border-radius: 999px; display: inline-flex; flex-wrap: wrap; }
.students-nav-tabs .nav-link { border: 0 !important; border-radius: 999px !important; color: var(--t-ink-2) !important; font-weight: 650; padding: .55rem 1.1rem; background: transparent !important; }
.students-nav-tabs .nav-link.active { color: #fff !important; background: var(--t-grad) !important; box-shadow: 0 10px 20px -12px rgba(37, 163, 111, .8); }
.badge.bg-primary { background: var(--t-grad) !important; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: clamp(3rem, 6vw, 5rem); color: #c8d6e2; background: radial-gradient(900px 400px at 0% 0%, rgba(37, 163, 111, .22), transparent 60%), radial-gradient(800px 400px at 100% 100%, rgba(77, 187, 230, .16), transparent 60%), #0c1c2c; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--t-grad); }
.site-footer a { color: #e6eef5; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #7fe0bd; }
.site-footer-top { display: grid; gap: 2.25rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.site-footer-brand p { margin: 1rem 0 1.25rem; max-width: 22rem; line-height: 1.6; }
.site-footer-logo { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.4rem; font-weight: 800; color: #fff !important; }
.site-footer-logo img { height: 46px; width: auto; border-radius: 12px; background: #fff; padding: 4px; }
.site-footer h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8fa4b8; margin: 0 0 1rem; font-weight: 750; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer-social { display: flex; gap: .55rem; }
.site-footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, transform .2s var(--t-ease); }
.site-footer-social a:hover { background: var(--t-green); color: #fff; transform: translateY(-2px); }
.site-footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; color: #8fa4b8; }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.site-footer-legal a { color: #b7c7d5; }
.site-footer-app { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 650; }
.site-footer-app:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Floating WhatsApp & cookie banner ---------- */
.whatsapp-float { border-radius: 999px !important; box-shadow: var(--t-shadow-lg) !important; }
.cookie-banner { border-radius: 20px 20px 0 0; border-top: 1px solid var(--t-line); box-shadow: 0 -20px 40px -24px rgba(15, 34, 54, .35) !important; backdrop-filter: blur(12px); background: rgba(255, 255, 255, .96) !important; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--t-ease), transform .7s var(--t-ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hx-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

@media (max-width: 575.98px) {
  .hx-ctas .tbtn { width: 100%; }
  .hx-search { padding-left: .9rem; }
  .hx-search input { font-size: .95rem; }
}

/* =====================================================================
   Animated app mock-up (home hero). Image-free; scenes cycle via main.js.
   Motion runs only inside the active scene, so it restarts on each visit.
   ===================================================================== */
.hx-frame-inner--app { background: #17181b; container-type: inline-size; }
.mk { position: absolute; inset: 0; }
.mk-window {
  --mk-bg: #1b1c1f; --mk-card: #26282c; --mk-line: #3a3d43;
  --mk-text: #eceef1; --mk-muted: #9aa1aa; --mk-blue: #2f7ff0;
  --mk-green: #22c55e; --mk-red: #ef4444;
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--mk-bg); color: var(--mk-text);
  font-size: 10px; font-size: clamp(6px, 1.72cqw, 11.5px); line-height: 1.3; font-family: var(--t-font);
}
.mk-window b { font-weight: 700; }
.mk-window small { display: block; color: var(--mk-muted); font-size: .82em; }
.mk-window svg { width: 100%; height: 100%; display: block; }
.mk-topbar { display: flex; align-items: center; gap: .7em; padding: .75em 1.1em; border-bottom: 1px solid #26282c; font-size: 1.1em; }
.mk-back { color: var(--mk-muted); }
.mk-app-icon { width: 1.9em; height: 1.9em; padding: .35em; border-radius: .55em; background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; }
.mk-view { margin-left: auto; display: flex; gap: .3em; padding: .2em; border-radius: .5em; background: #2a2c31; }
.mk-view i { width: 1.4em; height: 1.1em; border-radius: .3em; background: #3a3d43; }
.mk-view i.is-on { background: #8ab4f8; }
.mk-stage { position: relative; flex: 1; overflow: hidden; }
.mk-scene { position: absolute; inset: 0; padding: 1em 1.1em; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.mk-scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }

/* Shared bits */
.mk-btn { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1.1em; border-radius: .5em; background: var(--mk-blue); color: #fff; font-weight: 700; }
.mk-btn--ghost { background: transparent; border: 1px solid var(--mk-line); color: var(--mk-muted); }
.mk-cursor { position: absolute; z-index: 5; width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 .35em rgba(255, 255, 255, .22), 0 .4em 1em rgba(0, 0, 0, .5); opacity: 0; }
.mk-cursor::after { content: ""; position: absolute; inset: -.5em; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); opacity: 0; }
@keyframes mkFadeUp { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }
@keyframes mkPop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes mkFill { from { width: 0; } to { width: var(--p, 100%); } }
@keyframes mkPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 127, 240, .6); } 50% { box-shadow: 0 0 0 .6em rgba(47, 127, 240, 0); } }
@keyframes mkClick { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes mkShow { to { opacity: 1; } }

/* 1. Course home */
.mk-home { display: grid; grid-template-columns: 1fr 27%; gap: 1em; }
.mk-main { display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.mk-banner { display: flex; align-items: center; gap: .8em; padding: .9em 1em; border-radius: .8em; border: 1px solid #2b4a74; background: linear-gradient(90deg, #1e2a3a, #1d4d8f); }
.mk-banner b { display: block; font-size: 1.3em; }
.mk-banner-icon { width: 2.6em; height: 2.6em; padding: .55em; border-radius: 50%; background: #dbe7ff; color: #2f5fb3; flex: none; }
.mk-curricula { display: flex; gap: .5em; flex-wrap: wrap; }
.mk-curricula span { padding: .3em .8em; border-radius: 999px; border: 1px solid var(--mk-line); color: #c9ccd1; font-size: .85em; font-weight: 600; background: #24262a; }
.mk-curricula span.is-on { border-color: #3b82f6; color: #8ab4f8; background: #13233b; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65em; }
.mk-tile { border-radius: .7em; overflow: hidden; background: var(--mk-card); border: 1px solid #33363b; }
.mk-tile-art { position: relative; height: 3.9em; display: grid; place-items: center; color: rgba(255, 255, 255, .92); }
.mk-tile-art svg { width: 2em; height: 2em; filter: drop-shadow(0 .2em .4em rgba(0, 0, 0, .3)); }
.mk-tile-a .mk-tile-art { background: linear-gradient(135deg, #2563eb, #22d3ee); }
.mk-tile-b .mk-tile-art { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.mk-tile-c .mk-tile-art { background: linear-gradient(135deg, #059669, #34d399); }
.mk-tile-d .mk-tile-art { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.mk-tile-e .mk-tile-art { background: linear-gradient(135deg, #14b8a6, #3b82f6); }
.mk-tile-f .mk-tile-art { background: linear-gradient(135deg, #f97316, #f59e0b); }
.mk-done { position: absolute; top: .4em; right: .4em; width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; background: var(--mk-green); color: #fff; font-size: .8em; font-weight: 800; }
.mk-tile-body { padding: .55em .6em .65em; display: grid; gap: .2em; }
.mk-tile-body b { font-size: .95em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-num { width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; background: #dbe7ff; color: #1d4ed8; font-size: .78em; font-weight: 800; }
.mk-progress { display: block; height: .35em; border-radius: 999px; background: #3a3d43; overflow: hidden; margin-top: .2em; }
.mk-progress i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #22c55e, #4ade80); }
.mk-side { display: flex; flex-direction: column; gap: .45em; min-width: 0; }
.mk-side-item { display: flex; align-items: center; gap: .55em; padding: .55em .6em; border-radius: .65em; background: var(--mk-card); border: 1px solid #33363b; }
.mk-side-item b { display: block; font-size: .88em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-side-item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .72em; }
.mk-side-item > span:nth-child(2) { min-width: 0; flex: 1; }
.mk-side-item em { font-style: normal; color: var(--mk-muted); }
.mk-side-ico { width: 2em; height: 2em; padding: .4em; border-radius: .5em; background: #33363c; color: #c7d2fe; flex: none; }
.mk-home.is-active .mk-banner { animation: mkFadeUp .5s both; }
.mk-home.is-active .mk-tile { animation: mkFadeUp .45s calc(.15s + var(--i) * .08s) both; }
.mk-home.is-active .mk-progress i { animation: mkFill 1s calc(.6s + var(--i) * .1s) both; }
.mk-home.is-active .mk-side-item { animation: mkFadeUp .4s calc(.2s + var(--i) * .07s) both; }
.mk-home.is-active .mk-side-item:nth-child(5) { animation: mkFadeUp .4s .55s both, mkGlow 1.2s 1.6s 2 both; }
@keyframes mkGlow { 0%, 100% { border-color: #33363b; background: #26282c; } 50% { border-color: #3b82f6; background: #1c2b44; } }
.mk-home.is-active .mk-cursor--home { animation: mkCursorHome 4.2s both; }
.mk-home.is-active .mk-cursor--home::after { animation: mkClick .5s 3.15s both; }
@keyframes mkCursorHome {
  0% { opacity: 0; left: 62%; top: 85%; }
  15% { opacity: 1; left: 62%; top: 85%; }
  70% { opacity: 1; left: 44%; top: 47%; }
  80% { opacity: 1; left: 44%; top: 47%; transform: scale(.85); }
  86% { transform: scale(1); }
  100% { opacity: 0; left: 44%; top: 47%; }
}

/* 2. Practice question */
.mk-question { display: flex; flex-direction: column; gap: .8em; }
.mk-q-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5em 1em; padding: .8em 1em; border-radius: .7em; background: #1f2226; border: 1px solid #2c3036; }
.mk-q-head b { color: #c9ccd1; }
.mk-q-progress { grid-column: 1 / -1; height: .35em; border-radius: 999px; background: #2c3036; overflow: hidden; }
.mk-q-progress i { display: block; height: 100%; width: 42%; background: #5b7fb8; border-radius: inherit; }
.mk-score { display: inline-flex; align-items: center; gap: .5em; color: #fca5a5; font-weight: 700; opacity: 0; }
.mk-score em { font-style: normal; padding: .15em .6em; border-radius: 999px; background: #dc2626; color: #fff; font-size: .9em; }
.mk-q-text { margin: 0; padding: .9em 1em; border-radius: .7em; background: var(--mk-card); border: 1px solid #33363b; font-size: 1.02em; line-height: 1.45; }
.mk-options { display: grid; gap: .45em; }
.mk-opt { position: relative; display: flex; align-items: center; gap: .7em; padding: .6em .9em; border-radius: .65em; border: 1px solid #383b41; background: #22242a; color: #d7dae0; font-size: .92em; }
.mk-radio { width: 1.15em; height: 1.15em; border-radius: 50%; border: 2px solid #6b7280; flex: none; display: grid; place-items: center; font-size: .8em; font-weight: 900; color: #fff; }
.mk-q-actions { display: flex; justify-content: space-between; margin-top: auto; }
.mk-question.is-active .mk-q-text { animation: mkFadeUp .45s .05s both; }
.mk-question.is-active .mk-opt { animation: mkFadeUp .4s .25s both; }
.mk-question.is-active .mk-opt--wrong { animation: mkFadeUp .4s .25s both, mkPick .25s 1.45s forwards, mkWrong .3s 2.05s forwards; }
.mk-question.is-active .mk-opt--wrong .mk-radio { animation: mkRadioPick .25s 1.45s forwards, mkRadioWrong .3s 2.05s forwards; }
.mk-question.is-active .mk-opt--right { animation: mkFadeUp .4s .25s both, mkRight .35s 2.5s forwards; }
.mk-question.is-active .mk-opt--right .mk-radio { animation: mkRadioRight .35s 2.5s forwards; }
.mk-question.is-active .mk-score { animation: mkPop .4s 2.8s forwards; }
.mk-question.is-active .mk-ask { animation: mkPulse 1s 3.2s 2; }
@keyframes mkPick { to { border-color: #3b82f6; background: #172a46; } }
@keyframes mkWrong { to { border-color: #ef4444; background: #3a1a1d; color: #fecaca; } }
@keyframes mkRight { to { border-color: #22c55e; background: #12321f; color: #bbf7d0; } }
@keyframes mkRadioPick { to { border-color: #3b82f6; background: #3b82f6; } }
@keyframes mkRadioWrong { to { border-color: #ef4444; background: #ef4444; } }
@keyframes mkRadioRight { to { border-color: #22c55e; background: #22c55e; } }
.mk-opt--wrong .mk-radio::after { content: "\2715"; opacity: 0; }
.mk-opt--right .mk-radio::after { content: "\2713"; opacity: 0; }
.mk-question.is-active .mk-opt--wrong .mk-radio::after { animation: mkShow .2s 2.05s forwards; }
.mk-question.is-active .mk-opt--right .mk-radio::after { animation: mkShow .2s 2.5s forwards; }
.mk-question.is-active .mk-cursor--question { animation: mkCursorQ 4.8s both; }
.mk-question.is-active .mk-cursor--question::after { animation: mkClick .5s 1.4s both; }
@keyframes mkCursorQ {
  0% { opacity: 0; left: 70%; top: 30%; }
  10% { opacity: 1; left: 70%; top: 30%; }
  28% { opacity: 1; left: 30%; top: 66%; }
  33% { transform: scale(.85); }
  38% { transform: scale(1); left: 30%; top: 66%; }
  72% { opacity: 1; left: 88%; top: 90%; }
  90% { opacity: 1; left: 88%; top: 90%; }
  100% { opacity: 0; left: 88%; top: 90%; }
}

/* 3. Ask AI */
.mk-ai-backdrop { position: absolute; inset: 1em 1.1em; display: grid; gap: .6em; align-content: start; opacity: .35; filter: blur(1px); }
.mk-ai-backdrop span { height: 2.2em; border-radius: .6em; background: #2a2c31; border: 1px solid #383b41; }
.mk-ai-backdrop span:first-child { height: 4em; }
.mk-ai-backdrop span.is-red { border-color: #7f1d1d; background: #3a1a1d; }
.mk-chat { position: absolute; right: 6%; left: 22%; top: .8em; bottom: 2.9em; display: flex; flex-direction: column; border-radius: .9em; background: #1e1f23; border: 1px solid #3a3d43; box-shadow: 0 1.5em 3em rgba(0, 0, 0, .55); overflow: hidden; }
.mk-chat-head { display: flex; align-items: center; gap: .6em; padding: .75em .9em; border-bottom: 1px solid #2f3237; }
.mk-chat-head b { color: #c4b5fd; font-size: 1.05em; }
.mk-bot { width: 1.9em; height: 1.9em; padding: .35em; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; }
.mk-models { margin-left: auto; display: flex; gap: .3em; }
.mk-models i { font-style: normal; padding: .25em .6em; border-radius: .4em; background: #34373d; color: #d1d5db; font-size: .78em; font-weight: 700; }
.mk-models i.is-on { background: #1d4ed8; color: #fff; }
.mk-chat-body { flex: 1; display: flex; flex-direction: column; gap: .55em; padding: .8em .9em; }
.mk-msg { max-width: 82%; padding: .6em .8em; border-radius: .8em; font-size: .92em; line-height: 1.4; opacity: 0; }
.mk-msg--bot { align-self: flex-start; background: #2c2f35; border-top-left-radius: .25em; }
.mk-msg--me { align-self: flex-end; background: #1e4f8a; border-top-right-radius: .25em; }
.mk-msg--answer { max-width: 92%; border: 1px solid #4c3a8f; background: #241f3a; }
.mk-msg--answer b { color: #86efac; }
.mk-typing { align-self: flex-start; display: inline-flex; gap: .3em; padding: .7em .8em; border-radius: .8em; background: #2c2f35; opacity: 0; }
.mk-typing i { width: .5em; height: .5em; border-radius: 50%; background: #a1a1aa; animation: mkDot 1s infinite; }
.mk-typing i:nth-child(2) { animation-delay: .15s; }
.mk-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mkDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-.3em); opacity: 1; } }
.mk-chat-input { display: flex; align-items: center; gap: .6em; padding: .7em .9em; border-top: 1px solid #2f3237; }
.mk-chat-input span { flex: 1; padding: .55em .8em; border-radius: .5em; border: 1px solid #44474e; color: #8b9099; }
.mk-chat-input em { font-style: normal; padding: .55em 1em; border-radius: .5em; background: var(--mk-blue); color: #fff; font-weight: 700; }
.mk-ai.is-active .mk-chat { animation: mkSlideIn .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes mkSlideIn { from { opacity: 0; transform: translateY(2.5em); } to { opacity: 1; transform: none; } }
.mk-ai.is-active .mk-msg { animation: mkFadeUp .4s var(--d) forwards; }
.mk-ai.is-active .mk-typing { animation: mkFadeUp .3s var(--d) forwards, mkHide .2s 2.75s forwards; }
@keyframes mkHide { to { opacity: 0; height: 0; padding: 0; margin: 0; } }

/* 4. Build my mock test */
.mk-mock-backdrop { position: absolute; inset: 1em 1.1em; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65em; opacity: .28; filter: blur(1.5px); }
.mk-mock-backdrop span { border-radius: .7em; background: linear-gradient(160deg, #2563eb 0 38%, #26282c 38%); }
.mk-mock-backdrop span:nth-child(2n) { background: linear-gradient(160deg, #7c3aed 0 38%, #26282c 38%); }
.mk-modal { position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%, -50%); display: grid; gap: .5em; padding: 1.2em 1.3em; border-radius: 1em; background: #2a2c31; border: 1px solid #44474e; box-shadow: 0 1.5em 3em rgba(0, 0, 0, .6); }
.mk-pill { justify-self: start; padding: .2em .7em; border-radius: 999px; background: #1e3a8a; color: #bfdbfe; font-size: .74em; font-weight: 800; letter-spacing: .04em; }
.mk-modal-title { font-size: 1.35em; }
.mk-window .mk-modal small { color: #e5e7eb; font-weight: 700; font-size: .85em; margin-top: .2em; }
.mk-count { display: flex; align-items: center; gap: 1em; }
.mk-count b { font-size: 2em; min-width: 1.6em; font-variant-numeric: tabular-nums; }
.mk-slider { position: relative; display: block; flex: 1; height: .45em; border-radius: 999px; background: #474a51; }
.mk-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 17%; border-radius: inherit; background: #8ab4f8; }
.mk-thumb { position: absolute; top: 50%; left: 17%; width: 1.15em; height: 1.15em; border-radius: 50%; background: #8ab4f8; transform: translate(-50%, -50%); box-shadow: 0 0 0 .3em rgba(138, 180, 248, .25); }
.mk-slider--diff .mk-fill { width: 50%; background: #6b7280; }
.mk-slider--diff .mk-thumb { left: 50%; background: #9ca3af; box-shadow: none; }
.mk-qchips { display: flex; flex-wrap: wrap; gap: .35em; }
.mk-qchips i { font-style: normal; padding: .3em .7em; border-radius: .45em; border: 1px solid #55585f; color: #e5e7eb; font-size: .82em; font-weight: 700; }
.mk-mock-sum { font-weight: 700; font-size: .85em; color: #e5e7eb; }
.mk-start { justify-content: center; width: 100%; }
.mk-mock.is-active .mk-modal { animation: mkModalIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes mkModalIn { from { opacity: 0; transform: translate(-50%, -44%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
.mk-mock.is-active .mk-slider--count .mk-fill { animation: mkSlideFill 1.2s .6s both; }
.mk-mock.is-active .mk-slider--count .mk-thumb { animation: mkSlideThumb 1.2s .6s both; }
@keyframes mkSlideFill { from { width: 2%; } to { width: 17%; } }
@keyframes mkSlideThumb { from { left: 2%; } to { left: 17%; } }
.mk-mock.is-active .mk-pick { animation: mkChip .3s 1.8s forwards; }
@keyframes mkChip { to { border-color: #3b82f6; background: #1e3a8a; color: #fff; } }
.mk-mock.is-active .mk-start { animation: mkPulse 1s 2.4s 2; }

/* 5. Weekly class path */
.mk-week { display: flex; flex-direction: column; gap: .9em; }
.mk-week-head { display: flex; align-items: center; gap: .9em; padding: .9em 1em; border-radius: .8em; background: linear-gradient(90deg, #4a1d22, #5a2328); border: 1px solid #7f2a32; }
.mk-week-head b { display: block; font-size: 1.15em; margin: .2em 0; }
.mk-week-badge { width: 2.8em; height: 2.8em; border-radius: 50%; display: grid; place-items: center; background: #fde2e2; color: #7f1d1d; font-weight: 800; flex: none; }
.mk-live { font-style: normal; padding: .15em .6em; border-radius: 999px; background: #dc2626; color: #fff; font-size: .7em; font-weight: 800; letter-spacing: .03em; }
.mk-steps { list-style: none; margin: 0; padding: 0 .3em; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.mk-steps::before { content: ""; position: absolute; left: 8.3%; right: 8.3%; top: 1.15em; height: 2px; background: #3a3d43; }
.mk-steps::after { content: ""; position: absolute; left: 8.3%; top: 1.15em; height: 2px; width: 0; background: linear-gradient(90deg, #22c55e, #8ab4f8); }
.mk-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: .35em; text-align: center; }
.mk-window .mk-steps small { color: #d1d5db; font-weight: 600; font-size: .78em; }
.mk-step-dot { width: 2.3em; height: 2.3em; padding: .5em; border-radius: 50%; background: #3a3d43; border: 2px solid #4b5058; color: #d1d5db; }
.mk-week-list { display: grid; gap: .5em; }
.mk-week-row { display: flex; align-items: center; gap: .7em; padding: .65em .8em; border-radius: .7em; background: var(--mk-card); border: 1px solid #383b41; }
.mk-week-row > span:nth-child(2) { flex: 1; min-width: 0; }
.mk-week-row b { display: block; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-week-row em { font-style: normal; padding: .35em .9em; border-radius: .45em; background: var(--mk-blue); color: #fff; font-weight: 700; font-size: .85em; }
.mk-week-ico { width: 2em; height: 2em; padding: .45em; border-radius: .5em; background: #3b2f5c; color: #c4b5fd; flex: none; }
.mk-week.is-active .mk-week-head { animation: mkFadeUp .45s both; }
.mk-week.is-active .mk-steps::after { animation: mkLine 2.6s .5s linear both; }
@keyframes mkLine { from { width: 0; } to { width: 83.4%; } }
.mk-week.is-active .mk-step-dot { animation: mkStepDone .3s calc(.45s + var(--i) * .5s) forwards; }
@keyframes mkStepDone { to { background: #14532d; border-color: #22c55e; color: #bbf7d0; } }
.mk-week.is-active .mk-steps li:last-child .mk-step-dot { animation: mkStepCurrent .35s 3s forwards; }
@keyframes mkStepCurrent { to { background: #8ab4f8; border-color: #bfdbfe; color: #0b2a5b; transform: scale(1.12); } }
.mk-week.is-active .mk-week-row { animation: mkFadeUp .4s calc(1s + var(--i) * .15s) both; }

/* Scene dots */
.mk-dots { position: absolute; left: 50%; bottom: .7em; transform: translateX(-50%); z-index: 6; display: flex; gap: .4em; padding: .35em .55em; border-radius: 999px; background: rgba(15, 17, 20, .65); backdrop-filter: blur(6px); }
.mk-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s var(--t-ease), background-color .3s; }
.mk-dots button[aria-current="true"] { width: 20px; background: #fff; }
.mk-dots button:focus-visible { outline: 2px solid #8ab4f8; outline-offset: 2px; }

/* Narrow frames: drop the sidebar so the tiles stay readable. */
@container (max-width: 430px) {
  .mk-home { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-chat { left: 6%; }
  .mk-modal { width: 84%; }
}

/* Demo button and dialog */
.hx-demo { display: flex; justify-content: center; margin-top: 2.2rem; }
.hx-demo-btn { gap: .7rem; padding: .65rem 1.2rem .65rem .65rem; }
.hx-demo-play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--t-grad); box-shadow: 0 8px 18px -8px rgba(37, 163, 111, .9); position: relative; }
.hx-demo-play svg { width: 15px; height: 15px; margin-left: 2px; }
.hx-demo-play::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(47, 183, 156, .45); animation: hxPulse 2.4s ease-out infinite; }
.tdemo { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 22px; background: #0c1c2c; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6); overflow: visible; }
.tdemo::backdrop { background: rgba(8, 18, 28, .72); backdrop-filter: blur(6px); }
.tdemo video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; background: #000; }
.tdemo-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--t-ink); box-shadow: var(--t-shadow); }
.tdemo-close:hover { color: var(--t-green-700); }
@media (max-width: 575.98px) { .tdemo-close { top: 8px; right: 8px; } }

/* Phones: keep the WhatsApp contact as a compact round button. */
@media (max-width: 575.98px) {
  .whatsapp-float { min-height: 0; padding: 6px; gap: 0; }
  .whatsapp-float__copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
