/* ================== ZMIENNE ================== */
:root {
  --primary: #2CB1A6;
  --primary-dark: #1E8F86;
  --primary-light: #E6F7F5;
  --accent: #3AA6FF;
  --bg: #F4FBFA;
  --text: #1F2933;
  --muted: #6B7280;
}

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

/* ================== BODY & TYPOGRAPHY ================== */
html {
  scroll-padding-top: 120px; /* miejsce na sticky header przy #about, #how-it-works, #faq */
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-align: center;
}

h1, h2, h3 {
  font-weight: 700;
}

/* ================== HEADER / NAV ================== */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav {
  position: relative;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 90px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
}

.menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.menu a:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.highlight {
  background: var(--accent);
}

.btn.highlight {
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  box-shadow: 0 12px 25px rgba(58, 166, 255, 0.35);
}

/* ================== HAMBURGER ================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================== PROMO ================== */
.promo-banner {
  margin: 25px 0;
}

.promo-tile {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  padding: 16px 32px;
  border-radius: 22px;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 15px 30px rgba(58, 166, 255, 0.4);
  animation: promoPulse 2.5s infinite;
}

@keyframes promoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ================== HERO ================== */
.hero {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  padding: 90px 20px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  animation: heroText 1s ease forwards;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 30px;
  animation: heroText 1.2s ease forwards;
}

.hero-image img {
  max-width: 280px;
  width: 100%;
}

/* ================== BUTTONS ================== */
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 25px rgba(44, 177, 166, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(44, 177, 166, 0.45);
}

.btn-large {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% { transform: scale(1.05); }
}

.btn-highlight-large {
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  font-size: 1.2rem;
  padding: 18px 40px;
  box-shadow: 0 15px 35px rgba(58, 166, 255, 0.45);
}

.btn-highlight-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(58, 166, 255, 0.55);
}

/* ================== CONTENT ================== */
.content {
  padding: 80px 20px;
}

.content > h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.content > p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ================== ABOUT ================== */
.about-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-item {
  background: #fff;
  padding: 26px;
  border-radius: 20px;
  max-width: 260px;
  box-shadow: 0 10px 25px rgba(44, 177, 166, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(44, 177, 166, 0.18);
}

.about-item img {
  width: 70px;
  margin-bottom: 15px;
}

.about-item h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.about-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ================== SIMPLE LIST ================== */
.simple-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 0;
  text-align: left;
}

.simple-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: var(--text);
}

.simple-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
}

/* ================== HOW IT WORKS NOTE ================== */
.how-it-works-note {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 20px;
  background: var(--primary-light);
  border-radius: 16px;
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
}

/* ================== OPINIE UŻYTKOWNIKÓW ================== */
.opinions-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
}

.opinions-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: opinions-scroll 80s linear infinite;
}

.opinions-wrapper:hover .opinions-track {
  animation-play-state: paused;
}

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

.opinion-card {
  background: #fff;
  padding: 24px 26px;
  border-radius: 20px;
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(44, 177, 166, 0.15);
  text-align: left;
}

.opinion-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.opinion-card span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

/* ================== FAQ ================== */
.faq-section {
  background: var(--bg);
  padding: 70px 20px;
}

.faq-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-item {
  background: #fff;
  padding: 28px 30px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.faq-item p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ================== PRICING ================== */
.pricing-box {
  border: 2px solid rgba(44, 177, 166, 0.2);
  background: linear-gradient(135deg, #fff, var(--primary-light));
}

.pricing-grid {
  display: flex;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.price-card {
  flex: 1;
  min-width: 160px;
  background: #f9fefe;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(44, 177, 166, 0.15);
}

.price-card.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 12px 30px rgba(44, 177, 166, 0.4);
}

.price-title {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.price-desc {
  font-size: 0.85rem;
  opacity: 0.9;
}

.pricing-note {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* ================== FOOTER ================== */
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 25px;
  margin-top: 40px;
}

footer p {
  margin: 0;
}

/* ================== SEO TEXT ================== */
.seo-text {
  max-width: 850px;
  margin: 40px auto;
  padding: 30px 20px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.seo-text h2 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.seo-text p {
  margin-bottom: 16px;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

/* ================== FORM / ORDER (order.html) ================== */
.order-steps {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
}

.step {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  opacity: 0.5;
}

.step.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  opacity: 1;
  box-shadow: 0 8px 20px rgba(44, 177, 166, 0.35);
}

.centered-form {
  max-width: 520px;
  margin: 60px auto;
  padding: 40px 32px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.form-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 35px;
  color: var(--primary-dark);
}

.form-section {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.form-section h3 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.input-group input,
.input-group textarea {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
  background: #fafafa;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 177, 166, 0.15);
}

.input-group textarea {
  resize: none;
}

.hint {
  display: block;
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.full-width {
  width: 100%;
  margin-top: 15px;
  padding: 16px;
  font-size: 1.05rem;
  border-radius: 18px;
}

.trust-box {
  margin-top: 30px;
  padding: 20px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--primary-dark);
  font-weight: 600;
  text-align: center;
}

.success-box {
  display: none;
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.success-box h2 {
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.success-step {
  margin-top: 25px;
}

.success-step pre {
  padding: 15px;
  background: #eaeaea;
  border-radius: 10px;
  user-select: all;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

.success-info {
  margin-top: 25px;
  padding: 15px;
  font-size: 0.95rem;
  color: var(--text);
}

.success-box a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.success-box a:hover {
  text-decoration: underline;
}

.error-box {
  display: none;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(58, 166, 255, 0.1);
  border: 1px solid rgba(58, 166, 255, 0.25);
  color: var(--primary-dark);
  font-weight: 600;
  text-align: left;
}

.error-box b {
  color: var(--primary-dark);
}

.soft-box {
  background: var(--bg);
  padding: 22px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(44, 177, 166, 0.15);
  max-width: 650px;
  margin: 20px auto;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
}

/* ================== ANIMACJE ================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.9s ease forwards;
}

.fade-in-delayed {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ================== MOBILE ================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-container {
    flex-wrap: wrap;
  }

  /* Menu rozwijane tylko gdy jest hamburger (index.html) */
  .nav-container:has(.hamburger) .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-container:has(.hamburger) .menu.show {
    max-height: 500px;
    padding: 15px 0;
  }

  /* order.html bez hamburgera – menu w kolumnie */
  .nav-container:not(:has(.hamburger)) .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image img {
    max-width: 220px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .logo {
    height: 75px;
  }

  .simple-list li {
    font-size: 1rem;
    padding-left: 24px;
  }

  .seo-text {
    font-size: 0.9rem;
    padding: 15px;
  }

  .seo-text h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {
  .centered-form {
    margin: 30px 16px;
    padding: 30px 22px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .about-item {
    max-width: 220px;
    padding: 20px;
  }

  .opinion-card {
    min-width: 260px;
    max-width: 260px;
    padding: 18px 20px;
  }
}
