/* AI-Powered Digital Marketing (Malayalam): landing page styles (EN + ML)
   Brand: navy/blue/yellow course theme, Poppins headings, Inter body, Noto Sans Malayalam. */

@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(../fonts/Poppins-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(../fonts/Poppins-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(../fonts/Poppins-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url(../fonts/Poppins-800-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400 700; font-display: swap; src: url(../fonts/Inter-var-latin.woff2) format('woff2'); }
@font-face { font-family: 'Noto Sans Malayalam'; font-weight: 400 800; font-display: swap; src: url(../fonts/NotoSansMalayalam-var.woff2) format('woff2');
  unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0D00-0D7F, U+200C-200D, U+20B9, U+25CC; }

:root {
  --ink: #1B2440; --navy: #0B1B4D; --navy2: #12266A; --night: #050B1F; --blue: #1A73E8; --blue-l: #5B9BFF;
  --yellow: #F9B300; --red: #D93025; --green: #1E9E4A; --wa: #1FA855;
  --soft: #F6F8FC; --line: #DDE3EF; --muted: #5A6480; --white: #fff;
  --radius: 18px; --shadow: 0 10px 30px rgba(11, 27, 77, .10);
  --head: 'Poppins', 'Noto Sans Malayalam', system-ui, sans-serif;
  --body: 'Inter', 'Noto Sans Malayalam', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px; --hh: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--white); }
img, video { max-width: 100%; height: auto; display: block; }
figure, blockquote { margin: 0; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
html[lang="ml"] body { line-height: 1.7; }
html[lang="ml"] h1, html[lang="ml"] h2, html[lang="ml"] h3 { line-height: 1.35; letter-spacing: 0; }
[lang="en"] { font-family: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-block; font: 700 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--navy); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.i { width: 20px; height: 20px; flex: none; }

/* Placeholders to fill before launch */
.confirm { display: inline-block; background: #FFF4CC; color: #7A5600; border: 1px dashed #E0A800; border-radius: 6px; padding: 0 6px; font: 600 12px/1.6 var(--body); vertical-align: middle; letter-spacing: 0; text-transform: none; }
a.is-placeholder { outline: 2px dashed #E0A800; outline-offset: 2px; opacity: .75; }
.review-ribbon { background: #FFF4CC; color: #6B4C00; font: 500 13px/1.4 var(--body); text-align: center; padding: 6px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 17px/1.2 var(--head); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-buy { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 24px rgba(249, 179, 0, .32); }
.btn-buy:hover { background: #FFC21F; }
.btn-lg { min-height: 58px; padding: 16px 32px; font-size: 18px; }
.btn-outline { background: var(--white); color: var(--navy); border: 2px solid var(--line); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.btn-text { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--white); font: 600 17px var(--head); cursor: pointer; padding: 14px 10px; }
.btn-text .i { width: 34px; height: 34px; padding: 9px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn-text:hover .i { background: rgba(255, 255, 255, .12); }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Header: slim, frosted, shrinks on scroll ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(5, 11, 31, .94); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .25s ease; }
.site-header.scrolled { background: rgba(5, 11, 31, .9); }
.header-row { display: flex; align-items: center; gap: 22px; height: var(--hh); transition: height .25s ease; }
.site-header.scrolled .header-row { height: 52px; }
.logo img { height: 34px; width: auto; transition: height .25s ease; }
.site-header.scrolled .logo img { height: 29px; }
.nav { flex: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.nav a { display: block; padding: 6px 11px; border-radius: 999px; color: rgba(255, 255, 255, .78); font: 500 14px var(--head); text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: var(--white); background: rgba(255, 255, 255, .1); }
.lang-toggle { display: flex; align-items: center; gap: 6px; font: 500 13px var(--head); color: rgba(255, 255, 255, .45); white-space: nowrap; }
.lang-toggle a { color: rgba(255, 255, 255, .7); text-decoration: none; padding: 4px 2px; }
.lang-toggle a[aria-current] { color: var(--white); font-weight: 700; }
.lang-toggle a:hover { color: var(--yellow); }
.pill-buy { background: var(--yellow); color: var(--navy); font: 700 14px var(--head); text-decoration: none; padding: 9px 16px; border-radius: 999px; white-space: nowrap; transition: background .15s; }
.pill-buy:hover { background: #FFC21F; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .25s ease, top .25s ease; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu { background: rgba(5, 11, 31, .97); padding: 8px 20px 26px; border-top: 1px solid rgba(255, 255, 255, .08); max-height: calc(100vh - 52px); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-menu li a { display: block; padding: 13px 2px; color: var(--white); font: 600 20px var(--head); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu .btn { width: 100%; margin: 14px 0 18px; }
.lang-toggle-lg { font-size: 16px; justify-content: center; }
.mm-follow { color: rgba(255, 255, 255, .6); font-size: 14px; text-align: center; margin: 0 0 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.mobile-menu .socials { justify-content: center; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); transition: background .15s, transform .15s; }
.socials a:hover { background: var(--blue); transform: translateY(-1px); }
.socials .i { width: 19px; height: 19px; }

/* ---------- Hero: full-screen, cinematic ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--night); min-height: calc(100vh - var(--hh)); min-height: calc(100svh - var(--hh)); padding: 60px 0 56px; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 50% 108%, rgba(26, 115, 232, .55), transparent 70%), radial-gradient(700px 400px at 85% 0%, rgba(26, 115, 232, .22), transparent 70%), radial-gradient(600px 360px at 8% 30%, rgba(249, 179, 0, .08), transparent 70%), linear-gradient(180deg, var(--night) 0%, #071234 100%); }
.hero-inner { position: relative; text-align: center; }
.hero-copy { max-width: 980px; margin: 0 auto; }
.kicker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font: 500 13px var(--head); color: #DCE4FF; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6.6vw, 86px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; }
html[lang="ml"] .hero h1 { font-size: clamp(32px, 5.2vw, 66px); line-height: 1.22; letter-spacing: 0; }
.hero h1 .grad { display: block; }
.grad { background: linear-gradient(90deg, #FFD15C, var(--yellow) 45%, #FF9F1C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement { font: 700 clamp(20px, 2.6vw, 32px)/1.3 var(--head); color: var(--white); letter-spacing: -.01em; margin-bottom: 14px; }
.hero .sub { font-size: clamp(16px, 1.6vw, 19px); color: #B9C5EA; max-width: 700px; margin: 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin: 30px 0 18px; }
.hero-small { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; color: #AAB7E0; }
.hero-small li { display: inline-flex; align-items: center; gap: 6px; }
.hero-small .i { width: 16px; height: 16px; color: var(--yellow); }

/* Device showcase */
.devices { position: relative; max-width: 920px; margin: 56px auto 0; padding-right: 7%; }
.laptop .screen { position: relative; border: 12px solid #15171d; border-bottom-width: 16px; border-radius: 22px 22px 6px 6px; background: #000; aspect-ratio: 16 / 9; overflow: hidden;
  box-shadow: 0 0 0 1.5px #2a2d36, 0 50px 90px rgba(0, 0, 0, .55), 0 0 120px rgba(26, 115, 232, .25); }
.laptop .screen img { width: 100%; height: 100%; object-fit: cover; }
.laptop .base { height: 16px; margin: 0 -7%; background: linear-gradient(180deg, #d9dce4, #9aa0ad 60%, #5c616c); border-radius: 0 0 18px 18px; position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #7d838f; border-radius: 0 0 8px 8px; }
.screen-play { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 31, .55)); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 6%; }
.screen-label { font: 600 16px var(--head); color: var(--white); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.pbtn { width: 76px; height: 76px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 10px rgba(249, 179, 0, .22); display: grid; place-items: center; transition: transform .2s ease; }
.pbtn .i { width: 30px; height: 30px; margin-left: 4px; color: var(--navy); }
.screen-play:hover .pbtn, .play:hover .pbtn { transform: scale(1.07); }
.phone { position: absolute; right: 0; bottom: -28px; width: 26%; max-width: 230px; aspect-ratio: 9 / 19; border: 9px solid #111318; border-radius: 38px; background: #0A1230; overflow: hidden;
  box-shadow: 0 0 0 1.5px #30343d, 0 40px 70px rgba(0, 0, 0, .55); text-align: left; }
.phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34%; height: 16px; transform: translateX(-50%); background: #111318; border-radius: 10px; z-index: 2; }
.phone-screen { padding: 32px 10px 10px; height: 100%; background: linear-gradient(180deg, #0B1B4D, #061033); }
.ph-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.ph-top img { height: 14px; width: auto; }
.ph-top span { font: 500 7.5px var(--body); color: #8fa2d8; }
.ph-course { font: 700 12px/1.25 var(--head); color: var(--white); margin: 0 0 8px; }
.ph-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.ph-bar i { display: block; width: 34%; height: 100%; background: var(--yellow); border-radius: 4px; }
.ph-prog { font: 500 8.5px var(--body); color: #9fb0e0; margin: 5px 0 10px; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ph-list li { display: grid; grid-template-columns: 54% 1fr; gap: 6px; align-items: center; background: rgba(255, 255, 255, .05); border-radius: 8px; padding: 4px; }
.ph-list img { width: 100%; border-radius: 5px; aspect-ratio: 16 / 9; object-fit: cover; }
.ph-list span { font: 600 7.5px/1.25 var(--head); color: #E3E9FF; }
.ph-list small { display: block; color: var(--yellow); font-size: 6.5px; margin-bottom: 2px; }

/* Stats */
.stats { list-style: none; margin: 76px auto 0; padding: 26px 0 0; max-width: 900px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.stats b small { font-size: .5em; font-weight: 700; letter-spacing: 0; }
.stats b { white-space: nowrap; display: block; font: 800 clamp(28px, 3.6vw, 44px)/1.1 var(--head); color: var(--white); letter-spacing: -.02em; }
.stats li > span { font-size: 14px; color: #9FB0E0; }

/* Scroll-in animation (only with JS, never for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Key facts */
.keyfacts { background: var(--white); padding: 56px 0 8px; }
.kf-box { border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; box-shadow: var(--shadow); }
.kf-box h2 { font-size: 20px; margin-bottom: 14px; }
.kf-box dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; }
.kf-box dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.kf-box dt { font: 600 14px var(--head); color: var(--muted); }
.kf-box dd { margin: 0; color: var(--navy); font-weight: 500; }

/* Click-to-play media */
.play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.play img { width: 100%; height: 100%; object-fit: cover; }
.play .pbtn { position: absolute; left: 50%; top: 50%; margin: -38px 0 0 -38px; }
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Video testimonials */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.vcard .media { position: relative; aspect-ratio: 9 / 16; background: #000; }
.vcard .pbtn { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.vcard .pbtn .i { width: 24px; height: 24px; }
.vcard .lang { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(11, 27, 77, .85); color: var(--white); font: 600 12px var(--head); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.vcard figcaption { padding: 16px 18px 18px; font-size: 15px; }
.vcard blockquote { margin: 0 0 8px; font-weight: 600; color: var(--navy); }
.vcard .who { font-size: 13px; color: var(--muted); }
.more-link { text-align: center; margin-top: 28px; font-weight: 600; }

/* Who it's for */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.note { border-radius: var(--radius); padding: 20px 24px; font-size: 16px; }
.note.good { background: #E9F6EE; border: 1px solid #BFE3CC; }
.note.warn { background: #FFF6E0; border: 1px solid #F3DC9C; }
.note p { margin: 0; }

/* Skills */
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; counter-reset: s; }
.skills li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.skills li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--yellow); font: 800 18px var(--head); }

/* Curriculum */
.modules { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.module { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; }
.module summary::-webkit-details-marker { display: none; }
.module .mnum { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--blue); font: 800 15px/1.1 var(--head); text-align: center; }
.module[open] .mnum { background: var(--blue); color: var(--white); }
.module .mtitle { font: 700 18px/1.3 var(--head); color: var(--navy); }
.module .mmeta { display: block; font: 500 14px var(--body); color: var(--muted); margin-top: 2px; }
.module .chev { width: 28px; height: 28px; transition: transform .2s ease; color: var(--muted); }
.module[open] .chev { transform: rotate(180deg); }
.module ol { margin: 0; padding: 4px 22px 8px 62px; border-top: 1px solid var(--line); }
.module li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.module li:last-child { border-bottom: 0; }
.tag-free { display: inline-block; margin-left: 8px; background: #E9F6EE; color: var(--green); font: 700 12px var(--head); padding: 2px 8px; border-radius: 999px; vertical-align: 1px; }
.extras { padding: 12px 22px 18px 62px; color: var(--muted); font-size: 15px; margin: 0; }
.extras b { color: var(--navy); }

/* What you get */
.get { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.get .card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.get .ico { font-size: 30px; margin: 0; }
.get h3 { font-size: 18px; }

/* Trainers */
.trainers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trainer { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 210px 1fr; box-shadow: var(--shadow); }
.trainer .photo { background: linear-gradient(180deg, #E8EEFC, #C9D7F6); display: flex; align-items: flex-end; justify-content: center; }
.trainer .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.trainer .body { padding: 24px; }
.trainer .role { color: var(--blue); font: 600 14px/1.5 var(--head); margin-bottom: 10px; }
.trainer .titles { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.trainer ul { margin: 0 0 16px; padding-left: 18px; font-size: 15px; }
.trainer li { margin-bottom: 4px; }
.trainer .socials a { background: var(--soft); color: var(--navy); border: 1px solid var(--line); width: 38px; height: 38px; }
.trainer .socials a:hover { background: var(--navy); color: var(--white); }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; margin-top: 32px; color: var(--muted); font-size: 15px; }
.partners img { height: 44px; width: auto; }
.partners img.cpd { height: 72px; }

/* Corporate banner + section */
.corp-banner { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: 20px;
  background: linear-gradient(120deg, var(--navy), #13307F); color: #DCE4FF; }
.corp-banner p { margin: 0; flex: 1 1 380px; }
.corp-banner b { color: var(--white); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.corporate { background: var(--night); color: #C5D0F0; padding: 88px 0; position: relative; overflow: hidden; }
.corporate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(26, 115, 232, .35), transparent 70%); pointer-events: none; }
.corporate .wrap { position: relative; }
.corporate h2, .corporate h3 { color: var(--white); }
.corporate .section-head p { color: #AAB7E0; }
.corporate .eyebrow { color: var(--yellow); }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.offer { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 28px; }
.offer p { color: #C5D0F0; }
.co-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 30px; }
.co-link { color: #DCE4FF; font-weight: 600; }

/* Reviews */
.label-live { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 600 14px var(--head); color: var(--muted); }
.label-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.rv-note { font-size: 14px !important; margin-top: 10px; }
.quotes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.quote { grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote:nth-child(4), .quote:nth-child(5) { grid-column: span 3; }
.quote::before { content: "“"; position: absolute; top: 6px; right: 18px; font: 800 72px/1 var(--head); color: #E3EAFB; }
.quote blockquote { margin: 0 0 14px; font-size: 16.5px; flex: 1; }
.quote .who { font: 600 14px var(--head); color: var(--navy); }
.quote details { margin: -4px 0 14px; font-size: 15px; }
.quote summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.quote details p { margin: 10px 0 0; }
.wall-title { text-align: center; margin: 56px 0 8px; font: 700 22px var(--head); color: var(--navy); }
.wall-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.chat-wall { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.chat-track { display: flex; gap: 18px; width: max-content; animation: drift 80s linear infinite; padding: 6px 0 14px; }
.chat-wall:hover .chat-track, .chat-wall:focus-within .chat-track, .chat-wall.paused .chat-track { animation-play-state: paused; }
.chat-track figure { width: 290px; flex: none; border-radius: 18px; overflow: hidden; background: #0B141A; box-shadow: 0 8px 24px rgba(11, 27, 77, .18); align-self: center; }
.chat-track img { width: 100%; height: auto; }
@keyframes drift { to { transform: translateX(-50%); } }
.wall-ctrl { display: flex; justify-content: center; margin-top: 8px; }
.wall-ctrl button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 600 13px var(--head); color: var(--muted); cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .chat-wall { overflow-x: auto; mask-image: none; }
  .chat-track { animation: none; }
  .chat-track [aria-hidden="true"] { display: none; }
  .wall-ctrl { display: none; }
}

/* Graduation */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ggrid button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #111; aspect-ratio: 3 / 2; }
.ggrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ggrid button:hover img { transform: scale(1.04); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); overflow: visible; }
dialog.lightbox::backdrop { background: rgba(5, 10, 30, .88); }
dialog.lightbox img { border-radius: 12px; max-height: 86vh; width: auto; margin: 0 auto; }

/* Certificate */
.cert-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.cert-visual { position: relative; }
.cert-img button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.cert-img img { width: 100%; border-radius: 10px; box-shadow: 0 30px 60px rgba(11, 27, 77, .22), 0 0 0 1px var(--line); }
.cert-img figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.cert-badge { position: absolute; right: -18px; bottom: 26px; width: 120px; height: auto; filter: drop-shadow(0 10px 20px rgba(11, 27, 77, .25)); }
.steps { list-style: none; margin: 18px 0; padding: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 0 14px 46px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font: 700 15px var(--head); }
.steps a { font-weight: 600; }

/* Price */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.price-card { background: linear-gradient(160deg, var(--navy), #13307F); color: var(--white); border-radius: 26px; padding: 34px; box-shadow: 0 24px 50px rgba(11, 27, 77, .3); }
.price-card h3 { color: #C9D5FA; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.price { font: 800 58px/1 var(--head); color: var(--white); margin: 8px 0 4px; }
.price small { font-size: 18px; font-weight: 600; color: #C9D5FA; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.price-card li { padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 16px; }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--yellow); font-weight: 800; }
.price-card .btn { width: 100%; }
.fine { font-size: 13.5px; color: #B9C6EE; margin: 14px 0 0; }
.fine b { color: #E3E9FF; font-weight: 600; }
.recorded-box { background: var(--white); border: 2px solid var(--blue); border-radius: 26px; padding: 30px; }
.recorded-box h3 { font-size: 22px; }
.recorded-box ul { padding-left: 20px; margin: 0 0 12px; }
.recorded-box li { margin-bottom: 6px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 18px/1.4 var(--head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 28px/1 var(--head); color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 20px; color: #39425E; }
.faq .a p:last-child { margin: 0; }
.faq-more { max-width: 860px; margin: 30px auto 0; text-align: center; }
.faq-more .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Final CTA */
.final { background: var(--night); color: var(--white); text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 50% 120%, rgba(26, 115, 232, .5), transparent 70%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { color: var(--white); font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -.02em; max-width: 900px; margin: 0 auto 18px; }
.final h2 .grad { display: block; }
.final p { color: #C5D0F0; font-size: 18px; max-width: 640px; margin: 0 auto 26px; }
.final .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }


/* Footer */
.site-footer { background: #040919; color: #AEB9DD; padding: 56px 0 28px; font-size: 14.5px; }
.site-footer a { color: #DCE4FF; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer h3 { color: var(--white); font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; }
.ft-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1.1fr; gap: 36px; }
.ft-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.ft-brand p { margin: 0 0 10px; }
.ft-mail { margin-top: 14px !important; }
.ft-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-contacts a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.ft-contacts .i { color: #36D86E; width: 22px; height: 22px; }
.ft-contacts b { display: block; color: var(--white); font: 600 14.5px var(--head); }
.ft-contacts small { color: #9FB0E0; font-size: 12.5px; }
.ft-contacts.light a { background: var(--soft); border-color: var(--line); }
.ft-contacts.light b { color: var(--navy); }
.ft-contacts.light small { color: var(--muted); }
.ft-contacts.light .i { color: var(--wa); }
.ft-links { list-style: none; margin: 0; padding: 0; columns: 1; }
.ft-links li { margin-bottom: 7px; }
.ft-corp { background: linear-gradient(140deg, #0B1B4D, #13307F); border-radius: 18px; padding: 20px; align-self: start; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.ft-bottom p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lang-inline { display: inline-flex; }

/* Mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 27, 77, .12); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s ease; }
.buybar.show { transform: none; }
.buybar .p { font: 800 20px/1.1 var(--head); color: var(--navy); }
.buybar .p small { display: block; font: 500 12px var(--body); color: var(--muted); }
.buybar .btn { flex: 1; white-space: nowrap; padding-left: 14px; padding-right: 14px; }

/* ---------- Chatbot ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 75; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue); color: var(--white); font: 600 15px var(--head); box-shadow: 0 12px 30px rgba(26, 115, 232, .45); transition: transform .2s ease, bottom .25s ease; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab .i { width: 24px; height: 24px; }
.chat-panel { position: fixed; right: 22px; bottom: 90px; z-index: 90; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--white); border-radius: 22px; box-shadow: 0 30px 80px rgba(5, 11, 31, .35); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--navy); color: var(--white); }
.chat-head h2 { color: var(--white); font-size: 17px; margin: 0; }
.chat-head p { margin: 2px 0 0; font-size: 12.5px; color: #B9C6EE; }
.chat-head .close { position: static; flex: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.msg.bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--blue); color: var(--white); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; white-space: normal; }
.msg .acts a, .msg .acts button { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--head); padding: 7px 11px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; }
.msg .acts .a-buy { background: var(--yellow); color: var(--navy); }
.msg .acts .a-wa { background: var(--wa); color: var(--white); }
.msg .acts .a-link { background: var(--soft); color: var(--navy); border: 1px solid var(--line); }
.msg .acts .i { width: 15px; height: 15px; }
.msg.typing { color: var(--muted); font-style: italic; }
.msg .q { margin: 0 0 4px; font: 700 13.5px var(--head); color: var(--navy); white-space: normal; }
.msg .more { margin: 10px 0 0; font-size: 13px; color: var(--muted); white-space: normal; }
.msg .more + .acts { margin-top: 6px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; background: var(--white); }
.chat-chips button { border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: 6px 12px; font: 600 12.5px var(--head); cursor: pointer; }
.chat-chips button:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px 14px; background: var(--white); }
.chat-form input { flex: 1; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; font: 400 15px var(--body); }
.chat-form input:focus { border-color: var(--blue); outline: none; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: var(--white); cursor: pointer; display: grid; place-items: center; }

/* ---------- Corporate slide-in ---------- */
.slidein { position: fixed; left: 22px; bottom: 22px; z-index: 74; width: 320px; background: var(--white); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 20px 50px rgba(5, 11, 31, .28);
  border: 1px solid var(--line); transform: translateY(20px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.slidein.show { transform: none; opacity: 1; }
.slidein[hidden] { display: none; }
.slidein p { margin: 0 28px 12px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.slidein b { display: block; color: var(--navy); font: 700 16px var(--head); margin-bottom: 2px; }
.si-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: var(--soft); border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------- Dialogs ---------- */
.close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
dialog.lightbox .close, dialog.trailer-dlg .close { top: -46px; right: 0; }
dialog.trailer-dlg { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); overflow: visible; }
dialog.trailer-dlg::backdrop { background: rgba(2, 5, 15, .92); }
.tr-box { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.tr-box video { width: 100%; height: 100%; }
dialog.lang-dlg { border: 0; border-radius: 24px; padding: 30px 28px 26px; width: min(420px, 92vw); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog.lang-dlg::backdrop { background: rgba(5, 10, 30, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lang-dlg img { height: 34px; width: auto; margin: 0 auto 16px; }
.lang-dlg h2 { font-size: 19px; line-height: 1.5; margin-bottom: 20px; }
.lc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
dialog.enrol { width: min(520px, 94vw); max-height: 94vh; border: 0; border-radius: 22px; padding: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--ink); }
dialog.corp-dlg { width: min(640px, 94vw); }
dialog.enrol::backdrop { background: rgba(5, 10, 30, .72); }
.enrol-head { background: var(--navy); color: var(--white); padding: 22px 26px 18px; position: relative; }
.enrol-head h2 { color: var(--white); font-size: 21px; margin: 0 44px 4px 0; }
.enrol-head p { margin: 0; color: #C9D5FA; font-size: 15px; }
.enrol-head .price-line b { color: var(--yellow); }
.enrol form { padding: 20px 26px 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font: 600 14px var(--head); color: var(--navy); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 400 16px var(--body); color: var(--ink); background: var(--white); }
.field textarea { padding: 10px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); }
.field .hint { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.tel-row { display: flex; gap: 8px; }
.tel-row select { flex: 0 0 auto; width: 124px; padding: 0 6px 0 10px; text-overflow: ellipsis; }
.tel-row input { flex: 1 1 auto; min-width: 0; }
.field [aria-invalid="true"] { border-color: var(--red); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; margin: 6px 0 16px; align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.enrol .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.inline-wa { display: inline-flex; align-items: center; gap: 5px; color: var(--wa); font-weight: 700; text-decoration: none; }
.inline-wa .i { width: 16px; height: 16px; }
.form-msg { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.form-msg.show { display: block; }
.form-msg.err { background: #FDECEA; color: #8C1D18; }
.form-msg.info { background: #FFF4CC; color: #6B4C00; }
.form-msg.ok { background: #E9F6EE; color: #14532D; }

/* ---------- Thank-you page ---------- */
.ty-header .spacer { flex: 1; }
.ty-hero { background: var(--night); color: var(--white); text-align: center; padding: 80px 0 70px; position: relative; overflow: hidden; }
.ty-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 120%, rgba(26, 115, 232, .5), transparent 70%); }
.ty-hero .wrap { position: relative; }
.ty-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 56px); letter-spacing: -.02em; }
.ty-hero .lead { font-size: 19px; color: #C5D0F0; max-width: 640px; margin: 0 auto 14px; }
.ty-hero p { color: #C5D0F0; }
.ty-ref b { color: var(--yellow); font-family: var(--head); letter-spacing: .03em; }
.ty-check { width: 78px; height: 78px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 0 0 12px rgba(30, 158, 74, .2); }
.ty-check .i { width: 40px; height: 40px; color: var(--white); }
.ty-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.ty-help { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.ty-help h2, .ty-grid h2 { font-size: 24px; }
.ty-corp { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.ty-back { text-align: center; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 6px 8px; font-size: 13.5px; }
  .header-row { gap: 14px; }
}
@media (max-width: 960px) {
  :root { --hh: 56px; }
  .nav, .site-header .header-row > .lang-toggle, .pill-buy { display: none; }
  .menu-btn { display: block; }
  .site-header.scrolled .header-row { height: 52px; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .cards3, .get { grid-template-columns: 1fr 1fr; }
  .trainers, .cert-grid, .price-wrap, .ty-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote, .quote:nth-child(4), .quote:nth-child(5) { grid-column: span 1; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .kf-box dl { grid-template-columns: 1fr; }
  .ty-header .lang-toggle { display: flex; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section, .corporate { padding: 60px 0; }
  .hero { padding: 44px 0 40px; min-height: 0; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  html[lang="ml"] .hero h1 { font-size: clamp(28px, 8.4vw, 38px); }
  .hero-cta .btn { width: 100%; }
  .devices { margin-top: 40px; padding-right: 12%; }
  .laptop .screen { border-width: 7px; border-bottom-width: 10px; border-radius: 14px 14px 4px 4px; }
  .laptop .base { height: 10px; }
  .phone { width: 34%; border-width: 6px; border-radius: 24px; bottom: -18px; }
  .phone::before { height: 10px; top: 5px; }
  .phone-screen { padding: 20px 6px 6px; }
  .ph-course { font-size: 8.5px; } .ph-prog, .ph-top span { font-size: 6px; } .ph-list span { font-size: 5.5px; } .ph-list small { font-size: 5px; }
  .ph-list li:nth-child(n+4) { display: none; }
  .screen-label { display: none; }
  .pbtn { width: 56px; height: 56px; } .pbtn .i { width: 22px; height: 22px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 12px; margin-top: 56px; }
  .vgrid { gap: 12px; }
  .vcard figcaption { padding: 12px; font-size: 14px; }
  .cards3, .get, .skills, .notes, .quotes, .offers, .ft-grid, .grid2 { grid-template-columns: 1fr; }
  .trainer { grid-template-columns: 1fr; }
  .trainer .photo { height: 280px; }
  .ggrid { grid-template-columns: 1fr 1fr; }
  .cert-badge { width: 84px; right: -6px; bottom: 30px; }
  .module summary { padding: 14px 16px; gap: 12px; }
  .module .mnum { width: 44px; height: 44px; font-size: 13px; }
  .module ol { padding-left: 46px; padding-right: 16px; }
  .extras { padding-left: 16px; }
  .kf-box { padding: 20px; }
  .kf-box dl div { grid-template-columns: 1fr; gap: 2px; }
  .chat-track figure { width: 240px; }
  .buybar { display: flex; }
  body[data-page="landing"] .site-footer { padding-bottom: 120px; }
  .price { font-size: 48px; }
  .corp-banner { padding: 20px; }
  /* chat button sits above the buy bar on phones */
  .chat-fab { right: 14px; bottom: 86px; height: 52px; width: 52px; padding: 0; justify-content: center; }
  .chat-fab span { display: none; }
  .chat-fab.low { bottom: 18px; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 150px; height: min(520px, calc(100vh - 220px)); }
  .slidein { left: 12px; right: 78px; width: auto; bottom: 86px; padding: 12px 12px 12px 14px; display: flex; align-items: center; gap: 10px; }
  .slidein[hidden] { display: none; }
  .slidein p { margin: 0; font-size: 12.5px; flex: 1; }
  .slidein b { font-size: 14px; margin: 0; }
  .slidein .si-text { display: none; }
  .slidein .btn { min-height: 36px; padding: 8px 12px; font-size: 13px; flex: none; }
  .si-close { position: static; order: 3; width: 26px; height: 26px; font-size: 16px; flex: none; }
  .slidein.low { bottom: 18px; }
}

/* ---------- Free lessons (on-page, click to play) ---------- */
.fl-dark { background: radial-gradient(1200px 500px at 50% -10%, #12266A 0%, var(--night) 60%); color: #DCE4FA; }
.fl-dark .section-head h2 { color: var(--white); }
.fl-dark .section-head p { color: #AAB7E0; }
.fl-dark .eyebrow { color: var(--yellow); }
.flgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.flcard { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.flcard .media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.flcard .fl-badges { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.flcard .fl-badges b, .flcard .fl-badges i { font: 700 12px/1 var(--head); font-style: normal; padding: 6px 10px; border-radius: 999px; color: var(--white); }
.flcard .fl-badges b { background: var(--green); }
.flcard .fl-badges i { background: rgba(5, 11, 31, .85); font-weight: 600; }
/* play button sits in the poster's empty bottom-right corner, never over the title text; the whole poster is the button */
.flcard .pbtn { left: auto; top: auto; right: 16px; bottom: 16px; margin: 0; width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(249, 179, 0, .25), 0 8px 24px rgba(0, 0, 0, .45); }
.flcard .pbtn .i { width: 26px; height: 26px; }
.flcard .play:hover img { transform: scale(1.03); }
.flcard .play img { transition: transform .3s ease; }
.flcard .play:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.fl-body { padding: 18px 22px 22px; }
.fl-body h3 { color: var(--white); margin-bottom: 8px; }
.fl-body p { margin: 0 0 10px; font-size: 15.5px; color: #C3CDEA; }
.fl-kicker { font: 700 12px/1 var(--head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow) !important; margin-bottom: 10px !important; }
.fl-meta { font-size: 13.5px !important; color: #8E9CC8 !important; margin: 0 !important; }
.fl-after { text-align: center; margin-top: 34px; }
.fl-after p { font: 600 18px var(--head); color: var(--white); }
.fl-after .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
a.tag-free { text-decoration: none; }
a.tag-free:hover { background: #D5EFDF; }

/* ---------- SEO zone ---------- */
.seo-intro { padding: 88px 0 24px; border-top: 1px solid var(--line); }
.seo-toc { max-width: 860px; margin: 0 auto; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.seo-toc p { font: 700 13px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.seo-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 34px; }
.seo-toc li { margin: 0 0 6px; break-inside: avoid; font-size: 15.5px; }
.seo-sec { padding: 56px 0; }
.seo-sec.alt { background: var(--soft); }
.seo-wrap { max-width: 860px; }
.seo-sec h2 { font-size: clamp(24px, 3.2vw, 34px); }
.seo-sec .answer { font-size: 18.5px; color: var(--navy); border-left: 4px solid var(--blue); padding: 4px 0 4px 18px; margin-bottom: 1.2em; }
.seo-items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 6px 0 10px; }
.seo-items h3 { font-size: 18px; margin-bottom: 6px; }
.seo-items p { font-size: 16px; color: #39425E; }
.seo-module { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.seo-module .mmeta { font: 600 14px var(--head); color: var(--muted); margin: -4px 0 8px; }
.tool-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.tool-group h3 { font-size: 17px; margin: 14px 0 8px; }
.tool-group ul { list-style: none; margin: 0; padding: 0; }
.tool-group li { font-size: 15px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: #39425E; }
.tool-group li b { color: var(--navy); }
.seo-note { font-size: 14px; color: var(--muted); }
.seo-links { margin-top: 18px; font: 600 15px var(--head); }
.seo-links a { text-decoration: none; }
#question-bank h3 { margin: 30px 0 4px; font-size: 18px; color: var(--blue); }
#question-bank .faq { max-width: none; }
#question-bank .faq summary { font-size: 16.5px; padding: 16px 40px 16px 0; }
.glossary { columns: 2; column-gap: 40px; margin: 24px 0 0; }
.glossary > div { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font: 700 16px var(--head); color: var(--navy); }
.glossary dt small { font: 500 13px var(--body); color: var(--muted); margin-left: 6px; }
.glossary dd { margin: 4px 0 0; font-size: 15px; color: #39425E; }
.glossary > div:target { background: #FFF6DB; }
.wall-quotes { columns: 3; column-gap: 22px; margin-top: 22px; }
.wall-quote { break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; margin: 0 0 22px; box-shadow: var(--shadow); }
.wall-quote blockquote { font-size: 15px; margin-bottom: 10px; }
.wall-quote .who { font: 600 13.5px var(--head); color: var(--navy); }
#reviews-wall .label-live { margin-bottom: 14px; }

@media (max-width: 960px) {
  .wall-quotes { columns: 2; }
}
@media (max-width: 720px) {
  .flgrid, .seo-items, .tool-groups { grid-template-columns: 1fr; }
  .seo-toc ol, .glossary, .wall-quotes { columns: 1; }
  .seo-sec { padding: 40px 0; }
  .seo-sec .answer { font-size: 17px; }
  .flcard .pbtn { width: 50px; height: 50px; right: 10px; bottom: 10px; }
  .flcard .pbtn .i { width: 20px; height: 20px; }
}
.tool-groups { align-items: start; }
.tool-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--line); padding: 10px 0; }
.tool-group summary::-webkit-details-marker { display: none; }
.tool-group summary h3 { margin: 0; flex: 1; }
.tool-group summary .n { font: 700 13px var(--head); color: var(--blue); background: #EAF2FE; border-radius: 999px; padding: 2px 9px; }
.tool-group summary::after { content: "+"; font: 400 24px/1 var(--head); color: var(--blue); }
.tool-group[open] summary::after { content: "–"; }
a.btn-text { text-decoration: none; }

/* Daidu install: launch price (regular price struck through, launch note). Filled in by the app by date. */
.price .was { font-size: .5em; font-weight: 700; color: #C9D5FA; opacity: .7; text-decoration: line-through; margin-right: .3em; vertical-align: .25em; }
.price-card .launch-note { display: inline-block; margin: 6px 0 2px; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--night); font: 700 14px/1.3 var(--body); }
.buybar .p .was { font-size: .7em; font-weight: 700; color: var(--muted); text-decoration: line-through; margin-right: .25em; }
