/* ==========================================================================
   Fixed Deposit landing page (fixed-deposit)
   All rules scoped under .fd-page to avoid clashing with webflow/custom CSS.
   ========================================================================== */
.hide {
  display: none;
}

.fd-page {
  --fd-bg: #0c0120;
  --fd-card: #150b2c;
  --fd-purple: #7a1fff;
  --fd-purple-dark: #5b1ec9;
  --fd-pink: #ff1f6b;
  --fd-border: rgba(250, 250, 250, 0.25);
  --fd-text-muted: #b9b4c7;
  background-color: var(--fd-bg);
  color: #fff;
  font-family: Inter, sans-serif;
  overflow: hidden;
}

.fd-page *,
.fd-page *::before,
.fd-page *::after {
  box-sizing: border-box;
}

/* global webflow CSS greys out <p>; force white inside this page */
.fd-page p {
  color: #fff;
}

.fd-page p.fd-pidm-note {
  color: var(--fd-text-muted);
}

.fd-page p.fd-disclaimer {
  color: #a7a3b5;
}

.fd-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.fd-section {
  padding: 60px 0;
  scroll-margin-top: 60px; /* keep anchor targets clear of sticky header */
}

.fd-heading {
  margin: 0 0 48px;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.fd-eyebrow {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- Buttons ---------- */
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 30px;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fd-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.fd-btn-purple {
  background-color: var(--fd-purple);
  font-size: 19px;
  font-weight: 700;
}

.fd-btn-pink {
  background-color: var(--fd-pink);
}

.fd-btn-block {
  width: 100%;
  margin-top: 30px;
  font-weight: 700;
}

/* ---------- Glow card ---------- */
.fd-glow-card {
  position: relative;
  border-radius: 24px;
  background-color: var(--fd-card);
  box-shadow:
    -8px -6px 30px rgba(122, 31, 255, 0.55),
    8px 6px 30px rgba(255, 31, 107, 0.45);
}

/* ---------- Hero ---------- */
.fd-hero {
  padding: 150px 0 90px;
}

.fd-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* let grid children shrink below their content width on small screens */
.fd-hero-grid > *,
.fd-calc-card > *,
.fd-stat {
  min-width: 0;
}

.fd-hero-title {
  margin: 0 0 10px;
  background: linear-gradient(90deg, #7a1fff 0%, #d61fa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
}

.fd-hero-subtitle {
  margin: 0 0 20px;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.fd-hero-text {
  margin: 0 0 32px;
  font-size: 23px;
  line-height: 1.4;
}

.fd-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fd-pidm-note {
  margin: 36px 0 44px;
  color: var(--fd-text-muted);
  font-size: 14px;
  font-style: italic;
}

.fd-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 605px;
}

.fd-stat {
  padding: 18px 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, #1a0a3a 0%, #4c16b8 100%);
}

.fd-stat-label {
  margin-bottom: 14px;
  font-size: 14px;
}

.fd-stat-value {
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.fd-stat-value span {
  font-size: 19px;
}

/* Rate card */
.fd-rate-card {
  padding: 26px 20px 50px;
}

.fd-pill {
  display: table;
  margin: 0 auto 18px;
  padding: 6px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7a1fff 0%, #ff1f6b 100%);
  font-size: 15px;
  font-weight: 500;
}

.fd-rate-box {
  margin: 0 20px 60px;
  padding: 26px 20px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2a1650 0%, #4b2165 60%, #5a2348 100%);
  text-align: center;
}

.fd-rate-big {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
}

.fd-rate-caption {
  margin: 12px 0 0;
  font-size: 16px;
}

.fd-limit-list {
  padding: 10px 20px 30px;
  border-radius: 10px;
  background-color: #1c1230;
}

.fd-limit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 20px;
  line-height: 1.3;
}

.fd-limit-row:last-child {
  border-bottom: 0;
}

.fd-limit-row span {
  max-width: 240px;
}

.fd-limit-row strong {
  white-space: nowrap;
}

/* ---------- Calculator ---------- */
.fd-calc-section .fd-heading {
  margin-bottom: 90px;
}

.fd-calc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 60px 50px;
}

.fd-label {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
}

.fd-input {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.fd-input input,
.fd-input select {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 34px;
  font-weight: 600;
  color-scheme: dark;
}

.fd-input-prefix {
  margin-right: 10px;
  font-size: 34px;
  font-weight: 600;
}

.fd-input:focus-within {
  border-color: #b98aff;
}

.fd-input select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  cursor: pointer;
}

.fd-input select option {
  background-color: var(--fd-card);
  font-size: 18px;
}

.fd-input-small {
  width: 140px;
  padding: 0 24px;
}

/* Date: native input kept invisible (opens picker), formatted text shown instead */
.fd-input-date {
  position: relative;
  justify-content: space-between;
  gap: 12px;
  width: 270px;
  padding: 0 22px 0 24px;
  cursor: pointer;
}

.fd-input-date input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
}

.fd-date-display {
  font-size: 30px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.fd-date-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.fd-input-tenure {
  width: 100%;
  max-width: 420px;
}

.fd-tenure-display {
  font-size: 28px;
  font-weight: 600;
  white-space: nowrap;
}

.fd-rate-input-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fd-percent {
  font-size: 34px;
  font-weight: 600;
}

.fd-calc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

/* Slider */
.fd-slider {
  --fd-fill: 10%;
  width: 100%;
  height: 8px;
  margin: 36px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b98aff 0%, #b98aff var(--fd-fill), #4a3d66 var(--fd-fill), #4a3d66 100%);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.fd-slider::-webkit-slider-thumb {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff url("../images/GXBank-Logomark-RGB_Gradient-p-130x130q80.png") center / 70% no-repeat;
  box-shadow: 0 0 14px rgba(185, 138, 255, 0.9);
  appearance: none;
  -webkit-appearance: none;
}

.fd-slider::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff url("../images/GXBank-Logomark-RGB_Gradient-p-130x130q80.png") center / 70% no-repeat;
  box-shadow: 0 0 14px rgba(185, 138, 255, 0.9);
}

.fd-slider-scale {
  display: flex;
  justify-content: space-between;
  margin: -8px 0 18px;
  color: var(--fd-text-muted);
  font-size: 14px;
}

.fd-slider-value {
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 700;
}

/* Result card */
.fd-result-card {
  padding: 30px 20px 40px;
  border-radius: 8px;
  background-color: var(--fd-purple);
}

.fd-result-label {
  margin-bottom: 14px;
  font-size: 19px;
}

.fd-result-interest {
  display: flex;
  align-items: center;
  height: 60px;
  margin-bottom: 14px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 40px;
  font-weight: 700;
}

.fd-result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 19px;
}

.fd-result-total {
  margin-top: 34px;
  padding: 30px 20px;
  border-radius: 8px;
  background-color: var(--fd-purple-dark);
}

.fd-result-total .fd-result-label {
  margin-bottom: 6px;
}

.fd-result-total-value {
  font-size: 37px;
  font-weight: 700;
  line-height: 1.4;
}

/* Formula */
.fd-formula {
  margin-top: 70px;
  padding: 34px 40px 26px;
  border-radius: 24px;
  background: linear-gradient(90deg, #45168f 0%, #2a0f5c 60%, #140a2a 100%);
  text-align: center;
}

.fd-eyebrow-formula {
  margin-bottom: 18px;
  font-size: 19px;
}

.fd-formula-expr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  font-size: 28px;
  font-weight: 700;
}

.fd-fraction-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.fd-paren {
  font-size: 36px;
  font-weight: 400;
}

.fd-fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 20px;
}
.fd-fraction::before, 
.fd-fraction::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.fd-fraction::before {
  content: '(';
  left: 0;
}
.fd-fraction::after {
  content: ')';
  right: 0;
}

.fd-num {
  padding: 0 4px 6px;
  border-bottom: 2px solid #fff;
}

.fd-den {
  padding: 6px 4px 0;
}

.fd-formula-note {
  margin: 24px 0 0;
  font-size: 16px;
}

.fd-disclaimer {
  margin: 20px 0 0;
  color: #a7a3b5;
  font-size: 16px;
  text-align: center;
  line-height: 1.2;
}

/* ---------- Feature cards ---------- */
.fd-feature-grid {
  display: flex;
  gap: 20px;
}

.fd-feature {
  min-height: 300px;
  padding: 40px 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background-color: #0a0018;
  flex: 1;
}

.fd-feature-icon {
  display: block;
  width: 106px;
  height: auto;
  margin-bottom: 30px;
}

.fd-feature-title {
  margin: 0 0 28px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.fd-feature-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

/* ---------- Compare table ---------- */
.fd-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fd-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: center;
}

.fd-table th,
.fd-table td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.fd-table th {
  background-color: #3d3550;
  font-size: 20px;
  font-weight: 600;
}

.fd-table td {
  font-size: 16px;
}

.fd-table th:first-child,
.fd-table td:first-child {
  width: 18%;
}

.fd-row-highlight td {
  background-color: rgba(122, 31, 255, 0.18);
  font-weight: 600;
}

.fd-badge-new {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--fd-purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.fd-table td.fd-text-alert {
  color: #ff4d7d;
}

/* ---------- How to open ---------- */
.fd-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px 20px;
  padding-top: 64px;
}

.fd-step {
  position: relative;
  padding: 100px 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background: linear-gradient(180deg, #1a0e30 0%, #3a2a62 100%);
  text-align: center;
}

.fd-step-strong {
  background: linear-gradient(180deg, #1a0e30 0%, #5a16c9 100%);
}

.fd-step-num {
  position: absolute;
  top: -66px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 130px;
  border-radius: 50%;
  background-color: var(--fd-purple);
  font-size: 42px;
  font-weight: 500;
  transform: translateX(-50%);
}

.fd-step-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.fd-step-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

/* ---------- FAQ (reuse site accordion, width tweak only) ---------- */
.fd-faq-container {
  max-width: 1064px;
}

.fd-faq .fd-heading {
  margin-bottom: 64px;
  font-weight: 600;
}

/* ---------- Download ---------- */
.fd-download {
  padding: 100px 0 160px;
  text-align: center;
}

.fd-download-heading {
  margin-bottom: 30px;
  font-weight: 600;
}

.fd-download-text {
  max-width: 500px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.5;
}

.fd-store-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 64px;
}

.fd-store-buttons img {
  display: block;
  height: 40px;
  width: auto;
}

.fd-qr img {
  display: block;
  width: 274px;
  max-width: 100%;
  margin: 0 auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 1199px) {
  .fd-calc-card {
    gap: 40px;
    padding: 50px 30px;
  }

  .fd-input input,
  .fd-input select,
  .fd-input-prefix,
  .fd-percent {
    font-size: 28px;
  }

  .fd-date-display {
    font-size: 24px;
  }

  .fd-formula-expr {
    font-size: 26px;
  }
}

@media screen and (max-width: 991px) {
  .fd-hero {
    padding: 50px 0 60px;
  }

  .fd-hero-grid,
  .fd-calc-card {
    grid-template-columns: 1fr;
  }

  .fd-hero-title {
    font-size: 52px;
  }

  .fd-hero-subtitle {
    font-size: 38px;
  }

  .fd-heading {
    font-size: 36px;
  }

  .fd-calc-section .fd-heading {
    margin-bottom: 60px;
  }

  .fd-feature-grid {
    flex-direction: column;
  }

  .fd-feature {
    min-height: 0;
  }

  .fd-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .fd-section {
    padding: 40px 0;
  }

  .fd-container {
    padding: 0 16px;
  }

  .fd-hero-title {
    font-size: 42px;
  }

  .fd-hero-subtitle {
    font-size: 30px;
  }

  .fd-hero-text {
    font-size: 18px;
  }

  .fd-heading {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .fd-stat {
    padding: 14px 10px;
  }

  .fd-stat-label {
    font-size: 11px;
  }

  .fd-stat-value {
    font-size: 18px;
  }

  .fd-stat-value span {
    font-size: 13px;
  }

  .fd-rate-box {
    margin: 0 0 30px;
  }

  .fd-rate-big {
    font-size: 38px;
  }

  .fd-limit-row {
    font-size: 16px;
  }

  .fd-calc-card {
    padding: 30px 18px;
  }

  .fd-label,
  .fd-result-label,
  .fd-result-row {
    font-size: 16px;
  }

  .fd-input {
    height: 52px;
    padding: 0 20px;
  }

  .fd-input input,
  .fd-input select,
  .fd-input-prefix,
  .fd-percent {
    font-size: 22px;
  }

  .fd-input-date {
    width: 100%;
  }

  .fd-date-display {
    font-size: 22px;
  }

  .fd-input-small {
    width: 120px;
  }

  .fd-tenure-display {
    font-size: 20px;
  }

  .fd-calc-row {
    gap: 24px;
  }

  .fd-calc-row > div {
    flex: 1 1 100%;
  }

  .fd-slider-value {
    margin-bottom: 30px;
    font-size: 24px;
  }

  .fd-result-interest {
    height: 52px;
    font-size: 30px;
  }

  .fd-result-total {
    margin-top: 30px;
  }

  .fd-result-total-value {
    font-size: 28px;
  }

  .fd-formula {
    padding: 26px 16px 20px;
  }

  .fd-formula-expr {
    font-size: 18px;
  }

  .fd-paren {
    font-size: 24px;
  }

  .fd-step-grid {
    grid-template-columns: 1fr;
    gap: 90px;
  }

  .fd-step {
    padding-top: 80px;
  }

  .fd-step-num {
    top: -50px;
    width: 100px;
    height: 100px;
    font-size: 32px;
  }

  .fd-download {
    padding: 60px 0 100px;
  }
}

/* Disclaimer under the calculator card */
.fd-page p.fd-calc-disclaimer {
  max-width: 820px;
  margin: 24px auto 0;
}
