body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.2;
  background-color: #ffffff;
  color: #333;
  font-family: "Inter";
  text-wrap: balance;
}
section {
  max-width: 100%;
  margin: auto;
}

header,
footer {
  text-align: center;
  background-color: #f4f4f4;
}
.title {
  font-size: 3rem;
  margin: 1.5rem 0;
  background: linear-gradient(90deg, #000000, #2a2a2a, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  text-align: center;
}
/* section hero */
.hero {
  background: linear-gradient(rgba(85, 85, 85, 0.6), rgba(0, 0, 0, 0.8)),
    url(img/hero2.png);
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-text {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
  border-bottom: 8px solid;
  border-image: linear-gradient(90deg, #3d250573, #2a8af8a2, #3d25055d) 1;
}
.hero-title {
  margin-top: 0;
  font-size: 5.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 50%, #eaf0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7),
    0 0 7px rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 50%, #eaf0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.7),
    0 0 8px rgba(255, 255, 255, 0.4);
  font-weight: 500;
}
.hero-button-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: absolute;
  bottom: 5%;
}
.hero-button-text {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 50%, #eaf0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.7),
    0 0 8px rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin: 0;
}
.hero-button {
  font-size: 2rem;
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.hero-button:hover {
  background-color: #0077ff;
  transform: scale(1.1);
}

/* Секция проблемы */

.problem-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.9rem;
  justify-content: center;
  text-align: center;
}
.problem-list-card-img {
  max-width: 100px;
  max-height: 100px;
  margin-bottom: 0.5rem;
}
.problem-list-card {
  background: linear-gradient(45deg, #f9f9f9, #dcdcdc);
  padding: 1rem;
  border-radius: 8px;
  width: 25%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  margin-top: 25px;
}
.problem-list-card:hover {
  transform: scale(1.1);
}
.problem-list-card-title {
  font-size: 1.9rem;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
.problem-list-card-text {
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

*/
/* Функции платформы */
.features-section {
  margin: 0 auto;
  padding: 20px 20px;
  text-align: left;
  width: 96%;
}
.features-section-title {
  margin-bottom: 2rem;
}
.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  transition: box-shadow 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.feature-item:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.feature-content {
  max-width: 65%;
}

.feature-list-card-title {
  font-size: 2rem;
  margin-top: 0;
  font-weight: 700;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-list-card-text {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.feature-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-number {
  transform: scale(1.1);
}
/* Секция скриншоты */
.screenshots-section {
  max-width: 98%;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  position: relative;
}

.screenshot-item {
  position: relative;
  perspective: 1000px;
}

.screenshot-img {
  width: 100%;
  /* height: 400px; */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: rotateY(0deg) translateZ(0);
}

.screenshot-item:nth-child(odd) img {
  transform: rotateY(4deg) translateZ(0);
}

.screenshot-item:nth-child(even) img {
  transform: rotateY(-4deg) translateZ(0);
}

.screenshot-item:hover img {
  transform: rotateY(0deg) translateZ(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.screenshot-item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #f9f9f9, #dcdcdc);
  opacity: 0.1;
  border-radius: 12px;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.screenshot-item:hover::before {
  opacity: 0.2;
}

.screenshot-content {
  margin-top: 15px;
  text-align: left;
}

.screenshot-text {
  font-size: 1.3rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Секция сотрудничества с Kaspi.kz */
.collaboration-section {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  text-align: center;
  max-width: 98%;
  margin: 0 auto;
}

.collaboration-container {
  height: 100%;

  background: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
  -webkit-animation: fadeIn 0.6s ease-out forwards;
}

.collaboration-title {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* Резерв для неподдерживающих браузеров */
  margin-bottom: 1rem;
  position: relative;
}

.collaboration-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.collaboration-text {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.collaboration-image {
  height: 300px;

  border-radius: 8px;
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  -webkit-transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* 
.collaboration-image:hover {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
} */

/* Адаптивность */
@media (max-width: 1024px) {
  .collaboration-container {
    padding: 1.5rem;
  }

  .collaboration-title {
    font-size: 2rem;
  }

  .collaboration-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .collaboration-section {
    padding: 2rem 1rem;
  }

  .collaboration-title {
    font-size: 1.8rem;
  }

  .collaboration-text {
    font-size: 0.9rem;
  }

  .collaboration-image {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .collaboration-container {
    padding: 1rem;
  }

  .collaboration-title {
    font-size: 1.5rem;
  }

  .collaboration-text {
    font-size: 0.875rem;
  }

  .collaboration-image {
    max-width: 100%;
  }
}

/* Анимация из исходного CSS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Почему выбирают */
.why-choose-us {
  padding: 1rem 1rem;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  text-align: center;
}
.carousel {
  margin: 20px;
  padding: 15px;
  background: #fff;
  border: 2px solid #00f;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-width: 70%;
  margin: auto;
  margin-bottom: 5rem;
}
.slides {
  display: flex;
  transition: transform 0.5s;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  font-size: 2.5rem;
}
.slide-img {
  width: 130px;
  height: auto;
  margin-top: 10px;
}
.slide-text {
  color: #4b5563;
  font-size: 1.7rem;
}
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00f;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Калькулятор */
/* Стили для секции калькулятора */
.profit-calculator {
  padding: 4rem 1rem;
  background: linear-gradient(to right, #3b82f6, #6366f1);
  color: white;
  text-align: center;
}

.calculator-container {
  max-width: 48rem;
  margin: 0 auto;
  background: white;
  color: #1f2937;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profit-calculator h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.profit-calculator p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  outline: none;
}

.input-wrapper input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.input-wrapper span {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}

.currency-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.currency-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

/* Стиль 1: Синий */
.currency-button[data-style="style1"] {
  background: #e5e7eb;
  color: #1f2937;
}

.currency-button[data-style="style1"].active,
.currency-button[data-style="style1"]:hover {
  background: #3b82f6;
  color: white;
  transform: scale(1.05);
}

/* Стиль 2: Зелёный */
.currency-button[data-style="style2"] {
  background: #d1fae5;
  color: #065f46;
}

.currency-button[data-style="style2"].active,
.currency-button[data-style="style2"]:hover {
  background: #10b981;
  color: white;
  transform: scale(1.05);
}

/* Стиль 3: Фиолетовый */
.currency-button[data-style="style3"] {
  background: #ede9fe;
  color: #5b21b6;
}

.currency-button[data-style="style3"].active,
.currency-button[data-style="style3"]:hover {
  background: #8b5cf6;
  color: white;
  transform: scale(1.05);
}

.result {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
}

.result span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b82f6;
  margin-left: 0.5rem;
}
.period-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.period-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.period-button[data-style="style1"] {
  background: #e5e7eb;
  color: #1f2937;
}

.period-button[data-style="style1"].active,
.period-button[data-style="style1"]:hover {
  background: #3b82f6;
  color: white;
  transform: scale(1.05);
}

.period-button[data-style="style2"] {
  background: #d1fae5;
  color: #065f46;
}

.period-button[data-style="style2"].active,
.period-button[data-style="style2"]:hover {
  background: #10b981;
  color: white;
  transform: scale(1.05);
}

.period-button[data-style="style3"] {
  background: #ede9fe;
  color: #5b21b6;
}

.period-button[data-style="style3"].active,
.period-button[data-style="style3"]:hover {
  background: #8b5cf6;
  color: white;
  transform: scale(1.05);
}

.result {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
}

.result span {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: bold;
  color: #3b82f6;
  margin-left: 0.5rem;
}

/* Обновление медиазапросов для адаптивности */
@media (max-width: 1024px) {
  .currency-buttons,
  .period-buttons {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}

@media (max-width: 480px) {
  .currency-buttons,
  .period-buttons {
    grid-template-columns: 1fr; /* Одна колонка для маленьких экранов */
  }

  .currency-button,
  .period-button {
    padding: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
}

/* Как начать */

.how-to-start {
  padding: 1rem 1rem;
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  text-align: center;
}
.container {
  margin: 0 auto;
}
.section-title {
  color: #1a202c;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 95%;
  margin: 0 auto;
}
.step {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: slideIn 0.6s ease-out forwards;
  position: relative;
}
.step:nth-child(1) {
  animation-delay: 0.1s;
}
.step:nth-child(2) {
  animation-delay: 0.3s;
}
.step:nth-child(3) {
  animation-delay: 0.5s;
}
.step::before {
  content: "";
  position: absolute;
  left: -20px;
  width: 2px;
  height: 100%;
  background: linear-gradient(0deg, #2563eb, #7c3aed);
  opacity: 0.5;
}
.step:first-child::before {
  height: 50%;
  top: 50%;
}
.step:last-child::before {
  height: 50%;
  top: 0;
}
.step-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  margin-right: 1.5rem;
  min-width: 40px;
}
.step-content {
  text-align: left;
}
.step-title {
  font-size: 2.25rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
}
.step-description {
  font-size: 1.8rem;
  color: #4a5568;
}
.step-image {
  aspect-ratio: 5 / 3;
  max-width: 500px;
  max-height: 300px;
  margin-left: 1.5rem;
  border-radius: 8px;
}
.cta-button {
  display: inline-block;
  margin: 4.5rem 0;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: background 0.3s ease;
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
.cta-button:hover {
  background: linear-gradient(90deg, #1d4ed8, #6d28d9);
}
footer {
  background-color: #1a202c;
  color: #ffffff;
  padding: 1.8rem;
  text-align: center;
  letter-spacing: 3px;
  font-weight: 500;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  /* Мобильная версия */
  .hero-title {
    font-size: 4rem;
  }
  .hero-subtitle {
    font-size: 2rem;
  }
  .problem-list {
    flex-direction: column;
  }
  .problem-list-card {
    width: 90%;
    margin: auto;
  }
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-item {
    max-width: 900px;
    margin: 0 auto;
  }
  .step-image {
    max-width: 400px;
    max-height: 250px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.6rem;
  }

  .hero-button-text {
    font-size: 1.5rem;
  }

  .problem-list div,
  .feature-list div,
  .advantage-list div,
  .screenshot-list div {
    flex: 1 1 150px;
    width: 80%;
    margin: auto;
  }
  .collaboration-title {
    font-size: 2.5rem;
  }
  .step-image {
    display: none;
  }
  .feature-list-card-title {
    font-size: 1.8rem;
  }
  .slide-title {
    font-size: 1.8rem;
  }
  .slide-text {
    font-size: 1.4rem;
  }
  .slide-img {
    width: 150px;
  }
  .screenshot-img {
    height: 290px;
  }
  .features-section {
    padding: 0;
  }
  .feature-list-card-text {
    line-height: 1.2;
  }
  .screenshots-section {
    padding: 0;
  }
  .screenshot-item {
    max-width: 95%;
  }
  footer {
    font-size: 0.8rem;
  }
}
