:root {
  --container-width: 1144px;
  --primary: #66666b;
  --primary-light: #F3F3F3;
  --text-dark: #1D1D1F;
  --text-gray: #838389;
  --white: #FFFFFF;
  --font-family: "Gilroy", sans-serif;
  --font-family-Medium: "Gilroy-Medium", sans-serif;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../font/Gilroy-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy-Medium';
  src: url('../font/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../font/Gilroy-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy-Medium';
  src: url('../font/Gilroy-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

body {
  font-family: 'Gilroy', sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

h1 {
  font-size: 56px;
  margin: 0 auto;
  line-height: 1.2;
  text-align: center;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  text-align: center;
}

.small-b_1 h2 {
    text-align: left;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-gray);
  line-height: 1.2;
}

h5 {
  font-size: 20px;
  font-weight: 100;
  color: var(--text-gray);
  line-height: 1.2;
  margin: 0;
}

p {
  font-size: 20px;
  color: var(--text-gray);
  font-weight: 600;
  line-height: 1.2;
}







span.token {
  color: #1D1D1F;
  margin-left: 6px;
}

.block {
  /* padding: 80px 20px; */
  margin: 0 auto;
}

.container {
  max-width: 1144px;
  margin: 0 auto;
}

.container h1 {
    max-width: 800px;
    margin: 0 auto;
}

.buttons_main {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-top: 24px;
}

.btn {
    font-family: var(--font-family-Medium);
    color: #1d1d1f;
    font-weight: 500;
    font-size: 20px;
    white-space: nowrap;
    line-height: unset;
    position: relative;
    text-decoration: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s linear;
    border-radius: 50px;
    /* min-height: 44px; */
    cursor: pointer;
    user-select: none;
    background: #fff;
    border: 1px solid #1d1d1f;
    /* margin: 8px 12px; */
    /* padding: 22px 0; */
    line-height: 1.1;
}

.btn--border-accent {
  color: #7373f5;
  background: transparent;
  border-color: #7373f5;
  padding: 12px 22px;
  gap: 10px;
}

.btn--border-accent_no {
  color: #ffffff;
  background: rgba(131, 143, 255, 1);
  border-color: transparent;
  padding: 12px 22px;
}

.hero-category__btn::after {
        background-size: 18px;
        margin-left: 8px;
}

.hero-category__btn::after {
    content: '';
    width: 12px;
    height: 12px;
    /* min-width: 12px; */
    background-image: url(../img/icons/chevron-right-accent.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    /* margin-left: 4px; */
    transition: .2s;
    margin: 0;
}

.img-mid {
  max-width: 100%;
  height: auto;
}

.img-mid-a {
  /* max-width: 100%; */
  /* height: auto; */
  border-radius: 12px;
}

.mid-b {
    display: flex;
    flex-direction: column;
    align-items: center;
}

img.img-mid-icon {
    max-width: 200px;
    margin-top: 40px;
}



.block-1 {
  text-align: center;
  background-image: url(../img/back.png);
  background-size: cover;
  background-position: center;
}

.block-6 {
    text-align: center;
    padding: 120px 20px 80px;
}

.block-7 {
    text-align: center;
    padding: 120px 20px 80px;
}

.block-8 {
    text-align: center;
    padding: 120px 20px 80px;
}

.block-1 h2 {
  line-height: 1.2;
  margin-bottom: 24px;
}

.block-1 h3 {
  color: var(--text-dark);
  /* margin-bottom: 0; */
  margin: 24px 200px 40px;
}

.small-b_1 h3 {
  color: var(--text-dark);
}

.block-6 h2 {
    line-height: 1.2;
    margin-bottom: 24px;
}

.block-7 h2 {
    line-height: 1.2;
    margin-bottom: 24px;
}

.block-8 h2 {
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__image {
  width: 100px;
  height: auto;
  margin-bottom: 40px;
}

.block-2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
}

.block-2 .img-mid {
  margin-bottom: 120px;
  max-height: 420px;
}

.block-2 .img-mid-a {
  margin: 8px;
  margin-top: 10vw;
  max-height: 420px;
}
.block-2 .img-mid-b {
  width: auto;
  max-height: 420px;
}

.block-3 {
  background: var(--primary-light);
  z-index: -1;
  position: relative;
}

.block-3 .big-b {
  margin-top: 28px;
  margin-bottom: 0;
  width: auto;
}

.block-3 .small-b {
  /* margin-top: 28px; */
  margin-bottom: 0;
  width: auto;
}

.expandable-header h2 {
    margin: 6px 0 6px 4px;
}

.small-b {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 48px;
    align-content: center;
}

.small-b_1 {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    /* font-family: var(--font-family-Medium); */
    /* font-weight: 500; */
}

.small-b_3 {
    background: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.features-list {
  margin: 24px 0;
  font-family: var(--font-family);
  font-weight: 500;
}

.feature-item {
  display: block;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}



.big-b {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.big-bb {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.big-b h3 {
  text-align: center;
  margin-bottom: 0;
  color: var(--text-dark);
  margin-top: auto;
}

.block-3::before {
  content: '';
  position: absolute;
  top: -170px;
  left: 0;
  right: 0;
  height: 260px;
  /* width: 100vw; */
  margin-left: calc(-50vw + 50%);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F3F3 100%);
  z-index: -1;
}

.block-3::after {
  content: '';
  position: absolute;
  bottom: -170px;
  left: 0;
  right: 0;
  height: 260px;
  margin-left: calc(-50vw + 50%);
  background: linear-gradient(0deg, #FFFFFF 0%, #F3F3F3 100%);
  z-index: -1;
}


.big-b-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.big-bs {
  text-align: center;
  padding: 24px;
  width: -webkit-fill-available;
}

.big-bs h5 {
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-dark);
}

.big-bs h5:before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 12px;
}

.hand:before { background-image: url('../img/icons/WavingHand.svg'); }
.book:before { background-image: url('../img/icons/Books.svg'); }
.gamedie:before { background-image: url('../img/icons/GameDie.svg'); }
.ArtistPalette:before { background-image: url('../img/icons/Artist-Palette.svg'); }
.Shield:before { background-image: url('../img/icons/Shield.svg'); }
.SportsMedal:before { background-image: url('../img/icons/Sports-Medal.svg'); }

.block-4 h2 {
  text-align: left;
}

.block-4 .small-b {
  margin-bottom: 40px;
  margin-top: 64px;
}

.block-4-text {
  margin-bottom: 24px;
}

.content-block-4 h3 {
    color: var(--text-dark);
}

.b4-number h3 {
    color: var(--text-gray);
}

 .soon-badge {
  background: none;
  box-shadow: none;
  font-family: 'Gilroy', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  display: inline-block;
  background: linear-gradient(122.37deg, #FF0004 -79.78%, #FFEA00 175.4%, #FFFFFF 178.42%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  border: 1px solid #ffb155;
  border-radius: 32px;
  padding: 4px 16px;
  margin: 0;
  position: relative;
}

.soon-badge-gradient-border {
  position: relative;
  display: inline-block;
  padding: 1px 16px 4px 16px;
  border-radius: 32px;
  background: none;
  margin-top: 14px;
}

.soon-badge-gradient-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 1px;
  bottom: 0px;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(231deg, #FF0004 -79.78%, #FFEA00 175.4%, #FFFFFF 178.42%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.soon-badge-gradient-border span {
  font-weight: 500;
  font-size: 20px;
  background: linear-gradient(122.37deg, #FF0004 -79.78%, #FFEA00 175.4%, #FFFFFF 178.42%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row;
  flex-wrap: wrap;
}

.expandable-block {
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  border-bottom: 1px solid #D3CEC9;
}

.expandable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  padding: 15px 0;
  border-top: 1px solid #D3CEC9;
}

.expandable-header h3 {
  margin: 0;
  padding: 0;
  color: #1D1D1F;
  text-align: left;
}

.expand-arrow {
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 9L12 15L18 9" stroke="%231D1D1F" stroke-width="2" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.expandable-block.expanded .expand-arrow {
  transform: rotate(180deg);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  width: 100%;
  text-align: left;
}

.expandable-block.expanded .expandable-content {
  max-height: 1000px;
  padding: 15px 0 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-width: 30%;
}

.i-content-block-4 {
    background: #F6F6F6;
    box-shadow: inset 0px 0px 25px rgba(66, 109, 6, 0.05);
    border-radius: 32px;
    width: calc(33% - 12px);
    display: flex;
    flex-wrap: wrap;
}

.i-content-block-4_green {
    background: #F3F9F1;
    box-shadow: inset 0px 0px 25px rgba(66, 109, 6, 0.05);
    border-radius: 32px;
    width: calc(33% - 12px);
    display: flex;
    flex-wrap: wrap;
}

.content-block-4 {
    padding: 32px;
}

img.block-4-icon {
    position: relative;
    margin: -12px 0px;
    top: 34px;
}

.content-block-4-content-1 {
    display: flex;
    justify-content: space-between;
}

.b4-number h2 {
  color: var(--text-gray);
}


.b4-number h3 {
    margin: 0;
}

.market-icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-end;
    padding: 8px;
}

img.block-4-market {
    margin: 6px 6px;
}

.block-5 {
    /* padding: 40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center; */
    background-image: url(../img/back-ariel-chat.jpg);
    background-size: cover;
    background-position: top;
}

.block-5 h2 {
    text-align: center;
    margin-bottom: 40px;
    max-width: 780px;
    align-items: center;
    margin: auto;
}

/* .explanation-flow {
    max-width: 1440px;
    margin: 80px 14px 0;
    position: relative;
} */

.explanation-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    margin-bottom: 16px;
    border-radius: 24px;
    padding: 12px 24px;
    max-width: fit-content;
    position: relative;
    backdrop-filter: blur(5px);
}

.explanation-step.ariel {
    background: rgb(255 255 255 / 12%);
    margin-right: auto;
    border: 1px solid #ffffff6b;
    color: #ffffff;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.03),
            0px 0px 25px 0px rgba(81, 49, 31, 0.03),
            0px 0px 50px 0px rgba(255, 255, 255, 0.1) inset,
            0px 0px 2px 0px rgba(255, 255, 255, 1) inset;
}

.explanation-step.user {
    background: rgb(255 255 255 / 90%);
    margin-left: auto;

  }

.explanation-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-content {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}

.math-expression {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    border-left: 3px solid #FF8C00;
}

.ariel .math-expression {
    color: #FF4500;
    border-left-color: #FF4500;
}

.user .math-expression {
    color: #FF8C00;
    border-left-color: #FF8C00;
}

.ariel:before {
    left: -6px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.typing-indicator.bottom {
    position: relative;
    bottom: 0;
    top: auto;
    margin-bottom: 10px;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.ariel + .typing-indicator.bottom {
    margin-right: auto;
}

.user + .typing-indicator.bottom {
    margin-left: auto;
}

@keyframes typing-dots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.typing-dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    background: #FF8C00;
    border-radius: 50%;
    display: inline-block;
    animation: typing-dots 1.4s infinite ease-in-out;
}

.ariel + .typing-indicator .typing-dot {
    background: #FF8C00;
}

.user + .typing-indicator .typing-dot {
    background: #FFD700;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.block-6 {
  padding: 80px 0;
}

.block-6 p {
  color: #666;
  text-align: center;
  margin-bottom: 0;
}

.container-block-6 {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.block-6-left {
  width: calc(66.666% - 12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-6-left-1 {
  display: flex;
  gap: 12px;
  flex: 1;
}

.block-6-right {
  width: calc(33.333% - 12px);
  display: flex;
}

.block-6-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.big-bs-6 {
  width: calc(50% - 12px);
  background: #FFFFFF;
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  justify-content: center;
  position: relative;
  align-items: center;
}

.big-bs-6::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 12px;
}

.icon-magnifying-glass::before { background-image: url('../img/icons/Magnifying-Glass-Tilted-Right.svg'); }
.icon-brain::before { background-image: url('../img/icons/Brain.svg'); }
.icon-writing-hand::before { background-image: url('../img/icons/WritingHand.svg'); }
.icon-dna::before { background-image: url('../img/icons/Dna.svg'); }

.big-b-text {
  margin: 0;
}

.block-7-content {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.block-7-info {
    padding: 24px;
    width: 26%;
    margin-top: 34px;
}

.block-7-info_mid {
    padding: 24px;
}

.block-7 {
    padding: 32px 0; 
  }

.block-7-content {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.block-7-info,
.block-7-info_mid {
    background: #FFFFFF;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.03);
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 138px;
    text-align: left;
}

.block-7-info p,
.block-7-info_mid p {
    color: var(--text-gray);
    margin: 0;
    font-family: 'Gilroy-Medium';
    font-weight: 500;
}

.rubble_text {
    font-family: var(--font-family) !important;
}

.block-7-info_mid p:first-child {
    color: #FFFFFF;
    background: radial-gradient(
        401.93% 157% at -169.46% 59.35%, 
        #FF0400 0%, 
        #FFF200 100%
    ), #FFFFFF;
    padding: 12px 4px 4px;
    border-radius: 32px;
}

section.i-block-back {
    background-image: url(../img/back-b-8.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.gradient-border {
    position: relative;
    background: white;
    border-radius: 40px 40px 32px 32px;
    padding: 32px 32px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.03);
    height: 162px;
    overflow: visible;
}

.gradient-border::after {
    position: absolute;
    top: 8px;
    left: 1px;
    right: 1px;
    height: 16px;
    background: linear-gradient(90deg, #FF6B00, #FF9A45);
    border-radius: 0 0 12px 12px;
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 50%, 
        rgba(0,0,0,0) 100%);
    opacity: 0.2;
    z-index: 1;
}

.border-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  z-index: 1;
  white-space: nowrap;
  margin: 4px 32px 8px 32px;
  display: flex;
}

  img.block-4-img {
    max-width: 100%;
}

  img.block-4-market {
    margin: 4px 4px;
    max-width: 46%;
}

.block-1 {
  padding: 120px 20px 72px;
}

.block-2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1vw;
    /* padding-bottom: 136px; */
    padding: 0;
    margin: 0;
}

.block-3 {
    /* padding-bottom: 148px; */
    padding: 136px 16px 148px 16px;
}

.block-4 {
    padding: 0 14px 0 14px;
}

.block-6 {
  padding-top: 120px;
  padding-bottom: 80px;
}

.block-7 {
  padding-top: 96px;
  padding-bottom: 110px;
  margin: auto 16px;
}

.block-8 {
  padding: 120px 20px 242px;
}

a.btn.btn--border-accent_no.hero-category__btn_no {
  margin: 8px 12px 8px 0;
}
a.btn.btn--border-accent.hero-category__btn {
  margin: 8px 12px 8px 0;
  display: flex;
  align-items: baseline;
}

.rubbles {
  font-size: 48px;
  color: #1D1D1F;
  font-family: var(--font-family);
}

img.block-4-img {
  border-radius: 32px;
}

.block-7-info_cover {
  background: linear-gradient(72deg, #FF6B00, #FF9A45);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  padding: 4px;
}


/* Ð”Ð¾Ð±Ð°Ð²ÑŒÑ‚Ðµ Ð² style-ariel.css */
.block-5 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: justify-content 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.block-5.with-messages {
  justify-content: flex-start;
  padding: 10px 16px 0;
  margin-top: 50px;
}

section.block.block-5.with-messages h1 {
    margin: 4vw auto 10vw;
}

.explanation-flow {
    width: 100%;
    max-width: 865px;
    margin: 0 auto;
    flex-grow: 1;
    overflow-y: auto;
    will-change: transform;
    scroll-behavior: smooth;
    font-size: 24px;
    padding-bottom: 70px;
    box-sizing: border-box;
}

.message {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 1vw 0;
    max-width: 70%;
    clear: both;
    backface-visibility: hidden;
}

.message.visible {
    opacity: 1;
    transform: translateY(0);
}

.message.left {
    float: left;
    margin-right: auto;
}

.message.right {
    float: right;
    margin-left: auto;
    max-width: 60%;
}

.message .content {
    padding: 16px 24px;
    border-radius: 24px;
}

.message.user .content {
    background: #f0f0f0;
}

.message.ariel .content {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.03),
                0px 0px 25px 0px rgba(81, 49, 31, 0.03),
                0px 0px 50px 0px rgba(255, 255, 255, 0.1) inset,
                0px 0px 2px 0px rgba(255, 255, 255, 1) inset;
}

body.blocked {
    overflow: hidden;
}

@media (pointer: coarse) {
  .message {
    padding: 12px 0;
    min-height: 44px; /* Минимальная высота для удобного тапа */
  }
  
  .explanation-flow {
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    overscroll-behavior: contain; /* Предотвращает скролл страницы за пределы */
  }
  
  .content {
    padding: 12px 16px !important; /* Увеличиваем область касания */
  }
}


@media (max-width: 1368px) {
  .block-2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 0;
  }
  
  .block-2::-webkit-scrollbar {
    display: none;
  }
  
  .block-2 > img,
  .block-2 > .mid-b {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: auto;
    height: 40vw;
    gap: 0px;
  }
  
  .mid-b {
    display: flex;
    flex-direction: column;
  }
  
  .img-mid-icon {
    /* margin-top: 40px !important; */
  }

  .block-2 .img-mid-b {
    max-height: 40vw;
    width: auto;
    }
}

@media (max-width: 1144px) {
  .h1 {
    font-size: 40px;
  }

  /* .h2 {
    font-size: 20px;
  }

  .h3 {
    font-size: 20px;
  }

  .h5 {
    font-size: 40px;
  } */
  .block-1 h3 {
    margin: 20px 175px 30px;
  }

  .expandable-content {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .expandable-content::-webkit-scrollbar {
    display: none;
  }

  .i-content-block-4 {
    flex: 0 0 360px;
    scroll-snap-align: start;
    width: 360px;
    min-width: 360px;
    margin-right: 0;
  }

  .i-content-block-4_green {
    flex: 0 0 360px;
    scroll-snap-align: start;
    width: 360px;
    min-width: 360px;
    margin-right: 0;
  }

  .expandable-block.expanded .expandable-content {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .block-1 {
    padding: 40px 20px 40px;
  }

  .block-2 {
      padding-bottom: 100px;
      /* height: 22vw; */
  }

  .block-3 {
      /* padding-bottom: 148px; */
    padding: 0 16px 60px 16px
  }

  .block-4 {
      padding: 0 14px 0 14px;
  }

  .block-5 {
  }

  .block-6 {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .block-7 {
    padding-top: 96px;
    padding-bottom: 110px;
  }

  .block-8 {
    padding: 120px 20px 242px;
  }

  .img-mid-icon-mob {
    max-width: 200px;
    margin-top: 40px;
    margin-top: 24px !important;
    width: 20vw;
  }

  .img-mid-icon {
    display: none;
  }

  .block-4 .small-b {
    margin-bottom: 30px;
    margin-top: 24px;
  }
}

@media (min-width: 1145px) {
  .expandable-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .i-content-block-4 {
    width: calc(33.333% - 20px);
    min-width: auto;
  }

  img.img-mid-icon-mob {
  display: none;
  }

}


@media (max-width: 992px) {
  .big-b-1 {
    flex-direction: column;
  }

  .small-b {
    flex-direction: column;
  }

  .block-7-info, .block-7-info_cover, .gradient-border {
    box-sizing: border-box;
  }
  
  .block-3 .container {
        display: flex;
        flex-direction: column;
    }
    
    .small-b {
        margin-bottom: 0;
    }
    
    .small-b_1 {
        margin-bottom: 0 !important;
    }
    
    .big-b {
        width: 100%;
        order: 3;
    }
    
    .small-b_1 {
        background: var(--white);
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        width: fit-content;
        margin: 0 0 0 0;
    }

    .big-b {
        background: var(--white);
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        width: fit-content;
        margin-top: 16px;
    }
    
    .block-3::before,
    .block-3::after {
        height: 150px;
    }
    
    .block-3::before {
        top: -100px;
    }
    
    .block-3::after {
        bottom: -100px;
    }
    .block-7-info {
      order: 2;
      width: 100%;
      max-width: 380px;
    }
    .block-7-info, .block-7-info_mid {
      height: auto;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.03);
      border-radius: 16px;
      margin: 0;
    }

    .border-title {
      margin: 4px 28px 8px;
    }

    .block-7-content {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      margin-top: 30px;
    }
    .block-7-info_cover {
      width: 100%;
      max-width: 380px;
      border-radius: 20px;
    }
  
  .block-6 h2 {
    font-size: 32px;
  }

  .gradient-border::before {
    border-radius: 32px;
  }

  .block-7-info_mid {
    padding: 16px;
    gap: 8px;
  }

  .block-7-info{
    gap: 8px;
    padding: 16px;
  }

  .big-bb {
    display: none;
  }

  .block-3 .big-b-mobile {
      margin-top: 28px;
      margin-bottom: 0;
      width: auto;
  }

  .big-b-mobile  {
      background: var(--white);
      border-radius: 16px;
      padding: 32px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .big-bb-mobile  {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
  }

  .big-b-1-mobile {
      display: flex;
      flex-wrap: nowrap;
      flex-direction: column;
  }

  .big-bs-mobile {
      text-align: left;
      width: -webkit-fill-available;
      display: flex;
      align-items: center;
  }

  .big-b-text-mobile {
      color: #1E1E1E;
      margin: 0 8px;
  }

  .big-bs-mobile h5:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .big-bs-mobile h5 {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .big-bs h5:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 12px;
  }

  p.big-b-text-mobile span {
    color: var(--text-dark);
  }

  .big-b-text-mobile {
    color: var(--text-gray);
  }
  .block-4 .small-b{
    /* margin: 0; */
    gap: 12px;
  }
}

@media (max-width: 768px) {
   .hero__image {
      width: 75px;
   }

    .explanation-step {
        max-width: fit-content;
        padding: 8px 12px;
        border-radius: 12px;
    }
    .gradient-border {
        padding: 16px;
        height: auto;
    }
    
    .border-title {
        font-size: 14px;
        left: 15px;
        top: 5px;
    }

    .container h1 {
    max-width: 400px;
    margin: 0 auto;
  }

  .content-block-4 {
      padding: 12px;
  }

  .container-block-6 {
    flex-direction: column;
    gap: 12px;
    margin: 16px;
  }
  
  .block-6-left,
  .block-6-right {
  width: 100%;
  }
  
  .big-bs-6 {
    width: -webkit-fill-available;
    padding: 16px 12px;
  }

  .block-6-right img {
    max-height: 288px;
    border-radius: 16px;
  }

  .big-bs-6 {
    border-radius: 16px;
  }

  .big-bs-6::before {
    width: 16px;
    height: 16px;
  }

  .big-bs h5:before {
    width: 16px;
    height: 16px;
  }

  h2 {
    font-size: 32px;
  }

  .block-1 {
    padding: 80px 20px 32px;
  }

  .block-7 .container {
    display: flex;
    flex-direction: column;
  }
  
  .block-7-content {
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
  }
  
  .block-7-info_cover {
    order: 1; 
  }
  
  .block-7-info {
    order: 2;
    width: 100%;
    max-width: 380px;
  }
  .block-7-info_mid p:first-child {
    color: #FFFFFF;
    padding: 12px 4px 4px;
    border-radius: 32px;
  }
    .gradient-border::before {
    border-radius: 32px;
  }

  .block-3 .small-b {
    gap: 16px;
  }

  .block-4 .small-b {
    margin-bottom: 40px;
    margin-top: 24px;
  }

  .small-b_1 h2 {
    margin: 0 0 16px 0;
  }

  .big-b h2 {
    margin: 0 0 16px 0;
  }

  .features-list {
    margin: 0 0 12px 6px;
  }

  .small-b_1 {
    padding: 12px;
  }

  .feature-item {
    display: block;
    margin-bottom: 0;
    padding-left: 14px;
    position: relative;
  }

  .feature-item:before {
    content: "â€¢";
    position: absolute;
    left: 4px;
    color: var(--primary);
  }

  .rubbles {
    font-size: 24px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 24px;
    line-height: 1.1;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 6px;
    line-height: 1.1;
    text-align: left;
  }

  h3 {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.1;
  }

  h5 {
    font-size: 14px;
    line-height: 1.1;
  }

  p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0 0 12px 0;
    line-height: 1.2;
  }

  .btn {
    font-size: 14px;
  }

  .btn--border-accent_no {
    padding: 8px 16px;
  }

  .btn--border-accent {
    gap: 8px;
    padding: 8px 11px 8px 16px;
  }

  .hero-category__btn::after {
    width: 8px;
    height: 8px;
    background-size: 16px;
    margin: 3px 0 0 0;
  }


  .i-content-block-4 {
    flex: 0 0 256px;
    scroll-snap-align: start;
    width: 256px;
    min-width: 256px;
    margin-right: 0;
    border-radius: 24px;
  }

  .i-content-block-4_green {
    flex: 0 0 256px;
    scroll-snap-align: start;
    width: 256px;
    min-width: 256px;
    margin-right: 0;
    border-radius: 24px;
  }

  img.block-4-icon {
    position: relative;
    margin: -36px 0px;
    top: 34px;
    height: 58px;
  }

  .block-4 h2 {
    text-align: left;
    margin: 16px 0 6px 4px;
  }

  .block-4-text{
    margin: 0 4px;
  }

  .content-block-4 p {
    margin-top: 8px;
 }

  .b4-number h2 {
      margin: 0;
  }

  .block-1 {
    padding: 32px 16px 32px;
  }

  .block-1 h3 {
    margin: 16px 0px 24px;;
  }

  .block-2 {
      padding-bottom: 24px;
      /* height: 22vw; */
  }

  .block-3 {
      padding: 0 16px 48px 16px;
  }

  .block-4 {
      padding: 0 16px 4px 16px;
  }

  .block-4 h5{
    margin-bottom: 6px;
  }

  .block-5 {
    padding: 32px 0;
    min-height: 80vh;
  }
  
  .explanation-flow{
    padding-bottom: 50px;
  }

  .block-6 {
    padding-top: 56px;
    padding-bottom: 25px;
  }

  .block-7 {
    padding-top: 31px;
    padding-bottom: 28px;
    margin: 0px 14px 0;
  }

  .block-8 {
    padding: 28px 20px 68px;
  }

  .big-bs-mobile h5:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .block-3 .big-b {
    margin-top: 16px;
  }

  .big-bb-mobile {
    gap: 12px;
    margin-bottom: 16px;
  }

  .big-b-1-mobile {
    gap: 12px;
  }

  .big-bs-mobile {
    gap: 16px;
  }

  .big-bs-mobile h5{
    margin: 6px 0;
  }

  .big-b-text-mobile {
    margin: 0;
    color: var(--text-gray);
  }

  .small-b_3 a.btn.btn--border-accent.hero-category__btn {
    margin: 8px 0;
  }

  .small-b_3 a.btn.btn--border-accent_no.hero-category__btn_no {
    margin: 8px 12px 8px 0;
  }

  .soon-badge-gradient-border {
    padding: 1px 10px 1px 10px;
    background: none;
    margin-top: 7px;
  }

  .soon-badge-gradient-border::before {
    border-radius: 24px;
    top: 3px;
    left: 0;
    right: 1px;
    bottom: -1px;
    border-radius: 32px;
    padding: 1px;
  }

  .soon-badge-gradient-border span {
    font-size: 14px;
  }

  .buttons {
    margin-top: 16px;
  }

  .expandable-header h2 {
    margin: 6px 0 6px 4px;
  }
  .expandable-content {
    padding-bottom: 0;
  }

  .expandable-block {
    margin: 20px 0 4px 0;
  }

  img.block-4-img {
    border-radius: 24px;
  }
  .message .content {
    font-size: 12px;
  }

  .message .content {
    padding: 8px 12px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero__image {
    width: 50px;
  }

  .block-6 h2 {
    font-size: 28px;
  }
  
  .block-7-info_cover {
      max-width: 380px;
  }

  .explanation-step {
      max-width: fit-content;
  }
  
  .step-content, .math-expression {
      font-size: 12px;
      font-weight: 600;
  }
  .block-2 {
    padding-bottom: 0vw;
  }

  .block-5 {
    padding: 32px 0;
    min-height: 80vh;
  }
}

  @media (min-width: 993px){
  .big-bb-mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .feature-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
  }
}

@media (min-width: 768px) {
    .feature-item::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-gray);
  }
}


