:root {
  --bg: #050914;
  --surface: #141922;
  --text: #f5f7ff;
  --muted: #98a0b7;
  --line: rgba(190, 203, 240, 0.14);
  --blue: #568cff;
  --violet: #9c6cff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(47, 83, 183, 0.22), transparent 43%),
    linear-gradient(180deg, rgba(10, 17, 37, 0.25), transparent 60%);
}

/* The static body gradient supplies the glow without moving blurred layers. */
.ambient { display: none; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1240px);
  height: 86px;
  margin: 0 auto;
  padding: 0 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 700 20px "Space Grotesk", sans-serif;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.desktop-nav { display: flex; gap: 38px; margin-left: 110px; }
.desktop-nav a {
  color: #afb5c9;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: white; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-toggle {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 70px;
  padding: 9px 10px;
  border: 1px solid rgba(190, 203, 240, 0.18);
  border-radius: 8px;
  color: #747e99;
  background: rgba(255, 255, 255, 0.025);
  font: 600 10px "DM Sans", sans-serif;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.language-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  z-index: -1;
  width: calc(50% - 6px);
  border-radius: 5px;
  background: linear-gradient(100deg, rgba(77, 140, 255, 0.26), rgba(150, 106, 255, 0.28));
  box-shadow: 0 0 14px rgba(102, 118, 255, 0.16);
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.24s ease;
}
.language-toggle[data-language="en"]::before { transform: translateX(calc(100% + 6px)); }
.language-toggle:hover {
  border-color: rgba(190, 203, 240, 0.34);
  background: rgba(255, 255, 255, 0.045);
}
.language-toggle:focus-visible {
  outline: 2px solid rgba(86, 140, 255, 0.78);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(86, 140, 255, 0.1);
}
.language-option {
  position: relative;
  z-index: 1;
  min-width: 14px;
  text-align: center;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.language-option.is-active {
  color: #8da9ff;
  text-shadow: 0 0 12px rgba(124, 143, 255, 0.55);
}
.language-divider { position: relative; z-index: 1; color: #424b65; font-weight: 400; }
.language-toggle-mobile { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gradient {
  background: linear-gradient(100deg, #4d8cff, #966aff);
  box-shadow: 0 8px 30px rgba(90, 107, 255, 0.18);
}
.button-gradient:hover { box-shadow: 0 10px 34px rgba(111, 106, 255, 0.34); }
.button-small { padding: 11px 18px; font-size: 12px; }
.button-large { min-width: 187px; padding: 15px 21px; font-size: 13px; }
.button-ghost {
  border: 1px solid var(--line);
  color: #d8dcea;
  background: rgba(255, 255, 255, 0.025);
}
.button-ghost:hover { border-color: rgba(190, 203, 240, 0.34); }

.menu-button {
  display: none;
  width: 34px;
  padding: 5px 0;
  border: 0;
  background: none;
}
.menu-button span { display: block; height: 1px; margin: 6px 0; background: white; }

.hero {
  position: relative;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 34px 34px 100px;
  text-align: center;
}
.hero-copy { animation: reveal 0.8s both; }
.eyebrow,
.section-label { color: #a8b2d4; font-size: 10px; font-weight: 600; letter-spacing: 2.1px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(151, 171, 232, 0.14);
  border-radius: 10px;
}
.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7c8fff;
  box-shadow: 0 0 10px #8292ff;
}
.hero h1 {
  margin: 18px 0 14px;
  font: 600 clamp(46px, 4.5vw, 64px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: -3.5px;
  white-space: nowrap;
}
.hero h1 em,
.section-heading h2 em,
.final-cta h2 em {
  color: transparent;
  background: linear-gradient(100deg, #2274ff 12%, #8a5cff 86%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}
.hero-copy p {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Proporcje launchera odpowiadają układowi z aplikacji na Windows. */
.launcher {
  position: relative;
  width: min(100%, 760px);
  height: clamp(260px, 27vw, 340px);
  margin: 38px auto 4px;
  isolation: isolate;
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: -1;
  width: 72%;
  height: 68%;
  border: 1px solid rgba(176, 193, 235, 0.07);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(61, 101, 218, 0.08), transparent 66%);
  transform: translate(-50%, -50%) rotate(-8deg);
}
.app-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(60px, 11.58%, 88px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(218, 226, 248, 0.3);
  border-radius: 50%;
  color: #e4e7f1;
  background: rgba(224, 231, 255, 0.11);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.025), 0 12px 34px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.app-bubble:hover,
.app-bubble:focus-visible,
.app-bubble.is-active {
  border-color: rgba(226, 233, 255, 0.48);
  background: rgba(230, 235, 255, 0.17);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.04), 0 12px 38px rgba(50, 82, 180, 0.2);
  outline: none;
}
.app-bubble:hover { transform: translateY(-4px) scale(1.035); }
.app-icon { display: block; width: 48%; height: 48%; object-fit: contain; }
.norton-icon {
  position: relative;
  width: 49%;
  height: 49%;
  border-radius: 21%;
  background: #f2dd10;
  box-shadow: 0 1px 10px rgba(242, 221, 16, 0.24);
}
.norton-icon::before {
  content: "";
  position: absolute;
  inset: 21%;
  border: 3px solid #22251e;
  border-radius: 50%;
}
.norton-icon::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 35%;
  width: 28%;
  height: 14%;
  border-left: 3px solid #22251e;
  border-bottom: 3px solid #22251e;
  transform: rotate(-45deg);
}
.add-bubble { left: 0; top: 48%; }
.add-bubble strong { font-size: clamp(30px, 4.3vw, 40px); font-weight: 300; line-height: 1; }
.firefox { left: 20%; top: 14%; }
.spotify { left: 50%; top: 0; transform: translateX(-50%); }
.spotify:hover { transform: translateX(-50%) translateY(-4px) scale(1.035); }
.docker { right: 20%; top: 14%; }
.norton { right: 0; top: 48%; }
.tooltip {
  position: absolute;
  right: -8px;
  bottom: calc(100% + 12px);
  padding: 9px 13px;
  border: 1px solid rgba(218, 226, 248, 0.32);
  border-radius: 8px;
  color: white;
  background: rgba(16, 21, 32, 0.96);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.add-bubble:hover .tooltip,
.add-bubble:focus-visible .tooltip,
.add-bubble.show-tooltip .tooltip { opacity: 1; transform: translateY(0); }

.now-playing {
  position: absolute;
  left: 50%;
  top: 37%;
  z-index: 2;
  width: clamp(206px, 37.5%, 285px);
  aspect-ratio: 2.38;
  padding: 0;
  border: 0;
  border-radius: 0 0 16px 16px;
  color: #f7f8fb;
  background: rgba(210, 220, 246, 0.3);
  clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
  transform: translateX(-50%);
  text-align: left;
  overflow: hidden;
}
.now-playing::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: 0 0 15px 15px;
  background: rgba(20, 25, 34, 0.98);
  clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
  pointer-events: none;
}
.now-playing span {
  position: absolute;
  left: clamp(15px, 6.5%, 19px);
  bottom: clamp(16px, 19%, 23px);
  z-index: 1;
  font: 700 clamp(18px, 2.6vw, 27px) "Space Grotesk", sans-serif;
  letter-spacing: -0.5px;
}
.info-button {
  position: absolute;
  right: clamp(14px, 6.5%, 19px);
  bottom: clamp(18px, 20%, 24px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(29px, 4.5%, 34px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(220, 227, 247, 0.22);
  border-radius: 50%;
  color: #eef1f8;
  background: #343a43;
  font: 700 15px Georgia, serif;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 4px;
  animation: reveal 0.8s 0.15s both;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  margin: 72px auto 0;
  padding-top: 29px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.benefit { display: flex; align-items: flex-start; gap: 16px; padding: 0 24px; border-right: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; border: 0; }
.benefit-icon,
.step-icon,
.personalization-item > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(111, 145, 235, 0.2);
  border-radius: 10px;
  color: #6e9cff;
  background: rgba(72, 112, 220, 0.08);
}
.benefit-icon svg { width: 17px; height: 17px; stroke-width: 1.8; }
.benefit-number { display: block; margin: 0 0 5px; color: #68718d; font-size: 9px; letter-spacing: 1px; }
.benefit h2 { margin: 0 0 7px; font: 600 13px "Space Grotesk", sans-serif; }
.benefit p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.content-section {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 116px 34px;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 480px; }
.section-heading-centered { max-width: 710px; margin: 0 auto; text-align: center; }
.section-heading h2,
.final-cta h2 {
  margin: 16px 0 17px;
  font: 600 clamp(34px, 3.5vw, 46px)/1.08 "Space Grotesk", sans-serif;
  letter-spacing: -2px;
}
.section-heading p,
.final-cta > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.product-intro {
  text-align: center;
}
.product-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.how-it-works { text-align: center; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 58px;
  text-align: left;
}
.process-step { min-height: 178px; padding: 22px 4px 0; border-top: 1px solid rgba(190, 203, 240, 0.22); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-icon { width: 42px; height: 42px; }
.step-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
.step-number { color: #59627d; font: 10px "Space Grotesk", sans-serif; letter-spacing: 1px; }
.process-step h3 { margin: 26px 0 9px; font: 600 16px "Space Grotesk", sans-serif; }
.process-step p { max-width: 235px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.step-connector { display: grid; place-items: center; color: #4f608f; }
.step-connector svg { width: 18px; height: 18px; stroke-width: 1.5; }

.taskbar-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 86px;
}
.taskbar-visual {
  padding: 30px;
  border: 1px solid rgba(190, 203, 240, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}
.taskbar-caption { display: block; margin-bottom: 10px; color: #747e99; font-size: 10px; letter-spacing: 0.4px; }
.taskbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid rgba(201, 211, 239, 0.12);
  border-radius: 10px;
  background: rgba(24, 29, 42, 0.78);
}
.taskbar span {
  width: 27px;
  height: 27px;
  border: 1px solid rgba(126, 156, 235, 0.2);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(82, 137, 255, 0.72), rgba(124, 84, 223, 0.5));
  opacity: 0.7;
}
.taskbar span:nth-child(2n) { background: rgba(116, 128, 161, 0.25); }
.taskbar span:nth-child(3n) { background: rgba(42, 192, 119, 0.42); }
.taskbar-change {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 16px auto;
  color: #66718f;
}
.taskbar-change > svg { width: 15px; height: 15px; }
.taskbar-change small { font-size: 9px; letter-spacing: 0.3px; }
.taskbar-row-simple { width: 72%; margin: 0 auto; }
.taskbar .orbit-taskbar-icon { border-radius: 50%; background: linear-gradient(145deg, #568cff, #9368f8); opacity: 1; }
.section-note {
  display: inline-block;
  margin-top: 21px;
  color: #69728d;
  font-size: 10px;
  letter-spacing: 0.3px;
}

.personalization {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 100px;
}
.personalization-list { border-top: 1px solid var(--line); }
.personalization-item {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}
.personalization-item > span { width: 36px; height: 36px; }
.personalization-item svg { width: 17px; height: 17px; stroke-width: 1.7; }
.personalization-item p { margin: 0; color: #d4d8e5; font-size: 13px; font-weight: 500; }

.final-cta {
  max-width: 1100px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 53%, rgba(72, 97, 207, 0.14), transparent 58%);
  text-align: center;
}
.final-cta h2 { max-width: 660px; margin-right: auto; margin-left: auto; }
.final-cta > p { max-width: 480px; margin: 0 auto; }
.cta-actions { display: flex; justify-content: center; gap: 11px; margin-top: 31px; }

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 100px;
  border-top: 0;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 21px 42px 21px 0;
  color: #dfe3ef;
  font: 500 13px "Space Grotesk", sans-serif;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 50%;
  color: #7895df;
  font: 300 20px "DM Sans", sans-serif;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { max-width: 560px; margin: -5px 0 21px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.quiet-links {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 34px 45px;
  border-top: 1px solid var(--line);
  color: #727b95;
  font-size: 11px;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 1050px) and (min-width: 701px) {
  .desktop-nav { gap: 14px; margin-left: 0; }
  .header-actions { gap: 7px; }
  .button-small { padding-right: 14px; padding-left: 14px; }
}

@media (max-width: 700px) {
  .site-header { height: 72px; padding: 0 20px; }
  .desktop-nav,
  .header-actions { display: none; }
  .menu-button { display: block; }
  .desktop-nav.is-open {
    position: absolute;
    top: 62px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 13, 28, 0.98);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  }
  .desktop-nav.is-open .language-toggle-mobile {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 2px;
  }
  .hero { padding: 65px 20px; }
  .hero h1 { font-size: clamp(41px, 13vw, 50px); letter-spacing: -2.5px; white-space: normal; }
  .hero-copy p { max-width: 350px; font-size: 13px; }
  .launcher { height: 270px; margin-top: 46px; }
  .app-bubble { width: 60px; }
  .firefox { left: 18%; }
  .docker { right: 18%; }
  .now-playing { top: 39%; width: 206px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 290px; margin: 0 auto; }
  .button-large { width: 100%; }
  .benefits { grid-template-columns: 1fr; gap: 23px; margin-top: 58px; padding-top: 25px; }
  .benefit,
  .benefit:first-child,
  .benefit:last-child { padding: 0; border-right: 0; }
  .content-section { padding: 84px 20px; }
  .section-heading h2,
  .final-cta h2 { font-size: 34px; letter-spacing: -1.5px; }
  .process-steps { grid-template-columns: 1fr; gap: 0; margin-top: 42px; }
  .process-step { min-height: auto; padding: 22px 0 25px; }
  .process-step p { max-width: 310px; }
  .step-connector { height: 29px; transform: rotate(90deg); }
  .taskbar-section,
  .personalization,
  .faq { grid-template-columns: 1fr; gap: 52px; }
  .taskbar-visual { padding: 23px 16px; }
  .taskbar { gap: 7px; padding: 10px; }
  .taskbar span { width: 24px; height: 24px; }
  .taskbar-row-simple { width: 82%; }
  .cta-actions { flex-direction: column; width: min(100%, 290px); margin-right: auto; margin-left: auto; }
  .quiet-links { flex-wrap: wrap; gap: 14px; margin: 0 20px; padding: 22px 0 32px; }
  .quiet-links span:last-child { display: none; }
}

@media (max-width: 430px) {
  .launcher { width: calc(100% + 12px); margin-left: -6px; }
  .add-bubble,
  .norton { top: 50%; }
  .firefox { left: 16%; top: 15%; }
  .docker { right: 16%; top: 15%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Checkout feedback shares the existing page palette. */
button[data-checkout] { appearance: none; border: 0; font-family: inherit; cursor: pointer; }
button[data-checkout]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
button[data-checkout]:disabled { opacity: .65; cursor: wait; }
.hero-actions { flex-wrap: wrap; }
.payment-notice { flex-basis: 100%; max-width: 640px; margin: 0 auto 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); font-size: 15px; line-height: 1.6; }
.payment-notice[hidden] { display: none; }
.payment-notice button { display: block; margin: 10px auto 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: transparent; font: inherit; cursor: pointer; }

.payment-notice > a { display: flex; width: fit-content; margin: 14px auto; }
.payment-notice > small { display: block; color: var(--muted); }

.payment-notice button.button-gradient { background: linear-gradient(100deg, #4d8cff, #966aff); border: 0; }
