/* ── Legal / info pages ─────────────────────────────── */
.privacy-section,
.terms-section,
.about-section {
  background-color: #ffffff;
  padding: 40px 20px 70px;
  min-height: 50vh;
}

.privacy-container,
.terms-container,
.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-container h1,
.terms-container h1,
.about-container h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1F1235;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.privacy-container,
.terms-container,
.about-container {
  counter-reset: legalsec;
}

.privacy-container h2,
.terms-container h2,
.about-container h2 {
  counter-increment: legalsec;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #1F1235;
  margin-top: 30px;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.privacy-container h2::before,
.terms-container h2::before,
.about-container h2::before {
  content: counter(legalsec, decimal-leading-zero);
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #B794F6;
  margin-bottom: 6px;
}

.privacy-container h2::after,
.terms-container h2::after,
.about-container h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7C3AED, #C026D3);
}

.privacy-container p,
.terms-container p,
.about-container p {
  font-size: 15px;
  line-height: 1.75;
  color: #3E384C;
  margin-bottom: 12px;
}

.privacy-container ul,
.terms-container ul,
.about-container ul {
  margin: 0 0 16px 20px;
}

.privacy-container ul li,
.terms-container ul li,
.about-container ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #3E384C;
  margin-bottom: 6px;
}

.privacy-container a,
.terms-container a,
.about-container a {
  color: #6D28D9;
  text-decoration: none;
  font-weight: 600;
}

.privacy-container a:hover,
.terms-container a:hover,
.about-container a:hover {
  text-decoration: underline;
}

/* ── Register / Deposit / Withdraw / Download pages ──── */
.register-section,
.download-page-section {
  background-color: #ffffff;
  padding: 40px 20px 70px;
  min-height: 50vh;
}

.register-container,
.download-container {
  max-width: 1200px;
  margin: 0 auto;
}

.register-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #3E384C;
  margin-bottom: 26px;
}

.register-intro a {
  color: #6D28D9;
  text-decoration: none;
  font-weight: 600;
}

.register-intro a:hover {
  text-decoration: underline;
}

.cta-wrapper {
  text-align: center;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.secondary-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  color: #6D28D9;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 32px;
  border-radius: 999px;
  border: 2px solid #E4D3FC;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.secondary-cta-btn:hover {
  background: #F6F1FF;
  border-color: #C4B5FD;
}

.cta-wrapper .register-cta-btn,
.cta-wrapper .download-cta-btn {
  width: 100%;
  max-width: 380px;
}

.logo-box {
  text-align: center;
  margin: 26px 0;
}

.logo-box img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.how-to-title {
  counter-increment: htsec;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1F1235;
  margin: 30px 0 16px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: -0.3px;
}

.how-to-title::before {
  content: counter(htsec, decimal-leading-zero);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #B794F6;
  margin-bottom: 8px;
}

.how-to-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #7C3AED, #C026D3);
}

.process-list {
  background-color: #FBF9FF;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.process-list p {
  font-size: 15px;
  line-height: 1.7;
  color: #3E384C;
  margin-bottom: 10px;
}

.process-list p:last-child {
  margin-bottom: 0;
}

.process-list a {
  color: #6D28D9;
  font-weight: 600;
  text-decoration: none;
}

.process-list a:hover {
  text-decoration: underline;
}

.app-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 20px 0 30px;
}

.app-details-table td {
  padding: 12px 4px;
  border-bottom: 1px solid #F1EAFD;
}

.app-details-table td:first-child {
  font-weight: 600;
  color: #746C87;
}

.app-details-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #1F1235;
}

.comparison-table td:first-child {
  text-align: left;
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

@media (max-width: 600px) {
  .privacy-container h1,
  .terms-container h1,
  .about-container h1 {
    font-size: 25px;
  }
  .privacy-section, .terms-section, .about-section,
  .register-section, .download-page-section {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ── Tabbed step-by-step guide (per payment method) ──── */
.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #FBF9FF;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #746C87;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.guide-tab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.guide-tab-dot.ep {
  background: #00b900;
}

.guide-tab-dot.jc {
  background: #e53935;
}

.guide-tab-dot.bt {
  background: #1565c0;
}

.guide-tab.active {
  color: #ffffff;
  background: #7C3AED;
}

.guide-tab.active .guide-tab-dot {
  background: #ffffff;
}

.guide-tab:hover:not(.active) {
  background: #F1EAFD;
}

.guide-panel {
  display: none;
}

.guide-panel.active {
  display: block;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(46, 16, 101, 0.05);
  border-radius: 16px;
}

.gs-num {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #7C3AED, #C026D3);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
}

.gs-body {
  flex: 1;
  min-width: 0;
}

.gs-body h3,
.gs-body .gs-title {
  font-size: 15px;
  font-weight: 700;
  color: #1F1235;
  margin-bottom: 6px;
}

.gs-body p {
  font-size: 14.5px;
  color: #3E384C;
  line-height: 1.7;
}

.gs-body p + p {
  margin-top: 6px;
}

.gs-tip {
  background: #FBF9FF;
  border-left: 3px solid #7C3AED;
  border-radius: 0 10px 10px 0;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #4A2E7A;
  margin-top: 10px;
}

.gs-tip strong {
  color: #3A2261;
}

@media (max-width: 600px) {
  .guide-tab {
    padding: 9px 14px;
    font-size: 13px;
  }
}
