/* DeepSoft AI Academy — design system */
:root {
  --ink: #0b1024; --text: #1f2937; --muted: #6b7280; --line: #e6e8ef; --bg: #f6f7fb; --card: #ffffff; --soft: #f1f3f9;
  --primary: #4f46e5; --primary-600: #4338ca; --violet: #7c3aed; --cyan: #06b6d4; --green: #10b981; --amber: #f59e0b; --red: #ef4444;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 24px -8px rgba(16, 24, 40, .12);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15.5px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); } h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); } h3 { font-size: 1.08rem; } h4 { font-size: .98rem; }
p { margin: 0 0 .85em; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: .88em; word-break: break-all; }
small, .small { font-size: .84rem; } .muted { color: var(--muted); } .center { text-align: center; }
.ic { flex: none; vertical-align: -3px; }
.inline { display: inline; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow-xl { max-width: 920px; } .narrow-l { max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .5em; }
.warn-text { color: var(--amber); } .err { color: var(--red); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font: 600 .95rem/1.2 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .7); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(79, 70, 229, .8); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c7cbe0; background: #fafbff; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.btn-danger { background: var(--red); color: #fff; }
.btn-linkedin { background: #0a66c2; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.iconbtn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; border-radius: 8px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; }

/* chips & badges */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--soft); color: #374151; border: 1px solid var(--line); white-space: nowrap; text-decoration: none !important; }
.chip-violet { background: #f3e8ff; color: #6b21a8; border-color: #e9d5ff; } .chip-green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; } .chip-gold { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.badge-neutral { background: #f3f4f6; color: #4b5563; } .badge-ok { background: #dcfce7; color: #166534; } .badge-bad { background: #fee2e2; color: #991b1b; }
.badge-warn { background: #fef3c7; color: #92400e; } .badge-info { background: #e0e7ff; color: #3730a3; } .badge-accent { background: #f3e8ff; color: #6b21a8; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #c7d2fe; }
.pill-dark { background: #eef2ff; color: var(--primary); border-color: #e0e7ff; }

/* cards, notices, toast */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; }
.notice.ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.notice.warn { background: #fff7ed; border-color: #fed7aa; }
.notice { display: block; } .notice code { white-space: nowrap; word-break: normal; }
.toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 14px; background: #111827; color: #fff; box-shadow: var(--shadow-lg); font-weight: 500; max-width: min(92vw, 560px); animation: toastIn .3s ease; }
.toast-success .ic { color: #34d399; } .toast-error { background: #7f1d1d; } .toast-info .ic { color: #93c5fd; }
.toast.hide { opacity: 0; transform: translate(-50%, -12px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -12px); } }

/* forms */
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; color: var(--ink); }
.form label small { font-weight: 400; color: var(--muted); margin-left: 4px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid #d6d9e4; border-radius: 11px; font: 400 .95rem var(--font); background: #fff; color: var(--text); transition: border .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
input[disabled], input[readonly] { background: var(--soft); color: var(--muted); }
textarea { resize: vertical; }
label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
label.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.row2, .row3, .row4 { display: grid; gap: 14px; }
.row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form.row, .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.form.row input { flex: 1; min-width: 200px; margin: 0; }
.label-row { display: flex; justify-content: space-between; }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin-top: 3px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; }
.strength { display: block; height: 4px; border-radius: 4px; margin-top: 8px; background: var(--line); position: relative; overflow: hidden; }
.strength::after { content: ""; position: absolute; inset: 0; width: var(--w, 0%); background: var(--c, var(--red)); transition: .25s; }
.formactions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sticky-actions { position: sticky; bottom: 12px; background: rgba(246, 247, 251, .9); backdrop-filter: blur(6px); padding: 10px; border-radius: 14px; }
.subfield { border: 1px dashed #c4b5fd; border-radius: 12px; padding: 16px; margin: 8px 0 16px; }
.subfield legend { font-weight: 700; color: var(--violet); padding: 0 6px; }
.optedit { display: grid !important; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; }
.optedit input[type=radio] { width: 18px; margin: 0; }
.optedit input:not([type=radio]) { margin: 0; }
@media (max-width: 760px) { .row2, .row3, .row4 { grid-template-columns: 1fr; } }

/* tables */
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: #fafbfd; color: #4b5563; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.card .tablewrap { box-shadow: none; }
.kv { width: 100%; border-collapse: collapse; }
.kv th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 12px 6px 0; width: 34%; vertical-align: top; }
.kv td { padding: 6px 0; }
.links { padding-left: 18px; } .links li { margin-bottom: 6px; word-break: break-word; }
.t-lesson { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-thumb { width: 48px; height: 27px; border-radius: 6px; background: #ddd center/cover; flex: none; }

/* progress primitives */
.bar { height: 8px; background: #eceef5; border-radius: 999px; overflow: hidden; min-width: 60px; }
.bar span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.ring { position: relative; display: inline-grid; place-items: center; }
.ring svg { position: absolute; inset: 0; }
.ring-bg { fill: none; stroke: #eceef5; }
.ring-fg { fill: none; stroke: url(#g) var(--primary); stroke: var(--primary); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.ring-label { position: relative; text-align: center; display: flex; flex-direction: column; }
.ring-label strong { font: 800 1.7rem var(--display); color: var(--ink); line-height: 1; }
.ring-label span { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.avatar { width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; flex: none; font: 700 calc(var(--s) * .38) var(--display); color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 50) 75% 45%)); }

/* ======================= Marketing site ======================= */
.site { background: #fff; }
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 26, .72); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 1.02rem var(--display); text-decoration: none !important; }
.site-nav .brand, .auth-aside .brand, .sidebar .brand, .site-footer .brand { color: #fff; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(99, 102, 241, .8); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a, .navlink { color: #cbd5e1; font-weight: 500; font-size: .93rem; }
.nav-links a:hover, .navlink:hover { color: #fff; text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; color: #fff; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: #0b1024; padding: 8px 20px 16px; }
  .nav-links.open { display: flex; } .nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-toggle { display: inline-flex; } .navlink { display: none; }
}

.hero { position: relative; background: #070b1a; color: #cbd5e1; overflow: hidden; padding: 72px 0 28px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(700px 380px at 12% 10%, rgba(99, 102, 241, .35), transparent 60%),
  radial-gradient(600px 400px at 90% 20%, rgba(6, 182, 212, .25), transparent 60%),
  radial-gradient(700px 500px at 60% 110%, rgba(139, 92, 246, .3), transparent 60%);
  pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; margin: 18px 0 16px; }
.grad { background: linear-gradient(90deg, #a5b4fc, #c4b5fd, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: #e0e7ff; font-size: 1.12rem; font-weight: 600; }
.hero-sub { color: #94a3b8; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: #cbd5e1; }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; } .hero-proof .ic { color: #34d399; }
.hero-visual { position: relative; min-height: 440px; }
.mock-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6); }
.mock-player { top: 0; left: 18px; right: 36px; overflow: hidden; animation: float 7s ease-in-out infinite; }
.mock-thumb { aspect-ratio: 16 / 9; background: #1e1b4b center/cover; display: grid; place-items: center; position: relative; }
.mock-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); }
.mock-play { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--primary); }
.mock-body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.eyebrow-sm { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.mock-progress { height: 6px; background: #eceef5; border-radius: 6px; overflow: hidden; margin: 6px 0 2px; }
.mock-progress span { display: block; height: 100%; background: var(--grad); }
.mock-stats { right: -18px; top: 150px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; animation: float 8s ease-in-out -2s infinite; }
.mock-stats strong, .mock-cert strong { display: block; font-size: .92rem; color: var(--ink); }
.mini-ring { position: relative; width: 58px; height: 58px; display: grid; place-items: center; }
.mini-ring svg { position: absolute; inset: 0; }
.mini-ring b { font: 800 .85rem var(--display); color: var(--ink); }
.mock-cert { left: -18px; top: 350px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; max-width: 330px; animation: float 9s ease-in-out -4s infinite; }
.mock-cert > .ic { color: #d97706; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mock-player, .mock-stats, .mock-cert, .marquee-track { animation: none !important; } }
.marquee { position: relative; margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); color: #cbd5e1; font-size: .86rem; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, .03); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { min-height: 380px; max-width: 520px; } }
@media (max-width: 520px) { .hero { padding-top: 44px; } .hero-visual { min-height: 400px; } .mock-player { left: 0; right: 0; } .mock-stats { top: 120px; right: 0; } .mock-cert { max-width: 290px; left: 0; top: 320px; } }

.section { padding: 84px 0; }
.section-alt { background: #f7f8fc; }
.section-dark { background: #0b1024; color: #cbd5e1; }
.section-dark h2 { color: #fff; } .section-dark .eyebrow { color: #a5b4fc; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.cloud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cloud-card { position: relative; border-radius: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cloud-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.c-ms { --c: linear-gradient(90deg, #0078d4, #50e6ff); } .c-gg { --c: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335); } .c-aws { --c: linear-gradient(90deg, #ff9900, #ffb84d); }
.cloud-tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cloud-card h3 { font-size: 1.25rem; margin: 6px 0 14px; }
.cloud-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cloud-card li { display: flex; gap: 8px; align-items: flex-start; } .cloud-card li .ic { color: var(--green); margin-top: 3px; }
@media (max-width: 900px) { .cloud-grid { grid-template-columns: 1fr; } }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.b-wide { grid-column: span 2; background: linear-gradient(135deg, #eef2ff, #f5f3ff 60%, #ecfeff); }
.b-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; margin-bottom: 14px; }
.bento-card p { color: #4b5563; margin: 0; }
.bento .b-wide:last-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: auto; } }
.acc { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.acc summary, .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.acc-no { font: 800 .9rem var(--display); color: var(--primary); background: #eef2ff; border-radius: 10px; padding: 6px 9px; }
.acc-title { flex: 1; font-weight: 700; color: var(--ink); }
.acc-meta { color: var(--muted); font-size: .85rem; }
.acc-chev { color: var(--muted); transition: transform .2s; }
details[open] > summary .acc-chev { transform: rotate(180deg); }
.acc-list { list-style: none; margin: 0; padding: 0 20px 14px 66px; }
.acc-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-top: 1px dashed var(--line); color: #374151; font-size: .93rem; }
.acc-list li .ic { color: var(--muted); }
.acc-list li > span:nth-child(2) { flex: 1; min-width: 180px; }
@media (max-width: 640px) { .acc-meta { display: none; } .acc-list { padding-left: 20px; } }
.cert-show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps-v { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.steps-v li { display: flex; gap: 14px; }
.steps-v b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--display); }
.steps-v strong { display: block; color: #fff; } .steps-v span { color: #94a3b8; font-size: .93rem; }
.cert-preview { perspective: 1200px; }
.cp-inner { transform: rotateY(-8deg) rotateX(4deg); background: #fff; border-radius: 16px; padding: 30px 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; border: 10px solid #fff; outline: 1px solid #e5e7eb; outline-offset: -18px; }
.cp-org { display: flex; align-items: center; gap: 6px; font: 800 .95rem var(--display); color: var(--ink); } .cp-org .ic { color: var(--primary); }
.cp-kicker { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-top: 8px; }
.cp-name { font: italic 700 1.9rem Georgia, "Times New Roman", serif; color: var(--ink); border-bottom: 1px solid #e5e7eb; padding: 0 30px 6px; }
.cp-course { font: 800 1.1rem var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-tag { font-size: .75rem; color: var(--muted); }
.cp-foot { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 14px; font-size: .72rem; color: var(--muted); }
.cp-qr { width: 44px; height: 44px; border-radius: 6px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 11px 11px; }
@media (max-width: 900px) { .cert-show { grid-template-columns: 1fr; } }
.instructor { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 900px; }
.ins-avatar { width: 128px; height: 128px; border-radius: 32px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 2.6rem var(--display); box-shadow: var(--shadow-lg); }
@media (max-width: 640px) { .instructor { grid-template-columns: 1fr; } }
.pricing { display: grid; place-items: center; }
.price-card { width: 100%; max-width: 520px; background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-card h3 { margin: 14px 0 6px; font-size: 1.3rem; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price { font: 800 2.6rem var(--display); color: var(--ink); letter-spacing: -.02em; }
.mrp { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; } .ticks .ic { color: var(--green); margin-top: 3px; }
.pay-methods { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin: 14px 0 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 4px; font-weight: 600; color: var(--ink); justify-content: space-between; }
.faq p { padding: 0 4px 18px; color: #4b5563; margin: 0; }
.cta-band { background: var(--grad); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.site-footer { background: #070b1a; color: #94a3b8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.footer-grid a, .footer-grid span { display: block; color: #94a3b8; font-size: .9rem; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-grid .brand { display: inline-flex; margin-bottom: 12px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 32px; padding-top: 18px; font-size: .82rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* public inner pages */
.doc { max-width: 820px; padding: 56px 20px; }
.doc p { color: #374151; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.contact-grid .card { margin: 0; } .contact-grid .ic { color: var(--primary); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.preview { padding: 32px 20px 64px; }
.preview .player { margin: 16px 0 24px; }
.preview-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.cta-card { background: linear-gradient(135deg, #eef2ff, #f5f3ff); }
@media (max-width: 860px) { .preview-grid { grid-template-columns: 1fr; } }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: .9rem; margin-bottom: 12px; }
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 40px 20px 72px; align-items: start; }
.co-user { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--soft); }
.co-user strong, .co-user span { display: block; }
.co-side { position: sticky; top: 90px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; color: #374151; }
.sum-row.green { color: #047857; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font: 800 1.25rem var(--display); color: var(--ink); }
.coupon { display: flex; gap: 8px; align-items: center; margin: 14px 0; padding: 6px 6px 6px 12px; border: 1px dashed #c7cbe0; border-radius: 12px; }
.coupon input { border: 0; margin: 0; padding: 6px; box-shadow: none !important; text-transform: uppercase; }
.coupon .ic { color: var(--muted); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .co-side { position: static; } }
.result { max-width: 560px; margin: 64px auto; text-align: center; padding: 40px 28px; }
.result-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.result-ic.ok { background: #dcfce7; color: #16a34a; } .result-ic.bad { background: #fee2e2; color: #dc2626; } .result-ic.warn { background: #fef3c7; color: #d97706; }
.redirecting { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #e0e7ff; border-top-color: var(--primary); animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.verify-wrap { max-width: 760px; padding: 56px 20px 72px; }
.verify-form { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 8px 16px; box-shadow: var(--shadow); margin: 18px 0 24px; }
.verify-form input { border: 0; margin: 0; box-shadow: none !important; }
.verify-form > .ic { color: var(--primary); }
.verify { display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.verify h2 { font-size: 1.15rem; margin: 0 0 4px; } .verify p { margin: 0; }
.verify.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; } .verify.ok h2 { color: #047857; }
.verify.bad { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; } .verify.bad h2 { color: #b91c1c; }
.verify-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.vc-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.vc-row span, .vc-grid span { display: block; color: var(--muted); font-size: .8rem; }
.vc-name { font: 800 1.5rem var(--display); color: var(--ink); }
.vc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; }
.vc-skills { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .vc-grid { grid-template-columns: 1fr; } }

/* ======================= Auth ======================= */
.auth { background: #fff; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; }
.auth-aside { position: relative; background: #070b1a; color: #cbd5e1; padding: 40px 48px; display: flex; flex-direction: column; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 20% 20%, rgba(99, 102, 241, .45), transparent 60%), radial-gradient(500px 360px at 90% 90%, rgba(6, 182, 212, .3), transparent 60%); }
.auth-aside > * { position: relative; }
.auth-pitch { margin: auto 0; max-width: 460px; }
.auth-pitch h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.auth-pitch .eyebrow { color: #a5b4fc; }
.auth-pitch .ticks li { color: #e2e8f0; } .auth-pitch .ticks .ic { color: #67e8f9; }
.auth-foot { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #94a3b8; margin: 0; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; background: #fafbff; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 1.8rem; }
.auth-switch { text-align: center; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .auth-aside::before { display: none; } .auth-aside { padding: 22px 20px; } .auth-pitch, .auth-foot { display: none; } }

/* ======================= Learner / admin app ======================= */
.app { background: var(--bg); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 256px; background: #0b1024; color: #cbd5e1; padding: 22px 16px; display: flex; flex-direction: column; z-index: 40; }
.sidebar .brand { padding: 0 8px; margin-bottom: 22px; }
.side-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #64748b; padding: 0 12px; margin: 0 0 8px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: #cbd5e1; font-weight: 500; font-size: .93rem; background: none; border: 0; width: 100%; cursor: pointer; font-family: inherit; text-align: left; }
.side-link:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.side-link.active { background: linear-gradient(90deg, rgba(99, 102, 241, .35), rgba(99, 102, 241, .08)); color: #fff; box-shadow: inset 2px 0 0 #818cf8; }
.side-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; }
.app-main { margin-left: 256px; min-height: 100vh; }
.app-top { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: rgba(246, 247, 251, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.app-top-title { font: 700 1rem var(--display); color: var(--ink); }
.userchip { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; padding: 4px 10px 4px 4px; border-radius: 999px; }
.userchip:hover { background: #fff; text-decoration: none; }
.app-content { padding: 28px; max-width: 1180px; }
.app-content.wide { max-width: 1440px; }
.bottom-nav { display: none; }
@media (max-width: 960px) {
  .sidebar { display: none; } .app-main { margin-left: 0; padding-bottom: 76px; }
  .app-top { padding: 0 16px; } .app-content { padding: 18px 16px; } .userchip-name { display: none; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; color: var(--muted); padding: 4px 0; text-decoration: none; }
  .bottom-nav a.active { color: var(--primary); }
}
.page-head { margin-bottom: 20px; } .page-head h1 { margin-bottom: 4px; }
.pagehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.crumbs { font-size: .88rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-2 > .card { margin-bottom: 0; } .grid-2 { margin-bottom: 20px; }
.stack > .card:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; } }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 12px; } .sec-head h3 { margin: 0; }

/* home */
.welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.welcome h1 { margin-bottom: 4px; }
.stat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.spill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .86rem; color: var(--ink); }
.spill .ic { color: #f97316; }
.home-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-bottom: 20px; }
.resume-card { display: grid; grid-template-columns: 1.15fr 1fr; background: #0b1024; border-radius: 20px; overflow: hidden; color: #cbd5e1; box-shadow: var(--shadow-lg); text-decoration: none !important; min-height: 240px; }
.resume-card.done { grid-template-columns: 1fr; background: var(--grad); }
.resume-thumb { position: relative; background: #1e1b4b center/cover; display: grid; place-items: center; min-height: 200px; }
.resume-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, #0b1024); }
.resume-play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--primary); transition: transform .2s; }
.resume-card:hover .resume-play { transform: scale(1.08); }
.resume-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .25); z-index: 1; }
.resume-bar span { display: block; height: 100%; background: #ef4444; }
.resume-body { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.resume-body h2 { color: #fff; font-size: 1.35rem; margin: 2px 0 4px; }
.resume-body .eyebrow { color: #a5b4fc; } .resume-body .muted { color: #94a3b8; }
.resume-body .btn { align-self: flex-start; margin-top: 12px; }
.progress-card { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.kv-list { list-style: none; padding: 0; margin: 0; width: 100%; }
.kv-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; } .kv-list li:last-child { border: 0; }
.kv-list b { color: var(--ink); }
@media (max-width: 1100px) { .home-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .resume-card { grid-template-columns: 1fr; } .resume-thumb::after { background: linear-gradient(180deg, transparent 50%, #0b1024); } }
.stepper { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: s; }
.stepper li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-top: 44px; font-size: .86rem; }
.stepper li::before { content: ""; position: absolute; top: 16px; left: 34px; right: -8px; height: 3px; background: var(--line); border-radius: 3px; }
.stepper li:last-child::before { display: none; }
.stepper li.done::before { background: var(--green); }
.stepper .dot { position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 700; color: var(--muted); z-index: 1; }
.stepper li.active .dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px #e0e7ff; }
.stepper li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.stepper strong { color: var(--ink); } .stepper span { color: var(--muted); }
@media (max-width: 760px) { .stepper { grid-template-columns: 1fr; gap: 14px; } .stepper li { padding: 4px 0 0 48px; } .stepper li::before { display: none; } }
.lesson-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.lesson-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); color: var(--text); text-decoration: none !important; transition: transform .2s; }
.lesson-card:hover { transform: translateY(-3px); }
.lc-thumb { aspect-ratio: 16 / 9; background: #ddd center/cover; position: relative; }
.lc-thumb .chip { position: absolute; top: 10px; left: 10px; }
.lc-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; } .lc-body strong { color: var(--ink); }
@media (max-width: 900px) { .lesson-cards { grid-template-columns: 1fr; } }
.mod-bars { display: grid; gap: 4px; }
.mod-bar { display: grid; grid-template-columns: 30px 1fr 160px 56px; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 10px; color: var(--text); text-decoration: none !important; }
.mod-bar:hover { background: var(--soft); }
.mb-no { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #eef2ff; color: var(--primary); font-weight: 700; font-size: .8rem; }
.mb-title { font-weight: 500; font-size: .92rem; } .mb-pct { text-align: right; font-size: .85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .mod-bar { grid-template-columns: 30px 1fr 50px; } .mod-bar .bar { grid-column: 2 / 4; } }

/* curriculum */
.mod { padding: 0; overflow: hidden; }
.mod-head { display: grid; grid-template-columns: auto 1fr 200px; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: #fcfcfe; }
.mod-head h3 { margin: 0; }
.mod-no { font: 800 1rem var(--display); color: #fff; background: var(--grad); border-radius: 12px; padding: 8px 10px; }
@media (max-width: 700px) { .mod-head { grid-template-columns: auto 1fr; } .mod-prog { grid-column: 1 / 3; } }
.lesson-rows { list-style: none; margin: 0; padding: 6px 10px 10px; }
.lrow { display: grid; grid-template-columns: 32px 80px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
a.lrow:hover { background: var(--soft); }
.lrow.locked { opacity: .55; }
.lr-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #eef2ff; color: var(--primary); }
.lr-ic.done { background: var(--green); color: #fff; }
.lr-thumb { width: 80px; aspect-ratio: 16 / 9; border-radius: 8px; background: #ddd center/cover; }
.lr-title { font-weight: 500; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lr-meta { color: var(--muted); font-size: .84rem; white-space: nowrap; }
@media (max-width: 640px) { .lrow { grid-template-columns: 30px 1fr; } .lr-thumb { display: none; } .lr-meta { grid-column: 2; } }

/* lesson player page */
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.lesson-side { position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow: auto; margin: 0; }
.side-lessons { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.side-lesson { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; color: var(--text); font-size: .9rem; text-decoration: none !important; }
a.side-lesson:hover { background: var(--soft); }
.side-lesson.current { background: #eef2ff; color: var(--primary-600); font-weight: 600; }
.side-lesson.locked { opacity: .5; }
.sl-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); margin-top: 1px; }
.side-lesson.done .sl-ic { background: var(--green); color: #fff; }
@media (max-width: 1100px) { .lesson-layout { grid-template-columns: 1fr; } .lesson-side { position: static; max-height: none; } }
.player { position: relative; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none; }
.player-frame { position: relative; aspect-ratio: 16 / 9; }
.player-frame iframe, .player-target { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-shield { position: absolute; inset: 0 0 56px 0; z-index: 2; cursor: pointer; }
.player-poster { position: absolute; inset: 0; z-index: 4; border: 0; padding: 0; cursor: pointer; background: #111 center/cover; display: grid; place-items: center; }
.player-poster::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0, 0, 0, .15), rgba(0, 0, 0, .65)); }
.poster-play { position: relative; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--primary); box-shadow: 0 10px 40px rgba(0, 0, 0, .4); transition: transform .2s; }
.player-poster:hover .poster-play { transform: scale(1.08); }
.poster-title { position: absolute; left: 20px; right: 20px; bottom: 70px; color: #fff; font: 700 1.05rem var(--display); text-align: left; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.player.playing .player-poster { display: none; }
.player.paused-mid .player-poster { display: grid; background-image: none !important; background: rgba(8, 10, 20, .88); }
.player.paused-mid .poster-title { display: none; }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .55)); color: #fff; }
.pbtn { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.pbtn:hover { background: rgba(255, 255, 255, .12); }
.i-pause, .i-mute { display: none; }
.player.playing .i-play { display: none; } .player.playing .i-pause { display: block; }
.player.muted .i-vol { display: none; } .player.muted .i-mute { display: block; }
.ptime { font: 500 .8rem ui-monospace, SFMono-Regular, Menlo, monospace; min-width: 96px; }
.pseek { flex: 1; margin: 0; padding: 0; height: 4px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #818cf8 var(--p, 0%), rgba(255, 255, 255, .25) var(--p, 0%)); border: 0; border-radius: 4px; cursor: pointer; }
.pseek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.pseek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.pseek:focus { box-shadow: none; }
.pspeed { width: auto; margin: 0; padding: 4px 6px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; font-size: .8rem; }
.pspeed option { color: #000; }
.player:fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; }
.player:fullscreen .player-frame { aspect-ratio: auto; height: 100%; }
@media (max-width: 560px) { .ptime { min-width: 0; font-size: .72rem; } .pspeed { display: none; } .poster-title { display: none; } .poster-play { width: 60px; height: 60px; } }
.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 14px 0 0; }
.part { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none !important; }
.part.active { border-color: var(--primary); box-shadow: 0 0 0 3px #e0e7ff; }
.part-thumb { width: 88px; aspect-ratio: 16 / 9; border-radius: 8px; background: #ddd center/cover; flex: none; }
.part-body { display: flex; flex-direction: column; font-size: .86rem; line-height: 1.35; } .part-body small { color: var(--muted); }
.lesson-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin: 22px 0 8px; }
.lesson-title h1 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 10px 0 18px; overflow-x: auto; }
.tab { background: none; border: 0; padding: 12px 16px; font: 600 .92rem var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--primary); border-color: var(--primary); }
.tabpane.anim { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .ov-grid { grid-template-columns: 1fr; } }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.res { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none !important; }
.res:hover { border-color: #c7d2fe; box-shadow: var(--shadow); }
.res .ic { color: var(--primary); } .res span { display: flex; flex-direction: column; } .res small { color: var(--muted); font-weight: 400; }
.assign-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.instructions { background: #faf5ff; border: 1px solid #ede9fe; border-radius: 12px; padding: 14px 18px; margin: 10px 0 16px; }
.subview { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.feedback { background: #eff6ff; border-radius: 12px; padding: 12px 16px; margin-top: 8px; }
.feedback strong { display: flex; gap: 6px; align-items: center; color: #1d4ed8; }
.notes { min-height: 220px; font-size: .95rem; line-height: 1.6; background: #fffef7; }
.lesson-nav { display: flex; justify-content: space-between; gap: 10px; margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }

/* progress page */
.prog-top { display: grid; grid-template-columns: 260px 1fr; gap: 20px; margin-bottom: 20px; }
.prog-top > .card { margin: 0; display: grid; place-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; }
.stat strong { display: block; font: 800 1.9rem var(--display); color: var(--ink); margin-top: 6px; }
.stat small { font-size: .9rem; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .prog-top { grid-template-columns: 1fr; } }
.heatmap { display: grid; grid-auto-flow: column; grid-auto-columns: 13px; justify-content: start; grid-template-rows: repeat(7, 13px); gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.hm { width: 13px; height: 13px; border-radius: 3px; background: #eceef5; }
.hm.on { background: var(--primary); box-shadow: 0 0 0 1px rgba(79, 70, 229, .2); }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.bdg { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; border-radius: 14px; background: var(--soft); opacity: .5; filter: grayscale(1); }
.bdg.on { opacity: 1; filter: none; background: linear-gradient(160deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; }
.bdg-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #d97706; box-shadow: var(--shadow); }
.bdg strong { font-size: .86rem; color: var(--ink); } .bdg small { font-size: .72rem; color: var(--muted); line-height: 1.3; }

/* profile */
.profile-hero { padding: 0; overflow: hidden; }
.ph-cover { height: 120px; background: var(--grad); position: relative; }
.ph-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 18px 18px; }
.ph-body { display: flex; gap: 20px; align-items: flex-start; padding: 0 26px 22px; margin-top: -44px; position: relative; flex-wrap: wrap; }
.ph-body .avatar { border: 5px solid #fff; box-shadow: var(--shadow); }
.ph-text { padding-top: 52px; } .ph-text h1 { margin: 0; } .ph-text p { margin: 2px 0 8px; }
.ph-chips, .badge-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* certificate page */
.cert-hero { position: relative; text-align: center; padding: 24px 12px 8px; overflow: hidden; }
.cert-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cert-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 24px; }
.confetti { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, #818cf8 2px, transparent 2.5px), radial-gradient(circle, #22d3ee 2px, transparent 2.5px), radial-gradient(circle, #f59e0b 2px, transparent 2.5px); background-size: 90px 90px, 130px 130px, 170px 170px; background-position: 0 0, 40px 60px, 80px 20px; opacity: .45; mask-image: linear-gradient(180deg, #000, transparent); }
.cert-frame { max-width: 1060px; margin: 0 auto 30px; box-shadow: var(--shadow-lg); border-radius: 6px; }
.req { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.req li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--soft); }
.req li > .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fff; color: var(--muted); }
.req li.ok > .ic { background: var(--green); color: #fff; }
.req strong { display: block; color: var(--ink); } .req span { font-size: .86rem; color: var(--muted); }
.cert-locked { position: relative; border-radius: 16px; overflow: hidden; }
.cl-blur { filter: blur(3px) grayscale(.5); opacity: .55; pointer-events: none; transform: scale(.98); }
.cl-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ink); }
.cl-lock .ic { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); color: var(--primary); }

/* exam */
.exam-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.exam-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 22px; }
.exam-facts div { background: var(--soft); border-radius: 14px; padding: 14px; text-align: center; }
.exam-facts strong { display: block; font: 800 1.5rem var(--display); color: var(--ink); } .exam-facts span { font-size: .8rem; color: var(--muted); }
.exam-tips { list-style: none; padding: 20px; margin: 0; border-radius: 16px; background: linear-gradient(160deg, #eef2ff, #f5f3ff); display: grid; gap: 12px; align-content: start; font-size: .92rem; }
.exam-tips li { display: flex; gap: 10px; } .exam-tips .ic { color: var(--primary); margin-top: 3px; }
@media (max-width: 900px) { .exam-hero { grid-template-columns: 1fr; } .exam-facts { grid-template-columns: repeat(2, 1fr); } }
.examhead { position: sticky; top: 72px; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.examhead strong { display: flex; gap: 8px; align-items: center; }
.timer { font: 700 1.3rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: var(--soft); padding: 4px 12px; border-radius: 10px; }
.timer.warn { color: #fff; background: var(--red); }
.qnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.qnav a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .85rem; color: var(--muted); text-decoration: none; }
.qnav a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 14px; scroll-margin-top: 150px; }
.q legend { display: flex; gap: 12px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.q legend + * { clear: both; }
.qno { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #eef2ff; color: var(--primary); font-size: .82rem; }
.opt { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; font-weight: 400 !important; transition: .15s; }
.opt:hover { border-color: #c7d2fe; background: #fafbff; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-key { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--soft); font-weight: 700; font-size: .8rem; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--primary); background: #eef2ff; }
.opt:has(input:checked) .opt-key { background: var(--primary); color: #fff; }
.opt:has(input:focus-visible) { box-shadow: 0 0 0 3px #c7d2fe; }
.exam-submit { text-align: center; margin: 22px 0; }
.result-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.result-hero.pass { background: linear-gradient(135deg, #ecfdf5, #fff); } .result-hero.fail { background: linear-gradient(135deg, #fff7ed, #fff); }
.mod-bar.static:hover { background: none; }

/* admin */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi span { color: var(--muted); font-size: .84rem; display: block; }
.kpi strong { font: 800 1.8rem var(--display); color: var(--ink); display: block; margin: 4px 0; }
.filters { display: flex; gap: 14px; flex-wrap: wrap; }
.filters a { color: var(--muted); font-weight: 600; } .filters a.active { color: var(--primary); text-decoration: underline; }
.qlist li { margin-bottom: 10px; }
.vid-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: -4px 0 14px; }
.vid-preview figure { margin: 0; } .vid-preview img { border-radius: 10px; display: block; }
.vid-preview figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ======================= Brand ======================= */
.wordmark { display: inline-flex; align-items: center; gap: .5em; font: 800 1.02rem var(--display); letter-spacing: -.01em; white-space: nowrap; }
.wordmark svg { width: 1.95em; height: 1.95em; flex: none; }
.brand .brand-logo { height: 32px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.logo-pill { background: #fff; border-radius: 8px; padding: 3px 8px; display: inline-flex; }
.logo-pill .brand-logo { height: 26px; }
.sidebar .brand-name { display: none; }
.brand-name { font: 600 .82rem var(--font); color: #94a3b8; border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 10px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-slot { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.brand-prev { width: 100%; height: 90px; border-radius: 10px; background: repeating-conic-gradient(#f3f4f6 0 25%, #fff 0 50%) 0 0 / 16px 16px; display: grid; place-items: center; padding: 10px; }
.brand-slot.dark .brand-prev { background: #0b1024; }
.brand-prev img { max-height: 70px; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .brand-grid { grid-template-columns: 1fr; } }
.vc-head { display: flex; gap: 22px; align-items: center; }
.vc-head .cred-badge { flex: none; }
.vc-head > div { flex: 1; }
@media (max-width: 600px) { .vc-head { flex-direction: column; align-items: flex-start; } }
.cp-tilt { transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); border-radius: 6px; overflow: hidden; }

/* ======================= Certificate ======================= */
.certpage { background: #e5e7eb; min-height: 100vh; padding: 20px 12px 40px; }
.cert-actions { max-width: 1100px; margin: 0 auto 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cert { position: relative; max-width: 1100px; aspect-ratio: 297 / 210; margin: 0 auto; background: #fff; overflow: hidden; container-type: inline-size; color: #111827; font-family: var(--font); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.c-frame { position: absolute; inset: 0; padding: 4.4cqw 5.4cqw 3.6cqw; display: flex; flex-direction: column; background: #fff; }
.c-frame::before { content: ""; position: absolute; inset: 1.6cqw; border: 1px solid #dfe3ee; pointer-events: none; }
.c-frame::after { content: ""; position: absolute; inset: 2cqw; border: 1px solid #eef0f6; pointer-events: none; }
.c-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.c-logo .brand-logo { height: 4.6cqw; width: auto; max-width: 30cqw; object-fit: contain; display: block; }
.c-logo .wordmark { font-size: 2.2cqw; }
.c-id { text-align: right; display: flex; flex-direction: column; }
.c-id span { font-size: .85cqw; text-transform: uppercase; letter-spacing: .18em; color: #6b7280; font-weight: 600; }
.c-id strong { font: 700 1.25cqw ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #111827; letter-spacing: .04em; }
.c-main { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 23cqw; gap: 4.5cqw; align-items: center; }
.c-left { display: flex; flex-direction: column; }
.c-pre { font-size: 1.32cqw; color: #4b5563; margin: 0; }
.c-name { font: 700 4.6cqw/1.12 var(--display); color: #0b1024; letter-spacing: -.025em; margin: .7cqw 0 1.3cqw; }
.c-title { display: flex; flex-direction: column; font: 800 2.7cqw/1.18 var(--display); color: #1e1b4b; margin: 1cqw 0 .9cqw; letter-spacing: -.015em; }
.c-eyebrow { font: 700 1.05cqw var(--font); letter-spacing: .26em; text-transform: uppercase; color: #4f46e5; margin-bottom: .6cqw; }
.c-desc { font-size: 1.12cqw; line-height: 1.55; color: #6b7280; max-width: 92%; margin: 0; }
.c-meta { display: grid; grid-template-columns: .8fr 1.2fr 1.3fr; gap: 2cqw; margin-top: 2cqw; padding-top: 1.4cqw; border-top: 1px solid #e5e7eb; }
.c-meta div { display: flex; flex-direction: column; min-width: 0; }
.c-meta span { font-size: .82cqw; text-transform: uppercase; letter-spacing: .16em; color: #6b7280; font-weight: 600; margin-bottom: .25cqw; }
.c-meta strong { font-size: 1.18cqw; color: #111827; font-weight: 600; }
.c-url { word-break: break-all; font-weight: 500 !important; font-size: 1.02cqw !important; }
.c-sign { margin-top: 2.3cqw; width: 24cqw; display: flex; flex-direction: column; font-size: 1.05cqw; }
.c-sig-img { height: 6.4cqw; margin-bottom: -.9cqw; width: auto; max-width: 22cqw; object-fit: contain; object-position: left bottom; }
.c-sig-text { font: italic 400 3cqw/1.1 "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive; color: #1e1b4b; }
.c-sig-line { display: block; height: 1px; background: #9ca3af; margin: .5cqw 0 .7cqw; }
.c-sign strong { color: #111827; font-size: 1.15cqw; } .c-sign span { color: #6b7280; }
.c-right { display: flex; flex-direction: column; align-items: center; gap: 2cqw; }
.c-right .cred-badge { width: 20cqw; height: auto; filter: drop-shadow(0 1.2cqw 1.6cqw rgba(49, 46, 129, .28)); }
.c-qr { display: flex; flex-direction: column; align-items: center; gap: .4cqw; }
.c-qr svg { width: 7.4cqw; height: 7.4cqw; display: block; }
.c-qr span { font-size: .8cqw; text-transform: uppercase; letter-spacing: .16em; color: #6b7280; font-weight: 600; }
.c-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1.05cqw; line-height: 0; }
.c-bar svg { display: block; width: 100%; height: 100%; }
.cert-stamp { position: absolute; top: 46%; left: 42%; transform: translate(-50%, -50%) rotate(-16deg); font: 900 8cqw var(--display); color: rgba(220, 38, 38, .2); border: .8cqw solid rgba(220, 38, 38, .2); padding: 0 3cqw; border-radius: 1cqw; }
/* Printing: exactly the on-screen certificate, white, on one page, scaled to whatever paper/orientation/margins the
   print dialog uses (so nothing is ever cut off). Works for the print page, the learner certificate page (Ctrl+P)
   and the console's certificate editor. */
@media print {
  @page { size: 297mm 210mm; margin: 0; }
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .noprint { display: none !important; }
  .certpage { padding: 0 !important; min-height: 0 !important; background: #fff !important; }
  .cert { width: min(100vw, calc(100vh * 297 / 210 - 1px)); max-width: none; height: auto; aspect-ratio: 297 / 210; margin: 0 auto; box-shadow: none !important; border-radius: 0 !important; break-inside: avoid; page-break-inside: avoid; }
  /* Ctrl+P on pages that show a certificate inside the app/console: print only the certificate */
  body:has(.cert-frame, .design-preview) * { visibility: hidden; }
  body:has(.cert-frame, .design-preview) .cert-frame, body:has(.cert-frame, .design-preview) .cert-frame *,
  body:has(.cert-frame, .design-preview) .design-preview:not(.sticky), body:has(.cert-frame, .design-preview) .design-preview:not(.sticky) * { visibility: visible; }
  body:has(.cert-frame, .design-preview) .cert-frame, body:has(.cert-frame, .design-preview) .design-preview:not(.sticky) { position: fixed; left: 0; top: 0; width: 100vw; margin: 0; box-shadow: none; border-radius: 0; }
  body:has(.cert-frame) .app-main, body:has(.design-preview) .app-main { overflow: visible; }
}

/* ======================= Console additions ======================= */
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 0 0 20px; }
.subtabs a { padding: 10px 14px; font-weight: 600; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; text-decoration: none; }
.subtabs a.active { color: var(--primary); border-color: var(--primary); }
.design-grid { display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
.design-preview { box-shadow: var(--shadow-lg); border-radius: 8px; overflow: hidden; background: #fff; }
.design-preview.sticky { position: sticky; top: 84px; box-shadow: none; background: none; overflow: visible; }
.design-preview.sticky .cert { box-shadow: var(--shadow-lg); border-radius: 6px; }
.design-preview p { margin-top: 10px; }
@media (max-width: 1100px) { .design-grid { grid-template-columns: 1fr; } .design-preview.sticky { position: static; } }
.brand-grid.one { grid-template-columns: 1fr; }
.mfa-setup { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.mfa-qr svg { width: 220px; height: 220px; display: block; border-radius: 12px; border: 1px solid var(--line); }
.steps-list { padding-left: 20px; } .steps-list li { margin-bottom: 8px; }
code.key { display: inline-block; font-size: 1rem; letter-spacing: .08em; padding: 6px 10px; margin-top: 6px; background: var(--soft); }
input.otp { font: 700 1.3rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .35em; text-align: center; max-width: 220px; }
@media (max-width: 700px) { .mfa-setup { grid-template-columns: 1fr; } }
.offline { margin-top: 14px; border: 1px dashed #c7cbe0; border-radius: 12px; }
.offline summary { cursor: pointer; padding: 12px 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; list-style: none; }
.offline summary::-webkit-details-marker { display: none; }
.offline-body { padding: 0 14px 14px; }
.add-lesson summary { cursor: pointer; font-weight: 600; display: flex; gap: 8px; align-items: center; list-style: none; }
.add-lesson[open] summary { margin-bottom: 14px; }
.add-lesson summary::-webkit-details-marker { display: none; }
.t-actions { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.mt6 { margin-top: 6px; }
.app-admin .sidebar { background: #0a0f1f; }

input[type=file][hidden] { display: none !important; }
.sticky-actions { box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .25); background: rgba(255, 255, 255, .95); border: 1px solid var(--line); z-index: 5; }

/* ---------- Autoplay: toggle, unmute pill, up-next overlay */
.pauto { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; color: #cbd5e1; font: 600 .74rem var(--font, inherit); cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.pauto:hover { color: #fff; }
.pauto-track { position: relative; width: 30px; height: 17px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: background .2s; }
.pauto-knob { position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .2s; }
.pauto.on .pauto-track { background: var(--primary, #4f46e5); }
.pauto.on .pauto-knob { transform: translateX(13px); }
.unmute-pill { position: absolute; top: 14px; left: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .95); color: #0b1024; font-weight: 700; font-size: .85rem; cursor: pointer; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); animation: pop .3s ease; }
.unmute-pill[hidden] { display: none; }
.upnext { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, .35), transparent 60%), rgba(6, 8, 20, .92); backdrop-filter: blur(4px); animation: fadein .25s ease; }
.upnext[hidden] { display: none; }
.un-card { width: min(620px, 100%); display: grid; grid-template-columns: 200px 1fr; gap: 18px 20px; align-items: center; color: #fff; }
.un-thumb { aspect-ratio: 16 / 9; border-radius: 12px; background: #1e1b4b center/cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.un-thumb.empty { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.un-body small { display: block; color: #a5b4fc; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; margin-bottom: 6px; }
.un-body strong { display: block; font: 700 1.15rem/1.3 var(--display, inherit); }
.un-msg { margin: 8px 0 0; color: #cbd5e1; font-size: .88rem; min-height: 1.2em; }
.un-actions { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; }
.un-go { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 10px 18px 10px 10px; background: #fff; color: #0b1024; font-weight: 700; cursor: pointer; }
.un-go[hidden] { display: none; }
.un-ring { position: relative; width: 30px; height: 30px; display: grid; place-items: center; color: var(--primary, #4f46e5); }
.un-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.un-ring circle { fill: none; stroke: #e0e7ff; stroke-width: 3; }
.un-ring .un-prog { stroke: var(--primary, #4f46e5); stroke-dasharray: 100.5; stroke-dashoffset: 0; }
.un-ring.run .un-prog { animation: undash 6s linear forwards; }
.un-cancel { border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; padding: 10px 18px; background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.un-cancel:hover { background: rgba(255, 255, 255, .08); }
.player.show-upnext .player-poster { display: none; }
@keyframes undash { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 100.5; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .un-card { grid-template-columns: 1fr; gap: 10px; } .un-thumb { display: none; } .un-body strong { font-size: 1rem; } .un-actions { justify-content: stretch; } .un-actions button { flex: 1; justify-content: center; } .pauto-label { display: none; } }
.app-top-right { display: flex; align-items: center; gap: 12px; }

/* =====================================================================
   Landing page v3 (lp-*)
   ===================================================================== */
.lp-hero { position: relative; overflow: hidden; background: #05081a; color: #cbd5e1; padding: 84px 0 34px; isolation: isolate; }
.lp-aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; filter: blur(70px); opacity: .9; }
.lp-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.lp-aurora span:nth-child(1) { width: 620px; height: 620px; left: -6%; top: -8%; background: radial-gradient(circle, rgba(99, 102, 241, .75), transparent 65%); }
.lp-aurora span:nth-child(2) { width: 560px; height: 560px; right: -4%; top: 4%; background: radial-gradient(circle, rgba(6, 182, 212, .55), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.lp-aurora span:nth-child(3) { width: 520px; height: 520px; left: 38%; top: 30%; background: radial-gradient(circle, rgba(168, 85, 247, .5), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 50px) scale(.95); } }
.lp-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 80%); }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #e0e7ff; font-size: .84rem; font-weight: 500; text-decoration: none !important; backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.lp-badge:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .26); }
.lp-badge-new { background: var(--grad); color: #fff; font-weight: 700; font-size: .72rem; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
.lp-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.03; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800; }
.lp-hero h1 .grad { background: linear-gradient(100deg, #a5b4fc 0%, #c4b5fd 35%, #67e8f9 70%, #a5b4fc 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.lp-lead { color: #e0e7ff; font-size: 1.14rem; font-weight: 600; margin-bottom: .6em; }
.lp-sub { color: #94a3b8; font-size: 1.04rem; max-width: 580px; }
.lp-hero .hero-cta { margin: 30px 0 26px; }
.lp-hero .btn-primary { box-shadow: 0 10px 34px -8px rgba(99, 102, 241, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lp-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #a8b3cf; font-size: .9rem; }
.lp-trust li { display: inline-flex; align-items: center; gap: 8px; } .lp-trust .ic { color: #67e8f9; }

.lp-hero-visual { position: relative; padding: 26px 10px 40px; }
.lp-window { position: relative; border-radius: 18px; background: linear-gradient(180deg, rgba(30, 34, 64, .92), rgba(15, 18, 40, .95)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 80px -20px rgba(99, 102, 241, .45); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s ease; }
.lp-hero-visual:hover .lp-window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.lp-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.lp-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .lp-window-bar i:nth-child(2) { background: #febc2e; } .lp-window-bar i:nth-child(3) { background: #28c840; }
.lp-window-bar span { margin-left: 10px; font-size: .74rem; color: #8b93b5; font-weight: 600; }
.lp-window-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; padding: 14px; }
.lp-player { border-radius: 12px; overflow: hidden; background: #0b0f26; border: 1px solid rgba(255, 255, 255, .06); }
.lp-player-art { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 30%, #312e81, #0b1024 70%); }
.lp-orb { position: absolute; border-radius: 50%; filter: blur(18px); animation: drift 9s ease-in-out infinite alternate; }
.lp-orb.o1 { width: 120px; height: 120px; left: 12%; top: 16%; background: rgba(129, 140, 248, .7); }
.lp-orb.o2 { width: 110px; height: 110px; right: 10%; bottom: 8%; background: rgba(34, 211, 238, .55); animation-delay: -4s; }
.lp-play { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--primary); box-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.lp-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.lp-player-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.lp-seek { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.lp-seek b { display: block; height: 100%; width: 0; background: var(--grad); animation: seekfill 9s ease-in-out infinite; }
@keyframes seekfill { 0% { width: 18%; } 90%, 100% { width: 96%; } }
.lp-time { font-size: .7rem; color: #8b93b5; font-variant-numeric: tabular-nums; }
.lp-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lp-side-h { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8b93b5; margin-bottom: 2px; }
.lp-side-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 9px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); color: #cbd5e1; font-size: .72rem; }
.lp-side-row em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-side-row .ic { flex: none; color: #8b93b5; }
.lp-side-row.done .ic { color: #34d399; }
.lp-side-row.now { background: rgba(99, 102, 241, .18); border-color: rgba(129, 140, 248, .4); color: #fff; }
.lp-side-row.now .ic { color: #a5b4fc; }
.lp-side-prog { margin-top: auto; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.lp-side-prog span { display: block; height: 100%; background: var(--grad); }
.lp-float { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7); animation: float 7s ease-in-out infinite; }
.lp-float strong { display: block; font-size: .86rem; line-height: 1.25; }
.lp-float small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .74rem; }
.lp-f1 { left: -16px; bottom: 12px; } .lp-f1 > .ic { color: #fff; background: #10b981; border-radius: 50%; padding: 5px; width: 26px; height: 26px; }
.lp-f2 { right: -14px; top: 4px; animation-delay: -2.5s; }
.lp-f3 { right: 18px; bottom: -6px; animation-delay: -5s; } .lp-f3 > .ic { color: #d97706; }
.lp-f2-ring { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.lp-f2-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.lp-f2-ring circle { fill: none; stroke: #eef2ff; stroke-width: 5; } .lp-f2-ring circle.p { stroke: var(--primary); stroke-dasharray: 113; stroke-dashoffset: 32; stroke-linecap: round; }
.lp-f2-ring b { font-size: .7rem; color: var(--ink); }
.lp-stats { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
.lp-stats > div { padding: 22px 18px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.lp-stats > div:first-child { border-left: 0; }
.lp-stats b { display: block; font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/1.1 var(--display); color: #fff; letter-spacing: -.02em; background: linear-gradient(180deg, #fff, #c7d2fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stats span { color: #94a3b8; font-size: .86rem; }
.lp-hero .marquee { margin-top: 36px; }

/* sections */
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.025em; }
.lp-out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-out { position: relative; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lp-out::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at 100% 0%, rgba(99, 102, 241, .08), transparent 60%); opacity: 0; transition: opacity .3s; }
.lp-out:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; } .lp-out:hover::before { opacity: 1; }
.lp-out-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .8); margin-bottom: 18px; }
.lp-out-no { position: absolute; right: 22px; top: 18px; font: 800 2.4rem var(--display); color: #eef0f8; letter-spacing: -.04em; }
.lp-out h3 { font-size: 1.12rem; margin-bottom: 6px; }
.lp-out p { color: #4b5563; margin: 0; }

.lp-clouds { background: linear-gradient(180deg, #fff 0%, #f5f6fd 100%); }
.lp-cloud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-cloud { --c: var(--primary); position: relative; padding: 30px 28px; border-radius: 22px; background: #fff; border: 1px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--c), rgba(255, 255, 255, 0) 60%); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.lp-cloud:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-cloud.c-ms { --c: #0ea5e9; } .lp-cloud.c-gg { --c: #ea4335; } .lp-cloud.c-aws { --c: #f59e0b; }
.lp-cloud-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 4px 10px; border-radius: 999px; }
.lp-cloud h3 { font-size: 1.3rem; margin: 14px 0 16px; }
.lp-cloud ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.lp-cloud li { display: flex; gap: 9px; align-items: flex-start; color: #374151; } .lp-cloud li .ic { color: var(--c); margin-top: 3px; }

.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-bcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.lp-bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-bcard h3 { margin-top: 14px; } .lp-bcard p { color: #4b5563; margin: 0; }
.lp-b-hero { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; gap: 22px; background: linear-gradient(160deg, #0f1330 0%, #1e1b4b 100%); border-color: transparent; color: #cbd5e1; }
.lp-b-hero h3 { color: #fff; font-size: 1.35rem; } .lp-b-hero p { color: #a8b3cf; max-width: 520px; }
.lp-b-hero .b-ic { background: rgba(255, 255, 255, .1); }
.lp-mini-player { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-self: end; }
.lp-mp-screen { aspect-ratio: 16 / 9; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, .6), transparent 55%), radial-gradient(circle at 80% 80%, rgba(34, 211, 238, .45), transparent 55%), #0b1024; border: 1px solid rgba(255, 255, 255, .08); }
.lp-mp-screen .lp-play { width: 40px; height: 40px; }
.lp-mp-next { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.lp-mp-next small { color: #a5b4fc; font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.lp-mp-next strong { color: #fff; font-size: .9rem; line-height: 1.3; }
.lp-mp-count { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 4px; }
.lp-mp-count b { display: block; height: 100%; background: var(--grad); animation: seekfill 6s linear infinite; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 30px; height: 2px; background: linear-gradient(90deg, #c7d2fe, #a5f3fc); z-index: 0; }
.lp-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 8px; }
.lp-step-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--primary); border: 1px solid #e0e7ff; box-shadow: 0 12px 30px -14px rgba(79, 70, 229, .6); margin-bottom: 8px; }
.lp-steps b { font: 800 .76rem var(--display); letter-spacing: .12em; color: var(--primary); }
.lp-steps strong { font: 700 1.15rem var(--display); color: var(--ink); }
.lp-steps span:last-child { color: var(--muted); font-size: .94rem; max-width: 240px; }

.lp-curr { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.lp-curr-side { position: sticky; top: 96px; }
.lp-curr-side h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -.025em; }
.lp-curr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 22px; }
.lp-curr-stats div { padding: 14px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; }
.lp-curr-stats b { display: block; font: 800 1.5rem var(--display); color: var(--ink); } .lp-curr-stats span { color: var(--muted); font-size: .8rem; }
.lp-curr-list .acc { transition: border-color .2s, box-shadow .2s; }
.lp-curr-list .acc[open] { border-color: #c7d2fe; box-shadow: 0 10px 30px -18px rgba(79, 70, 229, .5); }

.lp-cert { position: relative; overflow: hidden; background: #070a1c; }
.lp-cert-glow { position: absolute; width: 700px; height: 700px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(99, 102, 241, .35), transparent 60%); filter: blur(30px); }
.lp-cert .cert-show { position: relative; }
.lp-cert h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.025em; }
.lp-cert-lead { color: #a8b3cf; font-size: 1.04rem; }
.lp-cert-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-cert-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.lp-cert-list .ic { flex: none; color: #67e8f9; margin-top: 2px; }
.lp-cert-list strong { display: block; color: #fff; font-size: .95rem; } .lp-cert-list span { color: #94a3b8; font-size: .86rem; }

.lp-price-wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 26px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.lp-incl { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.lp-incl h3 { font-size: 1.2rem; margin-bottom: 18px; }
.lp-incl-grid { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.lp-incl-grid li { display: flex; gap: 12px; align-items: flex-start; }
.lp-incl-grid .ic { flex: none; color: var(--primary); background: #eef2ff; border-radius: 10px; padding: 7px; width: 34px; height: 34px; }
.lp-incl-grid strong { display: block; color: var(--ink); font-size: .95rem; } .lp-incl-grid span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.lp-team { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #eef2ff, #ecfeff); }
.lp-team > .ic { color: var(--primary); flex: none; } .lp-team strong { display: block; color: var(--ink); } .lp-team span { color: #475569; font-size: .88rem; }
.lp-price { max-width: none; margin: 0; position: relative; padding: 32px; border-radius: 24px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 70px -30px rgba(79, 70, 229, .55); display: flex; flex-direction: column; }
.lp-price h3 { margin-top: 16px; }
.lp-price .price { font-size: clamp(2.4rem, 4vw, 3rem); }
.lp-price .btn { margin-top: auto; }
.lp-pay-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.lp-pay-chips span { font-size: .74rem; font-weight: 600; color: #475569; background: #f1f5f9; border-radius: 999px; padding: 4px 10px; }

.lp-faq { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.lp-faq > div:first-child { position: sticky; top: 96px; }
.lp-faq h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.025em; }
.lp-faq .faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; padding: 0 4px; }
.lp-faq .faq[open] { border-color: #c7d2fe; }

.lp-final { padding: 30px 0 90px; background: #f7f8fc; }
.lp-final-card { position: relative; overflow: hidden; text-align: center; padding: 64px 28px; border-radius: 28px; background: #070a1c; color: #cbd5e1; isolation: isolate; }
.lp-final-glow { position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, .55), transparent 40%), radial-gradient(circle at 80% 70%, rgba(6, 182, 212, .45), transparent 40%); filter: blur(40px); animation: drift 16s ease-in-out infinite alternate; }
.lp-final-card .eyebrow { color: #a5b4fc; }
.lp-final-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.03em; max-width: 760px; margin: 0 auto 12px; }
.lp-final-card p { color: #a8b3cf; font-size: 1.05rem; }
.lp-final-card .hero-cta { justify-content: center; margin-top: 26px; }

/* reveal-on-scroll (enabled by app.js; content stays visible without JS) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-aurora span, .lp-orb, .lp-float, .lp-final-glow, .lp-hero h1 .grad, .lp-seek b, .lp-mp-count b, .lp-play::after, .marquee-track { animation: none !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp-window { transform: none; }
}

@media (max-width: 1080px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .lp-window { transform: none; }
  .lp-curr, .lp-faq { grid-template-columns: 1fr; gap: 28px; }
  .lp-curr-side, .lp-faq > div:first-child { position: static; }
  .lp-price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lp-out-grid, .lp-cloud-grid, .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-cloud-grid > :last-child { grid-column: 1 / -1; }
  .lp-b-hero { grid-column: 1 / -1; grid-row: auto; }
  .lp-steps { grid-template-columns: 1fr 1fr; row-gap: 30px; } .lp-steps::before { display: none; }
  .lp-stats { grid-template-columns: 1fr 1fr; } .lp-stats > div:nth-child(3) { border-left: 0; } .lp-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .lp-cert-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-hero { padding: 56px 0 26px; }
  .lp-hero h1 { font-size: 2.3rem; }
  .lp-out-grid, .lp-cloud-grid, .lp-bento, .lp-incl-grid { grid-template-columns: 1fr; }
  .lp-window-body { grid-template-columns: 1fr; } .lp-side { display: none; }
  .lp-float { padding: 9px 12px; } .lp-f2 { right: -4px; top: 0; } .lp-f1 { left: -4px; bottom: 6px; } .lp-f3 { display: none; }
  .lp-mini-player { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-incl, .lp-price { padding: 24px; }
  .lp-final-card { padding: 44px 20px; border-radius: 22px; }
  .lp-hero .hero-cta .btn { flex: 1 1 100%; }
}
.lp-price-ticks { list-style: none; margin: 18px 0 24px; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.lp-price-ticks li { display: flex; gap: 9px; align-items: center; color: #374151; font-size: .94rem; } .lp-price-ticks .ic { color: var(--green); }
.site-footer a, .site-footer span { overflow-wrap: anywhere; }
.lp-hero-visual { min-width: 0; } .lp-hero-copy { min-width: 0; }
.nav-mobile-only { display: none; }
@media (max-width: 900px) { .nav-links .nav-mobile-only { display: block; } .nav-right .nav-desktop-only { display: none; } }
@media (max-width: 420px) { .site-nav .brand-name { display: none; } .nav-right { gap: 8px; } }

/* What you'll learn — tool tiles */
.lp-learn { background: radial-gradient(900px 400px at 50% 0%, #eef2ff 0%, transparent 70%), #fff; }
.lp-tgroup + .lp-tgroup { margin-top: 44px; }
.lp-tgroup-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.lp-tgroup-no { font: 800 .8rem var(--display); letter-spacing: .1em; color: var(--primary); background: #eef2ff; border: 1px solid #e0e7ff; border-radius: 10px; padding: 8px 10px; }
.lp-tgroup-head h3 { margin: 0; font-size: 1.2rem; } .lp-tgroup-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.lp-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-tgroup.wide .lp-tools { grid-template-columns: repeat(5, 1fr); }
.lp-tool { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lp-tool::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at 0% 0%, color-mix(in srgb, var(--t1) 12%, transparent), transparent 70%); opacity: .7; transition: opacity .3s; pointer-events: none; }
.lp-tool:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--t1) 40%, #fff); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--t1) 70%, transparent); }
.lp-tool:hover::before { opacity: 1; }
.lp-tool-ic { position: relative; width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--t1) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -8px 16px rgba(0, 0, 0, .12); }
.lp-tool-ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, .35), transparent 45%); pointer-events: none; }
.lp-tool-ic svg { width: 36px; height: 36px; position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
.lp-tool:hover .lp-tool-ic { transform: rotate(-4deg) scale(1.05); } .lp-tool-ic { transition: transform .3s; }
.lp-tool-body { position: relative; }
.lp-tool-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--t1) 80%, #111827); margin-bottom: 4px; }
.lp-tool h4 { font: 700 1.06rem/1.25 var(--display); color: var(--ink); margin: 0 0 6px; }
.lp-tool p { margin: 0; color: #4b5563; font-size: .9rem; line-height: 1.5; }
@media (max-width: 1180px) { .lp-tgroup.wide .lp-tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .lp-tools, .lp-tgroup.wide .lp-tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .lp-tools, .lp-tgroup.wide .lp-tools { grid-template-columns: 1fr; }
  .lp-tool { flex-direction: row; align-items: flex-start; padding: 18px; gap: 14px; } .lp-tool-ic { width: 54px; height: 54px; border-radius: 15px; } .lp-tool-ic svg { width: 30px; height: 30px; }
}
.redirect-fallback { margin-top: 22px; transition: opacity .4s; } .redirect-fallback.wait { opacity: 0; pointer-events: none; }
.redirect-fallback p { margin-bottom: 8px; }
.radio-card { align-items: flex-start !important; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: #a5b4fc; background: #f5f7ff; }
.radio-card input { margin-top: 4px; }
[data-mail-panel][hidden] { display: none !important; }
/* Payment receipt (printable) */
.receipt { max-width: 760px; margin: 0 auto; background: #fff; padding: 40px 44px; border-radius: 8px; box-shadow: var(--shadow-lg); color: #111827; }
.rc-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid #111827; padding-bottom: 16px; margin-bottom: 14px; }
.rc-org { font: 800 1.2rem var(--display); color: var(--ink); } .rc-title { text-align: right; font: 800 1.3rem var(--display); color: var(--primary); }
@media print { .receipt { box-shadow: none; padding: 0; max-width: none; } }
@media (max-width: 560px) { .receipt { padding: 22px 18px; } .rc-head { flex-direction: column; } .rc-title { text-align: left; } }
/* Tool logos (landing page + console) */
.lp-tool-logo { background: #fff !important; border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .35) !important; }
.lp-tool-logo::after { display: none; }
.lp-tool-logo img { width: 78%; height: 78%; object-fit: contain; position: relative; z-index: 1; }
.tool-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 16px 0; }
.tool-logo-slot { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.tl-prev { height: 84px; border-radius: 10px; background: #f8fafc; display: grid; place-items: center; overflow: hidden; }
.tl-prev img { max-width: 80%; max-height: 70px; object-fit: contain; }
