:root {
  --bg: #07081a;
  --bg-2: #0d0f27;
  --panel: rgba(255, 255, 255, .045);
  --panel-solid: #12152f;
  --line: rgba(255, 255, 255, .09);
  --text: #eceefe;
  --muted: #9ca3c9;
  --violet: #7c5cff;
  --pink: #ff4fd8;
  --cyan: #00d4ff;
  --green: #2ee59d;
  --grad: linear-gradient(120deg, #7c5cff 0%, #ff4fd8 45%, #00d4ff 100%);
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 Inter, system-ui, -apple-system, sans-serif; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: #b7a8ff; }
code, pre { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
code { font-family: 'JetBrains Mono', monospace; font-size: .86em; background: rgba(124,92,255,.16); padding: 2px 6px; border-radius: 6px; color: #d9d0ff; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
::selection { background: var(--violet); color: #fff; }

/* ---------- tło ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-orbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: orb 22s ease-in-out infinite alternate; }
.bg-orbs i:nth-child(1) { width: 560px; height: 560px; background: #5b3dff; top: -160px; left: -120px; }
.bg-orbs i:nth-child(2) { width: 480px; height: 480px; background: #d43bd0; top: 30%; right: -160px; animation-delay: -7s; opacity: .32; }
.bg-orbs i:nth-child(3) { width: 520px; height: 520px; background: #0094d8; bottom: -220px; left: 30%; animation-delay: -13s; opacity: .3; }
@keyframes orb { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.15); } 100% { transform: translate(-40px, 120px) scale(.95); } }
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

.grad-text { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 6s linear infinite; }
@keyframes gradmove { to { background-position: 200% center; } }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: 700 16px Inter, sans-serif; text-decoration: none; border-radius: 14px; padding: 13px 22px;
  transition: transform .2s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); background-size: 160% auto; color: #fff; box-shadow: 0 12px 34px rgba(124,92,255,.45); }
.btn-primary:hover { background-position: right center; box-shadow: 0 16px 44px rgba(255,79,216,.45); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-xl { padding: 17px 30px; font-size: 18px; border-radius: 16px; }
.btn-block { width: 100%; }
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ---------- nawigacja ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 8, 26, .78); backdrop-filter: blur(16px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; }
.logo-badge { background: var(--grad); padding: 4px 10px; border-radius: 9px; font-size: 14px; letter-spacing: .02em; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 140px 0 0; position: relative; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border-radius: 99px;
  background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.35); color: #cfc4ff; font-size: 14px; font-weight: 600;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,229,157,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(46,229,157,0); } 100% { box-shadow: 0 0 0 0 rgba(46,229,157,0); } }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.04; letter-spacing: -.035em; margin: 20px 0 22px; font-weight: 900; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-lead b { color: var(--text); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 15px; font-weight: 500; }

.hero-visual { position: relative; }
.editor { background: linear-gradient(180deg, #151935, #0e1127); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow), 0 0 0 1px rgba(124,92,255,.15), 0 0 80px rgba(124,92,255,.25); overflow: hidden; transform-style: preserve-3d; transition: transform .15s ease-out; }
.editor-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.tabs { display: flex; gap: 4px; overflow: hidden; }
.tab { font: 500 12.5px 'JetBrains Mono', monospace; color: var(--muted); padding: 5px 11px; border-radius: 8px; white-space: nowrap; transition: .3s; }
.tab.active { background: rgba(124,92,255,.22); color: #fff; }
.editor-code { margin: 0; padding: 22px 24px; min-height: 360px; font: 14.5px/1.75 'JetBrains Mono', monospace; color: #d7dbf5; white-space: pre-wrap; word-break: break-word; }
.editor-code code { background: none; padding: 0; border-radius: 0; color: inherit; font: inherit; }
.caret { display: inline-block; width: 9px; height: 19px; background: var(--cyan); vertical-align: -4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.t-tag { color: #ff7ab6; } .t-attr { color: #ffcb6b; } .t-str { color: #a5e844; } .t-kw { color: #82aaff; }
.t-var { color: #f78c6c; } .t-com { color: #6b7399; font-style: italic; } .t-fn { color: #00d4ff; }

.chip {
  position: absolute; padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; white-space: nowrap;
  background: rgba(18, 21, 47, .85); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.chip-1 { top: -22px; right: 18px; }
.chip-2 { bottom: 52px; left: -34px; color: var(--green); }
.chip-3 { bottom: -22px; right: 40px; }
.float { animation: float 5s ease-in-out infinite; }
.chip-2.float { animation-delay: -1.6s; } .chip-3.float { animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.marquee { margin-top: 90px; border-block: 1px solid var(--line); background: rgba(255,255,255,.02); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-weight: 800; font-size: 20px; color: rgba(255,255,255,.32); letter-spacing: .02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- liczby ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 70px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font-size: 46px; font-weight: 900; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ---------- sekcje ---------- */
.section { padding: 120px 0; position: relative; scroll-margin-top: -40px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(124,92,255,.05) 20%, rgba(124,92,255,.05) 80%, transparent); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 900; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section-head p b { color: var(--text); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-x { padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s, background .3s; }
.card-x:hover { transform: translateY(-6px); border-color: rgba(255,79,216,.4); background: rgba(255,79,216,.05); }
.card-x h3 { margin: 14px 0 8px; font-size: 21px; }
.card-x p { margin: 0; color: var(--muted); }
.ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(0,212,255,.15)); border: 1px solid rgba(124,92,255,.3); }

.solution { margin-top: 60px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 44px; border-radius: 28px; background: linear-gradient(135deg, rgba(124,92,255,.14), rgba(0,212,255,.06)); border: 1px solid rgba(124,92,255,.3); }
.solution h3 { font-size: 30px; margin: 0 0 12px; letter-spacing: -.02em; }
.solution p { color: var(--muted); }
.solution p b { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: rgba(46,229,157,.16); color: var(--green); font-weight: 900; font-size: 13px; }
.mini-arkusz { padding: 24px; border-radius: 20px; background: #0d1028; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; }
.ma-row { padding: 10px 12px; border-radius: 10px; border-bottom: 1px dashed var(--line); opacity: 0; transform: translateX(-12px); transition: .5s; }
.ma-row .ok { margin-right: 8px; }
.in .ma-row { opacity: 1; transform: none; }
.in .ma-row:nth-child(2) { transition-delay: .12s; } .in .ma-row:nth-child(3) { transition-delay: .24s; } .in .ma-row:nth-child(4) { transition-delay: .36s; }
.in .ma-row:nth-child(5) { transition-delay: .48s; } .in .ma-row:nth-child(6) { transition-delay: .6s; }
.ok { color: var(--green); font-weight: 900; }
.ma-score { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; padding: 14px; border-radius: 12px; background: rgba(46,229,157,.1); }
.ma-score span { margin-right: auto; font-weight: 600; color: var(--muted); }
.ma-score b { font-size: 34px; color: var(--green); font-weight: 900; }
.ma-score i { font-style: normal; color: var(--green); font-weight: 800; }

/* ---------- szybka nauka ---------- */
.fast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fast-card { padding: 26px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.fast-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,.45); }
.fast-card h3 { margin: 14px 0 6px; font-size: 18px; line-height: 1.3; }
.fast-card p { margin: 0; color: var(--muted); font-size: 15px; }
.timeline { margin-top: 44px; padding: 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 18px; }
.tl-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; }
.tl-label { font-weight: 700; color: var(--muted); }
.tl-bar { position: relative; height: 46px; border-radius: 12px; background: rgba(255,255,255,.04); overflow: hidden; }
.tl-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 12px; transition: width 1.8s cubic-bezier(.2,.8,.2,1); }
.tl-bar.slow i { background: linear-gradient(90deg, #4b4f72, #6b6f94); }
.tl-bar.fast i { background: var(--grad); box-shadow: 0 0 30px rgba(124,92,255,.5); }
.in .tl-bar.slow i { width: 100%; }
.in .tl-bar.fast i { width: 34%; transition-delay: .4s; }
.tl-bar em { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 600; font-size: 14px; color: #fff; white-space: nowrap; z-index: 1; }
.tl-bar.fast em { left: calc(34% + 14px); color: var(--green); }

/* ---------- zasady zakupu ---------- */
.rules { margin: 0 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 14px; }
.rules summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: #d9d0ff; list-style: none; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: ' ▾'; color: var(--muted); }
.rules[open] summary::after { content: ' ▴'; }
.rules ul { margin: 0; padding: 0 16px 14px 34px; color: var(--muted); display: grid; gap: 8px; line-height: 1.5; }
.rules b { color: var(--text); }

/* ---------- moduły ---------- */
.modules { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.module { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.module[open] { border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.07); }
.module summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.module summary::-webkit-details-marker { display: none; }
.m-ico { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.05); }
.m-name { font-weight: 800; font-size: 19px; display: flex; flex-direction: column; line-height: 1.25; }
.m-name small { font-size: 12px; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }
.m-count { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.m-arrow { transition: transform .3s; color: var(--muted); font-size: 20px; }
.module[open] .m-arrow { transform: rotate(180deg); }
.module ul { list-style: none; margin: 0; padding: 0 22px 18px 86px; display: grid; gap: 4px; }
.module li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: #cfd3ef; }
.module li:last-child { border-bottom: 0; }
.tag-free { font-size: 12px; font-weight: 800; color: #062; background: var(--green); padding: 4px 10px; border-radius: 99px; text-decoration: none; white-space: nowrap; }

/* ---------- podgląd lekcji ---------- */
.lesson-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.mock { border-radius: 20px; overflow: hidden; background: #f6f7fb; color: #1c2033; box-shadow: var(--shadow), 0 0 80px rgba(0,212,255,.18); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s; }
.mock:hover { transform: none; }
.mock-bar { display: flex; align-items: center; gap: 14px; background: #0e1020; padding: 11px 14px; }
.mock-url { flex: 1; background: rgba(255,255,255,.08); color: #aab; border-radius: 8px; padding: 4px 12px; font: 12px 'JetBrains Mono', monospace; }
.mock-body { display: grid; grid-template-columns: 170px 1fr; min-height: 380px; }
.mock-side { background: #fff; border-right: 1px solid #e4e7f0; padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mock-side b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #646b85; margin-top: 8px; }
.mock-side span { padding: 5px 8px; border-radius: 7px; display: flex; gap: 7px; align-items: center; }
.mock-side span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #d5d9e6; }
.mock-side span.done::before { background: #0ea371; border-color: #0ea371; }
.mock-side span.act { background: #ece7ff; color: #6d4aff; font-weight: 700; }
.mock-main { padding: 20px; }
.mock-main h4 { margin: 0 0 12px; font-size: 20px; background: linear-gradient(135deg, #6d4aff, #00c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock-code { background: #1e2230; color: #d7dbf5; border-radius: 10px; padding: 14px; font: 12.5px/1.7 'JetBrains Mono', monospace; }
.c-sel { color: #ff7ab6; } .c-prop { color: #82aaff; }
.mock-demo { margin: -4px 0 12px; border: 2px dashed #e4e7f0; border-top: 0; border-radius: 0 0 10px 10px; padding: 10px; display: grid; gap: 5px; font: 700 11px Inter, sans-serif; color: #fff; text-align: center; }
.md-head { background: #1E3A8A; padding: 7px; border-radius: 5px; }
.md-row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 5px; }
.md-row i { font-style: normal; background: #6d8cff; padding: 26px 4px; border-radius: 5px; animation: grow 3s ease-in-out infinite alternate; }
.md-row i.w2 { background: #a5b8ff; color: #1E3A8A; }
@keyframes grow { from { filter: brightness(1); } to { filter: brightness(1.15); } }
.mock-box { margin-top: 10px; border-left: 4px solid #6d4aff; background: #f0ecff; padding: 10px 12px; border-radius: 8px; font-size: 13px; }

/* ---------- co dostajesz ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s; }
.feat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,.18), transparent 45%); opacity: 0; transition: opacity .3s; }
.feat:hover { transform: translateY(-5px); }
.feat:hover::before { opacity: 1; }
.feat h3 { margin: 16px 0 6px; font-size: 20px; position: relative; }
.feat p { margin: 0; color: var(--muted); position: relative; }

/* ---------- kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { padding: 32px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); font-weight: 900; font-size: 22px; box-shadow: 0 10px 30px rgba(124,92,255,.4); }
.step h3 { margin: 18px 0 6px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- cena ---------- */
.pricing-in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.price-card { position: relative; padding: 44px 40px; border-radius: 30px; background: linear-gradient(160deg, #171a3d, #0e1028); border: 1px solid rgba(124,92,255,.5); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease-out; }
.price-glow { position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a, 0deg), #7c5cff, #ff4fd8, #00d4ff, #7c5cff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.badge-best { display: inline-block; background: rgba(46,229,157,.15); color: var(--green); border: 1px solid rgba(46,229,157,.4); padding: 6px 14px; border-radius: 99px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 2px; }
.amount { font-size: 96px; font-weight: 900; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cur { font-size: 34px; font-weight: 800; color: var(--muted); }
.price-sub { color: var(--muted); margin: 0 0 22px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.price-list li { padding-left: 32px; position: relative; font-weight: 500; }
.price-list li::before { content: '✓'; position: absolute; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); font-size: 12px; font-weight: 900; top: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--violet); }
.secure { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.demo-note { text-align: center; font-size: 13px; color: #febc2e; margin: 10px 0 0; }
.price-side h3 { font-size: 28px; margin: 0 0 18px; }
.compare { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; font-size: 15px; }
.cmp-row span { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.cmp-row:last-child span { border-bottom: 0; }
.cmp-row.head span { font-weight: 800; background: rgba(255,255,255,.04); }
.cmp-row span:first-child { color: var(--muted); font-weight: 600; }
.cmp-row .hl { color: var(--green); font-weight: 700; background: rgba(46,229,157,.06); }
.muted { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: rgba(0,212,255,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--cyan); transition: transform .3s; font-weight: 400; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.final-cta { padding: 110px 0 120px; text-align: center; }
.final-cta h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 32px; font-weight: 900; }

.foot { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: #fff; }
.disclaimer { font-size: 12px; opacity: .7; margin-top: 14px; }

.sticky-buy {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 60;
  background: var(--grad); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 99px;
  box-shadow: 0 14px 40px rgba(124,92,255,.55); transition: transform .4s cubic-bezier(.2,.9,.3,1.3); white-space: nowrap;
}
.sticky-buy.show { transform: translate(-50%, 0); }

/* ---------- animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- podstrony ---------- */
.subpage .sub { padding: 130px 0 90px; min-height: 70vh; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 44px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.card.center { text-align: center; max-width: 720px; margin: 0 auto; }
.card.narrow { max-width: 560px; }
.card h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; margin: 8px 0 12px; }
.card .lead { color: var(--muted); font-size: 18px; }
.big-icon { font-size: 62px; animation: float 4s ease-in-out infinite; }
.access-box { margin-top: 34px; text-align: left; padding: 20px; border-radius: 16px; background: rgba(46,229,157,.07); border: 1px solid rgba(46,229,157,.3); }
.access-box p { color: var(--muted); font-size: 14px; margin: 6px 0 12px; }
.mail-ok { color: var(--green) !important; }
.mail-ok b, .mail-warn b { color: var(--text); }
.copy-row, .form-inline { display: flex; gap: 10px; }
.copy-row input, .form-inline input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--text); font: 14px 'JetBrains Mono', monospace; }
.form-inline input { font: 16px Inter, sans-serif; }
.form-inline { margin-top: 18px; }
.error { color: #ff7a9a; font-weight: 600; }
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: 40px; letter-spacing: -.02em; }
.legal h2 { font-size: 22px; margin-top: 34px; color: #d9d0ff; }
.legal p, .legal li { color: #c7cbe6; }
.legal li { margin: 6px 0; }
.toc { font-size: 14px; line-height: 2; padding: 14px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.tldr { margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: rgba(46,229,157,.07); border: 1px solid rgba(46,229,157,.3); }
.tldr ul { margin: 8px 0 0; padding-left: 20px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.success { position: relative; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(560px) rotate(720deg); opacity: 0; } }

/* ---------- formularze kont ---------- */
.buy-fields, .form-stack { display: grid; gap: 12px; margin: 0 0 16px; text-align: left; }
.buy-fields label, .form-stack label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.buy-fields input, .form-stack input[type=email], .form-stack input[type=password], .form-stack input[type=text] {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.28);
  color: var(--text); font: 16px Inter, sans-serif; transition: border-color .2s, box-shadow .2s;
}
.buy-fields input:focus, .form-stack input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.25); }
.form-stack label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form-stack label.check input { width: 18px; height: 18px; accent-color: var(--violet); }
.form-stack { margin: 18px 0; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nav-login { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-login:hover { color: var(--cyan); }
.narrow-wide { max-width: 760px; margin: 0 auto; }
.narrow-wide h2 { margin: 32px 0 6px; font-size: 22px; }
.account-info { display: grid; gap: 2px; margin: 18px 0 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.account-info div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: rgba(255,255,255,.03); flex-wrap: wrap; }
.account-info span { color: var(--muted); }
.ok-text { color: var(--green); }

/* ---------- panel admina ---------- */
.admin { display: grid; gap: 22px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; }
.admin-head h1 { margin: 0; font-size: 34px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.admin-stats .stat b.small { font-size: 18px; }
.admin-box { padding: 26px; }
.admin-box h2 { margin: 0 0 10px; font-size: 21px; }
.admin-box .form-inline { flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tabs a { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); text-decoration: none; font-weight: 700; }
.admin-tabs a.active { color: #fff; border-color: rgba(124,92,255,.6); background: rgba(124,92,255,.18); }
.settings h2 { margin: 30px 0 6px; }
.settings h2:first-of-type { margin-top: 0; }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.set-grid label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); align-content: start; }
.set-grid input[type=text], .set-grid input[type=email], .set-grid input[type=password], .set-grid input[type=number], .set-grid select {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); background: rgba(0,0,0,.28); color: var(--text); font: 15px Inter, sans-serif;
}
.set-grid select option { background: #12152f; }
.set-grid .current { font-weight: 500; font-size: 12.5px; }
.set-grid .current b { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.set-grid .check { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 12.5px; }
.settings .btn-xl { margin-top: 18px; }
@media (max-width: 700px) { .set-grid { grid-template-columns: 1fr; } }
.problems { margin: 0; padding-left: 20px; color: #febc2e; display: grid; gap: 6px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 0; font-weight: 600; }
.flash.ok { background: rgba(46,229,157,.12); color: var(--green); }
.flash.bad { background: rgba(255,90,120,.12); color: #ff7a9a; }
.table-scroll { overflow-x: auto; }
.admin > * { min-width: 0; }   /* szeroka tabela kont przewija się w karcie zamiast rozpychać stronę */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 700; }
.admin-table small { color: var(--muted); }
.admin-table tr.blocked td { opacity: .5; text-decoration: line-through; }
.admin-table tr.blocked td.actions { opacity: 1; text-decoration: none; }
.actions form { display: flex; gap: 6px; flex-wrap: wrap; }
.mini { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font: 600 12px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.mini:hover { background: rgba(255,255,255,.16); }
.mini.danger { color: #ff7a9a; }
.mini:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- responsywność ---------- */
.btn { white-space: nowrap; }
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-login { margin-left: auto; }
  .hero-in, .solution, .lesson-showcase, .pricing-in { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-visual { max-width: 620px; margin: 30px auto 0; width: 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cards-3, .features, .steps, .fast-grid { grid-template-columns: 1fr 1fr; }
  .mock { transform: none; }
  .section-head.left { text-align: center; margin-bottom: 30px; }
  .section-head.left .checks { text-align: left; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-in { gap: 12px; }
  .nav-login { font-size: 14px; }
  .nav-in { height: 64px; justify-content: space-between; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .chip-2 { left: -6px; } .chip-1 { right: 6px; }
  .editor-code { font-size: 12.5px; min-height: 300px; padding: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: span 2; }
  .stat b { font-size: 38px; }
  .cards-3, .features, .steps, .fast-grid { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 6px; }
  .tl-bar.fast em { left: 16px; }
  .timeline { padding: 18px; }
  .section { padding: 80px 0; }
  .solution { padding: 26px; }
  .module ul { padding-left: 22px; }
  .module li { flex-wrap: wrap; }
  .m-count { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .price-card { padding: 32px 22px; }
  .amount { font-size: 78px; }
  .cmp-row { font-size: 13px; }
  .cmp-row span { padding: 10px; }
  .card { padding: 30px 20px; }
  .copy-row, .form-inline { flex-direction: column; }
  .marquee { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- przecena, kod rabatowy, wstrzymana sprzedaż ---- */
.price-old { color: var(--muted); font-size: 15px; margin: 4px 0 -4px; }
.price-old s { color: var(--text); opacity: .75; }
.price-cut { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; font-size: 13px; }
.price-omnibus { color: var(--muted); font-size: 13px; margin: -12px 0 20px; line-height: 1.5; }
.code-box { margin: 4px 0 14px; }
.code-box summary { cursor: pointer; color: var(--cyan); font-size: 14px; font-weight: 600; }
.code-row { display: flex; gap: 8px; margin-top: 10px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.code-msg { font-size: 14px; margin: 8px 0 0; min-height: 1em; }
.code-msg.ok { color: var(--green); }
.code-msg.bad { color: #ff7a8a; }
.code-msg.info { color: var(--muted); }
.paused-note { text-align: center; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }

/* ---- panel: ceny, kody, wyszukiwarka ---- */
.set-grid input[type=datetime-local] { width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); background: rgba(0,0,0,.28); color: var(--text); font: 15px Inter, sans-serif; color-scheme: dark; }
.check-line { display: flex; gap: 10px; align-items: center; font-size: 17px; cursor: pointer; }
.code-form, .search-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.code-form input, .code-form select, .search-form input, .search-form select { flex: 1 1 140px; min-width: 0; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); background: rgba(0,0,0,.28); color: var(--text); font: 14px Inter, sans-serif; color-scheme: dark; }
.code-form select option, .search-form select option { background: #12152f; }
.code-row input { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--text); font: 15px Inter, sans-serif; }

.nav-links .nav-free { color: #ffd166 !important; font-weight: 700; }

/* hasło konta nadanego ręcznie – ukryte do kliknięcia */
.pass-reveal summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.pass-reveal code { display: inline-block; margin-top: 4px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.35); user-select: all; }