.plans-section {
  background-color: #000;
  min-height: 100vh;
  padding-top: 160px;
  position: relative;
  z-index: 1;
}

.plans-section__left-glow {
  width: 200px;
  top: 150px;
  height: auto;
  position: absolute;
  z-index: 2;
  left: 20px;
}

.plans-section__right-glow {
  width: 200px;
  top: 50px;
  height: auto;
  position: absolute;
  z-index: 2;
  right: 20px;
}

.plans-section::before {
  content: "";
  display: block;
  position: absolute;
  background-image: url("/assets/images/plans-section/glow-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: -100px;
  z-index: 2;
  width: 100%;
  height: 500px;
}

.plans-section::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("/assets/images/plans-section/glow-sickle.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: 100px;
  z-index: 3;
  right: 50px;
  width: 100%;
  height: 700px;
}

.plans-section__container {
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 4;
}

.plans-section__title {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 100%;
  text-transform: uppercase;

  background: linear-gradient(
    135deg,
    rgb(0, 0, 0) 0%,
    rgb(26, 26, 26) 30%,
    rgba(255, 255, 255, 1) 50%,
    rgb(26, 26, 26) 70%,
    rgb(26, 26, 26) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0;
}

.plans-section__subtitle {
  font-family: "Astrados", sans-serif;
  color: #d6001c;
  font-weight: 400;
  font-size: 128px;
  line-height: 100%;
  position: relative;
  top: -56px;
}

.plans-section__plans {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  justify-items: center;
}

.plans-section__plan {
  padding: 180px 10px 30px 10px;
  border: 2px solid #d6001c;
  border-radius: 16px;
  position: relative;
  background-color: #ffffff0c;
  backdrop-filter: blur(250px);
  -webkit-backdrop-filter: blur(250px);
  text-align: left;
}

.plans-section__plan-img {
  position: absolute;
  left: 13px;
  top: -64px;
  width: 290px;
  height: auto;
}

.plans-section__plan-title {
  margin: 0 20px 58px 20px;
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -0.04em;
  background: #000000;
  background: linear-gradient(
    90deg,
    rgb(88, 88, 88) 0%,
    rgba(255, 255, 255, 1) 25%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-small-margin {
  margin-bottom: 30px;
}

.plans-section__plan-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 20px;
  position: relative;
}

.plans-section__plan-list.yellow::before {
  content: "";
  position: absolute;
  display: block;
  height: 110%;
  left: -20px;
  box-shadow: 0 0 200px 7px #e3ff00;
}

.plans-section__plan-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.plans-section__plan-item-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  text-underline-offset: 3px;
  color: #afafaf;
}

.disable .plans-section__plan-item-text {
  color: #ffffff1a;
}

.yellow-text-disable {
  color: #e3ff0033;
}

.yellow-text {
  color: #e3ff00;
}

.plans-section__plan-separator-invisible {
  height: 20px;
  width: 100%;
  background-color: transparent;
}

.plans-section__plan-separator {
  margin: 20px;
  width: calc(100% - 40px);
  height: 1px;
  background-color: #ffffff1a;
}

.plans-section__plan-prices {
  margin: 40px 20px 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plans-section__plan-price-old {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  position: relative;
  background: linear-gradient(90deg, #272727 0%, #505050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.plans-section__plan-price-old::after {
  content: "";
  left: 0;
  top: 50%;
  transform: translateY(50%);
  position: absolute;
  width: 100%;
  background: linear-gradient(90deg, #272727 0%, #505050 100%);
  height: 1.7px;
}

.plans-section__plan-price-new {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #d6001c;
  position: relative;
}

.plans-section__plan-price-new::before {
  content: "";
  position: absolute;
  display: block;
  border-radius: 100%;
  top: 50%;
  width: 100%;
  box-shadow: 0 0 50px 7px #d6001c;
}

.plans-section__parts {
  margin: 10px 20px 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plans-section__parts-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  color: #454545;
}

.plans-section__parts-text strong {
  font-weight: 600;
  color: #fff;
}

.plans-section__plan-button {
  cursor: pointer;
  margin: 0 20px;
  padding: 20px;
  width: calc(100% - 40px);
  background-color: #d6001c;
  border-radius: 8px;
  border: none;
  text-align: center;

  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 0 #af0000;
  transition: all 0.3s ease-in-out;
}

.large-margin-top {
  margin-top: 70px;
}

.plans-section__plan-button:hover {
  background-color: #af0000;
}

.plans-section__plan-button-small {
  cursor: pointer;
  margin: 10px 20px 0 20px;
  padding: 12px 20px;
  width: calc(100% - 40px);
  background: rgba(214, 0, 28, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 0, 28, 0.3);
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;

  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plans-section__plan-button-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(214, 0, 28, 0.1), transparent);
  transition: left 0.5s ease;
}

.plans-section__plan-button-small:hover {
  background: rgba(214, 0, 28, 0.15);
  border-color: rgba(214, 0, 28, 0.5);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(214, 0, 28, 0.2);
}

.plans-section__plan-button-small:hover::before {
  left: 100%;
}

.plans-section__plan-button-small:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

@media (max-width: 1350px) {
  .plans-section__plans {
    max-width: 640px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .plans-section__title {
    background: linear-gradient(
      135deg,
      rgb(0, 0, 0) 0%,
      rgb(26, 26, 26) 10%,
      rgba(255, 255, 255, 1) 50%,
      rgb(26, 26, 26) 90%,
      rgb(26, 26, 26) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

@media (max-width: 768px) {
  .plans-section::before,
  .plans-section::after {
    display: none;
  }

  .plans-section__plans {
    max-width: 320px;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 40px;
    gap: 55px;
  }

  .disable,
  .plans-section__plan-separator-invisible {
    display: none;
  }

  .large-margin-top {
    margin: 20px 20px 0 20px;
  }

  .plans-section__title {
    font-size: 40px;

    background: linear-gradient(
      135deg,
      rgb(0, 0, 0) 0%,
      rgb(26, 26, 26) 20%,
      rgba(255, 255, 255, 1) 50%,
      rgb(26, 26, 26) 80%,
      rgb(26, 26, 26) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .plans-section__plan-title {
    margin: 0 10px 30px 10px;
  }

  .plans-section__plan-list {
    margin-left: 10px;
  }

  .plans-section__subtitle {
    font-size: 54px;
    top: -27px;
  }

  .plans-section__plan-prices {
    margin: 40px 30px 10px 30px;
  }

  .plans-section__plan-button-small {
    margin: 10px 10px 0 10px;
    width: calc(100% - 20px);
    padding: 10px 16px;
    font-size: 12px;
  }
}

@media (max-width: 500px) {
  .plans-section__left-glow {
    left: 0;
  }

  .plans-section__right-glow {
    right: 0;
  }

  .plans-section__title {
    background: linear-gradient(
      135deg,
      rgb(0, 0, 0) 0%,
      rgb(26, 26, 26) 5%,
      rgba(255, 255, 255, 1) 50%,
      rgb(26, 26, 26) 95%,
      rgb(26, 26, 26) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  margin: 5% auto;
  padding: 40px;
  border: 2px solid #d6001c;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 60px rgba(214, 0, 28, 0.3);
}

.close {
  color: #fff;
  float: right;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 25px;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #d6001c;
}

.modal-title {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
}

.selected-plan-info {
  background: rgba(214, 0, 28, 0.1);
  border: 1px solid #d6001c;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
  text-align: center;
}

.selected-plan-text {
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.plan-name {
  font-weight: 600;
  color: #e3ff00;
  display: block;
  margin-top: 5px;
}

.plan-price {
  font-weight: 700;
  color: #d6001c;
  font-size: 20px;
  margin-left: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #454545;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #d6001c;
  box-shadow: 0 0 0 3px rgba(214, 0, 28, 0.2);
}

.form-group input::placeholder {
  color: #888;
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  background-color: #d6001c;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #af0000;
}

.form-submit-btn:hover {
  background-color: #af0000;
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Modal Mobile Responsive */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: 30px 20px;
    width: 95%;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .selected-plan-info {
    padding: 12px;
  }
  
  .selected-plan-text {
    font-size: 14px;
  }
  
  .plan-price {
    font-size: 18px;
    margin-left: 5px;
  }
  
  .form-group input {
    padding: 12px;
  }
  
  .form-submit-btn {
    padding: 15px;
  }
}

/* Form Styles */
.plans-section__form-wrapper {
  margin: 30px 20px 20px 20px;
  padding: 25px;
  background: rgba(214, 0, 28, 0.08);
  border: 1px solid rgba(214, 0, 28, 0.3);
  border-radius: 12px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.plans-section__form-header {
  text-align: center;
  margin-bottom: 25px;
}

.plans-section__form-title {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  color: #fff;
  margin: 0 0 15px 0;
  text-align: center;
}

.plans-section__form-date {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  color: #e3ff00;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plans-section__form-price {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 100%;
  color: #d6001c;
  text-transform: uppercase;
}

.plans-section__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: rgba(227, 255, 0, 0.1);
  border: 1px solid rgba(227, 255, 0, 0.3);
  border-radius: 8px;
}

.plans-section__timer-title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
}

.plans-section__timer-display {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #e3ff00;
  min-width: 80px;
  text-align: center;
}

.plans-section__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.plans-section__form-group {
  position: relative;
}

.plans-section__form-group input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.plans-section__form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.plans-section__form-group input:focus {
  outline: none;
  border-color: #d6001c;
  background: rgba(214, 0, 28, 0.1);
  box-shadow: 0 0 0 3px rgba(214, 0, 28, 0.2);
}

.plans-section__form-group input:valid {
  border-color: rgba(227, 255, 0, 0.6);
}

.plans-section__form-submit {
  padding: 18px 25px;
  background: linear-gradient(135deg, #d6001c 0%, #b8001a 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #af0000, 0 8px 25px rgba(214, 0, 28, 0.4);
  position: relative;
  overflow: hidden;
}

.plans-section__form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.plans-section__form-submit:hover {
  background: linear-gradient(135deg, #b8001a 0%, #9d0016 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #af0000, 0 12px 35px rgba(214, 0, 28, 0.6);
}

.plans-section__form-submit:hover::before {
  left: 100%;
}

.plans-section__form-submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #af0000, 0 4px 15px rgba(214, 0, 28, 0.4);
}

.plans-section__form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.plans-section__form-privacy {
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  line-height: 130%;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 15px;
  font-style: italic;
}

/* Form Mobile Responsive */
@media (max-width: 768px) {
  .plans-section__form-wrapper {
    margin: 20px 10px 15px 10px;
    padding: 20px 15px;
  }

  .plans-section__form-title {
    font-size: 16px;
  }

  .plans-section__form-date {
    font-size: 14px;
  }

  .plans-section__form-price {
    font-size: 18px;
  }

  .plans-section__timer {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .plans-section__timer-title {
    font-size: 13px;
  }

  .plans-section__timer-display {
    font-size: 20px;
  }

  .plans-section__form-group input {
    padding: 12px 15px;
    font-size: 14px;
  }

  .plans-section__form-submit {
    padding: 15px 20px;
    font-size: 14px;
  }

  .plans-section__form-privacy {
    font-size: 11px;
    margin-top: 12px;
  }
}
