body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111827;
  color: #fff;
}

* {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: calc(1rem + env(safe-area-inset-top)) 2rem 1rem 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  box-sizing: border-box;
}

nav img {
  height: 40px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1.1rem;
  font-weight: 200;
  transition: color 0.3s;
}

nav a:hover {
  color: #60a5fa;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: 2px;
}

.pricing {
  text-align: center;
  margin-top: 100px;
}

.pricing-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.pricing-subtitle {
  color: #aaa;
  margin-bottom: 1rem;
}

.pricing-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px;
  justify-content: center;
}

.plan {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  position: relative;
}

.plan:hover {
  transform: translateY(-5px);
}

.plan.highlighted {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
}

.plan.elite {
  position: relative;
  background: linear-gradient(
    135deg,
    #b8860b 0%,
    #ffd700 40%,
    #ffffff 50%,
    #ffd700 60%,
    #b8860b 100%
  );
  color: black;
  overflow: hidden;
}

.plan.elite::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 60%
  );
  transform: skewX(-20deg);
  transition: left 0.8s ease; /* płynne przesuwanie */
}

.plan.elite:hover::after {
  left: 100%;
}

.plan-name {
  font-size: 33px;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-weight: 200;
  font-size: x-large;
}

.plan-price span {
  font-size: 1rem;
  color: inherit;
}

.plan-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  width: 100%;
}

.plan-features li {
  margin-bottom: 0.5rem;
  font-size: 15px;
  color: inherit;
}

.check-icon {
  color: inherit;
  font-weight: bold;
}

.plan-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.plan.highlighted .plan-button {
  background: black;
  color: white;
}

.plan.elite .plan-button {
  background: black;
  color: gold;
}

.plan-button:hover {
  background: #3b82f6;
  color: white;
}

/* Badge */
.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #3b82f6;
  color: white;
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
}

.badge-gold {
  background: #ffd700;
  color: black;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.yearly-price {
  font-size: 0.9rem;
  color: #ccc;
  font-weight: 400;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 1rem;
}

.billing-label.active {
  font-weight: bold;
  color: #3b82f6;
}

.save {
  color: #3b82f6;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Switch (slider) */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #3b82f6;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

.about-author {
  padding: 6rem 2rem;
  color: #fff;
}

.author-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.author-image img {
  border-radius: 1rem;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.author-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.author-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-stars {
  font-size: 1.5rem;
  color: #ffd700; /* złoty/żółty kolor */
  margin-top: 1rem;
  text-align: center;
}

ul {
  list-style: none;
}

.summary-list li {
  margin-bottom: 1rem;
  font-weight: 400;
}

.why-points > li > strong {
  font-weight: 500;
}

.freedom-description > strong,
.tags-description > strong {
  font-weight: 500;
}

halfstrong {
  font-weight: 300;
}

.ui-description > strong {
  font-weight: 500;
}

.end-section {
  background: #0d0d0d;
  padding: 3rem 2rem;
  color: #aaa;
}

.end-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.end-left {
  flex: 1;
  min-width: 250px;
}

.end-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.end-logo {
  height: 40px;
}

.end-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.end-tagline {
  font-size: 1rem;
  color: #60a5fa;
  margin-top: 0.5rem;
}

.end-right {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.end-links,
.end-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.end-links a,
.end-legal a,
.end-contact a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.end-links a:hover,
.end-legal a:hover,
.end-contact a:hover {
  color: #60a5fa;
}

.end-cta {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(to right, #3b82f6, #a855f7);
  color: #fff;
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  width: fit-content;
  transition: transform 0.3s ease;
}

.end-cta:hover {
  transform: scale(1.05);
}

.end-copy {
  font-size: 0.8rem;
  color: #666;
}

.end-left {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}

.author-text > p > strong {
  font-weight: 500;
}

.end-signature {
  height: 80px;
  margin-top: 1rem;
  opacity: 0.8;
}

.over-button-line {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.5);
}

.daily-price,
.daily-price-prestige {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
}

.daily-price-prestige {
  color: black;
}

.bonus-box {
  margin: 1rem 0;
  padding: 0.8rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  text-align: left;
}

.bonus-box ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  list-style: disc;
}

.bonus-box.gold {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid gold;
  font-weight: 500;
}

.old-price-divider {
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 3px 0;
}

.elite .old-price-divider {
  border-width: 1px;
  border-color: darkgray;
}

.plan-price-container {
  display: flex;
  flex-direction: column;
}

.old-price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

span.old-price {
  font-size: 28px;
  text-decoration: line-through;
  font-weight: 300;
}

.pricing-comparison {
  margin: 4rem auto;
  max-width: 1100px;
  color: #fff;
  margin-top: 7rem;
}

.comparison-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.table-wrapper {
  max-height: 55vh;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table thead {
  background: rgba(255, 255, 255, 0.1);
}

.col-free {
  color: lightgray;
  font-weight: 500;
}

.col-prime {
  color: #a855f7; /* fiolet */
  font-weight: 600;
}

.col-prestige {
  color: gold;
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.comparison-table td,
.comparison-table th {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

.comparison-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  font-weight: 600;
  font-size: 1rem;
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 400;
}

.plan-bottom-part {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
}

.cancel-any-time {
  margin-bottom: 16px;
}

.celebrate-launch {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  max-width: 90%;
}

.note-for-subscription {
  font-weight: 100;
  color: lightgray;
  font-size: 14px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.window-container {
  display: flex;
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 2;
  top: 0;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.window {
  background: linear-gradient(135deg, #282828 0%, #111111 100%);
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
}

.window-top-bar {
  display: flex;
  justify-content: end;
  padding: 6px;
}

.close-icon {
  aspect-ratio: 1 / 1;
  width: 2rem;
  cursor: pointer;
  transform: rotate(45deg);
}

.window-body {
  padding: 16px;
}

.window-bottom-bar {
  padding: 16px;
}

.window-button {
  width: 100%;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 16px;
}

.form-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3),
.comparison-table td:nth-child(4) {
  padding: 0;
}

@media (max-width: 420px) {
  .comparison-table th {
    padding: 6px;
    font-size: 14px;
  }

  .comparison-table td:first-child {
    font-size: 12px;
  }
}
