/* main.css */
/* Вставьте сюда ваш текущий index.css без изменений.
   Ниже — точная копия предоставленных стилей. */

/* =========================
   Base / Page
========================= */

.page-content {
	padding-bottom: 50px;
}

.footer__bottom a {
	color: white!important;
	text-decoration: none!important;
}

.main-page {
  width: 100%;
  overflow: hidden;
}

.section {
  position: relative;
  width: 100%;
  padding: 131px 0 0;
}

.section__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section--hero {
  background: var(--color-whitesmoke-100);
  padding-top: 10px;
  padding-bottom: 90px;
}

.section--light {
  background: var(--color-white);
}

.section--lavender {
  background: var(--color-lavender-100);
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--footer {
  background: var(--color-black);
  color: var(--color-white);
  padding-top: 60px;
  padding-bottom: 24px;
}

/* =========================
   Generic Typography / UI
========================= */
h1,
h2 {
  margin: 0 0 24px;
  font-size: var(--fs-55);
  line-height: var(--lh-71);
  font-weight: 800;
}

h3 {
  margin: 0;
}

p {
  margin: 0;
  font-size: var(--fs-20);
  line-height: var(--lh-28);
  color: var(--color-gray-400);
}

.section--dark p {
  color: var(--color-gray-300);
}

.btn {
  border: 0;
  border-radius: var(--br-60);
  padding: 13px 22px 17px;
  font-family: var(--font-mulish);
  font-size: var(--fs-20);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display:inline-block;
}

.btn--sm {
  font-size: var(--fs-16);
  padding: 10px 15px 12px;
}

.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: var(--shadow-drop);
}

.btn--dark:hover {
  background: var(--color-darkslategray);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-black);
}

.btn--light:hover {
  background: var(--color-gainsboro);
}

/* =========================
   Header / Brand (common)
========================= */
.main-header {
  padding: 11px 50px;
  background: #f4f4f4;
}

.main-header-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1366px;
  margin: 0 auto;    
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.brand__title {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
}

/* =========================
   HERO
========================= */
.hero-outer {
  position: relative;
  background: #f4f4f4;
  overflow: hidden;
  padding: 11px 0 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 1102px;
  object-fit: cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.main-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.main-brand {
  margin: 0;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  color: #000;
}

.main-login-btn {
  border: 0;
  min-width: 90px;
  padding: 0 15px;
  height: 40px;
  border-radius: 60px;
  background: #000;
  color: #fff;
  font: 600 16px/28px Mulish, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-title-wrap {
  text-align: center;
  max-width: 1017px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 auto 26px;
  font-size: 55px;
  line-height: 71px;
  font-weight: 800;
  color: #000;
  max-width: 890px;
}

.hero-subtitle {
  margin: 0 auto 26px;
  max-width: 845px;
  font-size: 20px;
  line-height: 1.4;
  color: #000;
}

.hero-main-btn {
  border: 0;
  width: 212px;
  height: 58px;
  border-radius: 60px;
  background: #000;
  color: #fff;
  font: 600 20px/28px Mulish, sans-serif;
  cursor: pointer;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.25);
}

.hero-bottom {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 373px 1fr 420px;
  align-items: center;
  gap: 20px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 125px;
  margin-top: -125px;
}

.hero-benefit {
  min-height: 73px;
  border-radius: 17px;
  padding: 16px 18px 15px 26px;
  display: flex;
  align-items: center;
  gap: 27px;
}

.hero-benefit .vector-icon {
  width: 24px;
  height: 30px;
  flex: 0 0 auto;
}

.hero-benefit span {
  font-size: 17px;
  font-weight: 600;
}

.hero-benefit--1 {
  background: #5c3dd8;
  box-shadow: 0 14px 23px rgba(114, 83, 239, 0.35);
  color: #cfc3ff;
}

.hero-benefit--2 {
  background: #7559e3;
  box-shadow: 0 14px 23px rgba(146, 119, 255, 0.35);
  color: #dad2fd;
}

.hero-benefit--3 {
  background: #8b82e9;
  box-shadow: 0 14px 23px rgba(150, 141, 255, 0.35);
  color: #e3e0fc;
}

.hero-pay {
  margin-top: 36px;
}

.hero-pay-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
}

.hero-pay-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-pay-btn {
  border: 0;
  width: 65px;
  height: 43px;
  border-radius: 11px;
  background: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pay-btn img {
  width: 42px;
  height: 17px;
}

.hero-gpay {
  width: 65px;
  height: 43px;
  background: black;
  border-radius: 11px;
}

.hero-gpay img{
	height: 100%;
}

.hero-center {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.hero-phone {
  width: 797px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: -189px;
  margin-right: -300px;
  margin-top: -153px;
  min-width: 797px;
}

.hero-arrow {
  position: absolute;
  top: -66px;
  right: -22px;
  width: 73.2px;
  height: 90.2px;
  object-fit: contain;
}

.hero-right {
  align-self: flex-start;
  margin-top: 65px;
  margin-left: -33px;
}

.hero-offer {
  margin: 0 52px 22px 0;
  font-size: 29px;
  font-weight: 600;
  color: #969696;
}

.hero-offer span {
  color: #000;
  font-weight: 600;
}

.hero-counter {
  width: 280px;
  height: 35px;
  border-radius: 30px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px;
}

.hero-counter-pill {
  border: 1px solid #000;
  border-radius: 30px;
  height: 29px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.hero-counter-text {
  font-size: 14px;
  font-weight: 500;
  color: #969696;
}

/* =========================
   Content blocks
========================= */
.recommend,
.freedom,
.press,
.footer {
  display: grid;
  gap: 124px;
}

.section__inner.freedom > .section-head > h2 + p {
  max-width: 600px;
  margin-top: -20px;
  margin-bottom: 20px;
}

.recommend__head,
.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.cards-grid {
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.freedom .cards-grid {
  max-width: 946px;
}

.press .cards-grid {
  gap: 30px;
}

.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.person-card {
  position: relative;
}

.person-card__avatar {
  width: 121px;
  height: 121px;
  object-fit: cover;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.person-card__body {
  border-radius: 30px;
  background: var(--gradient-1);
  padding: 134px 37px 24px;
  text-align: center;
  display: grid;
  gap: 15px;
  font-size: 20px;
}

.person-card__body img {
  width: 100%;
  border-radius: 7px;
}

.feature-card {
  border-radius: 30px;
  background: var(--gradient-2);
  padding: 43px 38px 25px;
  text-align: center;
  display: grid;
  gap: 20px;
}

.feature-card > img {
  margin: 0 auto;
}

.feature-card p {
  font-size: var(--fs-14);
  color: var(--color-gray-100);
  line-height: 1.2;
}

.feature-card > h3 {
  font-size: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split img {
  width: 100%;
  max-width: 583px;
}

.applepay > div {
  margin-top: -172px;
}

.telegram > div {
  margin-top: 49px;
}

.telegram > img {
  align-self: flex-start;
}

.morecards > p {
  max-width: 875px;
  margin: 0 auto;
  padding: 0 20px;
}

.morecards-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: 94px;
}

.morecards-wrap button {
  position: relative;
  z-index: 1;
}

.morecards-wrap img {
  width: 567px;
  height: 380px;
  object-fit: cover;
  margin-top: -45px;
  margin-left: -94px;
}

.section-telegram {
  padding-bottom: 190px;
}

.section-transparency {
  background: #000 url(../img/shutterstock_2275249657.jpg);
  background-position: center;
  background-repeat: no-repeat;
}

.section-transparency > .section__inner {
  height: 736px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 120px 75px 186px 75px;
}

.section-transparency > .section__inner > p {
  margin-top: -100px;
  width: 470px;
}

.protection > div {
  margin-top: -280px;
}

.center {
  text-align: center;
}

.split--text-image {
  grid-template-columns: 1fr auto;
  text-align: left;
}

.section__inner.split h2 + p {
  margin-bottom: 82px;
}

.press {
  padding-bottom: 130px;
  gap: 72px;
}

.press-card {
  border-radius: 30px;
  padding: 50px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  justify-content: space-between;
  align-items: flex-start;
}

.press-card p {
  font-weight: 600;
}

.press-card--blue {
  background: var(--color-mediumblue);
  color: #fff;
}

.press-card--black {
  background: #000;
  color: #fff;
}

.press-card--gray {
  background: var(--color-whitesmoke-200);
  color: #000;
}

.press-card--blue p,
.press-card--black p {
  color: #fff;
}

.press-card--gray p {
  color: #000;
}

.press-card img {
  max-width: 255px;
  max-height: 50px;
}

/* =========================
   Footer
========================= */
.footer {
  gap: 0;
}

.footer__top,
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer__socials-mob {
  display: none;
}

.footer__newsletter {
  display: grid;
  gap: 40px;
  max-width: 657px;
  margin-top: 100px;
  margin-bottom: 50px;
}

.footer__newsletter p {
  color: white;
  max-width: 500px;
}

.footer__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__form input {
  flex: 1;
  min-height: 58px;
  border-radius: 60px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 0 24px;
  font: 20px/28px var(--font-mulish);
}

.footer__form input::placeholder {
  color: var(--color-gray-200);
}

.footer small {
  color: var(--color-dimgray);
  font-size: var(--fs-14);
}

.footer__bottom {
  border-top: 1px solid #fff;
  padding-top: 20px;
  font-size: var(--fs-14);
}

.footer__bottom > div {
  display: flex;
  gap: 62px;
}

    .register-success-main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 1366px;
        min-height: calc(100vh - 100px); /* Полная высота видимой области */
        margin: 0 auto;
        padding: 40px 20px;
        box-sizing: border-box;
    }
    
    /* Высота иконки 42px на всех устройствах */
    .register-success-icon {
        width: auto;
        height: 42px;
        margin: 0 auto 30px auto;
        display: block;
    }
    
    .register-success-title {
        text-align: center;
        font-size: 30px;
        font-weight: 600;
        margin: 0 0 20px 0;
        line-height: 1.3;
        color: #333;
    }
    
    .register-success-text {
        text-align: center;
        max-width: 440px;
        width: 100%;
        font-size: 20px;
        line-height: 1.5;
        margin: 0;
        color: #666;
    }
    
    /* Мобильная версия (до 768px) */
    @media (max-width: 768px) {
        .register-success-main {
            min-height: calc(100vh - 80px);
            padding: 30px 20px;
            justify-content: flex-start; /* Прижимаем содержимое к верху */
            padding-top: 25vh; /* Отступ сверху на 1/4 видимой области */
        }
        
        .register-success-icon {
            height: 42px;
            margin-bottom: 25px;
        }
        
        .register-success-title {
            font-size: 24px;
            margin-bottom: 15px;
        }
        
        .register-success-text {
            font-size: 16px;
            max-width: 320px;
        }
    }
    
    /* Очень маленькие телефоны (до 480px) */
    @media (max-width: 480px) {
        .register-success-main {
            min-height: calc(100vh - 70px);
            padding: 20px 15px;
            padding-top: 25vh; /* Отступ сверху на 1/4 видимой области */
        }
        
        .register-success-icon {
            height: 42px;
            margin-bottom: 20px;
        }
        
        .register-success-title {
            font-size: 22px;
        }
        
        .register-success-text {
            font-size: 14px;
            max-width: 280px;
        }
    }

/* =========================
   Responsive
========================= */
@media (max-width: 1200px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }

  .hero-left,
  .hero-right {
    margin: 0 auto;
    text-align: center;
  }

  .hero-center {
    min-height: auto;
    order: -1;
  }

  .hero-phone {
    min-width: 0;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .hero-arrow {
    top: -10px;
    right: 10%;
    width: 52px;
    height: auto;
  }

  .hero-pay-icons {
    justify-content: center;
  }

  .hero-counter {
    margin: 0 auto;
  }

  .applepay > div,
  .telegram > div,
  .protection > div {
    margin-top: 0;
  }

  .section__inner.split h2 + p {
    margin-bottom: 24px;
  }

  .section-transparency > .section__inner {
    height: auto;
    min-height: 520px;
    padding: 80px 40px 90px;
    justify-content: flex-start;
    gap: 24px;
  }

  .section-transparency > .section__inner > p {
    margin-top: 0;
    width: auto;
    max-width: 560px;
  }

  .morecards-wrap {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }

  .morecards-wrap img {
    margin: 0;
    width: 100%;
    height: 280px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  .section {
    padding-top: 64px;
  }

  .section__inner,
  .hero-inner {
    padding: 0 16px;
  }

  h1,
  h2 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.2;
  }

  p {
    font-size: 15px;
    line-height: 1.45;
  }

  .btn,
  .hero-main-btn {
	height: 48px;
	min-height: 48px;
	padding: 0 18px;
	font-size: 16px;
	line-height: 48px;
	border-radius: 999px;
  }

  .hero-outer {
    padding-top: 8px;
  }

  .hero-noise {
    height: 100%;
  }

  .main-header {
    padding: 11px 16px;
  }

  .main-logo {
    width: 20px;
    height: 20px;
  }

  .main-brand {
    font-size: 21px;
  }

  .main-login-btn {
	height: 36px;
	width: 76px;
    font-size: 16px;
    line-height: 1;
  }

  .hero-title {
	font-size: 28px;
	line-height: 1.25;
	margin-bottom: 12px;
	margin-top: 50px;
	width: 100%;
	max-width: 350px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 40px;
    max-width: 330px;
    color: #626262;
  }

  .hero-main-btn {
    width: auto;
  }

  .hero-bottom {
    margin-top: 40px;
    gap: 14px;
    position: relative;
    padding-bottom: 50px;
  }

  .hero-center {
    align-items: flex-start;
    justify-content: flex-start;
    order: 2;
  }

  .hero-phone {
	height: 550px;
	width: 500px;
	object-fit: cover;
	object-position: left;
	margin: 0;
	max-width: 500px;
	margin-top: -85px;
	margin-left: -115px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-left {
    order: 3;
    gap: 10px;
    position: absolute;
    width: 170px;
    right: 15px;
    top: 40px;
    z-index: 1;
  }

  .hero-benefit {
    min-height: 48px;
    border-radius: 12px;
    padding: 10px 12px;
    gap: 10px;
    width: 100%;
  }

  .hero-benefit .vector-icon {
    height: 21px;
  }

  .hero-benefit span {
    font-size: 12px;
    text-align: left;
  }

  .hero-pay {
    margin-top: 10px;
  }

  .hero-pay-title {
    font-size: 12px;
    margin-bottom: 8px;
    text-align: center;
  }

  .hero-pay-btn,
  .hero-gpay {
    width: 52px;
    height: 32px;
    border-radius: 8px;
  }

  .hero-pay-btn img {
    width: 32px;
    height: auto;
  }

  .hero-right {
    order: 4;
    margin-top: 4px;
  }

  .hero-offer {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.25;
  }

  .hero-counter {
    width: 100%;
    max-width: 270px;
    height: 30px;
  }

  .hero-counter-pill {
    height: 24px;
    font-size: 11px;
  }

  .hero-counter-text {
    font-size: 11px;
  }

  .recommend,
  .freedom,
  .press {
    gap: 50px;
  }

  .recommend__head,
  .section-head {
    gap: 12px;
    max-width: 100%;
  }

  .cards-grid,
  .press .cards-grid {
    gap: 12px;
  }

  .cards-grid--3,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .person-card__avatar {
    width: 121px;
    height: 121px;
    top: -20px;
  }

  .person-card__body {
    border-radius: 16px;
    padding: 130px 14px 12px;
    gap: 8px;
    font-size: 18px;
    justify-content: center;
  }

  .feature-card {
    border-radius: 30px;
    padding: 52px 30px 14px;
    gap: 10px;
  }

  .feature-card > h3 {
    font-size: 22px;
    margin: 10px 0;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .split {
    gap: 16px;
  }

  .split img {
    max-width: 100%;
  }

  .section-telegram {
    padding-bottom: 0px;
  }

  .section-transparency > .section__inner {
    min-height: 360px;
    padding: 276px 16px 132px;
    align-items: center;
  }

  .press {
    padding-bottom: 36px;
  }

  .press-card {
    border-radius: 20px;
    padding: 50px 14px 30px;
    font-size: 16px;
    gap: 70px;
  }

  .press-card p {
    font-size: 15px;
    line-height: 1.8;
  }

  .press-card img {
    max-width: 230px;
    max-height: 38px;
  }

  .section--footer {
    padding-top: 22px;
    padding-bottom: 16px;
  }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__socials {
    gap: 14px;
    display: none;
  }

  .footer__socials img {
    width: 16px;
    height: 16px;
  }

  .footer__newsletter {
    margin-top: 20px;
    margin-bottom: 100px;
    gap: 12px;
    max-width: 100%;
  }

  .footer__newsletter p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.4;
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .footer__form {
    gap: 8px;
    width: 100%;
  }

  .footer__form input {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1;
  }

  .footer__form .btn {
    width: auto;
    align-self: flex-start;
  }

  .footer small {
    font-size: 11px;
    line-height: 1.35;
  }

  .footer__bottom {
    width: 100%;
    padding-top: 12px;
    font-size: 11px;
  }

  .footer__bottom > div {
    gap: 12px;
    flex-wrap: wrap;
    color: var(--color-dimgray);
  }

  .recommend__head > p {
    margin-bottom: 30px;
    max-width: 300px;
  }

  .recommend > .cards-grid {
    gap: 50px;
    width: 100%;
  }

  .person-card__body img {
    max-width: 230px;
  }

  .freedom .cards-grid {
    gap: 60px;
  }

  .applepay {
    text-align: center;
    gap: 50px;
  }

  .section__inner h2 + p {
    margin-bottom: 40px !important;
    padding: 0 20px;
  }

  .section-telegram {
    text-align: center;
  }

  .telegram {
    gap: 50px;
  }

  .morecards-wrap {
    gap: 0;
  }

  .section-transparency {
    padding-top: 0;
    text-align: center;
    background-position: calc(50% - 91px) -185px;
  }

  .protection {
    text-align: center;
  }

  .press {
    gap: 30px;
  }

  .brand__title {
    font-size: 20px;
  }

  .footer__socials-mob {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 22px;
  } 
}