/* ================================================ */
/* SECTION: HERO SECTION PREMIUM THEME             */
/* ================================================ */
#convert-hero-experiment-v1 {
  background-color: #050a0b;
  position: relative;
  /* overflow: hidden; */
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Subtle Hero Glow Background */
#convert-hero-experiment-v1::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(126, 232, 250, 0.12) 0%,
    transparent 70%
  );
  filter: blur(100px);
  pointer-events: none;
}

#convert-hero-experiment-v1::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(125, 255, 125, 0.08) 0%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

/* Typography Enhancements for Hero */
.h1,
.heading-2 {
  font-family: "Inter", sans-serif !important;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text--blue {
  background: linear-gradient(135deg, #7ee8fa 0%, #4facfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(126, 232, 250, 0.4));
}

.heading-2 em {
  color: #7dff7d;
  font-style: italic;
  filter: drop-shadow(0 0 5px rgba(125, 255, 125, 0.2));
}

/* Hero Feature Cards (Glassmorphism) */
.info-card {
  background: rgba(10, 19, 21, 0.6) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(126, 232, 250, 0.15) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-8px);
  background: rgba(126, 232, 250, 0.08) !important;
  border-color: rgba(126, 232, 250, 0.4) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(126, 232, 250, 0.1);
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(126, 232, 250, 0.5),
    transparent
  );
}

/* Hero Grid Layout */
.hero {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 60px !important;
  align-items: center !important;
}

@media screen and (max-width: 991px) {
  .hero {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  perspective: 1500px;
}

.hero-trading-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(126, 232, 250, 0.3);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(126, 232, 250, 0.1);
  animation: floatHeroImage 8s ease-in-out infinite;
  z-index: 2;
  position: relative;
  transform-style: preserve-3d;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(126, 232, 250, 0.2) 0%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

@keyframes floatHeroImage {
  0%,
  100% {
    transform: translateY(0) rotateX(3deg) rotateY(-3deg);
  }
  50% {
    transform: translateY(-30px) rotateX(-2deg) rotateY(2deg);
  }
}

/* ================================================ */
/* SECTION: HERO SECTION                       */
/* ================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.is--revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Layout Fixes */
.counter-full-wrapper {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(126, 232, 250, 0.2);
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.counter-full-wrapper:hover {
  border-color: rgba(126, 232, 250, 0.5);
  box-shadow: 0 15px 40px rgba(126, 232, 250, 0.2);
  transform: scale(1.02);
}

.one-counter-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #7ee8fa;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(126, 232, 250, 0.5);
}

.counter-main-label {
  color: #ffffff;
  opacity: 0.9;
  font-size: 0.9rem;
}

.copy-code {
  border: 1px solid rgba(126, 232, 250, 0.3);
  background: rgba(126, 232, 250, 0.05);
  padding: 12px 20px;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.copy-code:hover {
  background: rgba(126, 232, 250, 0.15);
  border-color: #7ee8fa;
  transform: translateY(-2px);
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

@media screen and (max-width: 991px) {
  /* ================================================ */
  /* SECTION: STORIES SECTION                          */
  /* ================================================ */
  .stories__row__item__left__bot .text-size-s {
    font-size: 0.875rem;
  }
}

/* ================================================ */
/* SECTION: TABS & ACCORDION                         */
/* ================================================ */
.acc-content__r__inner__wrap__col.swiper-slide {
  transition: opacity 0.3s ease;
}

.acc-content__r__inner__wrap__col.swiper-slide.swiper-slide-prev {
  /*opacity: 0; */
}

.acc-content__r__inner__wrap__col.swiper-slide {
  filter: grayscale(0);
  color: white !important;
}

@media screen and (max-width: 991px) {
  .acc-row .desktop-hidden {
    display: block;
  }

  .acc-row > div:first-child {
    color: #ffffffbf;
  }

  .acc-row .price__prev {
    color: #808080 !important;
  }

  .acc-row .acc-heading {
    color: #7ee8fa !important;
  }
}

.swiper-arrows[show-desktop="true"] {
  display: flex;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.swiper-arrows[show-desktop="true"] {
  display: flex;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.swiper-arrows[show-desktop="true"] {
  display: flex;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.swiper-arrows[show-desktop="true"] {
  display: flex;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

/* ================================================ */
/* SECTION: CHOOSE ACCOUNT SCROLL                    */
/* ================================================ */
#choose-your-account {
  scroll-padding-top: 300px;
}

/* ================================================ */
/* SECTION: TRUST LOGOS TRACK                        */
/* ================================================ */
[verified-section] .verified__track .verified__track__item:nth-child(2n) {
  margin-top: 6px;
}

@media screen and (min-width: 991px) {
  [verified-section] .verified__track .verified__track__item:nth-child(2n) {
    margin-top: 16px;
  }
}

/* ================================================ */
/* SECTION: PRICING SECTION                       */
/* ================================================ */
.calc-reviews__inner__item.swiper-slide {
  filter: grayscale(0);
}

@media screen and (max-width: 991px) {
  .stories__row__item__left__bot .text-size-s {
    font-size: 0.875rem;
  }
}

/* ================================================ */
/* SECTION: VIDEO TESTIMONIALS SECTION                             */
/* ================================================ */
.results__l__el {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.results__l__el.is--active {
  display: flex;
}

.results__l__el.is--active.is--visible {
  opacity: 1;
}

.video-reviews {
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media screen and (max-width: 991px) {
  /* ================================================ */
  /* SECTION: COMPARE RULES SECTION                            */
  /* ================================================ */
  .compare__r__inner.swiper-wrapper {
    height: unset !important;
  }
}

.compare__r__inner__col.swiper-slide {
  transition: opacity 0.3s ease;
  filter: grayscale(0) !important;
  color: white;
  opacity: 1;
}

.compare__r__inner__col.swiper-slide.swiper-slide-prev {
  opacity: 0;
}

/* ================================================ */
/* SECTION: DISCOVER FEATURES SECTION                   */
/* ================================================ */
.discover-carousel__slide__top .text-size-m {
  line-height: 1.4;
}

.discover-carousel__slide.swiper-slide {
  height: unset !important;
}

.verified__track__item.is--trust .text-size-s {
  font-size: 1rem;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

.subscribe__form:has(input:focus) {
  border-color: white;
}

.copy-code.is--active .copy-code__bot.is--idle {
  opacity: 0;
}

.copy-code.is--active .copy-code__bot.is--active {
  opacity: 1;
}

/* ================================================ */
/* SECTION: INFO TOOLTIP                             */
/* ================================================ */
.tippy-box {
  border: 1px solid #7ee8fa !important;
  border-radius: 12px !important;
  width: 231px;
  background-color: #ffffff;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.tippy-content {
  font-size: 15px !important;
  letter-spacing: -0.04em !important;
  color: black !important;
}

@media (max-width: 560px) {
  .tippy-box {
    max-width: 150px;
    width: 150px;
  }

  .tippy-content {
    font-size: 14px !important;
  }
}

/* ================================================ */
/* SECTION: SIDE BY SIDE PRICING LAYOUT              */
/* ================================================ */
.pricing-side-by-side {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.pricing-section {
  flex: 1;
  background: rgba(10, 19, 21, 0.8);
  border: 1px solid rgba(126, 232, 250, 0.2);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pricing-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(126, 232, 250, 0.15);
}

.pricing-section__icon {
  width: 40px;
  height: 40px;
  background: rgba(126, 232, 250, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ee8fa;
}

.pricing-section__icon svg {
  width: 20px;
  height: 20px;
}

.pricing-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.pricing-section .acc-content__top {
  margin-bottom: 24px;
}

.pricing-section .acc-content {
  flex: 1;
}

.pricing-section .acc-content__l {
  min-width: 160px;
  flex: 1;
}

/* Responsive: Stack on mobile */
@media screen and (max-width: 991px) {
  .pricing-side-by-side {
    flex-direction: column;
    gap: 32px;
    padding: 16px;
  }

  .pricing-section {
    padding: 20px;
  }

  .pricing-section__title {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 767px) {
  .pricing-side-by-side {
    padding: 12px;
    gap: 24px;
  }

  .pricing-section {
    padding: 16px;
    border-radius: 16px;
  }

  .pricing-section__header {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .pricing-section__icon {
    width: 36px;
    height: 36px;
  }

  .pricing-section__icon svg {
    width: 18px;
    height: 18px;
  }

  .pricing-section__title {
    font-size: 1.125rem;
  }

  .pricing-section .acc-content__top {
    margin-bottom: 16px;
  }

  .pricing-section .acc-content__top .text-size-m {
    font-size: 0.875rem;
  }
}

/* Hide original tab menu when using side-by-side */
.acc-b:has(.pricing-side-by-side) .acc__menu.second {
  display: none;
}

/* ================================================ */
/* SECTION: MOBILE RESPONSIVENESS FIXES             */
/* ================================================ */

html,
body {
  overflow-x: hidden;
}

@media screen and (max-width: 991px) {
  .nav__menu.w-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #050a0b;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
  }

  .nav__menu.w-nav-menu.is--open {
    display: flex;
  }

  .nav__btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .button.is--nav {
    display: none !important;
  }

  .hero-badges__r-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav__menu__inner {
    flex-direction: column;
    width: 100%;
  }

  .nav__menu__inner .button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Prevent horizontal overflow on mobile containers */
  .container {
    max-width: 100%;
    /* overflow-x: hidden; */
  }

  .hero {
    width: 100%;
    max-width: 100%;
  }

  /* Fix for massive horizontal overflow for text / links */
  .copy-code {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media screen and (max-width: 767px) {
  .pricing-side-by-side {
    flex-direction: column;
  }
}

/* Fix horizontal scroll in hero specifically */
#convert-hero-experiment-v1,
.hero,
.hero-badges,
.hero-badges__r-wrap,
.hero-badges__r {
  max-width: 100%;
  box-sizing: border-box;
  /* overflow-x: hidden; */
}

/* Hide mobile badge strip on desktop */
.hero-badges__r.is--mobile {
  display: none;
}

@media screen and (max-width: 991px) {
  #convert-hero-experiment-v1 {
    /* overflow-x: hidden !important; */
    width: 100%;
  }

  /* Hide desktop badges on mobile */
  .hero-badges__r:not(.is--mobile) {
    display: none !important;
  }

  .hero-badges__r.is--mobile {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: flex-start;
    overflow: scroll;
    gap: 12px;
  }
  .hero-badges__r__badge {
    max-width: 100%;
    height: auto;
  }
  .copy-code {
    white-space: normal;
    word-break: break-all;
    max-width: 100%;
  }

  .mobile-login-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #7dff7d;
    color: white;
    background-color: transparent;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    /* margin-right: 15px; */
    margin-left: auto;
  }
}

/* Hide mobile login button by default on desktop */
.mobile-login-btn {
  display: none;
}

/* Global Width Restraints for Mobile Outliers */
@media screen and (max-width: 991px) {
  body {
    position: relative;
  }

  /* Constrain the Discover Carousel */
  .discover-carousel {
    max-width: 100%;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Hide arrows on mobile because they force width out of bounds */
  .discover-carousel__nav,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  /* Ensure Discover Top Card stacks cleanly */
  .discover__top__card {
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .discover__top__card__content {
    width: 100% !important;
  }

  .discover__top__card__assets {
    width: 100% !important;
    position: relative !important;
    inset: auto !important;
  }

  .discover__top__card__assets__img {
    position: relative !important;
    left: 0 !important;
    max-width: 100%;
    height: auto;
  }

  /* Fix for FAQ elements pushing width */
  .faq_wrapper,
  .faq-accordion,
  .faq-item {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
  }

  /* General safe-guards against horizontal swelling elements */
  .video-reviews-replacement,
  .tradingview-widget-container,
  iframe {
    max-width: 100vw !important;
  }
}

/* ================================================ */
/* SECTION: PRICING TAB DESKTOP LAYOUT FIX          */
/* ================================================ */
@media screen and (min-width: 991px) {
  .acc-content__r {
    overflow-x: auto;
    min-width: 0;
    padding-bottom: 8px;
  }

  /* Scrollbar Styling */
  .acc-content__r::-webkit-scrollbar {
    height: 6px;
  }
  .acc-content__r::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }
  .acc-content__r::-webkit-scrollbar-thumb {
    background: rgba(126, 232, 250, 0.3);
    border-radius: 10px;
  }
  .acc-content__r::-webkit-scrollbar-thumb:hover {
    background: rgba(126, 232, 250, 0.5);
  }

  .acc-content__r__inner__wrap {
    display: flex !important;
    flex-direction: row;
    gap: 4px;
    min-width: max-content;
  }
  
  .acc-content__r__inner__wrap__col {
    flex: 1;
    min-width: 180px;
  }
}
