/* MySimpleVideo — style strony produktu */
:root {
  --bg: #0f1116;
  --bg2: #14171e;
  --panel: #1a1e27;
  --panel2: #212633;
  --stroke: #2b3140;
  --text: #e8ebf1;
  --muted: #9aa3b2;
  --dim: #6b7382;
  --accent: #4a9ede;
  --accent-strong: #2f7fc4;
  --red: #d94238;
  --orange: #e08c2c;
  --yellow: #e8d92e;
  --green: #7ab648;
  --radius: 14px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── nagłówek ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text);
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-switch {
  border: 1px solid var(--stroke); border-radius: 8px;
  padding: 5px 10px; font-size: 13px; color: var(--muted) !important;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent) !important; }
.nav-cta {
  background: var(--accent-strong); color: #f2f8fe !important;
  padding: 8px 16px; border-radius: 9px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--stroke);
  border-radius: 8px; color: var(--text); font-size: 20px;
  width: 40px; height: 40px; cursor: pointer;
}

/* ── hero ─────────────────────────────── */
.hero { padding: 72px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(74, 158, 222, 0.10), transparent 70%),
    radial-gradient(600px 300px at 80% 10%, rgba(146, 106, 220, 0.08), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.15; font-weight: 800; letter-spacing: -0.02em;
  max-width: 760px; margin: 0 auto 18px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), #8f7bdc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto 30px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 12px; padding: 14px 26px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent-strong); color: #f2f8fe; box-shadow: 0 6px 24px rgba(47, 127, 196, 0.35); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--stroke); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { color: var(--dim); font-size: 13.5px; }
.hero-shot { margin: 44px auto 0; max-width: 980px; }
.window-frame {
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-bottom: 1px solid var(--stroke); background: var(--bg2);
}
.window-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.window-bar i:nth-child(1) { background: #e0564c; }
.window-bar i:nth-child(2) { background: #e0b23e; }
.window-bar i:nth-child(3) { background: #6fbf5a; }
.window-bar span { margin-left: 8px; color: var(--dim); font-size: 12.5px; }

/* ── pasek atutów ─────────────────────── */
.trustbar { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: var(--bg2); }
.trustbar .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.trust-item svg { flex: none; }
.trust-item b { color: var(--text); display: block; font-size: 14.5px; }

/* ── sekcje ───────────────────────────── */
.section { padding: 84px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head .kicker {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 12.5px; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* funkcje */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: #3a4256; transform: translateY(-2px); }
.feature .ico {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; background: rgba(74, 158, 222, 0.12);
}
.feature h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* naprzemienne bloki */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 72px; }
.split h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.split p { color: var(--muted); margin-bottom: 14px; }
.split ul { list-style: none; }
.split ul li { color: var(--muted); padding-left: 26px; position: relative; margin-bottom: 9px; font-size: 15px; }
.split ul li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}
.split ul li b { color: var(--text); }

/* dlaczego warto */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-card {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 18px; align-items: flex-start;
}
.why-card .ico {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 14.5px; }

/* pobieranie */
.download-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: stretch; }
.card {
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 30px 28px;
}
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ver-pill {
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--bg2); border: 1px solid var(--stroke);
  border-radius: 20px; padding: 3px 10px; letter-spacing: 0.01em;
}
.card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--dim); font-size: 13px; margin-top: 16px; }
.dl-meta span { display: inline-flex; align-items: center; gap: 7px; }

.os-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 12px; font-size: 13.5px;
}
.os-links-label { color: var(--muted); font-weight: 600; }
.os-links a {
  color: var(--text); border: 1px solid var(--stroke); border-radius: 8px;
  padding: 5px 11px; font-weight: 500;
}
.os-links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.os-sep { color: var(--stroke); }

.scan-badge {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 16px; padding: 11px 13px;
  background: rgba(122, 182, 72, 0.08); border: 1px solid rgba(122, 182, 72, 0.25);
  border-radius: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5;
}
.scan-badge svg { flex: none; margin-top: 1px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input[type="email"], .field input[type="text"] {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--stroke); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent label { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.form-msg { display: none; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 14px; }
.form-msg.ok { display: block; background: rgba(122, 182, 72, 0.12); border: 1px solid rgba(122, 182, 72, 0.4); color: #b9dc9c; }
.form-msg.err { display: block; background: rgba(217, 66, 56, 0.10); border: 1px solid rgba(217, 66, 56, 0.4); color: #eda49e; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* wsparcie */
.support-box { text-align: center; max-width: 620px; margin: 0 auto; }
.support-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.btn-tipply { background: #7c5cff; color: #f5f2ff; }
.btn-tipply:hover { background: #8e71ff; }
.btn-kofi { background: #29abe0; color: #f0faff; }
.btn-kofi:hover { background: #45bce8; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq .faq-body code {
  background: var(--bg2); border: 1px solid var(--stroke); border-radius: 5px;
  padding: 1px 6px; font-size: 13px; color: var(--text); font-family: ui-monospace, Menlo, Consolas, monospace;
}

/* stopka */
.site-footer { border-top: 1px solid var(--stroke); background: var(--bg2); padding: 44px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-note { color: var(--dim); font-size: 12.5px; border-top: 1px solid var(--stroke); padding-top: 20px; }

/* podstrony tekstowe */
.doc { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.doc h1 { font-size: 30px; margin-bottom: 8px; letter-spacing: -0.01em; }
.doc .doc-date { color: var(--dim); font-size: 13.5px; margin-bottom: 30px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }

/* animacja wejścia */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── responsywność ────────────────────── */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .trustbar .container { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.rev .split-media { order: -1; }
  .download-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg2); border-bottom: 1px solid var(--stroke);
    flex-direction: column; padding: 18px 24px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .features { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
