﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
#doubleconfirmation,
#numberentry,
#congrats,
#pinentry,
#mo #clicktag,
#operatorselection,
#subscriptionpolling,
#blocker,
#popup,
#redirect,
#redirectreturn,
#redirectservice,
#redirectxhrreturn,
#immediatesubscribe,
#alreadysubscribed,
#no3g,
#wifipolling,
#close,
#terminate {
  display: none;
}

.show-directsubscribe #directsubscribe,
.show-doubleconfirmation #doubleconfirmation,
.show-numberentry #numberentry,
.show-pinentry #pinentry,
.show-mo #mo,
.show-congrats #congrats,
.show-clicktag #clicktag,
.show-operatorselection #operatorselection,
.show-subscriptionpolling #subscriptionpolling,
.blocker #blocker,
.show-popup #popup,
.show-redirect #blocker,
.show-redirectreturn #blocker,
.show-redirectservice #blocker,
.show-redirectxhrreturn #blocker,
.show-immediatesubscribe #blocker,
.show-alreadysubscribed #blocker,
.show-no3g #no3g,
.show-wifipolling #wifipolling,
.show-terminate #terminate {
  display: block;
}

:root {
  --primary-color: #1d1d1f;
  --primary-color-faded: #86868b;
  --white: #ffffff;
  --background-color: --white;
  --card-background-color: #f6f5f8;
  --default-text-color: var(--primary-color);
  --heading-text-color: var(--primary-color);
  --body-font-family: "Inter", sans-serif;
  --font-normal: 400;
  --font-bold: 700;
  --font-extra-bold: 800;
  --regular-text-size: 16px;
  --sections-margin: 2.5em;
  --sections-content-margin-lg: 30px;
  --sections-content-margin: 20px;
  --sections-content-margin-sm: 20px;
  --sections-title-font-size: 2.2em;
  --features-container-padding: 5em 3em;
  --section-padding-lg: 2.5em;
  --section-padding-sm: 1em;
  --border-radius: 0.4em;
  --text-line-height: 130%;
}

/*Reset*/
.container {
  margin: 0 auto;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: var(--font-normal);
  line-height: var(--text-line-height);
}

body {
  background-color: var(--background-color);
  color: var(--default-text-color);
  font-family: var(--body-font-family), sans-serif;
}

/*******************************************************************/

/*Utility Css Classes*/
.accent {
  color: var(--accent-color-tint);
}

.bold {
  font-weight: var(--font-bold);
}

.faded {
  color: var(--primary-color-faded);
}

/*******************************************************************/

/*Wrapper Styling*/

.page-content {
  padding-top: 2em;
  max-width: 1200px;
  margin: auto;
}

@media only screen and (max-width: 1235px) {
  .page-content {
    padding: var(--section-padding-lg);
    padding-bottom: 0;
  }
}

.page-content > *:not(:last-child) {
  margin-bottom: 3em;
}

/*******************************************************************/

/*Header Styling*/

.page-content__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.page-content__header h2 {
  font-weight: var(--font-bold);
  font-size: var(--sections-title-font-size);
  margin-bottom: var(--sections-content-margin-sm);
}

.page-content__offer {
  display: flex;
  align-items: center;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: var(--font-normal);
  opacity: 0.8;
  font-size: calc(var(--regular-text-size) - 5px);
  margin-bottom: 0;
}

.header__right-side {
  display: flex;
  background-color: var(--card-background-color);
  padding: 1em 2em;
  border-radius: calc(var(--border-radius) + 3em);
  font-family: var(--body-font-family);
  font-size: calc(var(--regular-text-size) - 4px);
}

/*Countdown Styling*/
.page-content__header--attention {
  font-weight: bold;
  max-width: 350px;
}

#countdown {
  width: 50px;
  margin-left: 1ch;
  color: #eb3223;
}

#countdown span {
  font-weight: var(--font-bold);
}

.hours:after,
.minutes:after {
  content: ":";
}

/*******************************************************************/

/*Hero Styling*/

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2em;
}

.hero__col--1 > *:not(:last-child) {
  margin-bottom: var(--sections-content-margin-sm);
}

.hero__col {
  width: 100%;
  align-self: stretch;
}

.hero__col--1 {
  flex-basis: 58%;
  position: relative;
}

.hero__col--1 .iphone-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.hero__img {
  position: relative;
}

.hero__img::after {
  text-align: center;
  content: "Only Pay $0.99";
  font-size: 12px;
  font-weight: var(--font-bold);
  position: absolute;
  padding: 5px;
  top: -35px;
  right: -35px;
  background-color: var(--primary-color);
  border-radius: 50%;
  color: white;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__col--2 {
  display: flex;
  flex-basis: 38%;
  align-self: center;
}

.hero__title {
  font-size: var(--sections-title-font-size);
  font-weight: var(--font-bold);
}

.hero__description {
  font-size: calc(var(--regular-text-size) - 2px);
}

.hero__availability {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: var(--font-bold);
  color: #eb3223;
  font-size: calc(var(--regular-text-size) - 5px);
  display: flex;
  max-height: 15px;
}

.hero__features > *:not(:last-child) {
  margin-bottom: 1em;
}

.hero__feature {
  list-style: none;
}

.hero__feature-text {
  font-size: calc(var(--regular-text-size) - 3px);
}

/*******************************************************************/

/*Hero Section Layout Resize*/
@media only screen and (max-width: 950px) {
  .hero__col--1 {
    flex-basis: 60%;
  }

  .hero__col--2 {
    flex-basis: 35%;
  }

  .hero__col--1 .iphone-img {
    min-height: 400px;
  }
}

/*******************************************************************/

/*Form Styling*/

.form-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.form-container > *:not(:last-child),
.form-container__intro > *:not(:last-child) {
  margin-bottom: var(--sections-content-margin-sm);
}
.form-container__intro {
  margin-bottom: 20px;
}

.form-container__form > *:not(:last-child) {
  margin-bottom: 0.5em;
}

.form-container__form > *:last-child {
  margin-bottom: 0;
}

.form-container__title {
  text-transform: capitalize;
  font-weight: var(--font-bold);
}

.form-container__description {
  font-size: calc(var(--regular-text-size) - 2px);
}

.form-container__form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  width: 100%;
}

.invalid-error {
  width: 100%;
  display: none;

  font-size: calc(var(--regular-text-size) - 2px);
  color: red;
}

.input-error input, .input-error input:focus, .input-error select , .input-error select:active {
  border: red solid 2px;
}

.input-error .invalid-error {
  display: block;
  margin-top: 10px;
}

.col {
  width: calc(50% - 5px);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::placeholder {
  color: var(--primary-color-faded);
}

::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: var(--primary-color-faded);
}

input,
select {
  color: var(--primary-color-faded);
  height: 50px;
  width: 100%;
  padding: 10px 10px;
  border: var(--primary-color-faded) solid 0.1px;
  border-radius: var(--border-radius);
  /* margin-bottom: 1em; */
}

/* Removing the default arrow */
select {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--background-color);
}

/* Custom arrow */
select {
  background-image: url("../img/IPhoneGiveaway/drop-down-arrow.svg");
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: calc(100% - 4px) center;
}

.btn,
.form-container__submit {
  cursor: pointer;
  background-color: #0071e3;
  color: var(--white);
  padding: 1em;
  font-size: 20px;
  width: 100%;
  height: 80px;
  border-radius: var(--border-radius);
  border: none;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.states__sfc {
  width: 100%;
}

p.banner__content__desc {
  color: #777;
}

#directsubscribe h2.banner__content__title,
#directsubscribe p.banner__content__desc {
  margin-bottom: 15px;
  text-align: center;
}

/*******************************************************************/

/*Features Styling*/

.features {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  flex-basis: 33%;
}

.feature__img {
  width: 35px;
}

.feature__text {
  text-align: center;
  font-size: 0.9em;
}

/*******************************************************************/

/*Banner Styling*/

.banner {
  background-color: var(--card-background-color);
  width: 100%;
  border-radius: var(--border-radius);
  gap: 1em;
  margin-bottom: 2em;
}

.banner__col-1 {
  align-self: last baseline;
  flex-basis: 60%;
}

.banner__col-1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner__col-2 {
  flex-basis: 80%;
}

.banner__content {
  padding: 2em;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}

.banner__content__title {
  font-size: 2.5em;
  font-weight: var(--font-bold);
  margin-bottom: 1em;
}

.banner__content__list {
  padding-bottom: 4em;
  font-size: 0.8em;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: space-between;
}

.banner__content__list-item {
  list-style: none;
  flex-basis: 48%;
}

/*******************************************************************/

/*Showcase section Styling*/

.showcase {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-bottom: var(--sections-margin);
}

.showcase > *:not(:last-child) {
  margin-bottom: var(--sections-content-margin-sm);
}

.showcase__title {
  font-size: var(--sections-title-font-size);
  font-weight: var(--font-bold);
}

.showcase__description {
  max-width: 800px;
}

.showcase__img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.showcase__note {
  font-size: calc(var(--regular-text-size) - 2px);
}

.showcase__alert {
  font-weight: var(--font-bold);
  text-transform: uppercase;
}

/*******************************************************************/

/*Footer Styling*/

footer {
  /*Stretch the section all screen width */
  position: relative;
  right: 50%;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  width: 100vw;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4em 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: space-between;
}

.acceptance__row {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  font-size: calc(var(--regular-text-size) - 4px);
  opacity: 0.5;
  max-width: 500px;
}

input[type="checkbox"] {
  width: 15px;
  margin: 0;
  background-color: var(--primary-color-faded);
  accent-color: var(--primary-color-faded);
}

#disclaimer {
  opacity: 0.5;
  font-size: calc(var(--regular-text-size) - 4px);
  max-width: 700px;
}

.page-footer__copyright {
  margin-top: 2em;
  opacity: 0.5;
  font-size: calc(var(--regular-text-size) - 4px);
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.links__item {
  list-style: none;
}

.links__link {
  font-size: calc(var(--regular-text-size) - 5px);

  color: var(--primary-color-faded);
  text-decoration: none;
}

/*******************************************************************/

@media only screen and (max-width: 920px) {
  .banner__content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner__col-1 {
    flex-basis: 100%;
    align-self: center;
  }

  .banner__col-1 img {
    width: 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 750px) {
  .page-content {
    padding: var(--section-padding-sm);
    padding-bottom: 0;
  }

  .hero__col--1 {
    flex-basis: 55%;
  }

  .hero__img::after {
    text-align: center;
    content: "Only Pay $0.99";
    font-size: 10px;
    font-weight: var(--font-bold);
    position: absolute;
    padding: 7px;
    top: -15px;
    right: -15px;
    height: 50px;
    width: 50px;
  }

  .hero__col--2 {
    flex-basis: 45%;
  }
}

@media only screen and (max-width: 550px) {
  .page-content > *:not(:last-child) {
    margin-bottom: 1.5em;
  }

  .page-content {
    padding-top: 1em;
    padding-bottom: 0;
  }

  .page-content__header {
    flex-direction: column;
    gap: 1em;
  }

  .page-content__header h2 {
    margin-bottom: 0.5em;
  }

  .header__right-side {
    padding: 0.5em 1em;
  }

  .hero__features > *:not(:last-child) {
    margin-bottom: 0.5em;
  }

  .hero__feature-text,
  .hero__description,
  .showcase__description {
    font-size: calc(var(--regular-text-size) - 4px);
  }

  .hero {
    padding: 0.5em;
    flex-direction: column;
    gap: 1em;
  }

  .hero > * {
    flex-basis: 100%;
  }

  .hero__col--1 .iphone-img {
    width: 100%;
  }
  .hero__col.hero__col--1 {
    order: 2;
  }
  .header__left-side {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .header__left-side h2 {
    font-size: 16px;
    margin-bottom: 0;
  }
  .header__right-side.page-content__header--attention {
    margin: 0 auto;
  }
  header.page-content__header {
    margin-bottom: 0 !important;
  }

  .btn-pay {
    position: sticky;
    bottom: 10px;
    z-index: 1;
    transition: all 0.3s ease;
    max-width: 420px;
        margin: 0 auto;
  }
  
  .sticky {
    position: fixed;
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
    left: 50%;
    bottom: 10px;
    z-index: 1;
    transform: translateX(-50%);
  }

  footer {
    padding-bottom: 100px;
  }
  
}

@media only screen and (max-width: 450px) {
  .banner__content__list {
    flex-direction: column;
  }
}

/*States & Popups*/
.preloader {
  width: 40px;
  height: 40px;
  background: url(../img/IPhoneGiveaway/preloader.svg) center no-repeat;
  background-size: 40px auto;
  margin: 0 auto 10px;
  -webkit-animation: preloader 2s infinite linear;
  animation: preloader 2s infinite linear;
}

/* CSS keyframe animations */

@-webkit-keyframes preloader {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.show-alreadysubscribed #alreadysubscribed,
.show-redirectservice #redirectservice {
  display: block;
}
.show-redirectservice {
  height: 100vh;
}
.blocker::after,
.show-congrats::after,
.show-subscriptionpolling::after,
.show-alreadysubscribed::after,
.show-redirectservice::after,
.show-congrats::after {
  /* Blocker overlay */
  content: "";
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.929);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}

#subscriptionpolling, .subscriptionpolling,
#alreadysubscribed, .alreadysubscribed,
#congrats, .congrats,
#redirectservice, .redirectservice{
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  background: white;
  z-index: 10000;
  text-align: center;
  padding: 2em 1em;
  margin: 0 10px;
  border-radius: 0.5em;
  max-width: 500px;
  min-width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*Local States logic*/

.congrats, .alreadysubscribed,
.subscriptionpolling, .redirectservice {

  display: none;
}

.congrats h4 {
  font-family: var(--heading-font-family);
  font-size: 15pt;
  font-weight: 500;
  color: #000000;
  margin-bottom: 10px;
}
/* .show-congrats .states__sfc, 
.show-subscriptionpolling .states__sfc,
.show-redirectservice .states__sfc, 
.show-alreadysubscribed .states__sfc
{
  display: none;
} */
.show-subscriptionpolling .subscriptionpolling {
  display: block;
}
.show-congrats .congrats {
  display: block;
}
.show-alreadysubscribed .alreadysubscribed {
  display: block;
}
.show-redirectservice .redirectservice {
  display: block;
}
#subscriptionpolling > *:not(:last-child),
#alreadysubscribed > *:not(:last-child),
#congrats > *:not(:last-child),
#redirectservice > *:not(:last-child) {
  margin-bottom: var(--sections-content-margin-sm);
}

#subscriptionpolling p,
#alreadysubscribed p,
#congrats h4,
#redirectservice p {
  font-weight: bold;
  font-family: inherit;
}
.show-terminate #directsubscribe {
  display: none;
}
.form-container-terminate {
  display: none;
}
.show-terminate .form-container-terminate {
  display: flex;
}


/* pop-up styles starts here */
 .overlayy {
  display: none;
 }
 .overlay.overlayy {
  display: block;
 }
.overlay::after{
  content: "";
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
}


.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100% - 40px);
  max-width: 1000px;
  height: auto;
  box-sizing: border-box;
  
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  z-index: 99999;
  overflow: hidden;
  text-align: left;
  scrollbar-width: 0;
}

.popup::-webkit-scrollbar {
  width: 0;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 25px;
  width: 25px;
  cursor: pointer;
  border: 2px solid #000000;
  background: #ffffff;
  border-radius: 50%;
}

.close-button::before,
.close-button::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 12px;
  background: #000000;
}

.close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-content {
  width: 100%;
  max-height: 60vh;
  overflow: auto;
  scrollbar-width: none;
  color: #000000;
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
  .popup-content {
      max-height: 70vh;
  }
}

.popup-content > * {
  margin: 0 0 20px;
}

.popup-content > *:last-child {
  margin: 0;
}

.popup-content h1,
.popup-content h2,
.popup-content h3,
.popup-content h4,
.popup-content h5,
.popup-content h6 {
  color: #000000;
  font-weight: 700;
  line-height: 130%;
}

.popup-content a {
  text-decoration: underline;
  color: #000000;
}
#cs-form {
  padding: 0 1em;
}
#cs-form h3 {
  margin-bottom: 20px;
}
#cs-form input, #cs-form textarea {
  font-family: inherit;
  color: var(--primary-color-faded);
  height: 50px;
  width: 100%;
  padding: 10px 10px;
  border: var(--primary-color-faded) solid 0.1px;
  border-radius: var(--border-radius);
  margin-bottom: 1em;
}
#cs-form textarea {
  resize: none;
  height: 150px;

}
#cs-form #cs-form-submit {
  cursor: pointer;
  font-family: inherit;
  background-color: #0071e3;
  color: var(--white);
  padding: 1em;
  font-size: var(--regular-text-size);
  height: 100%;
  height: 50px;
  border-radius: var(--border-radius);
  border: none;
  margin-bottom: 0;
  width: 100%;
}

/* pop-up styles ends */

.paypal-buttons {
    height: 80px !important;
    position: absolute !important;
    left: 0;
    top: 0;
    opacity: 0;
    bottom: 0;
    margin: auto;
}

.btn {
    position: relative;
}

/*.pp-7T62ZHHQG9FDW {
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    min-width: 11.625rem;
    padding: 0 2rem;
    height: 2.625rem;
    font-weight: bold;
    background-color: #42b7ff;
    color: #000000;
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    cursor: pointer;
}*/

.pp-7T62ZHHQG9FDW {
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    min-width: 25.625rem;
    padding: 0 2rem;
    height: 2.625rem;
    font-weight: bold;
    background-color: #42b7ff;
    color: #000000;
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    cursor: pointer;
}