/* Full-page fixed background */
/* default (desktop/tablet) */
.support-background {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("/static/media/support_background.webp") center center / cover no-repeat fixed;
  background-blend-mode: overlay;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

/* phones */
@media (max-width: 768px) {
  .support-background {
    padding: 0;                 /* remove the padding */
    background-attachment: scroll; /* avoid mobile fixed-bg bugs */
  }
}
/* Scrollable content panel */
.support-content {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--text-light);
  line-height: 1.8;
  background: rgba(0, 0, 0, 0.5); /* Optional: add contrast */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Typography */
.support-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .support-content {
    padding: 1.5rem;
  }

  .support-content h1 {
    font-size: 2rem;
  }
}

#checkout {
  background-color: #1e1e1e;
  color: #f0f0f0;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 460px;
  margin: 3rem auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  font-family: 'Cinzel', serif;
  text-align: center;
  border: 1px solid #333;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  #checkout {
    width: 100%;        /* fill screen width within the page */
    max-width: none;    /* remove the 460px cap */
    padding: 1rem;
  }
}



#payment-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#payment-element {
  margin-bottom: 1.5rem;
}

#submit {
  margin-top: 0rem; /* Add spacing above the button */
  background-color: var(--accent-blue);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.15s ease;
  transition: 0.3s ease, box-shadow 0.3s ease;
}

#submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 6px var(--accent-glow), 0 0 12px var(--accent-glow), 0 0 18px var(--accent-glow);

}

#submit:disabled {
  background-color: #555;
  cursor: not-allowed;
  opacity: 0.6;
}

.hidden {
  display: none;
}

#error-message {
  color: #f56262;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Additions for new checkout content */

ul.features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
}

ul.features li {
  margin-bottom: 0.75rem;
  padding-left: 1.75em;
  position: relative;
}

ul.features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

/* Supporting text below button */
.support-note,
.secure-note,
.legal-text {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.4;
  opacity: 0.9;
}

.legal-text a {
  color: var(--text-light);
  text-decoration: underline;
  opacity: 0.9;
}

.support-note {
  font-style: italic;
  margin-top: 1.5rem;
}

.secure-note {
  margin-top: 0.5rem;
}

.trial {
  font-size: 1.2em; /* bigger emphasis */
}

.note {
  font-size: 1em;
  color: #aaa;
}
.section-title {
  margin-bottom: 0.5rem;
}


.secret-link {
  margin-top: 1rem;
  display: flex;              /* robust centering even in odd layouts */
  justify-content: center;
}

.secret-link a {
  opacity: 0.9;
}

.secret-link a:hover {
  opacity: 1;
}

.checkout-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 0rem auto;
  max-width: 1200px;
  padding: 0rem;
  opacity: 0;
  transition: opacity 1s ease;
}


.checkout-container.visible {
  opacity: 1;
}

.divider {
  height: 5px;
  background: linear-gradient(to right, #9f8fff, #5bb4ff);
  border-radius: 2px;
  margin: 1rem 0;
}

/* Special divider for Free Trial */
.divider-free {
  background: linear-gradient(to right, #e68a00, #ffd700); /* orange → yellow */
}

/* Keep all existing button styles intact, just override the color */
.btn-free {
  background: #ca7900 !important; /* orange → yellow */
}

.checkout-free .features li::before {
  content: "✔"; /* or "\2713" */
  color: #945900; /* your orange color */
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Make both checkout boxes equal height */
#checkout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Push button + legal text to bottom */
.checkout-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
}

