/* 400 - Regular */
@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: normal;
	font-stretch: normal;
	src: url('../fonts/YekanBakhFaNum-Regular.woff') format('woff'),   
	url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2');	
    font-display: swap;	 
}

/* 600 - SemiBold */
@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 600;
	font-stretch: normal;
	src: url('../fonts/YekanBakhFaNum-SemiBold.woff') format('woff'),   
	url('../fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2');	
    font-display: swap;	 
}

/* 700 - Bold */
@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: bold;
	font-stretch: normal;
	src: url('../fonts/YekanBakhFaNum-Bold.woff') format('woff'),   
	url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2'); 
    font-display: swap;
}
:root {
    --spacing-offer-header: 20px;
}
html {
    font-size: 10px;
}
body {
    margin: 0;
    font-size: 1.6rem;
	font-family: Yekan Bakh FaNum;
    background-color: #000;
    color: #fff;
}
p {
    margin: 0;
}
a {
    margin: 0;
    text-decoration: none;
}
ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
}
*, *::after, *::before {
    box-sizing: border-box;
}
.container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px;
}
.u-flex {
    display: flex;
}
.u-flex-col {
    flex-direction: column;
}
.u-align-center {
    align-items: center;
}
.u-justify-between {
    justify-content: space-between;
}
.u-gap-8 {
    gap: 8px;
}
.u-gap-12 {
    gap: 12px;
}
.hero__image {
    display: block;
    width: 100%;
    height: auto;
}
.logotype {
    display: none;
    position: fixed;
    top: 32px;
    right: 16px;
    z-index: 1000;
    height: auto;
    width: 180px;
    max-width: 180px;
}
.offer {
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
}
.offer .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--spacing-offer-header);
    padding-bottom: var(--spacing-offer-header);
}
.offer__header{
    margin-top: 16px;
    margin-bottom: 0;
    padding: 7px 14px 20px 14px;
    gap: 0;
}
.offer__text {
    align-items: flex-start;
}
.offer__title {
    margin: 0;
    font-size: 3.2rem;
}
.offer__title .offer__title-highlight {
     color: #0044FF;
     white-space: nowrap;
}
.offer__subtitle {
    font-weight: 700;
    font-size: 2.2rem;
}
.offer-card {
    /* position: relative; */
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 430px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 14px 22px 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}
.offer-card__discount-badge {
    position: absolute;
    top: -18px;
    left: 22px;
    padding: 4px 12px;
    background: #FFFFFF;
    color: #000;
    font-family: 'Bebas Neue';
    font-size: 2.4rem;
    border-radius: 150px;
}
.offer-card__plan {
    gap: 4px;
    font-weight: 600;
    font-size: 1.4rem;
}
.offer-card__plan-title {
    font-size: 1.6rem;
    font-weight: 400;
}
.offer-card__pricing {
    align-items: baseline;
    margin-bottom: 20px;
}
.offer-card__gift-chip {
    gap: 4px;
    padding: 2px 12px;
    background: #0044FF;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    font-size: 1.4rem;
    font-weight: 400;
}
.offer-card__gift-chip span {
    font-size: 1.4rem;
    font-weight: 400;
}
.offer-card__gift-icon svg {
    width: 22px;
    height: 24px;
}
.offer-card__price-monthly {
    font-weight: 600;
    font-size: 1.2rem;
}
.offer-card__price-monthly b {
    font-size: 1.8rem;
}
.offer-card__price-total {
    font-size: 1.3rem;
    color: #A2A2A2;
}
.offer-card__countdown {
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 8px;
}
.countdown__label {
    font-weight: 600;
    font-size: 1.2rem;
}
.countdown__icon svg {
    width: 20px;
    height: 20px;
}
.offer-card__countdown ul {
    gap: 5px;
}
.countdown__item{
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5.6px;
    padding: 3px 12px;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.countdown__value {
    font-weight: 600;
    font-size: 1.4rem;
}
.countdown__unit {
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 11px;
}
.button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.button--primary {
  width: 100%;
  padding: 10px 16px;
  background: #0044FF;
  border-radius: 1000px;
  color: #fff;
  font-weight: 600;
  font-size: 1.7rem;
}

.offer__icon {
  align-self: flex-start;
  margin-top: -40px;
  margin-right: -2px;
}

@media (max-width: 375px) {
  .hero__image {
    width: 100%;
  }

  .offer__title {
    font-size: 2.2rem;
  }

  .offer__subtitle {
    font-size: 1.6rem;
  }

  .offer__icon {
    margin-right: 0px;
    margin-top: -30px;
  }

  .offer__icon img {
    width: 50px;
    height: auto;
  }

  .offer-card__discount-badge {
    top: -14px;
    font-size: 1.8rem;
    padding: 3px 10px;
  }

  .offer-card__plan-title {
    font-size: 1.3rem;
  }

  .offer-card__gift-chip {
    font-size: 1.1rem;
    padding: 2px 10px;
  }

  .offer-card__gift-chip span {
    font-size: 1.2rem;
  }

  .offer-card__gift-icon svg {
    width: 16px;
    height: 18px;
  }

  .offer-card__price-monthly {
    font-size: 1rem;
  }

  .offer-card__price-monthly b {
  font-size: 1.4rem;
  }

  .offer-card__price-total {
    font-size: 1rem;
  }

  .countdown__label {
    font-size: 1rem;
  }

  .countdown__icon svg {
    width: 16px;
    height: 16px;
  }

  .countdown__value {
    font-size: 1.1rem;
  }

  .countdown__unit {
    font-size: 0.7rem;
  }

  .countdown__item {
    padding: 2px 8px;
  }

  .button--primary {
    font-size: 1.4rem;
    padding: 8px 16px;
  }
}

@media (min-width: 1024px) {
    /* html {
        font-size: 11.2px;
} */
    main {
    height: 100vh;
    display: flex;
    flex-direction: row-reverse;
    overflow: hidden;
}

    .hero__image {
        display: none;
    }

    .logotype {
        display: block;
        top: 48px;
        right: 80px;
        width: 120px;
        max-width: 120px;
    }

    .hero {
    flex: 0 0 50%;
    height: 100%;
    /* display: flex;
    align-items: stretch; */
    background-image: url(../images/hero-desktop.png);
    background-size: auto 100%;
    background-position: left center;
    background-repeat: no-repeat;
}

.offer {
    flex: 0 0 50%;
    /* display: flex;
    align-items: center;  */
    padding-bottom: 0;
}
.offer .container {
    max-width: 480px;   
    margin-right: 80px;
    margin-left: auto;
    justify-content: flex-start;
    padding-top: calc((100vh - 40px - 240px) / 2);
    padding-right: 0;
}

.offer__header {
    padding-right: 0;
    gap: 1;
}

.offer__title {
    font-size: 4.4rem;
    white-space: nowrap;
}

.offer__subtitle {
    font-size: 3rem;
}

.offer__icon {
    align-self: flex-start;
    margin-top: -80px;
    margin-right: -10px;
}
.offer__icon img {
    width: 120px;
    height: auto;
}

.offer-card {
    position: fixed;
    right: 80px;
    bottom: 40px;
    transform: none;
    max-width: 560px;
    margin-top: 0;
    padding: 12px 22px 14px;
}
.offer-card__body {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
}
.offer-card__pricing {
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
}
.offer-card__pricing .offer-card__price-total {
    font-size: 1.5rem;
    font-weight: 400;
    color: #A2A2A2;
    margin-top: -4px;
}
.offer-card__price-monthly {
    font-weight: 600;
    font-size: 18px;
    line-height: 40px;
    margin-top: 15px;
}
.offer-card__price-monthly b {
    font-size: 34px;
}

.button--primary {
    padding: 18px 16px;
}

.offer-card__discount-badge {
    top: -24px;
    padding: 6px 16px;
    font-size: 3.2rem;
}

.offer-card__plan-title {
    font-size: 1.9rem;
}

.offer-card__gift-chip {
    font-size: 1.6rem;
}

.offer-card__gift-chip span {
    font-size: 1.7rem;
}

.countdown__label {
    font-size: 1.5rem;
}

.countdown__icon svg {
    width: 26px;
    height: 26px;
}

.countdown__item {
    padding: 8px 16px;
    flex: 1;
    min-width: 0;
}

.countdown__value {
    font-size: 1.8rem;
}

.countdown__unit {
    font-size: 1rem;
}

.offer-card__countdown {
    padding-left: 20px;
    padding-right: 20px;
}
}
