.ai-offer-section {
  padding: 60px 0;
  text-align: center;
  border: solid #ff7909 10px;
}

.about-block-scnd h5:after {
  text-align: center;
}

.offer-icon {
  display: block;
  margin: 0 auto 20px; /* Centrowanie ikony nad tytułem i dodanie odstępu */
  width: 100px; /* Możesz dostosować szerokość ikony */
  height: auto; /* Zachowanie proporcji ikony */
  background-color: #ff7909;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(30px);
  animation:
    fadeInUp 0.8s ease-out forwards,
    wave 5s infinite ease-in-out;
}

.offer-header h2,
.offer-header p,
.feature,
.offer-call-to-action {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  line-height: 2em;
}

.offer-call-to-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-call-to-action .offer-icon {
  height: auto; /* Zachowuje proporcje obrazu */
  width: 60px; /* Dostosuj szerokość ikony do swoich potrzeb */
  margin: 10px;
}
.about-block-scnd .call_title {
  margin-top: 40px;
}

.about-block-scnd .icon {
  margin-top: 20px;
}

.offer-header p {
  font-weight: 900;
  font-size: larger;
  padding-bottom: 30px;
  animation-delay: 0.4s;
  color: #ff7909;
}

.offer-header h2 {
  animation-delay: 0.2s;
  color: #000000;
}

.offer-header .bot_name {
  color: #ff7909;
}

.feature {
  display: inline-block;
  width: 30%;
  margin: 20px;
  animation-delay: 0.6s;
}

.feature-icon {
  width: 80px;
  margin-bottom: 15px;
  margin-top: 30px;
}

.feature:nth-child(2) {
  animation-delay: 0.8s;
}

.feature:nth-child(3) {
  animation-delay: 1s;
}

.offer-call-to-action {
  margin-top: 40px;
  animation-delay: 1.2s;
}

.offer-button {
  display: inline-block;
  background-color: #000000; /* Czarny przycisk */
  color: #ffffff; /* Biały tekst na przycisku */
  padding: 10px 30px;
  margin-right: 10px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.offer-button:hover {
  background-color: #ff7909; /* Ciemniejszy odcień szarości dla efektu hover */
  color: #000000;
}

.new-badge {
  display: inline-block;
  background-color: #ff7909;
  color: #ffffff;
  padding: 15px 30px;
  font-weight: bold;
  font-size: 1.5em;
  position: absolute;
  top: -20px;
  left: 20px;
  transform-origin: 50% 100%;
  animation:
    wave 3s infinite ease-in-out,
    blink 1.5s infinite;
}

#arrow {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0l-12 12h7v12h10v-12h7z"/></svg>');
  background-size: cover;
  position: absolute;
  top: 100px; /* Przykładowa pozycja startowa */
  left: 100px; /* Przykładowa pozycja startowa */
}

@media (max-width: 768px) {
  .feature {
    width: 100%;
    max-width: 300px;
  }
  .new-badge {
    top: -45px;
    left: -30px;
  }
}

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

/* Animacja dla badge "Nowość" */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-3deg);
  }
  30% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-3deg);
  }
  70% {
    transform: rotate(3deg);
  }
  90% {
    transform: rotate(-3deg);
  }
}

/* Modern AI offer layout */
.ai-offer-section {
  position: relative;
  padding: 110px 0 100px;
  text-align: left;
  border: none;
  background: linear-gradient(180deg, #f7f4ef 0%, #f0ece6 100%);
  overflow: hidden;
}

.ai-offer-section::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 121, 9, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

.ai-offer-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: #ff7909;
  color: #000000;
  margin-bottom: 24px;
}

.ai-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.ai-offer-content {
  max-width: 620px;
}

.ai-offer-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 12px;
}

.ai-offer-title {
  font-size: 42px;
  line-height: 1.1;
  color: #111111;
  margin-bottom: 16px;
}

.ai-offer-title .ai-accent {
  color: #ff7909;
}

.ai-offer-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #3b3b3b;
  margin-bottom: 26px;
}

.ai-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.ai-btn-primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.4);
}

.ai-btn-outline {
  border: 1px solid #111111;
  color: #111111;
  background: transparent;
}

.ai-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 35%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 80%
  );
  transform: translateX(-60%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.ai-btn:hover {
  transform: translateY(-2px);
}

.ai-btn:hover::before {
  transform: translateX(60%);
}

.ai-offer-note {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 28px;
}

.ai-offer-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ai-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 20px;
  border-right: 1px solid #dddddd;
}

.ai-metric:last-child {
  border-right: none;
  padding-right: 0;
}

.ai-metric-value {
  font-size: 18px;
  font-weight: bold;
  color: #111111;
}

.ai-metric-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777777;
}

.ai-offer-cards {
  display: grid;
  gap: 18px;
}

.ai-card {
  padding: 22px;
  border: 1px solid #e3e0da;
  background: #ffffff;
  box-shadow: 0 16px 30px -24px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 121, 9, 0.12) 35%,
    rgba(255, 121, 9, 0.06) 55%,
    transparent 80%
  );
  transform: translateX(-60%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -24px rgba(0, 0, 0, 0.32);
}

.ai-card:hover::before {
  transform: translateX(60%);
}

.ai-card-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff7909;
  margin-bottom: 12px;
}

.ai-card h5 {
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
  color: #111111;
}

.ai-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a4a;
}

@media (max-width: 980px) {
  .ai-offer-grid {
    grid-template-columns: 1fr;
  }

  .ai-offer-section {
    padding: 90px 0 80px;
  }
}

@media (max-width: 600px) {
  .ai-offer-title {
    font-size: 32px;
  }

  .ai-offer-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-metric {
    border-right: none;
    padding-right: 0;
  }
}
