@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #f7f7f9;
  color: #152235;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

/* ========================================
  ОБЩИЕ СТИЛИ
======================================== */

section {
  padding: 96px 0;
}

  section.color {
    background: linear-gradient(90deg, #6fd9e8 0%, #93b1e3 50%, #c868cc 100%)
  }

.container {
  max-width: 1150px;
  margin: 0 auto;
}


.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: #707c97;
  font-size: 16px;
  line-height: 1.65;
}

section.color .section-head h2,
section.color .section-head p {
  color: #fff;
}

/* ========================================
  КНОПКИ
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-small {
  min-width: 132px;
  height: 46px;
  padding: 0 20px;
  font-size: 12px;
}

.btn-accent {
  background: #74daea;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(116, 218, 234, 0.28);
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

/* ========================================
  ВЕРХНЕЕ МЕНЮ
======================================== */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 0 1 auto;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 8px 8px 8px;
  border-radius: 999px;
  color: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

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

  .contact .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(101, 207, 230, 1);
    font-size: 14px;
    font-weight: 800;
    flex: 0 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
    .contact .icon.phone {
      background-image: url("/assets/phone-7804d463.svg");
      background-size: 70%;
    }
    .contact .icon.mail {
      background-image: url("/assets/mail-eaf4a89d.svg");
      background-size: 60%;
    }
    .contact .icon.vk {
      background-image: url("/assets/vk-1b2e9304.svg");
      background-size: 60%;
    }

  .contact .text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 auto;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav a {
  padding: 0px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease;
}
  .nav a:hover {
    transform: translateY(-2px);
    text-decoration: underline;
  }

.nav a.login{
  font-weight: 700;
  padding: 12px;
  background: rgba(101, 207, 230, 1);
  border-radius: 12px;
}
  .nav a.login:hover{
    text-decoration: none;
  }

/* ========================================
  ХИРО
======================================== */

.hero {
  background:
    linear-gradient(
      to right,
      rgba(111, 217, 232, 0.6),
      rgba(147, 177, 227, 0.6),
      rgba(200, 104, 204, 0.6)
    ),
    url("/assets/herobg-192c3e01.jpg");

  background-size: cover;
  background-position: center;

  color: #ffffff;
  padding: 22px 0 150px;
}

.hero-content {
  margin: 34px auto 0;
  max-width: 920px;
  text-align: center;
}

.logo {
  display: block;
  width: 200px;
  height: 150px;
  margin:0 auto 50px;
  background: url("/assets/logo-white-37bcc7af.png") no-repeat center;
  background-size: cover;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 100%;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  font-weight: 900;
}

.hero p {
  margin: 24px 0 36px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========================================
   STATS
======================================== */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 0;
}

.stats-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 300px;
  padding: 22px 20px 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(39, 48, 68, 0.06);
}

.stat-caption {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.stat-value {
  display: block;
  margin-bottom: 2px;
  font-size: clamp(44px, 4vw, 64px);
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(90deg, #77d8ea 0%, #ba69c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ========================================
   FEATURES
======================================== */
.feature-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1 1 340px;
  min-height: 250px;
  display: block;
  position: relative;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #71d7e9 0%, #93b0e3 48%, #c066ca 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(39, 48, 68, 0.06);
}

.feature-text {
  display: block;
  max-width: 420px;
}

.feature-card h3 {
  max-width: 300px;
  padding-right: 100px;
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-card p {
  width:100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.65;
}

.feature-icon {
  position:absolute;
  top:28px;
  right:28px;
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat
}
  .feature-icon.i01{
    background-image: url("/assets/code-927c901f.svg");
  }
  .feature-icon.i02{
    background-image: url("/assets/ui-aa5e0980.svg");
  }
  .feature-icon.i03{
    background-image: url("/assets/app-30c1b12b.svg");
  }
  
/* ========================================
   ADVANTAGES
======================================== */
section#advantages{
  background:
    linear-gradient(
      to right,
      rgba(111, 217, 232, 0.6),
      rgba(147, 177, 227, 0.6),
      rgba(200, 104, 204, 0.6)
    ),
    url("/assets/whybg-190a56ea.jpg");
}

.advantages-list {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
}

.advantage-card {
  position: relative;
  flex: 1 1 320px;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(39, 48, 68, 0.06);
  overflow: hidden;
}
  .advantage-card::before {
    position: absolute;
    bottom: -40px;
    right: -10px;

    font-size: 160px;
    font-weight: 700;
    color: rgba(116, 218, 234, 0.28);

    z-index: 0;
  }
    .advantage-card.i01::before {
      content: "01"; 
    }
    .advantage-card.i02::before {
      content: "02"; 
    }
    .advantage-card.i03::before {
      content: "03"; 
    }
    .advantage-card.i04::before {
      content: "04"; 
    }
    .advantage-card.i05::before {
      content: "05";
    }
    .advantage-card.i06::before {
      content: "06";
    }

.advantage-card-wide {
  flex-basis: calc(50% - 12px);
}

.advantage-card h3 {
  display: block;
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.advantage-card p {
  display: block;
  margin: 0;
  color: #6f7a8d;
  font-size: 16px;
  line-height: 1.65;
}

/* ========================================
   APPS SECTION
======================================== */

.apps-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.apps-copy {
  display: block;
  flex: 1 1 460px;
  max-width: 560px;
}

.apps-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.apps-copy p {
  margin: 0;
  color: #6f7a8d;
  font-size: 16px;
  line-height: 1.65;
}

.store-list {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.store-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #101216;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(16, 18, 22, 0.12);
  transition: transform 0.25s ease;
}

.store-card:hover {
  transform: translateY(-2px);
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

    .store-icon.google {
      background-image: url("/assets/google-2594143c.svg");
    }
    .store-icon.apple {
      background-image: url("/assets/apple-a12ca3af.svg");
    }
    .store-icon.ru {
      background-image: url("/assets/ru-beba414a.svg");
    }

.store-text {
  display: block;
}

.store-text small {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-text strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1;
}

/* ========================================
   PHONE BOX
======================================== */

.phone-box {
  display: block;
  position: relative;
  flex: 0 1 380px;
  width: min(100%, 380px);
  min-height: 560px;
  padding: 18px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f0f1f5 100%);
  box-shadow: 0 18px 50px rgba(39, 48, 68, 0.08);
}

.phone-image {
  position: relative;
  width: 100%;
  min-height: 524px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(21, 34, 53, 0.06), rgba(21, 34, 53, 0.12)),
    linear-gradient(135deg, #d9edf3 0%, #b9d0f4 45%, #e2c2ec 100%);
  border: 2px solid rgba(21, 34, 53, 0.08);
}

.phone-image::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.phone-screen-copy {
  display: block;
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 1;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.phone-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(115, 216, 234, 0.16);
  color: #0f5360;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-screen-copy h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.phone-screen-copy p {
  display: block;
  margin: 0;
  color: #6f7a8d;
  font-size: 16px;
  line-height: 1.65;
}

.phone-play {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #73d8ea 0%, #c268cb 100%);
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 20px 40px rgba(125, 130, 206, 0.32);
  transition: transform 0.25s ease;
}

.phone-play:hover {
  transform: translateY(-50%) translateY(-2px);
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background: linear-gradient(90deg, #6fd9e8 0%, #93b1e3 50%, #c868cc 100%);
  color: #ffffff;
  padding: 26px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   MEDIA 960
======================================== */

@media (max-width: 960px) {

section {
  padding: 46px 0;
}

  .hero {
    padding: 0px 0 150px;
  }
    .hero .logo{
      width: 150px;
      height: 100px;
    }

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

   .hero p {
      font-size: 14px;
    }
  .topbar{
    gap:10px;
  }
  
  .contact {
    flex: 1;
    padding:0px;
    margin:0px;
    min-height: 32px;
  }
    .contact .text {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

  .topbar-contacts, .footer-contacts {
      flex: 0 0 auto;
      margin: auto;
  }
  .footer-copy{
    display: block;
    margin: auto;
    text-align: center;
  }
  .container {
      padding: 10px;
  }

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

  .apps-copy{
    margin: auto;
  }
  .apps-copy h2, .apps-copy p{
    text-align: center;
  }


  .phone-box{
    margin:auto;
  }

  .nav {
      margin: auto;
      gap: 12px;
  }
    .nav a {
      font-size: 10px;
    }
}