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

html {
  scroll-behavior: smooth;
}

a { text-decoration: none; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #1D202A;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  padding: 0 2em;
}

.container {
  max-width: 1440px;
  /*max-width: 1920px;*/
  margin: 0 auto;
  /*padding: 0 20px;*/
}

header, footer {
  width: 100%;
  background: #181B23;
}

section {
  margin-bottom: 48px;
}

/* Placeholder for further styles */

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px; /* match mobile design paddings */
}

.header__logo img {
  height: clamp(2rem, 4vw, 2.5rem);
  width: auto;
  object-fit: contain;
}

/* Mobile Menu Button */
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(1.5rem, 4vw, 2rem);
  height: clamp(1.25rem, 3vw, 1.5rem);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: clamp(0.125rem, 0.5vw, 0.25rem);
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

/* Remove the X transformation animation */
.header__menu-btn.active span:nth-child(1) {
  /* Keep original hamburger line */
}

.header__menu-btn.active span:nth-child(2) {
  /* Keep original hamburger line */
}

.header__menu-btn.active span:nth-child(3) {
  /* Keep original hamburger line */
}

/* Desktop Navigation */
.header__nav ul {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.875rem, 2vw, 1rem);
  transition: color 0.2s;
  font-weight: 500;
}

.header__nav a:hover,
.header__nav a.active {
  color: #FFA726;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.btn {
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  border: none;
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn--primary {
  background: linear-gradient(22.64deg, #FF273F -58.21%, #FFB123 80.98%);
  color: #1D202A;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 39, 63, 0.3);
}

.btn--lang {
  background: #23263A;
  padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.5rem, 1.5vw, 0.75rem);
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
}

.btn--lang img {
  height: clamp(1rem, 2.5vw, 1.25rem);
  width: auto;
  object-fit: contain;
}

/* Mobile Menu Overlay */
.header__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.header__mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(280px, 80vw, 350px);
  height: 100%;
  background: #2F3441;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.header__mobile-menu.active .header__mobile-menu-content {
  transform: translateX(0);
}

/* Ensure only one close button is visible */
.header__mobile-menu *:not(.header__mobile-menu-close) {
  /* Hide any other potential close buttons or X symbols */
}

.header__mobile-menu-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: clamp(1.5rem, 4vw, 2rem);
  cursor: pointer;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  width: clamp(2.5rem, 6vw, 3rem);
  height: clamp(2.5rem, 6vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  position: relative;
  margin-right: clamp(0.5rem, 1.5vw, 0.75rem);
  z-index: 1002;
}

/* Mobile Menu Header */
.header__mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__mobile-menu-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: clamp(1.5rem, 4vw, 2rem);
  cursor: pointer;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  width: clamp(2.5rem, 6vw, 3rem);
  height: clamp(2.5rem, 6vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  position: relative;
  margin-right: clamp(0.5rem, 1.5vw, 0.75rem);
}

.header__mobile-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 300;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.header__mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.header__mobile-nav {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.header__mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.header__mobile-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 500;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header__mobile-nav a:hover,
.header__mobile-nav a.active {
  color: #FFA726;
}

/* Language Selector */
.header__language-selector {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(1.5rem, 4vw, 2rem);
}

.header__language-header {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  cursor: pointer;
}

.header__language-flag {
  width: clamp(1.5rem, 4vw, 2rem);
  height: clamp(1.5rem, 4vw, 2rem);
  object-fit: contain;
  border-radius: 2px;
}

.header__language-header span:first-of-type {
  color: #FFFFFF;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header__language-toggle {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.header__language-toggle.active {
  transform: rotate(180deg);
}

/* Language Options */
.header__language-options {
  background: rgba(255, 255, 255, 0.05);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  max-height: clamp(200px, 40vh, 300px);
  overflow-y: auto;
  display: none;
}

.header__language-options.active {
  display: block;
}

.header__language-option {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
}

.header__language-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header__language-option img {
  width: clamp(1.25rem, 3vw, 1.5rem);
  height: clamp(1.25rem, 3vw, 1.5rem);
  object-fit: contain;
  border-radius: 2px;
}

.header__language-option span {
  color: #FFFFFF;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 900px) {
  .header__nav,
  .header__actions {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .header__container { justify-content: space-between; }

  .header__logo {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .header__container {
    padding-top: clamp(0.75rem, 2vw, 1rem);
    padding-bottom: clamp(0.75rem, 2vw, 1rem);
  }

  .header__logo img {
    height: clamp(1.5rem, 6vw, 2rem);
  }

  .header__mobile-menu-content {
    width: clamp(250px, 85vw, 320px);
    padding: clamp(1rem, 3vw, 1.5rem) clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem) clamp(0.75rem, 2vw, 1rem);
  }

  .header__mobile-menu-header {
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1rem) 0;
  }

  .header__mobile-menu-close {
    width: clamp(2.25rem, 7vw, 2.75rem);
    height: clamp(2.25rem, 7vw, 2.75rem);
    padding: clamp(0.375rem, 1vw, 0.5rem);
    margin-right: clamp(0.25rem, 1vw, 0.5rem);
  }

  .header__mobile-nav ul {
    gap: clamp(0.75rem, 2vw, 1rem);
  }

  .header__mobile-nav a {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    padding: clamp(0.375rem, 1vw, 0.5rem) 0;
  }

  .header__language-selector {
    padding-top: clamp(1rem, 3vw, 1.5rem);
  }

  .header__language-header {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
  }

  .header__language-options {
    max-height: clamp(150px, 35vh, 250px);
    padding: clamp(0.75rem, 2vw, 1rem);
  }
}

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 2;
}

/* Content Section */
.hero__content {
  flex: 1;
  max-width: clamp(500px, 50vw, 700px);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.hero__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

.hero__accent {
  color: #F47B29;
}

.hero__description {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.2;
  color: #959CAD;
  margin: 0;
  max-width: clamp(400px, 45vw, 600px);
}

.hero__buttons {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

/* Button Styles */
.btn--agent {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  gap: clamp(0.25rem, 1vw, 0.375rem);
  background: linear-gradient(22.64deg, #FF273F -58.21%, #FFB123 80.98%);
  border: none;
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn--agent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 39, 63, 0.3);
}

.btn--telegram {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  gap: clamp(0.25rem, 1vw, 0.375rem);
  background: #FFFFFF;
  border: none;
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn--telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn--agent span,
.btn--telegram span {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
    color: #1D202A;
    text-decoration: none; /* remove underline */
}

.btn--telegram span {
  font-weight: 400;
    text-decoration: none;
}

/* Visual Section */
.hero__visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(400px, 60vh, 600px);
}

/* Background Shape */
.hero__bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 40vw, 500px);
  height: clamp(200px, 30vh, 300px);
  background: #F47B29;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.1;
  z-index: 1;
}

/* Phone Images */
.hero__phones {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__phone--1 {
  /*transform: rotate(-5deg);*/
  z-index: 3;
}

.hero__phone--2 {
  /*transform: rotate(8deg) translateX(-20px) translateY(30px);*/
  z-index: 2;
}

.hero__phone-img {
  /*width: clamp(150px, 20vw, 250px);*/
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Decorative Stars */
.hero__star {
  position: absolute;
  z-index: 1;
}

.hero__star-img {
  /*width: clamp(2rem, 4vw, 3rem);*/
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  animation: twinkle 3s ease-in-out infinite;
}

.hero__star--1 {
  /* Top-right small star near the orange board (matches design) */
  top: 66%;
  right: 0%;
}

.hero__star--2 {
  /* Bottom-right small star */
  bottom: 14%;
  left: -10%;
}

.hero__star--3 {
  /* Mid-left star between text and visual */
  top: 10%;
  left: 0%;
}


@keyframes twinkle {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Countries Section */
.countries__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-bottom: 48px;
}

.countries__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  flex-shrink: 0;
  max-width: 583px;
}

.countries__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 16px;
  flex: 1;
  scroll-behavior: smooth;
  /* Prevent desktop scrollbar track (white line) below flags */
  overflow-x: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide WebKit scrollbars (keeps scrolling functional) */
.countries__grid::-webkit-scrollbar {
  display: none;
  height: 0;
  background: transparent;
}

.country-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 24px;
  gap: 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
  min-width: 160px;
  max-width: 200px;
}

.country-item:hover {
  transform: translateY(-2px);
}

.country-item:nth-child(1),
.country-item:nth-child(6) {
  background: linear-gradient(95.55deg, #2F3B2E 4.43%, #1D202A 178.67%);
}

.country-item:nth-child(2),
.country-item:nth-child(5) {
  background: linear-gradient(96.09deg, #263449 4.82%, #1D202A 119.82%);
}

.country-item:nth-child(3),
.country-item:nth-child(4) {
  background: linear-gradient(97.5deg, #442930 5.82%, #1D202A 151.88%);
}

.country-item img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.country-name {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero__container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .hero__content {
    order: 1;
    width: 100%;
    align-items: center;
  }

  .hero__visual {
    order: 2;
    min-height: clamp(300px, 50vh, 400px);
    width: 100%;
    justify-content: center;
  }

  .hero__image img {
    max-width: 220px;
  }

  .countries__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .countries__title {
    font-size: 20px;
    max-width: none;
  }

  .countries__grid {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .country-item {
    padding: 10px 20px;
    min-width: 140px;
  }

  .country-name {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
    .header__container {
        flex-direction: row; /* keep items in one row */
        gap: 12px;
        align-items: center;
        justify-content: space-between;
    }
    /* reset centering from <=900 rule */
    .header__logo { margin: 0; }
    .header__logo img { height: clamp(1.75rem, 7vw, 2rem); }
    .header__button .btn--primary { padding: 0.5rem 0.9rem; font-size: 0.875rem; }

  .hero__content h1 {
    font-size: 28px;
  }

  .hero__container {
    /*padding: 32px 0 16px 0;*/
  }

  .countries__container {
    gap: 20px;
    /* Ensure container doesn't interfere with scroll */
    overflow: visible;
    position: relative;
  }

  .countries__title {
    font-size: 16px;
    line-height: 121%;
  }

  /* Debug styles - remove after testing */
  .countries__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 8px;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
    cursor: grab;
    /* Ensure proper height for mobile */
    min-height: 80px;
    align-items: center;
    /* Force scroll to work */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Ensure content is scrollable */
    max-width: 100vw;
    /*margin-left: -20px;*/
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    /* Force scroll on mobile */
    overflow-x: scroll !important;
    -webkit-overflow-scrolling: touch !important;

  }

  .countries__grid:active {
    cursor: grabbing;
  }

  .countries__grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }

  /* Add scroll indicators */
  .countries__grid::before,
  .countries__grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 1;
  }

  .countries__grid::before {
    left: 0;
    background: linear-gradient(to right, rgba(24, 27, 35, 1), rgba(24, 27, 35, 0));
    opacity: var(--show-left-indicator, 1);
    transition: opacity 0.3s ease;
  }

  .countries__grid::after {
    /*right: 0;*/
    /*background: linear-gradient(to left, rgba(24, 27, 35, 1), rgba(24, 27, 35, 0));*/
    /*opacity: var(--show-right-indicator, 1);*/
    /*transition: opacity 0.3s ease;*/
  }

  .country-item {
    padding: 8px 16px;
    gap: 8px;
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
    /* Ensure proper touch target size */
    min-height: 60px;
    /* Improve touch interaction */
    touch-action: pan-y pinch-zoom;
    /* Ensure proper display */
    display: flex;
    align-items: center;
    /* Add scroll snap */
    scroll-snap-align: start;
  }

  .country-item img {
    width: 32px;
    height: 32px;
    /* Ensure images are properly sized */
    object-fit: contain;
    flex-shrink: 0;
  }

  .country-name {
    font-size: 12px;
    line-height: 121%;
    /* Ensure text doesn't wrap */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Add visual feedback for touch */
  .country-item:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

/* Features Section */
.features {
  margin-bottom: 80px;
}

.features__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}

.features__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  margin: 0;
}

.features__description {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #959CAD;
  margin: 0;
  max-width: 949px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: #2F3441;
  border-radius: 20px;
  padding: 34px 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 316px;
}

.feature-card__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 90px;
}

.feature-card__icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-bg {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  top: 0;
  left: 0;
  z-index: 1;
}

/* New color scheme by design */
.feature-card__icon--yellow .icon-bg { background: rgba(254, 205, 68, 0.4); }
.feature-card__icon--blue .icon-bg { background: rgba(57, 134, 232, 0.4); }
.feature-card__icon--pink .icon-bg { background: rgba(254, 55, 192, 0.4); }
.feature-card__icon--green .icon-bg { background: rgba(43, 182, 101, 0.5); }

/* Icon styles with images */
.icon-image {
  position: relative;
  width: 52px;
  height: 52px;
  object-fit: contain;
  z-index: 2;
}

.feature-card__number {
  font-family: 'Gilroy-Medium', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 74px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #FE8112;
  height: 90px;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.feature-card__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  margin: 0;
}

.feature-card__description {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 121%;
  display: flex;
  align-items: center;
  color: #959CAD;
  margin: 0;
  max-width: 715px;
}

@media (max-width: 1200px) {
  .features__grid {
    gap: 24px;
  }

  .feature-card {
    padding: 28px 36px;
    min-height: 280px;
  }

  .feature-card__number {
    font-size: 64px;
  }

  .feature-card__title {
    font-size: 28px;
  }

  .feature-card__description {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features__title {
    font-size: 28px;
  }

  .features__description {
    font-size: 20px;
  }

  .feature-card {
    padding: 24px 28px;
    min-height: auto;
  }

  .feature-card__header {
    height: 70px;
  }

  .feature-card__icon {
    width: 60px;
    height: 60px;
  }

  .icon-bg {
    width: 60px;
    height: 60px;
  }

  .icon-image {
    width: 44px;
    height: 44px;
  }

  .feature-card__number {
    font-size: 56px;
    height: 70px;
  }

  .feature-card__title {
    font-size: 24px;
  }

  .feature-card__description {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .features {
    margin-bottom: 60px;
  }

  .features__header {
    gap: 16px;
    margin-bottom: 32px;
  }

  .features__title {
    font-size: 24px;
  }

  .features__description {
    font-size: 18px;
  }

  .features__grid {
    gap: 20px;
  }

  .feature-card {
    padding: 20px 24px;
  }

  .feature-card__header {
    height: 60px;
  }

  .feature-card__icon {
    width: 50px;
    height: 50px;
  }

  .icon-bg {
    width: 50px;
    height: 50px;
  }

  .icon-image {
    width: 36px;
    height: 36px;
  }

  .feature-card__number {
    font-size: 48px;
    height: 60px;
  }

  .feature-card__title {
    font-size: 20px;
  }

  .feature-card__description {
    font-size: 14px;
  }
}

/* App Benefits Section */
.app-benefits__container {
  display: flex;
  align-items: stretch;
  /*gap: 2rem;*/
  padding: 80px 0;
  position: relative;
  min-height: 600px; /* Ensure minimum height for proper alignment */
}

.app-benefits__visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 20%; /* Prevents flex item from overflowing */
  /*height: 100%;*/
}

.phone-container {
  position: relative;
  transform: rotate(6deg);
}

.app-benefits__phone {
  /*max-width: 257px;*/
  width: 100%;
  height: auto;
  display: block;
}

.payment-request-card {
  position: absolute;
  width: 227px;
  height: 124px;
  background: #FFB800;
  border-radius: 13px;
  transform: rotate(-17.85deg);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.payment-request-card--top {
  top: 50px;
  right: -141px;
}

.payment-request-card--bottom {
  top: 218px;
  right: -141px;
}

.payment-request-icon {
  width: 49px;
  height: 49px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-request-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.payment-request-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 19px;
  line-height: 151%;
  color: rgba(255, 255, 255, 0.75);
}

.flow-line {
  /*position: absolute;*/
  pointer-events: none;
  object-fit: contain;
}

.flow-line-1 {
  width: clamp(200px, 40vw, 400px);
  height: auto;
  /*position: absolute;*/
  top: 20%;
  left: 50%;
  /*transform: translateX(-50%);*/
  z-index: 1;
}

.flow-line-2 {
  width: 209px;
  height: 91px;
  top: 53px;
  left: 1407px;
  /*transform: rotate(51.34deg);*/
}

.app-benefits__content {
  /*flex: 1;*/
  display: flex;
  flex-direction: column;
  gap: 1em;
  min-width: 0; /* Prevents flex item from overflowing */
  /*height: 100%;*/
}

.app-benefits__text {
  /*flex: 1;*/
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 0; /* Prevents flex item from overflowing */
  /*height: 100%;*/
  gap: 60px;
  padding-top: 8%;
  max-width: 33%;
}

.app-benefits__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-benefits__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 121%;
  color: #FFFFFF;
  margin: 0;
}

.app-benefits__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-benefits__list p {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 151%;
  color: #959CAD;
  margin: 0;
  position: relative;
  padding-left: 20px;
}

.app-benefits__list p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: #959CAD;
  border-radius: 50%;
}

.transaction-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  position: relative;
}

.transaction-card {
  width: clamp(300px, 26vw, 378px);
  height: clamp(120px, 12vw, 150px);
  background: linear-gradient(262.51deg, rgba(255, 255, 255, 0.084) 3.28%, rgba(255, 255, 255, 0.259) 96.65%);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  position: relative;
}

.transaction-card--payout {
  width: clamp(300px, 24vw, 355px);
  /*margin-left: clamp(60px, 8vw, 135px);*/
}

.transaction-amount {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 121%;
  color: #FFFFFF;
  /*text-align: center;*/
}

.transaction-status {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 9px;
  min-height: 39px;
  /*width: clamp(260px, 92%, 350px);*/
  margin: 0 auto;
}

.transaction-card--first {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.transaction-card--second {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
}

.transaction-card--topup .transaction-status {
  background: rgba(57, 134, 232, 0.6);
}

.transaction-card--topup .transaction-status span {
  color: #00CCFF;
}

/* Make topup card semi-transparent as per design */
.transaction-card--topup {
  opacity: 0.75;
}

.transaction-card--payout .transaction-status {
  background: rgba(43, 182, 101, 0.65);
}

.transaction-card--payout .transaction-status span {
  color: #00FF6A;
}

/* Make payout card semi-transparent as per design */
.transaction-card--payout {
  opacity: 0.75;
}

.transaction-status span {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 121%;
  text-align: center;
}

.income-card {
  width: clamp(260px, 24vw, 300px);
  height: clamp(260px, 24vw, 300px);
  background: #2F3441;
  border-radius: 25px;
  padding: clamp(24px, 3vw, 37px) clamp(16px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 23px rgba(0, 0, 0, 0.25);
  position: relative;
}

.income-icon {
  width: 71px;
  height: 71px;
  /*background: #2BB665;*/
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.income-icon img {
  width: 42px;
  height: 35px;
  object-fit: contain;
}

.income-amount {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 121%;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 10px;
}

.income-label {
  font-family: 'Gilroy-Medium', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 121%;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: clamp(16px, 2vw, 30px);
}

.btn--withdraw {
  width: clamp(220px, 80%, 280px);
  height: clamp(44px, 5vh, 54px);
  background: #404759;
  border: none;
  border-radius: 9px;
  font-family: 'Gilroy-Medium', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 121%;
  color: #FDFDFB;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn--withdraw:hover {
  background: #4A5568;
}

.agent-info__container {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

/* Left Column - Main Card */
.agent-info__main-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(3rem, 6vw, 4.5rem);
  gap: clamp(3rem, 6vw, 4.5rem);
  background: rgba(244, 123, 41, 0.3);
  border-radius: clamp(1rem, 2vw, 1.25rem);
  max-width: clamp(400px, 35vw, 500px);
}

.agent-info__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0;
}

.agent-info__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  width: 100%;
}

.btn--agent {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  gap: clamp(0.25rem, 1vw, 0.375rem);
  width: 100%;
  max-width: clamp(150px, 20vw, 200px);
  height: clamp(2.5rem, 5vh, 3rem);
  background: linear-gradient(22.64deg, #FF273F -58.21%, #FFB123 80.98%);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.btn--telegram {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  gap: clamp(0.25rem, 1vw, 0.375rem);
  width: 100%;
  max-width: clamp(120px, 15vw, 150px);
  height: clamp(2.5rem, 5vh, 3rem);
  background: #FFFFFF;
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.btn-icon {
  /*width: clamp(1.25rem, 2.5vw, 1.5rem);*/
  /*height: clamp(1.25rem, 2.5vw, 1.5rem);*/
  object-fit: contain;
}

.btn--agent span {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #000000;
}

.btn--telegram span {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #1D202A;
}

/* Right Column - Cards Grid */
.agent-info__cards-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  /*max-width: clamp(600px, 50vw, 800px);*/
}

.agent-info__card {
  position: relative;
  background: #2F3441;
  border-radius: clamp(1rem, 2vw, 1.25rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  overflow: hidden;
  min-height: clamp(150px, 25vh, 200px);
}

.agent-info__card--4 {
  background: rgba(244, 123, 41, 0.3);
}

.agent-info__card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.25rem);
  width: 70%;
  position: relative;
  z-index: 2;
}

.agent-info__card.agent-info__card--4 .agent-info__card-content {
  width: 100%;
}

.agent-info__card-content p {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #959CAD;
  margin: 0;
}

.agent-info__card--4 .agent-info__card-content p {
  color: #FFFFFF;
}

.agent-info__card-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  gap: clamp(0.25rem, 1vw, 0.375rem);
  width: clamp(2rem, 4vw, 2.5rem);
  height: clamp(2rem, 4vw, 2.5rem);
  background: linear-gradient(262.51deg, rgba(255, 255, 255, 0.084) 3.28%, rgba(255, 255, 255, 0.259) 96.65%);
  backdrop-filter: blur(5px);
  border-radius: clamp(0.5rem, 1vw, 0.625rem);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.agent-info__card-btn:hover {
  transform: scale(1.05);
}

.card-btn-icon {
  /*width: clamp(1rem, 2vw, 1.25rem);*/
  /*height: clamp(1rem, 2vw, 1.25rem);*/
  object-fit: contain;
}

.agent-info__card-image {
  position: absolute;
  right: 0;
  /*top: 50%;*/
  bottom: 0;
  /*transform: translateY(-50%) rotate(-15deg);*/
  /*width: clamp(5rem, 15vw, 8rem);*/
  width: 44%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  opacity: 0.8;
}

@media (max-width: 1200px) {
  .app-benefits__container {
    /*gap: 60px;*/
    padding: 60px 0;
    min-height: 500px;
  }

  .agent-info__container {
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  .agent-info__main-card {
    max-width: clamp(350px, 30vw, 450px);
  }

  .agent-info__cards-grid {
    max-width: clamp(500px, 45vw, 700px);
  }

  .app-benefits__phone {
    max-width: 220px;
  }

  .payment-request-card--top {
    top: 40px;
    right: -100px;
  }

  .payment-request-card--bottom {
    top: 160px;
    right: -100px;
  }

  .transaction-card {
    /*width: 320px;*/
    /*height: 130px;*/
  }

  .transaction-card--payout {
    width: 300px;
    margin-left: 100px;
  }

  .income-card {
    width: 280px;
    height: 280px;
  }

  .flow-line-1 {
    width: 350px;
    height: 120px;
  }

  .flow-line-2 {
    width: 160px;
    height: 70px;
  }
}

@media (max-width: 900px) {
  .app-benefits__container {
    flex-direction: column;
    /*gap: 40px;*/
    padding: 40px 0;
    min-height: auto;
  }

  .agent-info__container {
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  .agent-info__main-card {
    max-width: none;
    width: 100%;
  }

  .agent-info__cards-grid {
    max-width: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .agent-info__card {
    min-height: clamp(120px, 20vh, 180px);
  }

  .app-benefits__visual {
    order: 2;
    flex: none;
    width: 100%;
    height: auto;
  }

  .app-benefits__text {
    order: 1;
    flex: none;
    width: 100%;
    height: auto;
    justify-content: space-between;
  }

  .app-benefits__content {
    order: 3;
    gap: 40px;
    flex: none;
    width: 100%;
    height: auto;
  }

  .phone-container {
    transform: rotate(10deg);
  }

  .app-benefits__phone {
    max-width: 200px;
  }

  .payment-request-card--top {
    top: 30px;
    right: -80px;
    transform: rotate(-12deg);
  }

  .payment-request-card--bottom {
    width: 180px;
    height: 100px;
    top: 130px;
    right: -80px;
    transform: rotate(-12deg);
    padding: 0 15px;
  }

  .payment-request-text {
    font-size: 16px;
  }

  .transaction-cards {
    align-items: center;
  }

  .transaction-card {
    width: 280px;
    height: 120px;
    padding: 20px;
  }

  .transaction-card--payout {
    width: 260px;
    margin-left: 60px;
  }

  .transaction-amount {
    font-size: 36px;
  }

  .transaction-status span {
    font-size: 14px;
  }

  .income-card {
    width: 240px;
    height: 240px;
    padding: 30px 20px;
  }

  .income-amount {
    font-size: 44px;
  }

  .income-label {
    font-size: 20px;
  }

  .btn--withdraw {
    width: 220px;
    height: 48px;
    font-size: 20px;
  }

  .flow-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .app-benefits__container {
    /*gap: 30px;*/
    padding: 30px 0;
    min-height: auto;
  }

  .agent-info__container {
    gap: clamp(1.5rem, 3vw, 2rem);
    padding: clamp(1.5rem, 3vw, 2rem) 0;
  }

  .agent-info__main-card {
    padding: clamp(2rem, 4vw, 3rem);
    gap: clamp(2rem, 4vw, 3rem);
  }

  .agent-info__title {
    font-size: clamp(1.25rem, 5vw, 2rem);
  }

  .agent-info__buttons {
    gap: clamp(0.75rem, 2vw, 1rem);
  }

  .btn--agent,
  .btn--telegram {
    max-width: none;
    width: 100%;
  }

  .agent-info__card {
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
    min-height: clamp(100px, 15vh, 150px);
  }

  .agent-info__card-content p {
    font-size: clamp(0.875rem, 3vw, 1rem);
  }

  .agent-info__card-image {
    /*width: clamp(4rem, 12vw, 6rem);*/
    right: clamp(-1.5rem, -4vw, -2rem);
  }

  .app-benefits__visual,
  .app-benefits__text,
  .app-benefits__content {
    width: 100%;
    flex: none;
    height: auto;
  }

  .app-benefits__text {
    justify-content: center;
  }

  .flow-line-1 {
    width: clamp(150px, 30vw, 250px);
    top: 10%;
  }

  .app-benefits__title {
    font-size: 28px;
  }

  .app-benefits__list p {
    font-size: 18px;
  }

  .phone-container {
    transform: rotate(5deg);
  }

  .app-benefits__phone {
    max-width: 160px;
  }

  .payment-request-card--top {
    width: 140px;
    height: 80px;
    top: 20px;
    right: -60px;
    transform: rotate(-8deg);
    padding: 0 15px;
  }

  .payment-request-card--bottom {
    width: 140px;
    height: 80px;
    top: 100px;
    right: -60px;
    transform: rotate(-8deg);
    padding: 0 15px;
  }

  .payment-request-icon {
    width: 35px;
    height: 35px;
  }

  .payment-request-icon img {
    width: 24px;
    height: 24px;
  }

  .payment-request-text {
    font-size: 14px;
  }

  .transaction-card {
    width: 240px;
    height: 100px;
    padding: 16px;
  }

  .transaction-card--payout {
    width: 220px;
    margin-left: 40px;
  }

  .transaction-amount {
    font-size: 28px;
  }

  .transaction-status {
    padding: 8px;
    min-height: 32px;
  }

  .transaction-status span {
    font-size: 12px;
  }

  .income-card {
    width: 200px;
    height: 200px;
    padding: 24px 16px;
  }

  .income-icon {
    width: 50px;
    height: 50px;
  }

  .income-icon img {
    width: 30px;
    height: 25px;
  }

  .income-amount {
    font-size: 36px;
  }

  .income-label {
    font-size: 18px;
  }

  .btn--withdraw {
    width: 180px;
    height: 44px;
    font-size: 18px;
  }
}

.steps__container {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.steps__title {
  text-align: center;
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Desktop Grid */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin-bottom: 0;
}

.step-card {
  background: #2F3441;
  border-radius: clamp(1rem, 2vw, 1.25rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  min-height: clamp(300px, 40vh, 400px);
}

.step-card__image {
  width: 100%;
  max-width: clamp(200px, 25vw, 300px);
  height: clamp(150px, 20vh, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  width: 100%;
}

.step-card__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

.step-card__desc {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.4;
  color: #959CAD;
  margin: 0;
}

/* Mobile Slider */
.steps__slider {
  display: none;
  position: relative;
  width: 100%;
  max-width: clamp(300px, 90vw, 500px);
  margin: 0 auto;
}

.steps__slider-container {
  position: relative;
  width: 100%;
  height: clamp(400px, 60vh, 500px);
  overflow: hidden;
}

.step-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
  background: #2F3441;
  border-radius: clamp(1rem, 2vw, 1.25rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.step-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.step-slide__image {
  width: 100%;
  max-width: clamp(200px, 60vw, 300px);
  height: clamp(150px, 30vh, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-slide__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  width: 100%;
}

.step-slide__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

.step-slide__desc {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.4;
  color: #959CAD;
  margin: 0;
}

/* Slider Navigation */
.steps__slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.steps__slider-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: clamp(2.5rem, 6vw, 3rem);
  height: clamp(2.5rem, 6vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #FFFFFF;
}

.steps__slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.steps__slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.steps__slider-dots {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.steps__slider-dot {
  width: clamp(0.5rem, 2vw, 0.75rem);
  height: clamp(0.5rem, 2vw, 0.75rem);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.steps__slider-dot.active {
  background: #F47B29;
  transform: scale(1.2);
}

.steps__slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1200px) {
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .step-card {
    min-height: clamp(250px, 35vh, 350px);
  }
}

@media (max-width: 900px) {
  .steps__grid {
    display: none;
  }

  .steps__slider {
    display: block;
  }

  .steps__title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 600px) {
  .steps__container {
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  .steps__title {
    font-size: clamp(1.125rem, 6vw, 1.5rem);
    margin-bottom: clamp(1rem, 3vw, 2rem);
  }

  .steps__slider {
    max-width: clamp(280px, 95vw, 400px);
  }

  .steps__slider-container {
    height: clamp(350px, 50vh, 450px);
  }

  .step-slide {
    padding: clamp(1rem, 3vw, 1.5rem);
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .step-slide__image {
    max-width: clamp(180px, 70vw, 250px);
    height: clamp(120px, 25vh, 180px);
  }

  .step-slide__title {
    font-size: clamp(0.875rem, 4vw, 1.125rem);
  }

  .step-slide__desc {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
  }

  .steps__slider-nav {
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin-top: clamp(1rem, 3vw, 1.5rem);
  }

  .steps__slider-btn {
    width: clamp(2rem, 8vw, 2.5rem);
    height: clamp(2rem, 8vw, 2.5rem);
  }

  .steps__slider-dots {
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }

  .steps__slider-dot {
    width: clamp(0.375rem, 2.5vw, 0.5rem);
    height: clamp(0.375rem, 2.5vw, 0.5rem);
  }
}

.contact-form__container {
  background: #2F3441;
  border-radius: clamp(1rem, 2vw, 1.25rem);
  padding: clamp(2rem, 4vw, 3rem);
  margin: clamp(2rem, 4vw, 3rem) auto 0 auto;
  /*max-width: clamp(800px, 90vw, 1200px);*/
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-form__title {
  font-family: 'Gilroy-Bold', 'Inter', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-form__form {
  width: 100%;
}

.contact-form__fields {
  display: flex;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.contact-form__column {
  flex: 1;
  min-width: clamp(280px, 40vw, 400px);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  width: 100%;
}

.contact-form__label {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.2;
  color: #959CAD;
  margin: 0;
}

.contact-form__input {
  width: 100%;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
  border: 1px solid #5B6375;
  background: #464C5C;
  color: #FFFFFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input::placeholder {
  color: #959CAD;
}

.contact-form__input:focus {
  outline: none;
  border-color: #FE8112;
  box-shadow: 0 0 0 2px rgba(254, 129, 18, 0.2);
}

.contact-form__disclaimer {
  margin-top: auto;
}

.contact-form__disclaimer p {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.2;
  color: #959CAD;
  margin: 0;
}

.btn--submit {
  width: 100%;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  background: linear-gradient(22.64deg, #FF273F -58.21%, #FFB123 80.98%);
  /*background: #FFB123;*/
  border: none;
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #000000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: auto;
}

.btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 39, 63, 0.3);
}

/* Contact Information */
.contact-form__contacts {
  display: flex;
  gap: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.contact-form__contact-item {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.375rem);
}

.contact-form__contact-icon {
  width: clamp(1.25rem, 2.5vw, 1.5rem);
  height: clamp(1.25rem, 2.5vw, 1.5rem);
  object-fit: contain;
}

.contact-form__contact-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #FFFFFF;
}

@media (max-width: 1200px) {
  .contact-form__container {
    max-width: clamp(700px, 85vw, 900px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
  }

  .contact-form__fields {
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  .contact-form__column {
    min-width: clamp(250px, 35vw, 350px);
  }
}

@media (max-width: 900px) {
  .contact-form__container {
    max-width: clamp(600px, 90vw, 700px);
    padding: clamp(1.5rem, 4vw, 2rem);
  }

  .contact-form__title {
    font-size: clamp(1.125rem, 5vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
  }

  .contact-form__fields {
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  .contact-form__column {
    min-width: none;
    width: 100%;
  }

  .contact-form__contacts {
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 2rem);
  }
}

@media (max-width: 600px) {
  .contact-form__container {
    max-width: clamp(320px, 95vw, 500px);
    padding: clamp(1rem, 3vw, 1.5rem);
    margin: clamp(1rem, 3vw, 1.5rem) auto 0 auto;
    border-radius: clamp(0.25rem, 1vw, 0.5rem);
  }

  .contact-form__title {
    font-size: clamp(1rem, 6vw, 1.25rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  .contact-form__fields {
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  .contact-form__column {
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .contact-form__field {
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }

  .contact-form__label {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
  }

  .contact-form__input {
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 3vw, 1rem);
    font-size: clamp(0.75rem, 3vw, 0.875rem);
  }

  .contact-form__disclaimer p {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
  }

  .btn--submit {
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 3vw, 1rem);
    font-size: clamp(0.75rem, 3vw, 1rem);
  }

  .contact-form__contacts {
    flex-direction: column;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1rem);
  }

  .contact-form__contact-item {
    gap: clamp(0.25rem, 1.5vw, 0.375rem);
  }

  .contact-form__contact-icon {
    width: clamp(1rem, 4vw, 1.25rem);
    height: clamp(1rem, 4vw, 1.25rem);
  }

  .contact-form__contact-text {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
  }
}

.footer {
  background: #181B23;
  border-top: 1px solid #23263A;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding: 12px 16px; /* match header mobile padding */
}

/* Left Section - Logo and Copyright */
.footer__left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  flex-shrink: 0;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: clamp(2rem, 4vw, 3rem);
  width: auto;
  object-fit: contain;
}

.footer__copyright {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #959CAD;
  white-space: nowrap;
}

/* Right Section - Contact and Button */
.footer__right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  flex-shrink: 0;
}

.footer__contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.375rem);
}

.footer__contact-icon {
  width: clamp(1.25rem, 2.5vw, 1.5rem);
  height: clamp(1.25rem, 2.5vw, 1.5rem);
  object-fit: contain;
}

.footer__contact-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #FFFFFF;
  white-space: nowrap;
}

/* Agent Button */
.btn--agent {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  gap: clamp(0.25rem, 1vw, 0.375rem);
  background: linear-gradient(22.64deg, #FF273F -58.21%, #FFB123 80.98%);
  border: none;
  border-radius: clamp(0.25rem, 1vw, 0.5rem);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn--agent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 39, 63, 0.3);
}

.btn__icon {
  /*width: clamp(1.25rem, 2.5vw, 1.5rem);*/
  /*height: clamp(1.25rem, 2.5vw, 1.5rem);*/
  object-fit: contain;
}

.btn--agent span {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.2;
  color: #1D202A;
}

@media (max-width: 1200px) {
  .footer__container {
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  .footer__left {
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .footer__right {
    gap: clamp(1.5rem, 3vw, 2rem);
  }
}

@media (max-width: 900px) {
  .footer {
    padding: clamp(1.5rem, 4vw, 2rem) 0;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
  }

  .footer__left {
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .footer__right {
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .footer__copyright {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: clamp(1rem, 3vw, 1.5rem) 0;
  }

  .footer__container {
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .footer__left {
    gap: clamp(0.75rem, 2vw, 1rem);
  }

  .footer__logo-img {
    height: clamp(1.5rem, 6vw, 2rem);
  }

  .footer__copyright {
    font-size: clamp(0.625rem, 3vw, 0.75rem);
  }

  .footer__right {
    gap: clamp(0.75rem, 2vw, 1rem);
  }

  .footer__contact-item {
    gap: clamp(0.25rem, 1.5vw, 0.375rem);
  }

  .footer__contact-icon {
    width: clamp(1rem, 4vw, 1.25rem);
    height: clamp(1rem, 4vw, 1.25rem);
  }

  .footer__contact-text {
    font-size: clamp(0.625rem, 3vw, 0.75rem);
  }

  .btn--agent {
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 3vw, 1rem);
    gap: clamp(0.25rem, 1.5vw, 0.375rem);
  }

  .btn__icon {
    width: clamp(1rem, 4vw, 1.25rem);
    height: clamp(1rem, 4vw, 1.25rem);
  }

  .btn--agent span {
    font-size: clamp(0.625rem, 3vw, 0.75rem);
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: clamp(3rem, 6vw, 5rem) 0;
  }

  .hero__container {
    gap: clamp(2rem, 4vw, 3rem);
  }

  .hero__title {
    font-size: clamp(1.75rem, 5vw, 3rem);
  }

  .hero__description {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
  }

  .hero__phone-img {
    /*width: clamp(120px, 18vw, 200px);*/
  }

  .hero__bg-shape {
    width: clamp(250px, 35vw, 400px);
    height: clamp(150px, 25vh, 250px);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  .hero__container {
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
    text-align: center;
  }

  .hero__content {
    max-width: none;
    width: 100%;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    text-align: center;
  }

  .hero__description {
    font-size: clamp(0.875rem, 3vw, 1.125rem);
    text-align: center;
    max-width: none;
  }

  .hero__buttons {
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1rem);
  }

  .hero__visual {
    order: -1;
    min-height: clamp(300px, 50vh, 400px);
  }

  .hero__phone--1 {
    transform: rotate(-3deg);
  }

  .hero__phone--2 {
    transform: rotate(5deg) translateX(-15px) translateY(20px);
  }

  .hero__phone-img {
    /*width: clamp(100px, 25vw, 180px);*/
  }

  .hero__bg-shape {
    width: clamp(200px, 50vw, 300px);
    height: clamp(120px, 30vh, 200px);
  }

  .hero__star--1 {
    top: 10%;
    right: 8%;
  }

  .hero__star--2 {
    bottom: 12%;
    right: 6%;
  }

  .hero__star--3 {
    top: 28%;
    left: 4%;
  }

  .app-benefits__text {
    max-width: unset;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: clamp(3rem, 4vw, 2rem) 0;
  }

  .hero__container {
    gap: clamp(1.5rem, 4vw, 2rem);
    align-items: center;
  }

  .hero__content {
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .hero__title {
    font-size: clamp(1.25rem, 8vw, 2rem);
  }

  .hero__description {
    font-size: clamp(0.75rem, 4vw, 1rem);
  }

  .hero__buttons {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.75rem, 2vw, 1rem);
    flex-wrap: nowrap;
    width: 100%;
  }

  .btn--agent,
  .btn--telegram {
    /*width: auto;*/
    max-width: none;
    justify-content: center;
  }

  .hero__content {
    order: 1;
    width: 100%;
    align-items: center;
  }

  .hero__visual {
    order: 2;
    min-height: clamp(250px, 40vh, 350px);
    width: 100%;
    justify-content: center;
  }

  .hero__phone--1 {
    transform: rotate(-2deg);
  }

  .hero__phone--2 {
    transform: rotate(3deg) translateX(-10px) translateY(15px);
  }

  .hero__phone-img {
    /*width: clamp(80px, 30vw, 150px);*/
    width: 100%;
  }

  .hero__bg-shape {
    width: clamp(150px, 60vw, 250px);
    height: clamp(80px, 25vh, 150px);
  }

  .hero__star-img {
    width: clamp(1.5rem, 6vw, 2rem);
  }

  .hero__star--1 {
    top: 50%;
    right: 0%;
  }

  .hero__star--2 {
    bottom: -5%;
    left: -82%;
  }

  .hero__star--3 {
    top: -60%;
    right: -81%;
  }

  .hero__star--3 .hero__star-img {
    width: 7%;
  }

  .app-benefits__text {
    max-width: unset;
  }
}