@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/ */
  html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  /* https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html */
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body {
    min-block-size: 100vh;
    line-height: 1.6;
  }

  h1,
  h2,
  h3,
  button,
  input,
  label {
    line-height: 1.1;
    font-size: 1.6em;
  }

  h1,
  h2,
  h3,
  h4 {
    text-wrap: balance;
    font-optical-sizing: auto;
    font-style: normal;
  }

  p,
  li {
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1.6em;
  }

  img,
  picture {
    max-inline-size: 100%;
    display: block;
  }
}

@layer base {
  :root {
    --black: #0a0a0a;
    --white: #fff;
    --primary: #0a1628;
    --secondary: #ff6b35;
    --light-primary: oklch(from var(--primary) clamp(0, l + 0.22, 1) calc(c * 0.9) h);
    --dark-primary: oklch(from var(--primary) clamp(0, l - 0.22, 1) calc(c * 0.92) h);
    --cta-blue: #0066ff;
    --cta-orange: #ff6b35;
    --cta-green: #10b981;
    --light-gray: #f8f9fa;
    --gray: #2d2d2d;
    --gray-md: #6b7280;
    --dark-gray: #20252c;
    --blue-gradient: linear-gradient(
      90deg,
      #06f 0%,
      #006ff7 7.14%,
      #0077ef 14.29%,
      #007ee7 21.43%,
      #0085df 28.57%,
      #008cd7 35.71%,
      #0092cf 42.86%,
      #0097c6 50%,
      #009dbe 57.14%,
      #00a2b4 64.29%,
      #00a7ab 71.43%,
      #00aca1 78.57%,
      #00b097 85.71%,
      #00b58d 92.86%,
      #10b981 100%
    );
    --colorfull-gradient: linear-gradient(135deg, var(--cta-blue) 0%, var(--cta-orange) 50%, var(--cta-green) 100%);

    --border-radius-1: 0.5rem;
    --border-radius-2: 1.25rem;
    --border-radius-3: 2rem;
    --border-radius-4: 3rem;
  }

  @view-transition {
    navigation: auto;
  }

  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

  html {
    scroll-padding: 2rem;
    overflow-x: hidden;
  }
  body {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    color: var(--black);
    background-color: var(--white);
    position: relative;
    line-height: normal;
    width: 100%;
    overflow-x: hidden;
  }

  h1 {
    font-size: 3.6em;
    font-weight: 700;

    @media screen and (max-width: 767px) {
      font-size: 2.25rem;
    }
  }

  h2 {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px; /* 100% */
    @media screen and (max-width: 767px) {
      font-size: 2.5rem;
      line-height: 2.5rem;
    }
  }

  h3 {
    font-size: 1.75rem;
    font-weight: 700;

    @media screen and (max-width: 767px) {
      font-size: 1.5rem;
    }
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Montserrat", sans-serif;
  }

  a {
    color: var(--primary);
    text-decoration: none;
  }

  .btn {
    color: var(--white);
    border-radius: 4px;
    background: var(--primary);
    font-family: "Montserrat", sans-serif;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 28px; /* 155.556% */
    border: none;

    &:hover {
      transform: scale(1.1);
    }

    @media screen and (max-width: 767px) {
      padding: 0.75rem 2rem;
      font-size: 1.4rem;
      min-width: 200px;
    }
  }

  p {
    color: var(--gray-md);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.03125rem; /* 162.5% */
  }
  p:empty {
    display: none;
  }
}

@layer layout {
  .wrapper {
    --wrapper-max-width: 1240px;
    --wrapper-padding: 1rem;

    max-width: var(--wrapper-max-width);
    margin-inline: auto;
    padding-inline: var(--wrapper-padding);

    /* helps to match the Figma file */
    box-sizing: border-box;
    width: 100%;
  }

  .wrapper[data-width="narrow"] {
    --wrapper-max-width: 745px;
  }

  .wrapper[data-width="narrowXS"] {
    --wrapper-max-width: 400px;
  }

  .wrapper[data-width="medium"] {
    --wrapper-max-width: 960px;
  }

  .wrapper[data-width="wide"] {
    --wrapper-max-width: 1600px;
  }

  .section {
    padding-block: 4rem;

    @media (max-width: 767px) {
      padding-block: 2.5rem;
    }
  }

  .modal-grid {
    display: grid;
    place-items: center;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    height: 100%;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }
}

@layer components {
  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 3rem;
    align-items: center;
    z-index: 999;
    gap: 1.5rem;
    background: transparent;
    transition:
      background 0.35s ease,
      box-shadow 0.35s ease,
      padding 0.35s ease;
    position: fixed;
    width: 100%;
    top: 0;

    &.scrolled {
      background: rgba(0, 0, 0, 0.8);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .logo_premium {
      filter: invert(0.25);
    }

    @media screen and (max-width: 767px) {
      padding: 1rem 1.25rem;

      &.scrolled {
        padding-block: 0.6rem;
      }
    }

    .logo_header {
      max-width: 160px;
      position: relative;
      z-index: 11;

      .logo_mobile {
        display: none;
      }

      @media screen and (max-width: 767px) {
        .logo_desktop {
          display: none;
        }

        .logo_mobile {
          display: block;
          width: 40px;
        }
      }

      img {
        width: 100%;
        max-inline-size: none;
      }
    }

    .site_navigation {
      @media screen and (min-width: 768px) {
        display: flex;
        align-items: center;
        gap: 2rem;

        .btn-header-cta {
          display: none;
        }
      }

      @media screen and (max-width: 767px) {
        position: fixed;
        inset: 0;
        background: var(--white);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 10;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        &.active {
          transform: translateX(0);
          -webkit-transform: translateX(0);
        }
      }

      ul {
        display: flex;
        gap: 1rem;
        list-style: none;

        li a {
          text-decoration: none;
          font-weight: 600;
          color: var(--white);
          font-size: 18px;
          font-style: normal;
          font-weight: 400;
          line-height: 27px; /* 150% */
          letter-spacing: 0.45px;

          &.btn {
            border-radius: var(--border-radius-4);
            line-height: 10px;
            background: var(--blue-gradient);
          }
        }

        @media screen and (max-width: 767px) {
          flex-direction: column;
          align-items: center;
          gap: 0.5rem;
        }
      }

      &.active ul li a {
        color: var(--primary);
      }
    }

    .header-right {
      position: relative;
      display: flex;
      gap: 1rem;
      align-items: center;
      z-index: 11;

      .info {
        display: flex;
        gap: 0.25rem;
        text-align: right;

        a {
          font-size: 0.95rem;
          font-weight: 600;
          color: var(--white);
        }

        @media screen and (max-width: 510px) {
          flex-direction: column;
          span {
            display: none;
          }
        }
      }

      .logout-trigger {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--white);
        background: none;
        border: none;
        cursor: pointer;
      }

      .header-cta-desktop {
        line-height: 10px;
        @media screen and (max-width: 767px) {
          display: none;
        }
      }

      .dropdown-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 25%;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 9;

        @media screen and (min-width: 768px) and (max-width: 1199px) {
          width: 50%;
        }

        @media screen and (max-width: 767px) {
          width: 85%;
        }

        &.active {
          right: 0;
        }

        ul {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;

          li a {
            display: block;
            padding: 0.75rem 1rem;
            font-size: 1.125rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.75);
            border-radius: 2.5rem;
            background: var(--blue-gradient);
            transition:
              color 0.2s,
              background 0.2s;

            &:hover {
              color: var(--primary);
              background: rgba(57, 255, 20, 0.06);
            }
          }
        }
      }
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 5px;
      background: none;
      border: none;
      z-index: 11;

      span {
        display: block;
        width: 26px;
        height: 2px;
        background-color: var(--white);
        transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;

        &:nth-child(2) {
          width: 18px;
          margin-left: auto;
        }
      }

      &.active,
      &[aria-expanded="true"] {
        span:first-child {
          transform: translateY(7px) rotate(45deg);
          background: var(--primary);
        }
        span:nth-child(2) {
          opacity: 0;
          transform: scaleX(0);
        }
        span:last-child {
          transform: translateY(-7px) rotate(-45deg);
          background: var(--primary);
        }
      }

      @media screen and (max-width: 767px) {
        display: flex;
      }
    }

    @media screen and (min-width: 768px) {
      .mobile-nav {
        display: none;
      }
    }
  }

  /* Hero Section */

  .page_hero {
    --hero-blue: #0066ff;
    --hero-orange: #ff6b35;
    --hero-green: #10b981;

    min-height: 730px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(
      90deg,
      color-mix(in oklab, var(--hero-blue) 80%, transparent) 0%,
      color-mix(in oklab, var(--hero-blue) 80%, transparent) 33.333%,
      color-mix(in oklab, var(--hero-orange) 80%, transparent) 33.333%,
      color-mix(in oklab, var(--hero-orange) 80%, transparent) 66.666%,
      color-mix(in oklab, var(--hero-green) 80%, transparent) 66.666%,
      color-mix(in oklab, var(--hero-green) 80%, transparent) 100%
    );

    @media screen and (max-width: 767px) {
      min-height: 620px;
    }

    .wrapper {
      display: flex;
      align-items: flex-start;
      min-height: 730px;
      position: relative;

      @media screen and (max-width: 767px) {
        min-height: 620px;
      }
    }

    .hero_content {
      display: flex;
      max-width: 576px;
      flex-direction: column;
      align-items: flex-start;
      gap: 2rem;
      padding-top: 142px;
      /* margin-left: clamp(0rem, 14vw - 3.5rem, 16rem); */
      width: 100%;

      .hero-title-main {
        color: var(--white, #fff);
        font-family: "Montserrat", sans-serif;
        font-size: clamp(3rem, 2rem + 3vw, 5rem);
        font-style: normal;
        font-weight: 900;
        line-height: 0.95;
        letter-spacing: -0.03em;
        text-transform: uppercase;
        display: flex;
        flex-direction: column;
        gap: 0.15em;

        .hero-title-accent {
          color: var(--hero-orange);
          font-style: italic;
        }
      }

      .hero-desc-text {
        color: rgba(255, 255, 255, 0.9);
        font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
        line-height: 1.6;
        max-width: 576px;
      }

      .hero-actions {
        display: flex;
      }

      .hero-btn-main {
        border: 0;
        border-radius: 999px;
        background: var(--white);
        color: var(--primary);
        font-size: 1.75rem;
        font-weight: 700;
        line-height: 1;
        font-family: "Inter", sans-serif;
        min-width: 226px;
        min-height: 67px;
        padding: 1rem 2.1rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;

        transition:
          transform 0.25s ease,
          box-shadow 0.25s ease;

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 10px 24px rgba(10, 22, 40, 0.22);
        }
      }

      @media screen and (max-width: 1024px) {
        max-width: 520px;
        padding-top: 120px;
      }

      @media screen and (max-width: 767px) {
        padding-top: 92px;
        gap: 1.6rem;
        max-width: 100%;
      }
    }
  }

  /* Hero Payment  */

  .hero_payment {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    &::before {
      content: "";
      position: absolute;
      top: -50%;
      right: -10%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    &::after {
      content: "";
      position: absolute;
      bottom: -20%;
      left: -5%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(0, 217, 255, 0.04) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
  }

  .why-choose {
    .cards {
      display: flex;
      gap: 24px;
      justify-content: space-between;
      text-align: center;
      flex-wrap: wrap;

      @media screen and (max-width: 767px) {
        gap: 16px;
      }

      @media screen and (max-width: 575px) {
        flex-direction: column;
        align-items: center;
      }
      h2 {
        font-size: 60px;
        line-height: 60px; /* 100% */
      }
      h3 {
        color: var(--primary);
        font-size: 40px;
        font-weight: 800;
        line-height: 60px; /* 150% */
      }

      p {
        color: var(--gray-md);
        text-align: center;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px; /* 150% */
        letter-spacing: 0.7px;
        text-transform: uppercase;
      }
    }
  }

  .training-programs {
    .d-flex {
      @media screen and (max-width: 1036px) {
        flex-direction: column;
        align-items: center;
      }
    }
    h2 {
      font-size: 64px;
      font-style: normal;
      font-weight: 900;
      line-height: 64px; /* 100% */
      letter-spacing: -1.28px;
      text-align: left;

      &::after {
        content: "";
        display: block;
        width: 128px;
        height: 4px;
        background: var(--blue-gradient);
        margin-top: 12px;
      }

      @media screen and (max-width: 767px) {
        font-size: 2.6rem;
        line-height: 2.6rem;
      }
    }
    ul {
      list-style: none;
      padding: 0;
      margin: 2rem 0 0 0;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    li {
      color: var(--gray-md);
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px; /* 160% */
      text-align: left;
      &::before {
        content: "✓";
        margin-bottom: 15px;
        display: flex;
        width: 32px;
        height: 32px;
        padding: 0 8px;
        justify-content: center;
        align-items: center;
        color: var(--white);
        font-weight: 700;
        border-radius: 50%;
        background: var(--blue-gradient);
      }
    }
  }

  /* Pricing Section */
  .pricing_section {
    .plan {
      max-width: 350px;
      border-radius: 25.2px;
      background: var(--blue-gradient);
      box-shadow: 0 26.25px 52.5px -12.6px rgba(0, 0, 0, 0.25);
      margin: 2rem auto;
      overflow: hidden;

      .plan_header {
        background: var(--primary);
        color: var(--white);
        padding: 0.6rem 0;
        text-align: center;
        font-weight: 900;
        font-size: 0.9rem;
        letter-spacing: 1px;
      }

      .plan_content {
        display: flex;
        flex-direction: column;
        padding: 2rem 1.5rem;
        color: var(--white);

        h4 {
          margin: 0;
          font-size: 1.5rem;
          text-transform: uppercase;
          letter-spacing: 1px;
          text-align: left;
        }

        .price {
          margin: 0.5rem 0 1.5rem 0;
          display: flex;
          align-items: baseline;

          span {
            font-size: 2.5rem;
            font-weight: 900;
            line-height: 1;
          }

          small {
            font-size: 1rem;
            margin-left: 4px;
          }
        }

        ul {
          list-style: none;
          padding: 0;
          margin: 0 0 2rem 0;
          display: flex;
          flex-direction: column;
          gap: 12px;

          li {
            font-size: 0.95rem;
            font-weight: 400;
            display: flex;
            align-items: center;
            color: #d1d1d1;

            &::before {
              content: "✓";
              color: var(--white);
              margin-right: 12px;
              font-weight: bold;
            }
          }
        }
      }
      p {
        color: var(--light-gray);
        font-size: 0.9rem;
        text-align: center;
        margin-top: 1.5rem;
        line-height: 1.4;
      }
    }
  }

  .call-to-action {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 48% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(10, 22, 40, 0) 52%), var(--primary);
    text-align: center;
    padding: clamp(7rem, 10vw, 10rem) 1rem;

    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 50rem;
      height: 50rem;
      border-radius: 50%;
      filter: blur(64px);
      opacity: 0.12;
      z-index: -1;
      pointer-events: none;
    }

    &::before {
      top: -12rem;
      right: 5%;
      background: linear-gradient(135deg, var(--cta-blue) 0%, var(--cta-green) 100%);
    }

    &::after {
      left: -10%;
      top: 22rem;
      background: linear-gradient(135deg, var(--cta-orange) 0%, var(--cta-green) 100%);
    }

    .call-to-action__content {
      display: grid;
      justify-items: center;
      gap: clamp(1.6rem, 2vw, 2.4rem);
    }

    .call-to-action__title {
      display: grid;
      gap: 0;
      margin: 0;
    }

    .call-to-action__line {
      display: block;
      font-family: "Montserrat", sans-serif;
      font-size: clamp(4.2rem, 7vw, 8rem);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -0.03em;
      text-transform: uppercase;
    }

    .call-to-action__line--solid {
      color: var(--white);
    }

    .call-to-action__line--gradient {
      background: linear-gradient(164deg, var(--cta-blue) 0%, var(--cta-orange) 50%, var(--cta-green) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }

    .call-to-action__subtitle {
      margin: clamp(0.8rem, 1.4vw, 1.2rem) 0 0;
      color: rgba(255, 255, 255, 0.8);
      font-size: clamp(1.8rem, 2.3vw, 2.4rem);
      font-weight: 400;
      line-height: 1.45;
      text-align: center;
    }

    .call-to-action__btn {
      margin-top: clamp(1.6rem, 2vw, 2.4rem);
      background: var(--white);
      color: var(--primary);
      border-radius: 999px;
      padding: 1.8rem 3.2rem;
      font-family: "Inter", sans-serif;
      font-size: 2rem;
      font-weight: 700;
      line-height: 1.5;
      transform-origin: center;
      transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
      }
    }

    @media screen and (max-width: 767px) {
      padding: 6rem 1.2rem;

      &::before,
      &::after {
        width: 36rem;
        height: 36rem;
        opacity: 0.18;
      }

      &::before {
        right: -28%;
        top: -10rem;
      }

      &::after {
        left: -35%;
        top: 18rem;
      }

      .call-to-action__line {
        font-size: clamp(2.5rem, 11vw, 5.4rem);
      }

      .call-to-action__subtitle {
        max-width: 31rem;
        font-size: 1.45rem;
        line-height: 1.6;
      }

      .call-to-action__btn {
        font-size: 1.2rem;
        padding-inline: 1.5rem;
      }
    }
  }

  /* Agreement Section */
  .agreement_section {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;

    #getNow {
      .form_container {
        max-width: 550px;
        margin: 0 auto;
        background: var(--colorfull-gradient);
        border-radius: 20px;
        padding: 45px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

        @media (max-width: 767px) {
          padding: 30px 20px;
        }

        .form_title {
          font-size: 28px;
          font-weight: 700;
          text-align: center;
          margin-bottom: 35px;
          color: var(--white);
        }

        .agreements {
          display: flex;
          flex-direction: column;
          gap: 20px;
          margin-bottom: 35px;

          .checkbox-group {
            &.modern_checkbox {
              position: relative;

              input[type="checkbox"] {
                position: absolute;
                opacity: 0;
                cursor: pointer;
                width: fit-content;
                height: 100%;
                margin: 0;
                top: 0;
                left: 0;
                z-index: 1;

                &:checked + label {
                  .checkbox_custom {
                    background: var(--cta-green);
                    border-color: var(--cta-green);
                    box-shadow: 0 0 12px var(--hero-orange);

                    &::after {
                      opacity: 1;
                      transform: scale(1);
                    }
                  }
                }

                &:focus + label {
                  .checkbox_custom {
                    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.2);
                  }
                }
              }

              label {
                display: flex;
                align-items: flex-start;
                gap: 14px;
                cursor: pointer;
                user-select: none;
                padding: 15px;
                border-radius: 12px;
                transition: all 0.3s ease;
                position: relative;
                z-index: 0;

                &:hover {
                  background: var(--hero-orange);

                  .checkbox_custom {
                    border-color: var(--primary);
                  }
                }

                .checkbox_custom {
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  width: 20px;
                  height: 20px;
                  min-width: 20px;
                  min-height: 20px;
                  border: 2px solid var(--hero-orange);
                  border-radius: 6px;
                  background: white;
                  transition: all 0.3s ease;
                  margin-top: 2px;

                  &::after {
                    content: "✓";
                    color: var(--black);
                    font-size: 14px;
                    font-weight: 700;
                    opacity: 0;
                    transform: scale(0.5);
                    transition: all 0.3s ease;
                  }
                }

                .label_text {
                  font-size: 14px;
                  color: var(--light-gray);
                  line-height: 1.6;
                  font-weight: 500;

                  a {
                    color: var(--gray);
                    text-decoration: none;
                    font-weight: 600;
                    transition: all 0.3s ease;
                    z-index: 1;
                    position: relative;

                    &:hover {
                      text-decoration: underline;
                      color: var(--dark-primary);
                    }
                  }
                }
              }
            }
          }
        }

        .payment_submit_btn {
          width: 100%;
          border: none;
          font-weight: 700;
          cursor: pointer;
          transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          position: relative;
          overflow: hidden;
          letter-spacing: 0.5px;

          .btn_text {
            position: relative;
            z-index: 1;
          }

          .btn_icon {
            position: relative;
            z-index: 1;
            font-size: 18px;
            transition: transform 0.3s ease;
          }

          &:hover:not(:disabled) {
            box-shadow: 0 15px 40px var(--hero-orange);
            transform: translateY(-2px);

            &::before {
              left: 100%;
            }

            .btn_icon {
              transform: translateX(4px);
            }
          }

          &:active:not(:disabled) {
            transform: translateY(0);
          }

          &:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
          }
        }
      }
    }
  }

  @media (max-width: 767px) {
    .pricing_section {
      padding: 60px 0 40px;

      .section_header {
        margin-bottom: 40px;

        h1 {
          font-size: 28px;
          margin-bottom: 10px;
        }

        .section_subtitle {
          font-size: 14px;
        }
      }

      .pricing_container {
        .pricing_card {
          padding: 35px 25px;

          .card_header {
            padding-bottom: 20px;

            h2 {
              font-size: 20px;
              margin-bottom: 15px;
            }

            .price_display {
              .amount {
                font-size: 36px;
              }
            }
          }

          .benefits_list {
            gap: 12px;
            margin-bottom: 20px;
            padding-bottom: 20px;

            .benefit_item {
              font-size: 14px;
              gap: 10px;

              .benefit_icon {
                width: 18px;
                height: 18px;
              }
            }
          }
        }
      }
    }
  }
}

/* Cards on login page  */
.training-features {
  .training-feature {
    padding: 2.5rem 1.75rem;

    img {
      width: 50%;
      max-width: 650px;

      @media screen and (max-width: 767px) {
        width: 100%;
      }
    }
    h3 {
      font-size: 1.25rem;
      color: var(--black);
      margin-bottom: 0.5rem;
    }

    p {
      margin: 0;
      color: var(--gray-md);
      font-size: 1rem;
      line-height: 1.4;
    }
    .training-feature-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
      flex: 1 0 0;
      position: relative;

      .btn {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--primary);
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px; /* 150% */
        letter-spacing: 0.5px;
      }
      &::before {
        content: "";
        position: absolute;
        top: -20px;
        left: 0;
        width: 80px;
        height: 6px;
        background: var(--primary);
      }
    }
  }
}

/* Category Cards */

.category_card {
  width: 180px;
  height: 220px;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  transition: transform 0.3s ease-in-out;
  margin: 0;

  &:hover {
    transform: translateY(-4px);

    img.cardsImage {
      filter: brightness(1) grayscale(0) contrast(1);
    }
  }

  img.cardsImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    filter: brightness(0.9) grayscale(20%) contrast(0.95);
  }

  @media screen and (max-width: 767px) {
    width: 150px;
    height: 170px;
  }
}

.category_card:hover img.cardsImage {
  transform: scale(1.05);
}

.cardsTitle {
  position: absolute;
  width: 80%;
  bottom: 20px;
  left: 15px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  z-index: 2;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

  @media screen and (max-width: 767px) {
    font-size: 0.9rem;
    bottom: 15px;
    left: 10px;
  }
}

.app-section,
#app-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  justify-items: center;

  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Categorie Pills  */

.features-bar {
  margin: 30px 0;
  flex-wrap: wrap;

  @media screen and (max-width: 767px) {
    justify-content: center;
  }
}

.labels {
  .item-label {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    max-height: fit-content;
    overflow: hidden;
    white-space: nowrap; /* Don't forget this one */
    text-overflow: ellipsis;
  }
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating > img {
  width: 15px;
}

.rating > span {
  font-size: 1.5em;
}

/* Scrollbar  */

/* width */
::-webkit-scrollbar {
  width: 15px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.329);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border-radius: 10px;
}

/* Section Picker */

.section-switcher-wrap {
  padding-block: 0;
}

.section_picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  margin: 2rem auto 3rem auto;
  max-width: 900px;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    padding: 1.25rem 0.5rem;
    gap: 1rem;
  }

  button {
    background: var(--colorfull-gradient);
    color: #fff;
    border-radius: var(--border-radius-4);
    border: none;
    box-shadow: 0 2px 8px 0 rgba(60, 80, 120, 0.08);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 1.1rem 0.5rem;
    margin: 0;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0.6;

    &:hover,
    &:focus {
      color: #fff;
      box-shadow: 0 4px 16px 0 rgba(60, 80, 120, 0.13);
    }

    &.active {
      background: var(--blue-gradient);
      color: #fff;
      box-shadow: 0 6px 24px 0 rgba(30, 58, 138, 0.18);
      opacity: 1;
    }

    @media screen and (max-width: 767px) {
      font-size: 1rem;
      padding: 0.9rem 0.3rem;
    }
  }
}

/* Support pages  */

.title-section {
  padding-block: 4.5rem 2.5rem;
  background: #ff6b35;

  h1 {
    color: var(--white);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (max-width: 767px) {
    margin-top: 0;
    width: 100%;
  }

  p {
    font-size: 0.875rem;
    text-align: center;
  }

  a {
    color: var(--primary);
  }

  label {
    color: var(--gray);
  }

  input,
  textarea {
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius-2);
    background: var(--dark-gray);
    font-size: 1rem;
    color: var(--white);
  }

  .btn {
    width: 100%;
  }
}

/* Single Items  */
.single-item,
.single-movie {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius-2);
  margin-top: 40px;
  h1 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: left;
    text-wrap: inherit;

    @media screen and (max-width: 767px) {
      font-size: 24px;
      text-align: center;
    }
  }

  h2 {
    font-size: 19px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .img-radial {
    width: 100%;
    max-width: 240px;
    height: 100%;
    max-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--border-radius-2);
    overflow: hidden;

    @media screen and (max-width: 767px) {
      max-width: 150px;
      max-height: 150px;
      margin: 0 auto;
    }

    &.large {
      max-width: 100%;

      @media screen and (max-width: 767px) {
        max-height: 200px;
      }
    }

    img {
      width: auto;
      min-height: 240px;
      min-width: 100%;
      border-radius: var(--border-radius-2);
      object-fit: cover;
      filter: brightness(0.7) grayscale(0.5);
    }
  }

  video {
    max-height: 450px;
  }

  .single-item-info {
    width: 100%;
    padding: 0;

    @media screen and (max-width: 767px) {
      width: 100%;
    }

    p,
    ul li,
    ol li {
      line-height: 24px;
      margin: 0 0 20px !important;
      background: none !important;
      font-size: 16px !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      background: none !important;
    }

    video {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    table {
      width: 100% !important;
      font-size: 15px;
      margin: 20px 0;

      @media screen and (max-width: 767px) {
        display: block; /* allows overflow */
        overflow-x: auto; /* enable horizontal scroll */
        white-space: nowrap; /* prevent cells from breaking */
        width: 100%; /* make it responsive */
        -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
      }

      tr {
        td {
          padding: 0.5rem 1rem;
          text-align: left !important;
        }
      }
    }
  }

  .btn {
    @media screen and (max-width: 767px) {
      margin: 20px auto 0;
    }
  }
}

.blog {
  .single-item,
  .single-movie {
    .img-radial {
      max-width: 100%;
      min-height: 300px;
      img {
        width: 100%;
        object-fit: cover;
      }
    }
  }
}

.single-movie .single-item-info {
  width: 100%;
}

.unsub-container {
  padding: 3rem 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  border-radius: var(--border-radius-2);
  margin: 0 auto;

  @media screen and (max-width: 767px) {
    width: 100%;
    padding: 2rem 1rem;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 420px;

    .form-group {
      padding: 0;
    }

    input {
      padding: 15px;
      background: var(--light-gray) !important;
      color: var(--black);
      border: none !important;
      border-radius: 25px;
    }

    .btn {
      width: 100%;
    }
  }

  #errorMsg {
    color: var(--gray);
    font-size: 0.875rem;
  }
}

.h-captcha {
  overflow: auto;
  max-width: 100%;
}

/* Alert styles */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert p {
  margin: 0;
}

/* Support page */

.support-page {
  .wrapper[data-width="medium"] {
    --wrapper-max-width: 900px;
  }

  h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;

    @media (max-width: 767px) {
      text-align: center;
    }
  }

  h2 {
    font-size: 3rem;
    font-weight: 200;
    margin: 0;
    color: var(--white);

    @media (max-width: 767px) {
      font-size: 2rem;
    }
  }

  a {
    color: var(--white);
    text-decoration: underline;
    overflow: hidden;
    white-space: nowrap; /* Don't forget this one */
    text-overflow: ellipsis;
  }

  .text-large {
    color: var(--gray);
    font-size: 2.125rem;
    font-weight: 300;
    line-height: 1.3;

    @media (max-width: 767px) {
      font-size: 1.75rem;
      text-align: center;
    }
  }

  .tablet-column {
    @media (max-width: 1199px) {
      flex-direction: column;
    }
  }

  .support-video {
    width: 100%;
    height: 100%;
    border-radius: 25px;
  }

  .support-container {
    background: var(--colorfull-gradient);
    position: relative;
    padding: 50px;
    border-radius: 25px;

    @media (max-width: 767px) {
      padding: 30px 20px;
      text-align: center !important;
    }

    &.email-frame {
      text-align: left;
      max-width: 680px;

      img {
        left: auto;
        right: 0;
        top: -20px;
      }

      a {
        font-size: 1.5rem;
        color: var(--white);
        line-height: normal;
        text-decoration: none;
      }
    }

    > .d-flex {
      position: relative;
      z-index: 1;
    }

    > img {
      position: absolute;
      left: 0;
      top: -40px;
      height: 100%;
      width: auto;
      z-index: 0;
      object-fit: contain;
      object-position: top;
      max-width: 280px;
      filter: grayscale(0.75) brightness(1.5);

      @media (max-width: 767px) {
        display: none;
      }
    }

    .support-number {
      font-size: 4rem;
      line-height: 1.25;
      font-weight: 800;
      display: block;
      color: var(--white);
      text-decoration: none;

      @media (max-width: 767px) {
        font-size: 10vw;
      }
    }

    @supports (-webkit-touch-callout: none) {
      @media screen and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
        .support-number {
          color: var(--white) !important;
          text-decoration: none !important;

          a {
            color: var(--white) !important;
            text-decoration: none !important;
          }
        }
      }
    }

    .support-text {
      color: var(--gray);
      display: block;
      font-size: 0.9rem;
    }
  }

  .contact_form {
    padding: 0;
    background: transparent;
    max-width: 100%;

    .form-group {
      width: 100%;
      margin: 0;

      input,
      textarea {
        padding: 15px;
        background: var(--light-gray) !important;
        color: var(--black);
        border: none !important;
        border-radius: 25px;
        font-family: "Inter", sans-serif;

        &::placeholder {
          color: var(--gray);
        }
      }
    }
  }

  .accordion {
    width: 100%;
    margin: auto;
    overflow: hidden;

    .accordion-item {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--gray);
      border-radius: 0 !important;

      .accordion-header {
        cursor: pointer;
        padding: 25px 0 10px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .arrow {
          color: var(--white);
          transition: transform 0.3s ease;
          margin-right: 10px;
          font-size: 18px;
        }

        span {
          font-size: 1.5rem;
          line-height: 1.3;
          color: var(--white);
          font-weight: 600;
          flex-grow: 1;
          padding-right: 20px;

          @media (max-width: 767px) {
            font-size: 1.25rem;
          }
        }
      }

      .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 0 15px;
        color: var(--gray);

        p {
          margin: 15px 0;
        }
      }

      &.active {
        .accordion-content {
          max-height: 450px; /* adjust if answers are long */
          overflow-y: auto;
        }

        .arrow {
          transform: rotate(90deg); /* arrow points down when open */
        }
      }
    }
  }
}

.support-test-page {
  .support-test-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.5rem;

    @media (max-width: 991px) {
      grid-template-columns: 1fr;
    }
  }

  .support-test-intro {
    border-radius: 25px;
    padding: 2.25rem;
    background: var(--colorfull-gradient);
    h2 {
      margin: 0.5rem 0 1rem;
      max-width: 16ch;
      color: var(--white);
    }

    p {
      color: var(--light-gray);
      margin: 0;
      max-width: 52ch;
      font-size: 1.05rem;
      line-height: 1.6;
    }
  }

  .support-test-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;

    .btn {
      min-width: 180px;
      text-decoration: none;
    }

    .btn.ghost {
      background: transparent;
      color: var(--primary);
      border: 1px solid var(--primary);
    }
  }

  .support-test-channels {
    display: grid;
    gap: 1rem;
  }

  .support-test-channel-card {
    border-radius: 25px;
    padding: 1.5rem;
    background: var(--colorfull-gradient);

    h4 {
      margin: 0 0 0.75rem;
      color: var(--white);
      font-size: 1rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .support-number {
      font-size: 1.2rem;
      line-height: 1.1;
      margin-bottom: 0.4rem;
      white-space: normal;
      color: var(--white);
    }

    .support-mail {
      color: var(--white);
      font-size: 1.2rem;
      line-height: 1.25;
      text-decoration: none;
      overflow-wrap: anywhere;
      display: inline-block;
      margin-bottom: 0.4rem;
    }

    .support-text {
      color: var(--light-gray);
      font-size: 0.92rem;
      display: block;
    }
  }

  .support-test-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: start;

    @media (max-width: 991px) {
      grid-template-columns: 1fr;
    }
  }

  .support-test-form-panel {
    color: var(--black);

    h3 {
      margin-bottom: 0.6rem;
    }

    h2 {
      margin-top: 0;
      margin-bottom: 1.25rem;
      font-size: 2rem;
      line-height: 1.2;
      color: var(--white);
    }

    .contact_form .btn {
      width: 100%;
    }

    .alert {
      margin: 1rem 0 0;
    }
  }

  .support-test-copy-panel {
    padding: 2rem;
    text-align: left;
    height: 100%;

    h3 {
      margin-bottom: 1rem;
    }

    h2,
    h4,
    h5,
    h6 {
      color: var(--white);
      margin: 0 0 0.75rem;
      line-height: 1.3;
      font-size: 1.45rem;
    }

    p,
    li {
      color: var(--light-gray);
      margin: 0 0 1rem;
      font-size: 1rem;
      line-height: 1.6;
    }

    ul,
    ol {
      margin: 0;
      list-style: none;
    }

    a {
      color: var(--white);
      text-decoration: none;
      overflow-wrap: anywhere;
    }
  }

  .support-test-unsub-section {
    .unsub-container {
      background: var(--colorfull-gradient);
      border-radius: 25px;
      padding: 2rem;

      p {
        color: var(--white);
      }
    }
  }
}

/* Footer  */

.site_footer {
  position: relative;
  padding: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
  &.payment-footer {
    grid-template-columns: 1.5fr 1fr;
  }
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer__brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer__tagline {
  color: var(--gray-md);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-md);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s ease;
}

.footer__contact-item:hover {
  color: var(--light-gray);
}

.footer__contact-item svg {
  flex-shrink: 0;
  stroke: var(--light-gray);
  opacity: 0.8;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: var(--gray-md);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
  display: inline-block;
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__disclaimer {
  color: var(--gray-md);

  line-height: 1.6;
  margin: 0;

  p {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__payments {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__payments img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.footer__payments img:hover {
  opacity: 1;
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--gray-md);
  margin: 0;
}

@media screen and (max-width: 991px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__legal {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.backToTopBtn {
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px var(--primary);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
}

#backToTop {
  opacity: 0;
  visibility: hidden;

  &.visible {
    opacity: 1;
    visibility: visible;
  }
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: var(--white);
}

.backToTopBtn:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: var(--light-primary);
  align-items: center;
}

.backToTopBtn:hover .svgIcon {
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.backToTopBtn::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: var(--black);
  font-size: 0px;
}

.backToTopBtn:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

/* Modals  */
.spinner {
  border: 4px solid var(--white);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.otp-modal,
.login-modal,
.unsub-modal,
.sign-up-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;

  @media screen and (max-width: 767px) {
    padding: 1rem;
  }
}

.otp-modal,
.login-modal,
.sign-up-modal,
#paymentModal {
  .modal-content.auth-modal-shell {
    width: min(100%, 400px);
    border-radius: 20px;
    background: #f3f4f6;
    box-shadow: 0 18px 44px rgba(10, 22, 40, 0.28);
    position: relative;
    overflow: hidden;
    padding: 0 20px 18px;

    @media screen and (max-width: 767px) {
      width: min(100%, 360px);
      padding: 0 14px 14px;
      border-radius: 16px;
    }
  }

  .close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    color: #0a1628;
    line-height: 1;
    background: #f3f4f6;
    border: 0;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      color 0.2s ease;
    z-index: 3;

    &:hover {
      transform: scale(1.04);
      background-color: #fff;
      color: #0066ff;
    }

    @media screen and (max-width: 767px) {
      right: 10px;
      top: 10px;
    }
  }

  .auth-modal-hero {
    margin-inline: -20px;
    padding: 46px 20px;
    background-image: linear-gradient(
      154deg,
      #0066ff 0%,
      #6d78d1 14.3%,
      #ab7ca0 28.6%,
      #ff6b35 50%,
      #c1965b 71.4%,
      #10b981 100%
    );

    @media screen and (max-width: 767px) {
      margin-inline: -14px;
      padding: 36px 14px;
    }

    h2 {
      margin: 0 auto;
      color: var(--white);
      font-family: "Montserrat", sans-serif;
      font-size: clamp(2rem, 2.5vw, 2.6rem);
      line-height: 1;
      font-weight: 800;
      max-width: 78%;

      @media screen and (max-width: 767px) {
        max-width: 100%;
        font-size: 1.8rem;
      }
    }
  }

  .modal-grid {
    display: block;
    margin-top: -22px;
    height: auto;
  }

  .modal-form,
  form {
    width: 100%;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow:
      0 10px 15px rgba(0, 0, 0, 0.1),
      0 4px 6px rgba(0, 0, 0, 0.08);

    @media screen and (max-width: 767px) {
      padding: 12px;
      border-radius: 12px;
    }

    &.wrapper {
      --wrapper-padding: 0;
      --wrapper-max-width: 100%;
    }

    label {
      color: #0a1628;
      font-size: 1.3rem;
      font-weight: 600;
      line-height: 1.5;
    }

    input {
      width: 100%;
      background: #f3f4f6;
      color: #0a1628;
      border: 1px solid transparent;
      border-radius: 12px;
      padding: 0.6rem 1.2rem;
      font-size: 1rem;
      transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;

      &:focus-visible {
        outline: none;
        border-color: #0066ff;
        box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
        background: var(--white);
      }

      &::placeholder {
        color: rgba(10, 22, 40, 0.45);
      }
    }

    .checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 0.8rem;

      input[type="checkbox"] {
        min-height: auto !important;
        width: 16px;
        height: 16px;
        margin-top: 0.4rem;
        accent-color: #0066ff;
        border-radius: 4px;
        flex-shrink: 0;
      }

      label {
        color: #6b7280;
        font-size: 0.8rem;
        line-height: 1.45;
        font-weight: 400;
      }
    }

    .btn {
      width: 100%;
      min-height: 38px;
      margin-top: 0.2rem;
      border: 0;
      border-radius: 12px;
      background: var(--blue-gradient);
      color: var(--white);
      font-size: 1.4rem;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: 0;
      text-transform: none;
      transition: transform 0.2s ease;

      &:hover {
        transform: translateY(-1px);
      }
    }

    .error {
      min-height: 1.4rem;
      margin: 0;
      color: #b42318;
      font-size: 1.2rem;
      line-height: 1.4;
      text-align: left;
    }

    p {
      margin: 0;
      line-height: 1.4;
      color: #6b7280;

      &:last-of-type {
        margin-top: 0.5rem;
        text-align: center;
      }
    }

    a {
      color: #0066ff;
      font-weight: 600;
    }
  }
}

/* Payment modal  */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem;
}

/* Payment Modal Styles */

#paymentModal {
  .modal-content.auth-modal-shell {
    max-height: 92vh;
    overflow-y: auto;
  }

  /* Reuse shared .form-group card as the payment card */
  .form-group {
    gap: 10px;
  }

  .payment-field {
    display: flex;
    flex-direction: column;
    gap: 5px;

    label {
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }
  }

  .payment-field-row {
    display: flex;
    gap: 10px;

    .payment-field {
      flex: 1;
    }
  }
}

/* Input placeholder styling */
input::placeholder {
  color: #bbb;
}

/* Error state */
input.error {
  border-color: #dc3545;
}

/* Success state */
input.success {
  border-color: #28a745;
}

/* Table  */

.blog table {
  width: 100% !important;
  margin: 20px auto;
  font-size: 0.875rem;

  td {
    padding: 10px 5px;
  }
}

.blog table tr:first-child th,
.blog table tr:first-child td {
  background: var(--primary);
  color: var(--white);
}
/* Legals Pages  */

.legals {
  font-size: 16px;
  line-height: 1.4;

  h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  ul,
  li {
    list-style: none;
    padding-left: 5px;
    font-size: 1rem;
    color: var(--gray-md);
  }
}

@layer pages {
  .page {
    p {
      margin: 15px 0;
    }

    h1,
    h2 {
      margin-top: 30px;
    }

    .info-frame {
      border-radius: 24px;
      background: linear-gradient(
        135deg,
        #06f 0%,
        #4871e8 7.14%,
        #6d78d1 14.29%,
        #8d7bb9 21.43%,
        #ab7ca0 28.57%,
        #c77a84 35.71%,
        #e37464 42.86%,
        #ff6b35 50%,
        #ec7c44 57.14%,
        #d78a50 64.29%,
        #c1965b 71.43%,
        #a7a165 78.57%,
        #8aaa6f 85.71%,
        #64b278 92.86%,
        #10b981 100%
      );
      padding: 40px 30px;
      border-radius: 20px;
      gap: 10px;

      h2 {
        color: var(--white);
        margin: 0;
      }

      p {
        margin-bottom: 0;
      }

      .text-xl {
        font-size: 1.5rem;
        font-weight: 700;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

        @media screen and (max-width: 991px) {
          font-size: 1.2rem;
        }
      }
    }

    ul,
    ol {
      li {
        margin: 15px;
      }
    }
  }

  .btn.primary {
    padding: 12px 40px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: 0.25s ease-out;

    &:hover {
      transform: scale(1.1);
    }
  }

  .account_page {
    flex-direction: column-reverse;
    .text-frame {
      border-radius: 24px;
      background: linear-gradient(
        135deg,
        #06f 0%,
        #4871e8 7.14%,
        #6d78d1 14.29%,
        #8d7bb9 21.43%,
        #ab7ca0 28.57%,
        #c77a84 35.71%,
        #e37464 42.86%,
        #ff6b35 50%,
        #ec7c44 57.14%,
        #d78a50 64.29%,
        #c1965b 71.43%,
        #a7a165 78.57%,
        #8aaa6f 85.71%,
        #64b278 92.86%,
        #10b981 100%
      );
      border-radius: var(--border-radius-2);
      padding: 1.75rem;

      h2 {
        color: var(--white);
        margin: 0 0 0.8rem;
      }

      p {
        color: var(--light-gray);
        margin: 0 0 1rem;

        strong {
          color: var(--white);
        }
      }

      .btn {
        margin-top: 0.5rem;
      }
    }

    .info-frame {
      p {
        color: var(--light-gray);
      }

      .text-xl {
        color: var(--white);
      }
    }

    @media screen and (max-width: 750px) {
      flex-direction: column;

      .text-frame,
      .info-frame {
        padding: 1.25rem;
      }
    }
  }
}

@layer utilites {
  .background-dark {
    background-color: var(--dark-gray);
  }

  .background-gray {
    background: var(--gray);
  }

  .background-black {
    background-color: var(--black);
  }

  .background-white {
    background-color: var(--white);
  }

  .background-primary {
    background-color: var(--primary);
  }

  .highlight {
    color: var(--primary);
  }

  .intro-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.8em;
    line-height: normal;
  }

  .d-none,
  .hidden {
    display: none !important;
  }

  .d-flex {
    display: flex;
  }

  .flex-column {
    flex-direction: column;
  }

  .d-flex .column {
    flex-basis: 50%;
    flex-grow: 1;
  }

  .justify-center {
    justify-content: center;
  }

  .justify-between {
    justify-content: space-between;
  }

  .align-center {
    align-items: center;
  }
  .text-center {
    text-align: center;
  }

  .text-white {
    color: var(--white);
  }

  .text-black {
    color: var(--black);
  }

  .text-primary {
    color: var(--primary);
  }
  .m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .mt-0 {
    margin-top: 0 !important;
  }
  .mt-1 {
    margin-top: 1rem;
  }

  .mt-2 {
    margin-top: 1.25rem;
  }

  .mt-3 {
    margin-top: 1.5rem;
  }

  .mt-4 {
    margin-top: 2rem;
  }

  .mt-5 {
    margin-top: 2.5rem;
  }

  .mb-1 {
    margin-bottom: 1rem;
  }

  .mb-2 {
    margin-bottom: 1.25rem;
  }

  .mb-3 {
    margin-bottom: 1.5rem;
  }

  .mb-4 {
    margin-bottom: 2rem;
  }

  .mb-5 {
    margin-bottom: 2.5rem;
  }

  .pt-0 {
    padding-top: 0 !important;
  }
  .pt-1 {
    padding-top: 1rem;
  }

  .pt-2 {
    padding-top: 1.25rem;
  }

  .pt-3 {
    padding-top: 1.5rem;
  }

  .pt-4 {
    padding-top: 2rem;
  }

  .pt-5 {
    padding-top: 2.5rem;
  }

  .pb-1 {
    padding-bottom: 1rem;
  }

  .pb-2 {
    padding-bottom: 1.25rem;
  }

  .pb-3 {
    padding-bottom: 1.5rem;
  }

  .pb-4 {
    padding-bottom: 2rem;
  }

  .pb-5 {
    padding-bottom: 2.5rem;
  }

  .col-4 {
    width: 35%;

    @media screen and (min-width: 768px) and (max-width: 1199px) {
      width: 45%;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-7 {
    width: 60%;

    @media screen and (min-width: 768px) and (max-width: 1199px) {
      width: 50%;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-6 {
    width: 50%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .gap-1 {
    gap: 0.5rem;
  }

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  @media screen and (max-width: 767px) {
    .mobile-column {
      flex-direction: column;
    }
  }
  .reverse-mobile {
    @media screen and (max-width: 767px) {
      flex-direction: column-reverse;
    }
  }
}
