:root {
  --bg: #0b0f14;
  --bg-soft: #111720;
  --panel: #151c26;
  --panel-2: #1a2330;
  --text: #f5f7fa;
  --muted: #9ca9b8;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #f2a93b;
  --accent-strong: #ffc15c;
  --dark: #080b0f;
  --success: #64d58a;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(242, 169, 59, 0.08), transparent 23rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--accent);
  color: var(--dark);
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger:focus-visible {
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 110;
  min-width: 160px;
  display: grid;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hero {
  padding: 92px 0 74px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-kicker {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tylko pierwszy span jest ozdobną kreską; kolejne to tekst etykiety. */
.eyebrow > span:first-child {
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero h1 em {
  color: var(--accent-strong);
  font-style: normal;
}

.lead {
  max-width: 640px;
  margin: 0;
  color: #b8c2ce;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #13100b;
  box-shadow: 0 14px 40px rgba(242, 169, 59, 0.2);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.84rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(100, 213, 138, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  inset: 11% 8% 8%;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.22), transparent 62%);
  filter: blur(28px);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(330px, 76vw);
  padding: 10px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 48px;
  box-shadow: var(--shadow);
  transform: rotate(2.2deg);
}

.phone-top {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 3;
  width: 96px;
  height: 22px;
  border-radius: 20px;
  transform: translateX(-50%);
  background: #05070a;
}

.phone-screen {
  min-height: 575px;
  padding: 50px 18px 22px;
  background:
    radial-gradient(circle at 50% -5%, rgba(242, 169, 59, 0.13), transparent 34%),
    #111821;
  border-radius: 39px;
  overflow: hidden;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-header div {
  display: grid;
  gap: 2px;
}

.app-header strong {
  font-size: 0.88rem;
}

.app-header span {
  color: var(--muted);
  font-size: 0.68rem;
}

.timer-card {
  margin-top: 28px;
  padding: 24px 18px 20px;
  background: linear-gradient(145deg, #f2a93b, #d98820);
  color: #17100a;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 18px 42px rgba(242, 169, 59, 0.2);
}

.timer-card span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.timer-card strong {
  display: block;
  margin-top: 4px;
  font-size: 3.65rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.timer-card small {
  font-weight: 700;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.metrics-grid div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

.metrics-grid span {
  color: var(--muted);
  font-size: 0.63rem;
}

.metrics-grid strong {
  font-size: 1rem;
}

.timeline {
  margin-top: 14px;
  padding: 17px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

.timeline-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.63rem;
}

.timeline-label strong {
  color: var(--text);
}

.timeline-track {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.timeline-track i {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.1);
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 155px;
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  background: rgba(24, 32, 43, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.69rem;
}

.floating-card strong {
  font-size: 0.94rem;
}

.floating-left {
  left: 1%;
  bottom: 17%;
}

.floating-right {
  right: -1%;
  top: 22%;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  display: grid;
  gap: 6px;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid strong {
  font-size: 0.9rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 44px;
}

.section-heading h2,
.download-copy h2,
.maker-panel h2 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card h3 {
  margin: 44px 0 12px;
  font-size: 1.34rem;
  letter-spacing: -0.03em;
}

.feature-card p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-large {
  grid-column: 1 / -1;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.feature-large h3 {
  margin-top: 0;
}

.mini-timer {
  justify-self: end;
  width: min(360px, 100%);
  padding: 28px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.mini-timer span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mini-timer strong {
  display: block;
  margin: 12px 0 22px;
  font-size: 3.6rem;
  letter-spacing: -0.06em;
}

.mini-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.mini-progress i {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--accent);
}

.download-section {
  padding-top: 40px;
}

.download-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  padding: 58px;
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 169, 59, 0.11), transparent 30%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.download-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.store-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 20px;
  padding: 18px;
  background: #0f151d;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.qr-frame {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coming-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 7px 10px;
  background: #151c26;
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-details {
  display: grid;
  gap: 5px;
}

.store-details > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.store-details > strong {
  font-size: 1.18rem;
}

.store-button {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.store-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.store-card.is-unavailable {
  opacity: 0.72;
}

.store-card.is-unavailable .store-button {
  pointer-events: none;
  cursor: default;
}

.maker-section {
  padding: 28px 0 112px;
}

.maker-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  padding: 48px;
  background: var(--accent);
  color: #17100a;
  border-radius: 26px;
}

.maker-panel .section-kicker {
  color: rgba(23, 16, 10, 0.68);
}

.maker-panel h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.maker-panel p {
  max-width: 670px;
  margin: 18px 0 0;
  color: rgba(23, 16, 10, 0.74);
  line-height: 1.7;
}

.button-light {
  flex: 0 0 auto;
  background: #11161e;
  color: #fff;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  font-size: 0.86rem;
}

.footer-brand span,
.copyright {
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-heading,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 550px;
  }

  .section-heading {
    gap: 24px;
  }

  .download-panel {
    padding: 40px;
  }

  .maker-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 66px;
  }

  .nav a:not(#navFortification),
  .nav-dropdown {
    display: none;
  }

  .nav {
    gap: 0;
  }

  .nav a {
    font-size: 0.76rem;
  }

  .hero {
    padding: 64px 0 52px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-shell {
    width: min(306px, 86vw);
  }

  .phone-screen {
    min-height: 520px;
  }

  .floating-card {
    min-width: 132px;
    padding: 13px 14px;
  }

  .floating-left {
    left: -2%;
    bottom: 9%;
  }

  .floating-right {
    right: -2%;
    top: 18%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .download-copy h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .features-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mini-timer {
    justify-self: stretch;
  }

  .download-section {
    padding-top: 12px;
  }

  .download-panel {
    padding: 26px;
    border-radius: 24px;
  }

  .maker-section {
    padding-bottom: 78px;
  }

  .maker-panel {
    padding: 34px 26px;
  }

  .button-light {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.92rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .trust-grid div {
    padding: 20px 18px;
  }

  .feature-card {
    padding: 24px;
  }

  .mini-timer strong {
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Globalny przełącznik języka PL/EN ---------- */

.lang-switch {
  display: inline-flex;
  flex: none;
  margin-left: 4px;
  background: var(--dark);
  border: 1px solid rgba(242, 169, 59, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.lang-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lang-button:hover:not(.is-active) {
  background: rgba(242, 169, 59, 0.12);
  color: var(--accent-strong);
}

.lang-button.is-active {
  background: var(--accent);
  color: var(--dark);
}

.lang-button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: -2px;
}
