:root {
  --ink: #090a0c;
  --deep: #050608;
  --muted: #5d6d66;
  --line: #dce7e2;
  --surface: #ffffff;
  --soft: #f6f7f8;
  --lime: #b6ff3d;
  --green: #23c966;
  --green-dark: #0f8f48;
  --yellow: #ffcc33;
  --blue: #255de8;
  --shadow: 0 28px 80px rgba(0, 32, 20, 0.18);
}
  
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--surface);
  letter-spacing: 0;
}
  #globalToast {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-55%);
        /* z-index: 9999; */
        min-width: 300px;
        max-width: 90vw;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
      }

      #globalToast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
      }

      #globalToast.success {
        background-color: #10b981;
        color: white;
      }

      #globalToast.error {
        background-color: #ef4444;
        color: white;
      }

      #globalToast.warning {
        background-color: #f59e0b;
        color: white;
      }

      #globalToast.info {
        background-color: #3b82f6;
        color: white;
      }

      #globalToast .toast-icon {
        margin-right: 8px;
      }
a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 231, 226, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell,
.hero-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 48px;
}

.brand img {
  width: 184px;
  height: 48px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #283c35;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff !important;
  border: 1px solid rgba(182, 255, 61, 0.42);
  background: var(--deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 96px 0 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(182, 255, 61, 0.18), transparent 28%),
    linear-gradient(135deg, #050608 0%, #111318 52%, #22262d 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -38%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(182, 255, 61, 0.1);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: 46px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 570px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.56;
}

.login-card,
.application-panel {
  width: min(520px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.login-heading {
  margin-bottom: 14px;
}

.login-heading span,
.application-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-heading strong,
.application-panel strong {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1.18;
}

.login-card label {
  display: block;
  margin: 10px 0 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.phone-input,
.otp-input-row {
  display: flex;
  gap: 10px;
}

.phone-input {
  align-items: center;
}

.phone-input span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--deep);
  font-weight: 900;
  background: var(--lime);
}

.login-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 0 15px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.login-card input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.login-card input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(167, 244, 50, 0.14);
}

.send-otp-button,
.login-button,
.apply-button,
.download-apk-button {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  color: var(--deep);
  font: inherit;
  font-weight: 900;
  background: var(--lime);
  cursor: pointer;
}

.send-otp-button {
  flex: 0 0 130px;
  padding: 0 14px;
  background: #fff;
}

.login-button,
.apply-button {
  width: 100%;
  margin-top: 10px;
}

.apply-button.dark,
.download-apk-button {
  width: auto;
  min-width: 190px;
  padding: 0 22px;
  color: #fff;
  background: var(--green);
}

.form-message {
  min-height: 24px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

.form-message.is-error {
  color: #ffd1cc;
}

.form-message.is-success {
  color: var(--lime);
}

.application-panel {
  margin-top: 18px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.hero-note span {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--lime);
}

.hero-product {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-device {
  position: relative;
  width: min(318px, 82vw);
  min-height: 548px;
  padding: 17px;
  border-radius: 40px;
  background: #020906;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  transform: rotate(3deg);
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 106px;
  height: 24px;
  border-radius: 999px;
  background: #020906;
  transform: translateX(-50%);
  z-index: 2;
}

.app-screen {
  min-height: 514px;
  padding: 30px 17px 17px;
  border-radius: 30px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 0%, rgba(182, 255, 61, 0.22), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f0f2f4 100%);
}

.app-topbar,
.term-row,
.app-progress {
  display: flex;
  align-items: center;
}

.app-topbar {
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 900;
}

.app-topbar strong {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.loan-card {
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #050608, #252a32);
  box-shadow: 0 18px 34px rgba(5, 6, 8, 0.24);
}

.loan-card small,
.loan-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.loan-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 1;
}

.term-row {
  gap: 12px;
  margin: 12px 0;
}

.term-row div,
.app-progress {
  border: 1px solid rgba(4, 115, 58, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(7, 18, 15, 0.08);
}

.term-row div {
  width: 50%;
  padding: 14px;
  border-radius: 20px;
}

.term-row small,
.app-progress small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.term-row strong,
.app-progress strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.app-progress {
  justify-content: space-between;
  padding: 14px;
  border-radius: 20px;
}

.progress-ring {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  background: conic-gradient(var(--lime) 82%, #dce9df 0);
}

.mock-button {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 17px;
  color: var(--deep);
  font: inherit;
  font-weight: 900;
  background: var(--lime);
}

.floating-card {
  position: absolute;
  min-width: 168px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.floating-card span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.floating-card strong {
  font-size: 18px;
}

.floating-card-top {
  top: 58px;
  left: -18px;
}

.floating-card-bottom {
  right: -18px;
  bottom: 58px;
}

.quick-links {
  padding: 24px 0;
  background: #fff;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shortcut-grid a {
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 18, 15, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.shortcut-grid a:hover {
  border-color: rgba(8, 166, 75, 0.38);
  transform: translateY(-3px);
}

.shortcut-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  background: var(--lime);
}

.shortcut-grid strong,
.shortcut-grid small {
  display: block;
}

.shortcut-grid strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.shortcut-grid small {
  color: var(--muted);
  line-height: 1.4;
}

.loan-section,
.feature-section,
.how-section,
.security-section,
.download-section,
.h5-section,
.faq-section {
  padding: 94px 0;
}

.loan-section,
.how-section,
.faq-section {
  background: var(--soft);
}

.loan-layout,
.how-layout,
.security-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.section-copy p:not(.eyebrow),
.feature-grid p,
.timeline p,
.security-card p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.amount-panel {
  padding: 30px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(182, 255, 61, 0.18), transparent 30%),
    linear-gradient(135deg, #050608, #20242b);
  box-shadow: var(--shadow);
}

.amount-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.amount-header span,
.amount-list span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.amount-header strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.amount-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.amount-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.amount-list strong {
  text-align: right;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.feature-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  margin-bottom: 42px;
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  background: #e4fbd0;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.timeline span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  font-weight: 900;
  background: var(--lime);
}

.security-card {
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 18, 15, 0.07);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid div {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: var(--deep);
}

.trust-grid span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
}

.download-section {
  color: #fff;
  background: var(--deep);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.h5-section {
  background: #fff;
}

.h5-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 34px;
  align-items: stretch;
}

.h5-panel p:not(.eyebrow),
.h5-card p,
.device-modal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.h5-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--soft);
}

.h5-card span {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 32px;
  margin-bottom: 40px;
  border-radius: 999px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
  background: var(--lime);
}

.h5-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.device-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 18, 15, 0.62);
}

.device-modal[hidden] {
  display: none;
}

.device-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--deep);
  font: inherit;
  font-weight: 900;
  background: var(--soft);
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

summary::marker {
  color: var(--green);
}

details p {
  margin: 14px 0 0;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #07120f;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}

.footer-brand {
  padding: 4px 10px 4px 4px;
  border-radius: 16px;
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
    padding-top: 100px;
  }

  .hero-shell,
  .loan-layout,
  .how-layout,
  .security-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 460px;
  }

  .shortcut-grid,
  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .section-shell,
  .hero-shell {
    width: min(100% - 28px, 1160px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(7, 18, 15, 0.13);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-section {
    min-height: 100vh;
    padding: 92px 0 28px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.02;
  }

  .hero-lede {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .phone-input,
  .otp-input-row {
    flex-direction: column;
  }

  .send-otp-button {
    flex-basis: auto;
  }

  .hero-product {
    display: none;
  }

  .phone-device {
    width: min(310px, 90vw);
    min-height: 514px;
    padding: 13px;
    border-radius: 38px;
    transform: none;
  }

  .app-screen {
    min-height: 488px;
    border-radius: 29px;
  }

  .loan-card strong {
    font-size: 34px;
  }

  .floating-card {
    display: none;
  }

  .shortcut-grid,
  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .loan-section,
  .feature-section,
  .how-section,
  .security-section,
  .download-section,
  .h5-section,
  .faq-section {
    padding: 68px 0;
  }

  .amount-list div {
    display: block;
  }

  .amount-list strong {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .timeline article {
    grid-template-columns: 44px 1fr;
    padding: 22px;
  }

  .timeline span {
    width: 42px;
    height: 42px;
  }

  .download-panel,
  .h5-panel,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .h5-panel {
    display: flex;
  }

  .apply-button.dark,
  .download-apk-button {
    width: 100%;
  }
}
