:root {
  --bg:        #0a0a0a;
  --bg-2:      #0e0e10;
  --surface:   #141416;
  --card:      #1a1a1d;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --white:     #fafafa;
  --muted:     rgba(250,250,250,0.62);
  --dim:       rgba(250,250,250,0.4);
  --blue:      #3b82f6;
  --blue-2:    #5b8dee;
  --blue-soft: rgba(59,130,246,0.12);
  --orange:    #FF934F;
  --orange-2:  #FFAA66;
  --yellow:    #F6F740;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-img { height: 38px; width: auto; }
.logo-text {
  font-weight: 700; font-size: 20px; letter-spacing: -0.4px;
  color: var(--white);
}
.logo-blue { color: #42AAFF; }
nav ul { display: flex; gap: 32px; list-style: none; }
nav ul a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
nav ul a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: flex; gap: 2px;
  border-radius: 8px;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.lang-btn {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  padding: 5px 11px; background: none; border: none; cursor: pointer;
  color: var(--dim); transition: all 0.2s;
  font-family: inherit;
  border-radius: 6px;
}
.lang-btn.active { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-cta {
  font-size: 14px; font-weight: 600;
  color: var(--bg); background: var(--orange);
  text-decoration: none; padding: 10px 20px; border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--orange-2); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 48px 70px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  transition: transform 0.4s ease-out;
}
.hero-orb {
  position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0%, transparent 65%);
  opacity: 0.09; filter: blur(80px);
  pointer-events: none;
  transition: left 0.6s ease-out, top 0.6s ease-out;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; width: 100%;
  text-align: center;
}
.hero h1 {
  font-weight: 700; letter-spacing: -1.5px;
  line-height: 1.1;
  font-size: clamp(34px, 5.2vw, 60px);
  opacity: 0; animation: fadeUp 0.7s 0.15s forwards;
  max-width: 880px; margin: 0 auto;
}
.hero-sub {
  margin: 26px auto 0; max-width: 900px;
  font-size: 17px; line-height: 1.65; color: var(--muted);
  opacity: 0; animation: fadeUp 0.7s 0.3s forwards;
  white-space: nowrap;
}
.hero-sub strong { color: var(--white); font-weight: 600; }

/* Video */
.video-full {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.video-full video { width: 100%; display: block; }

/* ── STATS ── */
.stats {
  padding: 64px 48px;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat {
  text-align: center; padding: 8px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s, transform 0.7s;
}
.stat.visible { opacity: 1; transform: none; }
.stat-val {
  font-size: clamp(40px, 5vw, 56px); font-weight: 700;
  letter-spacing: -2px; color: var(--white); line-height: 1;
}
.stat-val .blue { color: var(--blue); }
.stat-val .yellow { color: var(--yellow); }
.stat-val .orange { color: var(--orange); }
.stat-label {
  font-size: 13px; color: var(--muted); margin-top: 12px;
  line-height: 1.5;
}

/* ── 3 PROBLEMS ── */
.problem {
  padding: 130px 48px;
  border-bottom: 1px solid var(--border);
}
.problem-inner { max-width: 980px; margin: 0 auto; }
.problems-grid { display: grid; gap: 18px; }
.problem-card {
  position: relative;
  padding: 40px 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.problem-card h3 {
  font-weight: 600; font-size: 24px;
  color: var(--white); line-height: 1.3; letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.problem-card p {
  font-size: 16px; line-height: 1.7; color: var(--muted);
  max-width: 720px;
}
.problem-fix {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 15.5px; line-height: 1.6;
  color: var(--white);
}
.problem-fix strong {
  font-weight: 700;
  color: var(--blue);
  margin-right: 8px;
}

/* ── SOLUTION (now vs with bluebox) ── */
.solution {
  padding: 90px 48px;
  border-bottom: 1px solid var(--border);
}
.solution-inner { max-width: 1100px; margin: 0 auto; }
.solution-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.solution-tag::before {
  content: ''; width: 14px; height: 1px; background: var(--blue);
}
.compare-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.compare-th {
  padding: 22px 28px;
  background: var(--surface);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
}
.compare-th.now { color: var(--dim); }
.compare-th.bb {
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.compare-th.bb img {
  height: 22px; width: auto;
}
.compare-rows {
  display: grid;
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.compare-row + .compare-row { margin-top: 1px; }
.compare-cell {
  padding: 22px 28px;
  background: var(--bg);
  font-size: 15.5px; line-height: 1.55;
  color: var(--muted);
}
.compare-cell.bb {
  color: var(--white);
  font-weight: 500;
  background: var(--surface);
}

/* ── VENDOR BAND (marquee carousel) ── */
.vendor-band {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.vendor-band-inner { width: 100%; }
.vendor-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 32px;
  text-align: center;
}
.vendor-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.vendor-track {
  display: inline-flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px; /* matches gap so first item of copy 2 lands seamlessly after last item of copy 1 */
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.vendor-track:hover { animation-play-state: paused; }
.vendor-track img {
  height: 36px; width: auto;
  flex-shrink: 0;
  opacity: 0.92;
  transition: opacity 0.3s;
}
.vendor-track img:hover { opacity: 1; }
.vendor-track img.smaller { height: 28px; }
@keyframes marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── BENEFITS ── */
.benefits {
  padding: 130px 48px;
  border-bottom: 1px solid var(--border);
}
.benefits-inner { max-width: 1100px; margin: 0 auto; }
.benefits-header {
  margin-bottom: 56px;
  max-width: 700px;
}
.benefits-header h2 {
  font-weight: 700; font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -1.2px; line-height: 1.15; color: var(--white);
}
.benefits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.benefit {
  padding: 36px 36px;
  background: var(--bg);
  transition: background 0.3s;
  display: flex; align-items: flex-start; gap: 20px;
}
.benefit:hover { background: var(--surface); }
.benefit-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.benefit-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.benefit h3 {
  font-weight: 600; font-size: 17px;
  color: var(--white); line-height: 1.4; letter-spacing: -0.2px;
  margin: 0; padding-top: 6px;
}

/* ── TECH FEATURE (Robot OLP) ── */
.tech-feature {
  padding: 130px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.tech-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: center;
}
.tech-text h2 {
  font-weight: 700; font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -1.2px; line-height: 1.15; color: var(--white);
  margin-top: 4px;
}
.tech-text p {
  margin-top: 18px; font-size: 16.5px; line-height: 1.75; color: var(--muted);
}
.tech-text p strong { color: var(--white); font-weight: 600; }
.tech-specs {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.spec {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
}
.spec-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--dim);
}
.spec-val {
  font-size: 13px; font-weight: 600; color: var(--white);
}
.tech-image {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.tech-image img { width: 100%; display: block; }

/* ── GIF ── */
.gif-full {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.gif-full img { width: 100%; display: block; }

/* ── FAQ ── */
.faq-section {
  padding: 130px 48px;
  border-bottom: 1px solid var(--border);
}
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-header {
  margin-bottom: 48px;
  text-align: center;
}
.faq-header h2 {
  font-weight: 700; font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.8px; line-height: 1.15; color: var(--white);
}
.faq-list {
  display: flex; flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  padding: 26px 4px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 18px; font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color 0.2s;
  letter-spacing: -0.3px;
}
.faq-q:hover { color: var(--blue); }
.faq-q-icon {
  flex-shrink: 0; width: 18px; height: 18px;
  position: relative;
}
.faq-q-icon::before, .faq-q-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.3s;
}
.faq-q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q-icon::after { opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 4px;
}
.faq-item.open .faq-a {
  max-height: 700px;
  padding: 0 4px 26px;
}
.faq-a p {
  font-size: 16px; line-height: 1.75; color: var(--muted);
  max-width: 720px;
}
.faq-a p strong { color: var(--white); font-weight: 600; }

/* ── CONTACT ── */
.contact-section {
  padding: 130px 48px 110px;
  border-bottom: 1px solid var(--border);
}
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.contact-text h2 {
  font-weight: 700; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px; line-height: 1.1; color: var(--white);
}
.contact-form-wrap {
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 11px; font-weight: 700; color: var(--dim);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--white);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  background: var(--surface);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--dim);
}
.phone-row { display: flex; gap: 10px; }
.phone-row select {
  width: 92px; flex-shrink: 0; cursor: pointer;
  border-radius: 10px;
}
.contact-form button {
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--bg); background: var(--orange);
  padding: 14px 24px; border: none; border-radius: 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.2s;
  margin-top: 6px;
}
.contact-form button:hover { background: var(--orange-2); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  padding: 36px 48px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px;
  color: var(--dim);
}
.footer-brand .accent { color: var(--blue); }
footer p { font-size: 12px; color: var(--dim); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── LANG ── */
[data-pl] { display: none; }
body.pl [data-en] { display: none; }
body.pl [data-pl] { display: block; }
body.pl span[data-pl], body.pl a[data-pl] { display: inline; }
body.pl span[data-en], body.pl a[data-en] { display: none; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  nav ul { display: none; }
  .hero { padding: 110px 20px 60px; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero-sub { font-size: 14px; white-space: normal; }
  .stats { padding: 48px 20px; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .problem { padding: 80px 20px; }
  .problem-card { padding: 32px 28px; }
  .problem-card h3 { font-size: 21px; }
  .solution { padding: 60px 20px; }
  .compare-header, .compare-row { grid-template-columns: 1fr; }
  .compare-th { padding: 16px 20px; }
  .compare-cell { padding: 18px 20px; font-size: 15px; }
  .vendor-band { padding: 40px 0; }
  .vendor-track { gap: 48px; }
  .vendor-track img { height: 24px; }
  .vendor-track img.smaller { height: 20px; }
  .benefits { padding: 80px 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding: 28px 24px; }
  .tech-feature { padding: 80px 20px; }
  .tech-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-section { padding: 80px 20px; }
  .contact-section { padding: 80px 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; padding: 28px 20px; text-align: center; }
}
