/* ================== CSS Reset (lean) ================== */
*,
*::before,
*::after { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
html, body { height: 100%; }
body { margin: 0; }

/* ================== Theme Tokens ================== */
:root{
  --bg: #ffffff;
  --ink: #0b1220;            /* near-black text */
  --muted: #5b6472;          /* secondary text */
  --line: #e9eef3;           /* subtle borders */
  --brand: #06B6D4;          /* teal accent */
  --brand-ink: #064b56;      /* dark teal for hovers */
  --surface: #ffffff;
  --shadow: 0 10px 30px rgba(5, 24, 59, 0.08);
  --radius: 16px;

  --container: 1200px;
  --pad: clamp(16px, 2.5vw, 28px);

  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* ================== Base ================== */
body{
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  width: min(100% - 2*var(--pad), var(--container));
  margin-inline: auto;
}

a{ color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible{ outline: 2px solid var(--brand); outline-offset: 2px; }

img{ max-width: 100%; height: auto; display: block; }

/* Utility buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(6,182,212,.25);
}
.btn-primary:hover{ background: #08c1e2; }
.btn-primary:active{ background: #05a9c9; }

/* ================== Sticky Header ================== */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 1000;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.site-header.is-scrolled{
  box-shadow: var(--shadow);
  background: #fff;
  border-bottom-color: transparent;
}

.header-inner{
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 30px;
}

/* Brand */
.brand{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: 0.1px;
}
.brand-mark{
  width: 28px; height: 28px;
  color: var(--brand);

}
.brand-text{
  font-size: 1.05rem;
}

/* Nav base */
.nav{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.nav-list{
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0; padding: 0;
}
.nav-link{
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
  padding: .4rem .2rem;
  border-bottom: 2px solid transparent;
}
.nav-link:hover{ color: var(--ink); }
.nav-link.active{ color: var(--brand-ink); border-bottom-color: var(--brand); }

.nav-cta{ margin-left: 6px; }

/* Mobile: burger */
.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle .bar{
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  display: block;
}
.nav-toggle:focus-visible{ outline: 2px solid var(--brand); }

/* ========== Responsive Nav ========== */
@media (max-width: 900px){
  .nav-toggle{ display: inline-flex; }

  .nav{
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px var(--pad) 18px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-list{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-cta{
    width: 100%;
  }

  /* Make room for CTA + links in mobile panel */
  .header-inner{
    grid-template-columns: 1fr auto;
  }
}

/* Spacer under sticky header */
.header-spacer{ height: 72px; }

/* ========== Nice small touches ========== */
::selection{ background: rgba(6,182,212,.18); }

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce){
  html:focus-within { scroll-behavior: auto; }
  .btn, .site-header, .nav { transition: none !important; }
}









/* ================== Hero ================== */
.hero{
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 8vw, 100px);
  background: var(--bg);
  overflow: hidden;
}

/* Soft radial accents */
.hero::before,
.hero::after{
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(6,182,212,.18), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}
.hero::after{
  inset: -140px -120px auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(6,182,212,.12), transparent 70%);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}

@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
}

/* Copy */
.chip{
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  padding: .4rem .7rem;
  border-radius: 999px;
  color: var(--brand-ink);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.28);
  margin-bottom: .9rem;
}

.hero-title{
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 .7rem 0;
  letter-spacing: -0.5px;
}
.highlight{
  color: var(--brand-ink);
  box-shadow: inset 0 -0.6em 0 rgba(6,182,212,.18);
}

.hero-sub{
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 1.2rem 0;
  max-width: 56ch;
}

.hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 0 0 1rem 0;
}
.btn-outline{
  background: #fff;
  color: var(--brand-ink);
  border-color: rgba(6,182,212,.35);
}
.btn-outline:hover{
  border-color: rgba(6,182,212,.55);
}

/* Store badges */
.store-badges{
  display: flex;
  gap: .8rem;
  align-items: center;
  margin: .3rem 0 1.2rem 0;
  flex-wrap: wrap;
}
.store-badge{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .6rem;
  border: 1px dashed rgba(6,182,212,.35);
  border-radius: 12px;
  background: #fff;
}
.store-badge[aria-disabled="true"]{
  opacity: .85;
  cursor: not-allowed;
}
.store-badge img{
  height: 36px; width: auto;
}
.badge-note{
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-ink);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.28);
  padding: .2rem .5rem;
  border-radius: 999px;
}

/* Hero points */
.hero-points{
  display: grid;
  gap: .5rem;
  color: var(--muted);
  padding-left: 1.2rem;
}
.hero-points li{
  position: relative;
}
.hero-points li::marker{
  color: var(--brand);
}

/* Visual */
.hero-visual{
  position: relative;
  display: grid;
  place-items: center;
}
.phone-mock{
  width: min(300px, 88%);
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 36px rgba(5,24,59,.18));
  border-radius: 28px; /* if PNG already includes bezel, this won't show */
}

/* Decorative shadow card to hint at UI */
.card-shadow{
  position: absolute;
  bottom: -14px;
  right: -10px;
  width: min(360px, 80%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 10px;
  transform: rotate(2.2deg);
}
.card-line{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}
.card-line .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted);
}
.card-line .deposit{ background: #15b679; }
.card-line .withdraw{ background: #e23c3c; }
.card-line strong{ font-variant-numeric: tabular-nums; }

/* Tighten layout on small screens */
@media (max-width: 480px){
  .store-badge img{ height: 32px; }
  .card-shadow{ display: none; } /* keep it clean on tiny screens */
}












/* ================== Problem Statement ================== */
.problem{
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--surface);
}
.problem-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
@media(max-width: 880px){
  .problem-grid{ grid-template-columns: 1fr; }
}

.section-title{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 .6em;
}
.section-sub{
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 48ch;
}

.problem-cards{
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.fail-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem;
  display: grid;
  gap: .6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fail-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(5,24,59,.12);
}
.fail-icon{
  font-size: 1.8rem;
}
.fail-title{
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.fail-text{
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* Solution strip */
.solution{
  margin-top: clamp(40px, 6vw, 70px);
  background: linear-gradient(135deg, rgba(6,182,212,.12), rgba(6,182,212,.24));
  padding: clamp(28px, 4vw, 48px) 0;
}
.solution-inner{
  text-align: center;
}
.solution-text{
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--brand-ink);
}















/* ================== How It Works ================== */
.how{
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg);
}
.center{ text-align: center; }

.steps{
  margin-top: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 40px);
}
@media(max-width: 980px){
  .steps{ grid-template-columns: 1fr; }
}

.step-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 2.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(5,24,59,.12);
}

.step-icon{
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(6,182,212,.3);
}

.step-title{
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}
.step-text{
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 36ch;
}

.step-img{
  max-width: 160px;
  max-width: 60px;
  height: auto;
  opacity: 0.95;
}













/* ================== Features ================== */
.features{
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--surface);
}

.feature-grid{
  margin-top: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.5vw, 36px);
}

.feature-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(5,24,59,.12);
}

.feature-icon{
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(6,182,212,.12);
  color: var(--brand-ink);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.feature-title{
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.feature-text{
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}






/* ================== Screenshots ================== */
.screens{
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg);
  text-align: center;
}

.screenshot-grid{
  margin-top: clamp(40px, 6vw, 70px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  position: relative;
  flex-wrap: wrap;
}

.screen{
  width: min(260px, 30%);
  max-width: 300px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(5,24,59,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.screen.center{
  transform: scale(1.05);
  z-index: 2;
}
.screen.left{ transform: rotate(-4deg) translateY(12px); }
.screen.right{ transform: rotate(4deg) translateY(12px); }

.screen:hover{
  transform: scale(1.08) !important;
  box-shadow: 0 24px 48px rgba(5,24,59,.18);
}

/* On mobile, stack nicely */
@media(max-width: 800px){
  .screenshot-grid{
    flex-direction: column;
    align-items: center;
  }
  .screen,
  .screen.center,
  .screen.left,
  .screen.right{
    transform: none !important;
    width: 80%;
    max-width: 360px;
  }
}









/* ================== Testimonials ================== */
.testimonials{
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--surface);
}

.testimonial-grid{
  margin-top: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}

.testimonial-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(5,24,59,.12);
}

.testimonial-header{
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar{
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand);
}
.testimonial-name{
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.testimonial-role{
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}

.testimonial-stars{
  color: #f5b100; /* gold stars */
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text{
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
}











/* ================== Download / CTA ================== */
.download{
  padding: clamp(60px, 8vw, 110px) 0;
  background:
    radial-gradient(closest-side, rgba(6,182,212,.10), transparent 70%) -10% 110%/420px 420px no-repeat,
    radial-gradient(closest-side, rgba(6,182,212,.08), transparent 70%) 110% -20%/520px 520px no-repeat,
    var(--surface);
}
.download-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 960px){
  .download-grid{ grid-template-columns: 1fr; }
}

.store-row{
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
}
.store-pill{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .7rem;
  border: 1px dashed rgba(6,182,212,.35);
  border-radius: 12px;
  background: #fff;
}
.store-pill[aria-disabled="true"]{ opacity: .9; cursor: not-allowed; }
.store-pill img{ height: 38px; width: auto; }
.pill-note{
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-ink);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.28);
  padding: .2rem .5rem;
  border-radius: 999px;
}

/* Signup form */
.signup-form{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem;
  align-items: center;
  max-width: 560px;
}
.signup-form input[type="email"]{
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup-form input[type="email"]:focus{
  border-color: rgba(6,182,212,.6);
  box-shadow: 0 0 0 4px rgba(6,182,212,.15);
  outline: none;
}
.signup-form .btn{ padding: .95rem 1.1rem; }

.form-help{
  grid-column: 1 / -1;
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}
.form-msg{
  grid-column: 1 / -1;
  margin: .2rem 0 0;
  font-size: .95rem;
}
.form-msg.success{ color: #167c5f; }
.form-msg.error{ color: #b71d1d; }

/* Honeypot */
.hp{ position: absolute; left: -99999px; width: 1px; height: 1px; opacity: 0; }

/* Visual */
.download-visual{
  display: grid;
  place-items: center;
}
.download-img{
  width: min(360px, 100%);
  filter: drop-shadow(0 24px 48px rgba(5,24,59,.18));
  border-radius: 28px;
}

/* A11y helper */
.sr-only{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}






/* ================== Footer ================== */
.site-footer{
  margin-top: clamp(40px, 6vw, 80px);
  background: #fafcff;
  border-top: 1px solid var(--line);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(36px, 6vw, 60px) 0;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer-brand .brand{
  margin-bottom: .6rem;
}
.footer-blurb{
  margin: 0 0 1rem 0;
  color: var(--muted);
  max-width: 42ch;
}

.footer-socials{
  display: flex;
  gap: .6rem;
}
.footer-socials a{
  display: inline-flex;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  color: var(--brand-ink);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.footer-socials a:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5,24,59,.12);
  border-color: rgba(6,182,212,.45);
}

.footer-title{
  margin: 0 0 .8rem 0;
  font-size: 1.02rem;
  font-weight: 800;
}
.footer-list{
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: .4rem;
}
.footer-list a{
  color: var(--muted);
}
.footer-list a:hover{ color: var(--ink); }

.footer-bottom{
  border-top: 1px solid var(--line);
  background: #fff;
}
.bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.copy{
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.to-top{
  font-weight: 700;
  color: var(--brand-ink);
}
