/* Pleo landing page */
:root {
  --bg: #0B0B10;
  --panel: #14141C;
  --panel-2: #1F1F2C;
  --line: #2A2A3E;
  --line-2: #3A3A55;
  --text: #F4F4F8;
  --muted: #B4B4CA;
  --dim: #9494AE;
  --accent: #7C3AED;
  --pink: #DB2777;
  --orange: #FB923C;
  --lilac: #C4B5FD;
  --grad: linear-gradient(90deg, var(--accent), var(--pink));
  --font-head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* --- MOTYW 2: Turkusowo-Szmaragdowy (Cyan & Emerald) --- */
body.theme-cyan {
  --bg: #080E14;
  --panel: #0F1720;
  --panel-2: #16222F;
  --line: #1E3042;
  --line-2: #2A435C;
  --accent: #06B6D4;
  --pink: #10B981;
  --grad: linear-gradient(90deg, var(--accent), var(--pink));
}

/* --- MOTYW 3: Ciepły Złoto-Czerwony (Sunset) --- */
body.theme-sunset {
  --bg: #0F0B10;
  --panel: #1A121C;
  --panel-2: #271A2C;
  --accent: #F59E0B;
  --pink: #EF4444;
  --grad: linear-gradient(90deg, var(--accent), var(--pink));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--lilac); }
a:hover { color: #fff; }
img, video { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* typography helpers */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.h-display { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.h1 { font-size: clamp(38px, 6vw, 60px); }
.h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.02em; line-height: 1.1; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); }

/* buttons */
.btn {
  display: inline-block; padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none; text-align: center;
  background-image: var(--grad); color: #fff; border: 0;
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-ghost { background: none; border: 1px solid #4A4A68; color: var(--text); }
.btn-ghost:hover { border-color: var(--lilac); color: #fff; }
.btn-white { background: #fff; background-image: none; color: #2E1065; font-weight: 700; padding: 16px 32px; }
.btn-white:hover { color: #2E1065; background: #F3E8FF; filter: none; }
.link-quiet { color: var(--text); text-decoration: none; font-weight: 500; font-size: 17px; padding: 16px 8px; }
.link-quiet:hover { color: var(--lilac); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 15px; }
.nav a { color: #A9A9C0; text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .btn { color: #fff; }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.fineprint { font-size: 14px; color: var(--dim); }

.live-card { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.live-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.live-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.live-time { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--orange); }
.live-time small { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--dim); }
.chat { display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 85%; padding: 10px 14px; font-size: 15px; border-radius: 16px 16px 16px 4px; background: var(--panel-2); align-self: flex-start; }
.msg.reply { align-self: flex-end; border-radius: 16px 16px 4px 16px; background-image: var(--grad); color: #fff; }

/* video */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-bottom: 72px; }
.proof-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.proof-media { flex: 1 1 380px; min-width: 0; max-width: 560px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel); }
.proof-media video { display: block; width: 100%; height: auto; aspect-ratio: 1088 / 1072; object-fit: cover; }

/* problem */
.problem { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.problem-in > * { flex: 1 1 380px; min-width: 0; }

/* sections */
.section { padding-top: 88px; }
.section-head { margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 300px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.step-no { font-family: var(--font-head); font-weight: 800; font-size: 44px; color: var(--orange); line-height: 1; margin-bottom: 16px; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); }
.feature { flex: 1 1 340px; min-width: 0; border-top: 2px solid var(--accent); padding: 20px 4px 8px; }
.feature h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* languages */
.languages { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 88px; }
.languages-in { display: flex; flex-direction: column; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 16px; }
.pill.more { background-image: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }

/* pricing */
.plans { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.plan { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.plan.popular { border: 2px solid var(--accent); }
.badge { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.plan h3 { font-size: 22px; font-weight: 600; }
.plan .tag { color: var(--muted); }
.price { margin-top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--dim); }
.plan ul { flex: 1; margin: 12px 0; }
.plan li { padding: 12px 0; border-top: 1px solid var(--line); color: #D6D6E6; }
.trial-bar { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; text-align: center; background-image: linear-gradient(120deg, #4C1D95, #9D174D); border-radius: 20px; padding: 24px 28px; }
.trial-bar strong { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.trial-bar span { font-size: 17px; color: #F1E8FF; }

/* partners */
.partner { display: flex; flex-wrap: wrap; gap: 40px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 48px 36px; }
.partner-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.partner-list { flex: 1 1 380px; min-width: 0; }
.partner-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.partner-list li:last-child { border-bottom: 0; }
.partner-list h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.partner-list p { color: var(--muted); }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--lilac); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* final cta */
.cta { padding-top: 56px; padding-bottom: 88px; }
.cta-box { background-image: linear-gradient(120deg, #4C1D95, #9D174D); border-radius: 28px; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta-box h2 { max-width: 720px; }
.cta-box p { font-size: 18px; color: #F1E8FF; max-width: 560px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--dim); }
.footer-in nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-in a { color: var(--muted); }

/* Theme switcher styling */
.theme-picker { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.theme-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 2px solid transparent; text-decoration: none; }
.theme-dot.active { border-color: #fff; transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 640px) {
  .hero { padding-top: 32px; gap: 40px; }
  .partner { padding: 32px 22px; }
  .cta-box { padding: 48px 22px; }
  .nav { gap: 10px 18px; }
}
