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

:root {
  --white: #ffffff;
  --deep-yellow: #d6a200;
  --electric-yellow: #f4c400;
  --dark-golden: #a37c00;
  --soft-gray: #e6eaf0;
  --warm-yellow-surface: #fff9e8;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6a6a6a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 80px;
    max-width: 1400px;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--soft-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-yellow);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--deep-yellow);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn:focus {
  outline: 2px solid var(--deep-yellow);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--electric-yellow);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--deep-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 162, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-yellow);
  border: 1.5px solid var(--deep-yellow);
}

.btn-secondary:hover {
  background: var(--warm-yellow-surface);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.header .btn-primary {
  display: none;
}

@media (min-width: 768px) {
  .header .btn-primary {
    display: inline-flex;
  }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.hamburger .line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active .line1 {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .line2 {
  opacity: 0;
}

.menu-toggle.active .line3 {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  text-align: center;
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: 32px;
}

.mobile-nav-link {
  display: block;
  padding: 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--deep-yellow);
}

.mobile-cta {
  font-size: 16px;
}

.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 160px 0 120px;
  }
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(var(--soft-gray) 1px, transparent 1px),
    linear-gradient(90deg, var(--soft-gray) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-description {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-shape {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-shape svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--soft-gray),
    var(--electric-yellow),
    var(--soft-gray),
    transparent
  );
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-medium);
}

.features {
  position: relative;
  padding: 80px 0;
  background: var(--warm-yellow-surface);
}

@media (min-width: 768px) {
  .features {
    padding: 120px 0;
  }
}

.features-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--deep-yellow), var(--electric-yellow));
  border-radius: 8px 8px 0 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon svg {
  display: block;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

.features-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric-yellow), transparent);
}

.about {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .about {
    padding: 120px 0;
  }
}

.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-shape {
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.testimonials {
  padding: 80px 0;
  background: var(--white);
}

@media (min-width: 768px) {
  .testimonials {
    padding: 120px 0;
  }
}

.testimonials-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.testimonial-card {
  padding: 32px;
  position: relative;
}

.testimonial-line {
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 2px;
  background: var(--electric-yellow);
}

.testimonial-card blockquote p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.author-title {
  font-size: 13px;
  color: var(--text-light);
}

.pricing {
  padding: 80px 0;
  background: var(--warm-yellow-surface);
}

@media (min-width: 768px) {
  .pricing {
    padding: 120px 0;
  }
}

.pricing-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.pricing-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--deep-yellow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(214, 162, 0, 0.15);
  border-color: var(--electric-yellow);
}

.pricing-card-featured {
  position: relative;
  background: var(--white);
}

.pricing-card-featured::before {
  content: "Najpopularniejszy";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--electric-yellow);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.pricing-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

.pricing-description {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--deep-yellow);
}

.price-period {
  font-size: 14px;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--soft-gray);
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--deep-yellow);
  font-weight: 600;
}

.contact {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .contact {
    padding: 120px 0;
  }
}

.contact-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.contact-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-content > p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-medium);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid var(--soft-gray);
  border-radius: 4px;
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-yellow);
  box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.footer {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--soft-gray);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

.footer-links a {
  color: var(--deep-yellow);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--dark-golden);
}

.footer-links a:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-light);
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--soft-gray);
  padding: 16px 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-notice.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-inner p {
  font-size: 14px;
  color: var(--text-medium);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  padding: 140px 0 80px;
}

@media (min-width: 768px) {
  .legal-page {
    padding: 160px 0 120px;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 48px;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--soft-gray);
}

.legal-content p {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 8px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
