@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600&family=Nunito:wght@400;600;700&display=swap');

:root {
  --color-bg: #141414;
  --color-surface: #1F1F1F;
  --color-surface-2: #1A1A1A;
  --color-border: #2E2E2E;
  --color-amber: #F59E0B;
  --color-text: #E5E5E5;
  --color-text-secondary: #999999;
  --color-text-body: #AAAAAA;
  --color-faded: #666666;
  --font-heading: 'Lora', serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden; /* siatka bezpieczeństwa — właściwe źródło RWD to fluid wymiary niżej, nie to */
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-weight: 600;
}

a { color: var(--color-amber); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.why-lullnest {
  padding-top: 24px;
}

.section--alt {
  background: var(--color-surface-2);
}

.section__title {
  font-size: clamp(22px, 5vw, 28px);
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.eyebrow {
  font-family: var(--font-body);
  color: var(--color-amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.text-faded {
  color: var(--color-faded);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-amber);
  color: #000000;
}

.btn--disabled {
  background: var(--color-surface);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  cursor: not-allowed;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 20px;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header__logo {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
}

.header__logo:hover {
  text-decoration: none;
}

.header__logo img { width: 32px; height: 32px; border-radius: 8px; }

.header__right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch a {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.lang-switch a.active { color: var(--color-amber); }

@media (max-width: 480px) {
  .header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .header__logo {
    grid-column: unset;
    justify-self: unset;
    font-size: 16px;
    gap: 6px;
  }
  .header__logo img { width: 26px; height: 26px; }
  .header__right { grid-column: unset; justify-self: unset; gap: 8px; }
  .header .btn { padding: 8px 14px; font-size: 13px; }
  .lang-switch a { font-size: 13px; }
}

.sticky-cta {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hero */

.hero {
  padding-top: clamp(24px, 6vw, 48px);
  padding-bottom: clamp(32px, 8vw, 56px);
  text-align: center;
}

.hero__title {
  font-size: clamp(26px, 5.5vw, 38px);
  line-height: 1.2;
  max-width: 640px;
  margin: 0 auto 12px;
}

.hero__subtitle {
  font-size: clamp(14px, 3.2vw, 16px);
  max-width: 520px;
  margin: 0 auto 22px;
}

/* Shelf */

.shelf__title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 16px;
}

.shelf {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.shelf__track {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  animation: shelf-scroll 55s linear infinite;
}

.shelf__track:hover {
  animation-play-state: paused;
}

@keyframes shelf-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.shelf img {
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.shelf img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Who it's for */

.audience-text {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
}

.audience-languages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .audience-languages { grid-template-columns: 1fr 1fr; }
}

/* Languages */

.lang-row {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
}

.lang-row__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-text);
}

/* Premium */

.premium-compare {
  display: flex;
  gap: 22px;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .premium-compare { flex-direction: column; gap: 28px; }
}

.premium-compare__divider {
  width: 1px;
  background: var(--color-border);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .premium-compare__divider { display: none; }
}

.premium-compare__col {
  flex: 1;
}

.premium-compare__row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 8px;
}

.premium-compare__chip {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.premium-compare__chip .ph {
  font-size: 16px;
}

.premium-compare__title {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.premium-compare__desc {
  color: var(--color-text-secondary);
  font-size: 11.5px;
  margin-top: 2px;
}

/* Mission statement */

.mission-statement {
  text-align: center;
  font-size: clamp(15px, 3.4vw, 18px);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text);
}

.mission-statement__highlight {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

/* How it works */

.how-it-works {
  font-family: var(--font-heading);
  font-size: clamp(17px, 4vw, 24px);
  line-height: 1.6;
  text-align: center;
  color: var(--color-text);
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__row {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.faq-item__q {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: 16px;
}

.faq-item__chevron {
  color: var(--color-amber);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-item__a {
  max-height: 220px;
}

.faq-item__a-inner {
  padding-bottom: 18px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* Download */

.download-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.badge-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0;
}

.badge-link {
  display: inline-flex;
}

.badge-img {
  width: 135px;
  height: 44px;
  object-fit: contain;
}


/* Footer */

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 13px;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-text);
}

.footer__logo .ph {
  color: var(--color-amber);
  font-size: 18px;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.social-icon:hover {
  text-decoration: none;
}

.footer__links {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-text-secondary);
  font-size: 12.5px;
}

.footer__links a .ph {
  color: var(--color-amber);
  font-size: 14px;
}

.footer__copy {
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-top: 6px;
}

@media (max-width: 480px) {
  .footer__brand { justify-content: center; text-align: center; }
  .footer__links { justify-content: center; }
  .footer { text-align: center; }
}

/* Carousel */

.carousel-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 8px 0 0;
}

.carousel {
  position: relative;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 52px calc(50% - 110px) 40px;
  align-items: flex-start;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  scroll-snap-align: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

.carousel__slide.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

.carousel__phone {
  width: clamp(230px, 26vw, 300px);
  aspect-ratio: 9 / 20;
  border-radius: 28px;
  border: 2px solid var(--color-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  padding: 18px 9px 9px;
  box-sizing: border-box;
  background: #0d0d0d;
  overflow: hidden;
  cursor: pointer;
}

.carousel__slide.active .carousel__phone {
  border-color: var(--color-amber);
}

.carousel__phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  border-radius: 20px;
}

.carousel__caption {
  color: var(--color-text-secondary);
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
}

.carousel__slide.active .carousel__caption {
  color: var(--color-amber);
}

.carousel__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all 0.2s ease;
}

.carousel__dot.active {
  background: var(--color-amber);
  width: 18px;
  border-radius: 3px;
}
