* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  color: #e2e8f0;
  background-color: #0b1020;
  background-image:
    radial-gradient(at 15% 15%, rgba(129, 140, 248, 0.55) 0, transparent 55%),
    radial-gradient(at 85% 8%, rgba(56, 189, 248, 0.4) 0, transparent 50%),
    radial-gradient(at 85% 95%, rgba(232, 121, 249, 0.28) 0, transparent 50%),
    radial-gradient(at 10% 100%, rgba(52, 211, 153, 0.18) 0, transparent 45%),
    linear-gradient(165deg, #0b1020 0%, #151233 55%, #1e1b4b 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.4);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.glass-panel {
  background-color: rgba(15, 17, 32, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nawigacja --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #818cf8, #e879f9);
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.5);
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links-mobile {
  display: none;
}

/* --- Przyciski --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
  white-space: nowrap;
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(to bottom, #6366f1, #4f46e5);
  box-shadow: 0 10px 25px -8px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #818cf8, #6366f1);
}

.btn-block {
  width: 100%;
}

/* --- Hero --- */

.hero {
  padding: 96px 0 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 9999px;
  padding: 6px 12px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(90deg, #818cf8, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-actions .btn {
  padding: 12px 22px;
  font-size: 15px;
}

.trust-row {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Mockup pulpitu --- */

.mockup {
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-screen {
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #0b1020;
  background-image:
    radial-gradient(at 20% 20%, rgba(129, 140, 248, 0.5) 0, transparent 55%),
    radial-gradient(at 85% 10%, rgba(56, 189, 248, 0.35) 0, transparent 50%),
    radial-gradient(at 80% 90%, rgba(232, 121, 249, 0.25) 0, transparent 50%);
}

.mockup-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mockup-icon span.label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.mockup-window {
  position: absolute;
  top: 46px;
  left: 70px;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

.mockup-window .titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e2e8f0;
  padding: 7px 10px;
  font-size: 11px;
  color: #334155;
  font-weight: 500;
}

.mockup-window .titlebar .dots {
  display: flex;
  gap: 5px;
}

.mockup-window .titlebar .dots span {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.mockup-window .body {
  padding: 14px;
  font-size: 11px;
  color: #475569;
  line-height: 1.6;
}

.mockup-window .body .bar {
  height: 7px;
  border-radius: 4px;
  background: #cbd5e1;
  margin-bottom: 7px;
}

.mockup-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background-color: rgba(15, 17, 32, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-taskbar .start {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #818cf8, #e879f9);
  font-size: 13px;
}

.mockup-taskbar .taskbtn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-taskbar .clock {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Sekcje wspólne --- */

section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 30px;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 12px;
}

.section-head p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* --- Funkcje --- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.15s ease;
}

.feature-card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 15px;
  color: #fff;
  margin: 0 0 6px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.pill {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 7px 14px;
}

/* --- Pakiety --- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card.featured {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 25px 50px -20px rgba(99, 102, 241, 0.4);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #818cf8, #e879f9);
  border-radius: 9999px;
  padding: 4px 12px;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.plan-price .amount {
  font-size: 38px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.plan-price .period {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.plan-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 22px;
}

.plan-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.plan-features li .check {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 1px;
}

.pricing-skeleton {
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 360px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 24px;
}

/* --- FAQ --- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease;
  font-size: 12px;
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* --- CTA finalne --- */

.cta-final {
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(232, 121, 249, 0.14));
}

.cta-final h2 {
  font-size: 28px;
  color: #fff;
  margin: 0 0 12px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 28px;
  font-size: 15px;
}

.cta-final .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* --- Strona prawna (polityka prywatności) --- */

.legal-hero {
  padding: 64px 0 24px;
}

.legal-hero h1 {
  font-size: 34px;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.legal-content {
  padding-bottom: 72px;
}

.legal-panel {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 40px 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-panel h3 {
  font-size: 17px;
  color: #fff;
  margin: 32px 0 14px;
}

.legal-panel h3:first-child {
  margin-top: 0;
}

.legal-panel p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 14px;
}

.legal-panel ol,
.legal-panel ul {
  margin: 0 0 14px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-panel li {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

.legal-panel ol[type='a'] {
  list-style-type: lower-alpha;
}

.legal-panel a {
  color: #a5b4fc;
  text-decoration: underline;
}

.legal-panel a.btn {
  text-decoration: none;
}

.legal-panel a.btn-primary {
  color: #fff;
}

.legal-panel a.btn-ghost {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 560px) {
  .legal-panel {
    padding: 28px 22px;
  }
}

/* --- Stopka --- */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 40px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

footer .foot-links {
  display: flex;
  gap: 20px;
}

footer .foot-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Baner zgody na cookies (RODO) --- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner p a {
  color: #a5b4fc;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 9px 16px;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

/* --- Responsywność --- */

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mockup {
    display: none;
  }
}
