/* Cash App-style landing page
   Built with Bootstrap + custom CSS.
   The supplied screenshots are used only for the visual/media artwork. */

:root {
  --green: #0b43fa;
  --black: #000;
  --light: #f5f5f5;
  --text-muted: #707070;
  --border: #d7d7d7;
  --radius: 28px;
}

[data-bs-theme="dark"] {
  --green: #0b43fa;
  --black: #fff;
  --light: #0B0F19;
  --text-muted: #707070;
  --border: #d7d7d7;
  --radius: 28px;
}

[data-bs-theme="dark"] section {
  background: var(--light);
  transition:
        background-color 0.4s ease,
        color 0.4s ease;
}
[data-bs-theme="dark"] .faq-question, 
[data-bs-theme="dark"] .faq-icon, 
[data-bs-theme="dark"] .faq-answer {
  color: var(--black);
  transition:
        background-color 0.4s ease,
        color 0.4s ease;
}

.footer {
  background: var(--light);
  color: var(--black);
}
.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: 1px solid #495057;
    color: var(--black);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fff;
    color: #212529;
    transform: translateY(-3px);
}

footer a {
    transition: 0.3s ease;
}

footer ul a:hover {
    color: var(--black) !important;
    padding-left: 5px;
}


* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  transition:
        background-color 0.4s ease,
        color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- Header / hero ---------- */

.hero-section {
  background: #fff;
  padding: 54px 12px 82px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.cash-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 22px; */
  /* background: var(--green); */
  /* color: #fff; */
  /* font-size: 58px; */
  /* line-height: 1;
  font-weight: 700;
  box-shadow: 0 1px 1px rgba(0,0,0,.06); */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signup-btn {
  min-width: 176px;
  height: 80px;
  padding: 0 28px;
  border-radius: 44px;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
  color:white;
}

.signup-btn span {
  font-size: 34px;
  font-weight: 400;
  line-height: 0;
}

.menu-btn {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

.hero-title {
  margin: 0 0 34px;
  font-size: 40px;
  line-height: .95;
  font-weight: 400;
  /* letter-spacing: -3.8px; */
}

.hero-media {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  /* padding: 0px 50px; */
}

.hero-media img {
  display: block;
  width: 40%;
  height: auto;
  border: 1px solid;
  border-radius: var(--radius);
  margin: 0 auto;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.primary-cta {
  /* min-width: 430px; */
  height: 60px;
  padding: 0 40px;
  border-radius: 50px;
  background: var(--black);
  color: var(--light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ---------- FAQ ---------- */

.faq-section {
  background: #fff;
  padding: 0 12px 95px;
}

.faq-list {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  min-height: 125px;
  padding: 26px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  color: #737373;
  /* font-size: clamp(29px, 4.2vw, 48px); */
  font-size: 30px;
  line-height: 1.08;
  font-weight: 400;
  /* letter-spacing: -1.4px; */
}

.faq-icon {
  flex: 0 0 auto;
  width: 58px;
  text-align: center;
  color: #000;
  font-size: 35px;
  font-weight: 200;
  line-height: 1;
  transition: transform .25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 900px;
  padding: 0 90px 30px 0;
  color: #555;
  font-size: 20px;
  line-height: 1.45;
}

/* ---------- Security ---------- */

.security-section,
.explore-section {
  background: var(--light);
}

.security-section {
  padding: 74px 12px 88px;
}

.section-title,
.explore-title {
  margin: 0;
  /* font-size: clamp(46px, 6vw, 70px); */
  font-size: 40px;
  line-height: 1;
  letter-spacing: -3px;
  font-weight: 400;
}

.section-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
}

.section-link span,
.explore-copy a span {
  font-weight: 400;
  font-size: 30px;
}

.feature-list {
  margin-top: 54px;
}

.feature-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 30px;
}

.feature-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0000001f;
}

.feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-row h3 {
  margin: 5px 0 0;
  /* font-size: clamp(36px, 4.7vw, 57px); */
  font-size: 40px;
  line-height: .98;
  letter-spacing: -2.2px;
  font-weight: 400;
}

/* ---------- Explore ---------- */

.explore-section {
  padding: 72px 12px 100px;
}

.explore-list {
  margin-top: 54px;
}

.explore-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 32px;
}

.explore-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: #0000001f;
}

.explore-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.explore-copy {
  padding-top: 4px;
}

.explore-copy h3 {
  margin: 0;
  /* font-size: clamp(34px, 4.7vw, 57px); */
  font-size: 40px;
  line-height: .98;
  /* letter-spacing: -2.1px; */
  font-weight: 400;
}

.explore-copy a {
  display: inline-block;
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 700;
}

.explore-copy sup {
  font-size: .45em;
  vertical-align: top;
  position: relative;
  top: -.2em;
}

.pause-btn {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 17px;
  line-height: 1;
}

/* ---------- Desktop sizing ---------- */

@media (min-width: 768px) {
  .hero-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .faq-section,
  .security-section,
  .explore-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mobile-only { display: none; }
}

@media (min-width: 1100px) {
  .hero-title {
    max-width: 780px;
  }

  .feature-row,
  .explore-row {
    grid-template-columns: 250px 1fr;
  }
}

/* ---------- Mobile: match the supplied references ---------- */

@media (max-width: 767.98px) {
  .page-shell {
    max-width: 100%;
  }

  .hero-section {
    padding: 53px 10px 72px;
  }

  .site-header {
    margin-bottom: 45px;
  }

  .cash-logo {
    width: 60px;
    height: 60px;
    /* border-radius: 22px; */
  }

  .signup-btn {
    min-width: 176px;
    height: 80px;
    font-size: 23px;
  }

  .menu-btn {
    width: 80px;
    height: 80px;
  }

  .hero-title {
    font-size: 34px;
    line-height: .94;
    /* letter-spacing: -3px; */
    margin-bottom: 15px;
  }

  .hero-media {
    border-radius: 26px;
  }

  .hero-media img {
    width: 70%;
  }

  .hero-cta-wrap {
    padding-top: 10px;
  }

  .primary-cta {
    min-width: 412px;
    max-width: 88%;
    height: 82px;
    font-size: 20px;
  }

  .faq-section {
    padding: 0 12px 72px;
  }

  .faq-question {
    min-height: 128px;
    font-size: 25px;
    line-height: 1.08;
    /* letter-spacing: -1.6px; */
  }

  .faq-icon {
    width: 50px;
    font-size: 55px;
  }

  .faq-answer {
    padding-bottom: 26px;
    font-size: 18px;
  }

  .security-section {
    padding: 52px 12px 60px;
  }

  .section-title,
  .explore-title {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .section-link {
    margin-top: 15px;
    font-size: 20px;
  }

  .section-link span,
  .explore-copy a span {
    font-size: 22px;
  }

  .feature-list,
  .explore-list {
    margin-top: 40px;
  }

  .feature-row,
  .explore-row {
    grid-template-columns: 1fr 1.02fr;
    gap: 18px;
    margin-bottom: 29px;
  }

  .feature-media,
  .explore-media {
    border-radius: 25px;
  }

  .feature-row h3,
  .explore-copy h3 {
    font-size: 31px;
    line-height: .98;
    /* letter-spacing: -1.35px; */
  }

  .explore-copy a {
    margin-top: 15px;
    font-size: 20px;
  }

  .pause-btn {
    width: 45px;
    height: 45px;
    left: 16px;
    bottom: 16px;
    font-size: 15px;
  }

  .explore-section {
    padding: 53px 12px 70px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 20px;
  }

  .site-header {
    margin-bottom: 20px;
  }

  .cash-logo,
  .menu-btn {
    width: 50px;
    height: 50px;
  }


  .menu-btn {
    border-radius: 50%;
    gap: 9px;
  }

  .menu-btn span {
    width: 20px;
  }

  .signup-btn {
    min-width: 142px;
    height: 62px;
    padding: 0 20px;
    font-size: 16px;
  }

  .signup-btn span {
    font-size: 22px;
  }

  .hero-title {
    font-size: 28px;
    /* letter-spacing: -2.3px; */
  }

  .primary-cta {
    min-width: 0;
    width: 72%;
    height: 62px;
    font-size: 13px;
  }

  .faq-question {
    min-height: 100px;
    font-size: 20px;
    /* letter-spacing: -1px; */
  }

  .faq-icon {
    font-size: 42px;
    width: 36px;
  }

  .section-title,
  .explore-title {
    font-size: 34px;
  }

  .feature-row,
  .explore-row {
    gap: 13px;
  }

  .feature-row h3,
  .explore-copy h3 {
    font-size: 24px;
    letter-spacing: -1px;
  }

  .explore-copy a {
    font-size: 16px;
  }
}


.theme-switch-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.theme-switch-btn:hover {
    transform: scale(1.08);
    background-color: rgba(128, 128, 128, 0.15);
}



/* ── About Us Modal ── */
.about-modal .modal-content {
    background-color: var(--light);
    color: var(--black);
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.about-modal .modal-header {
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    padding: 1.5rem 1.75rem 1rem;
}

.about-modal .modal-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--black);
}

.about-modal .modal-body {
    padding: 1.25rem 1.75rem 1.75rem;
}

.about-modal .modal-body p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.about-modal .modal-body p:last-of-type {
    margin-bottom: 0;
}

.about-modal-email {
    margin-top: 1.25rem !important;
    font-weight: 600;
    color: var(--text-main) !important;
}

.about-modal-email a {
    color: var(--primary-orange);
    text-decoration: none;
}

.about-modal-email a:hover {
    text-decoration: underline;
}

.about-modal-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.about-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
    color: var(--light);
    font-size: 1.125rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.about-social-link:hover {
    background-color: var(--light);
    color: var(--black);
    transform: translateY(-2px);
}

[data-bs-theme="dark"] .about-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.rotate_image {
    transform: scale(1.3) scaleY(-1);
}

/* ---------- Legal Modals ---------- */
.legal-modal .modal-content {
  background: var(--light);
  color: var(--black);
  /* border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover); */
}

.legal-modal .modal-header {
  border-bottom: 1px solid var(--text-muted);
  padding: 1.25rem 1.5rem;
}

.legal-modal .modal-footer {
  border-top: 1px solid var(--text-muted);
  padding: 1rem 1.5rem;
}

.legal-modal .modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
}

.legal-modal .btn-close {
  filter: none;
}

[data-theme="dark"] .legal-modal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.85;
}

.legal-content {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin: 1.5rem 0 0.75rem;
}

.legal-content h3:first-of-type {
  margin-top: 0.5rem;
}

.legal-content p {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.legal-content a {
  color: var(--black);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--black);
}

.legal-updated {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1.25rem !important;
}

.legal-modal .modal-dialog {
  max-height: calc(100vh - 2rem);
}

.legal-modal .modal-body {
  max-height: min(70vh, 560px);
}
