/* Cash Arrows — hyper-casual landing (bright blue shell, white cards, lime CTA) */

:root {
  --navy: #0b1f3b;
  --navy-2: #102a52;
  --azure: #2f7bff;
  --sky-top: #5aa7ff;
  --sky-bottom: #bfe0ff;
  --lime: #7fe324;
  --lime-dark: #4bb30f;
  --sun: #ffd84a;
  --sun-dark: #f59e0b;
  --white: #ffffff;
  --card: #ffffff;
  --muted: #3d4f6f;
  --shadow-soft: 0 18px 40px rgba(11, 31, 59, 0.14);
  --shadow-lift: 0 10px 22px rgba(11, 31, 59, 0.12);
  --radius-xl: 28px;
  --radius-pill: 999px;
  --font-display: "Paytone One", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --header-offset: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--sky-bottom);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

code {
  font-size: 0.9em;
  background: rgba(11, 31, 59, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* Layered background */
.shell {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.shell__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, #8cc8ff 42%, var(--sky-bottom) 100%);
}

.shell__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Header + ticker */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-lift);
}

.site-header.is-scrolled .navbar {
  margin-top: 0;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  margin: 0 auto;
  max-width: 1120px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.ticker__icon {
  display: inline-flex;
  color: #6b4dff;
  flex-shrink: 0;
}

.ticker__text {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar {
  position: relative;
  max-width: 1120px;
  margin: 0.25rem auto 0;
  padding: 0 1rem 0.65rem;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  border-radius: 14px;
  padding: 0.15rem 0.35rem;
  margin: -0.15rem -0.35rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover {
  background: rgba(47, 123, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(47, 123, 255, 0.12);
}

.brand:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 2px;
}

.brand__img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(30, 90, 235, 0.35);
  box-shadow: 0 6px 14px rgba(11, 31, 59, 0.15);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: rgba(47, 123, 255, 0.08);
  border: 1px solid rgba(47, 123, 255, 0.15);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(47, 123, 255, 0.14);
  border-color: rgba(47, 123, 255, 0.28);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 2px;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links__a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.nav-links__a:hover {
  background: rgba(47, 123, 255, 0.1);
  color: var(--navy-2);
}

.nav-links__a:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn__icon {
  flex-shrink: 0;
}

.btn--lime {
  color: var(--navy);
  background: linear-gradient(180deg, #c8ff62 0%, var(--lime) 55%, var(--lime-dark) 100%);
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 0 rgba(31, 120, 18, 0.35), 0 14px 24px rgba(11, 31, 59, 0.18);
}

.btn--lime:hover {
  box-shadow: 0 8px 0 rgba(31, 120, 18, 0.35), 0 12px 22px rgba(11, 31, 59, 0.2);
  filter: brightness(1.03);
}

.btn--lime:active {
  transform: translateY(1px);
  box-shadow: 0 6px 0 rgba(31, 120, 18, 0.35), 0 10px 18px rgba(11, 31, 59, 0.16);
}

.btn--lime:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.btn--store {
  padding: 0.7rem 1.1rem;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lift);
}

.btn--store:hover {
  background: var(--navy-2);
  box-shadow: var(--shadow-soft);
}

.btn--store-alt {
  background: var(--white);
  color: var(--navy);
  border: 2px solid rgba(11, 31, 59, 0.12);
}

.btn--store-alt:hover {
  border-color: rgba(47, 123, 255, 0.35);
  box-shadow: var(--shadow-lift);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.nav-cta {
  padding-inline: 1.15rem;
}

/* Hero */
.hero {
  --hero-module-gap: 100px;
  padding: 0.5rem 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--hero-module-gap);
}

.hero__wrap {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--hero-module-gap);
}

.hero__billboard {
  position: relative;
  margin-bottom: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

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

.hero__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  filter: drop-shadow(0 4px 6px rgba(11, 31, 59, 0.2));
  opacity: 0.95;
}

.spark--1 {
  top: 12%;
  right: 8%;
}

.spark--2 {
  bottom: 18%;
  left: 10%;
}

.hero__copy {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lift);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hero-module-gap);
  align-items: start;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.hero__title {
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

.hero__title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  letter-spacing: 0.02em;
}

/* Stacked “3D” headline inspired by promo typography (tuned for light card) */
.hero__title-line--cash {
  color: var(--navy);
  text-shadow:
    1px 1px 0 #cfff8a,
    2px 2px 0 #b8f543,
    3px 3px 0 #9fe02f,
    4px 4px 0 #87cc1f,
    5px 5px 0 #6fb816,
    6px 6px 0 rgba(11, 31, 59, 0.12);
}

.hero__title-line--arrow {
  margin-top: 0.35rem;
  background: linear-gradient(180deg, #fff6a8 0%, var(--sun) 45%, var(--sun-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 31, 59, 0.85);
  filter: drop-shadow(0 3px 0 rgba(11, 31, 59, 0.12));
}

.hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  max-width: 46ch;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero__note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.hero__visual {
  justify-self: center;
  width: min(360px, 100%);
}

.phone-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 1rem 1rem 1.1rem;
  border: 2px solid rgba(11, 31, 59, 0.06);
  box-shadow: var(--shadow-soft);
}

.phone-frame {
  position: relative;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(145deg, #dfe7ff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.phone-frame__bezel {
  position: absolute;
  inset: 6px;
  border-radius: 26px;
  border: 2px solid rgba(11, 31, 59, 0.12);
  pointer-events: none;
}

.phone-frame__screen {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0b1f3b;
  aspect-ratio: 9 / 16;
}

.phone-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card__caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* Decorative HUD strip */
.hud-strip {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hud-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-lift);
}

.hud-bar {
  position: relative;
  height: 34px;
  border-radius: 12px;
  background: rgba(11, 31, 59, 0.12);
  overflow: hidden;
}

.hud-bar__fill {
  position: absolute;
  inset: 0;
  width: var(--p, 50%);
  background: linear-gradient(90deg, #58d56a, var(--lime));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.hud-bar__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Sections */
.section {
  padding: 3rem 1rem 3.5rem;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: 0.02em;
  color: var(--navy);
}

.section__title--on-dark {
  color: var(--white);
  text-shadow: 0 2px 0 rgba(11, 31, 59, 0.35);
}

.section__sub {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lift);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: rgba(47, 123, 255, 0.22);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.12), rgba(47, 123, 255, 0.06));
  color: var(--azure);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(47, 123, 255, 0.18);
}

.feature-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.feature-card__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

/* Screenshots */
.shots__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .shots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .shots__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .shots__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shots__figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(11, 31, 59, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lift);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.shots__figure:hover {
  box-shadow: var(--shadow-soft);
  border-color: rgba(47, 123, 255, 0.22);
}

.shots__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Download */
.download {
  padding-bottom: 4rem;
}

.download__panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 2rem 1.5rem;
  border-radius: 32px;
  background: radial-gradient(120% 120% at 10% 10%, #4f8dff 0%, #2f62ff 42%, #1e3fb0 100%);
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 840px) {
  .download__panel {
    grid-template-columns: 1fr auto;
    padding: 2.25rem 2.5rem;
  }
}

.download__lead {
  margin: 0.75rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  max-width: 52ch;
}

.download__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download__badge {
  display: flex;
  justify-content: center;
}

.download__icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 28px rgba(11, 31, 59, 0.35);
}

/* Footer */
.site-footer {
  padding: 2.25rem 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.site-footer__img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(47, 123, 255, 0.2);
  box-shadow: 0 4px 12px rgba(11, 31, 59, 0.1);
}

.site-footer__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.site-footer__tag {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__links a {
  font-weight: 700;
  color: var(--azure);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--navy-2);
}

.site-footer__links a:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

/* Modal */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 59, 0.55);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 24px;
  background: var(--card);
  border: 2px solid rgba(11, 31, 59, 0.08);
  box-shadow: var(--shadow-soft);
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(47, 123, 255, 0.08);
  border: 1px solid rgba(47, 123, 255, 0.15);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.modal__close:hover {
  background: rgba(47, 123, 255, 0.14);
  border-color: rgba(47, 123, 255, 0.28);
}

.modal__close:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 2px;
}

.modal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.modal__text {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-weight: 500;
}

.modal__ok {
  width: 100%;
}

/* Mobile nav */
@media (max-width: 820px) {
  .ticker__text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .brand,
  .nav-links__a,
  .feature-card,
  .nav-panel {
    transition: none !important;
  }

  .btn--lime:active {
    transform: none;
  }
}
