:root {
  --blue: #246bfe;
  --blue-deep: #1553d3;
  --pink: #dd1975;
  --violet: #7b3ff2;
  --orchid-yellow: #f7c948;
  --orchid-yellow-deep: #b7791f;
  --amber-soft: #fff7d6;
  --trade-ink: #090909;
  --mint: #0dbb7f;
  --ink: #101828;
  --muted: #667085;
  --line: #dce6f6;
  --soft-blue: #edf5ff;
  --soft-pink: #fff0f8;
  --soft-green: #eafaf3;
  --shadow: 0 18px 42px rgba(43, 76, 145, 0.14);
  --font-display: "Satoshi", "Plus Jakarta Sans", "Aptos Display", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Nunito Sans", "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 107, 254, 0.13), transparent 18rem),
    radial-gradient(circle at 90% 20%, rgba(221, 25, 117, 0.13), transparent 16rem),
    radial-gradient(circle at 58% 62%, rgba(247, 201, 72, 0.08), transparent 20rem),
    linear-gradient(135deg, #f4f9ff 0%, #ffffff 48%, #fff4fa 100%);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 26px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 0;
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.action-row,
.phone-head,
.calc-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-size: 18px;
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: 164px;
  max-width: 42vw;
  height: auto;
  padding: 7px 10px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(43, 76, 145, 0.12);
  filter: drop-shadow(0 8px 16px rgba(43, 76, 145, 0.08));
}

.nav-links {
  gap: 18px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.mini-cta {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 76px);
  padding: 34px 0 46px;
}

.hero-copy h1,
.section-title h2,
.cta-panel h2,
.apply-card h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
  font-family: var(--font-display);
  font-weight: 950;
}

.hero-copy h1 {
  max-width: 680px;
  margin-top: 16px;
  font-size: clamp(40px, 7vw, 72px);
  text-wrap: balance;
}

.hero-copy h1 span,
.section-title h2 span {
  color: var(--trade-ink);
  background: linear-gradient(180deg, transparent 70%, rgba(247, 201, 72, 0.46) 70%);
  border-radius: 0.12em;
  padding: 0 0.03em;
}

.hero-copy p,
.section-title p,
.cta-panel p,
.apply-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 760;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(13, 187, 127, 0.13);
}

.action-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.action-row.center {
  justify-content: center;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -60%;
  z-index: -1;
  width: 45%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
  transition: left 520ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  left: 112%;
}

.btn-primary {
  color: white;
  background: linear-gradient(100deg, var(--blue), var(--violet) 55%, var(--pink));
  box-shadow: 0 18px 36px rgba(221, 25, 117, 0.24), 0 14px 30px rgba(36, 107, 254, 0.18);
}

.btn-trade {
  color: white;
  background:
    linear-gradient(100deg, var(--blue), var(--violet) 48%, var(--pink));
  box-shadow: 0 18px 36px rgba(221, 25, 117, 0.24), 0 14px 30px rgba(36, 107, 254, 0.18);
}

.btn-trade::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.btn-soft,
.btn-white {
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(43, 76, 145, 0.1);
}

.pulse {
  animation: ctaPulse 2.6s ease-in-out infinite, ctaNudge 4.6s ease-in-out infinite;
}

.trade-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding: 10px 13px;
  border-radius: 18px;
  color: var(--trade-ink);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(247, 201, 72, 0.42);
  border-left: 5px solid var(--orchid-yellow);
  box-shadow: 0 14px 30px rgba(43, 76, 145, 0.1);
  animation: tradeGlow 4s ease-in-out infinite;
}

.trade-ribbon b {
  font-size: 16px;
  font-weight: 950;
}

.trade-ribbon span {
  color: #5f4b12;
  font-size: 13px;
  font-weight: 900;
}

.app-visual,
.bonus-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(350px, 100%);
  padding: 20px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(239,247,255,0.96), rgba(255,241,248,0.96));
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: 0 30px 70px rgba(43, 76, 145, 0.22);
}

.phone-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.phone-head strong {
  font-family: var(--font-display);
  color: var(--blue-deep);
  font-size: 24px;
}

.phone-head span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--pink);
  background: white;
  font-size: 12px;
  font-weight: 900;
}

.rate-tile,
.calc-result,
.bonus-orbit {
  color: white;
  background: linear-gradient(120deg, var(--blue), var(--violet), var(--pink));
}

.trade-tile {
  margin-top: 12px;
  padding: 18px;
  border-radius: 24px;
  color: var(--trade-ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,247,214,0.92));
  border: 1px solid rgba(247, 201, 72, 0.38);
  border-left: 5px solid var(--orchid-yellow);
  box-shadow: 0 16px 32px rgba(43, 76, 145, 0.1);
}

.trade-tile small,
.trade-tile span {
  display: block;
  font-weight: 900;
}

.trade-tile small {
  margin-bottom: 6px;
  color: #7a5a08;
  font-size: 11px;
  text-transform: uppercase;
}

.trade-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.02;
}

.trade-tile span {
  margin-top: 8px;
  color: #5f4b12;
  font-size: 12px;
}

.rate-tile {
  padding: 22px;
  border-radius: 26px;
}

.rate-tile small,
.calc-result small,
.snap-card small {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
  opacity: 0.82;
  text-transform: uppercase;
}

.rate-tile strong {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.mini-grid div,
.bonus-stack div,
.form-preview div {
  padding: 13px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}

.mini-grid b,
.bonus-stack b {
  display: block;
  color: var(--ink);
}

.mini-grid span,
.bonus-stack span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.wide-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  color: white;
  background: linear-gradient(100deg, var(--blue), var(--violet));
  font-weight: 900;
}

.trade-button {
  color: white;
  background: linear-gradient(100deg, var(--blue), var(--violet), var(--pink));
}

.floating-preview {
  position: absolute;
  left: 4px;
  bottom: 70px;
  width: 118px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  border: 6px solid white;
  box-shadow: var(--shadow);
  animation: float 5.8s ease-in-out infinite reverse;
}

.section {
  padding: 48px 0;
}

.section.compact {
  padding-top: 20px;
}

.section-title {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title h2,
.cta-panel h2,
.apply-card h2 {
  font-size: clamp(29px, 5vw, 46px);
}

.calc-card,
.info-card,
.offer-box,
.apply-card,
.cta-panel {
  border: 1px solid rgba(216, 230, 246, 0.9);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
}

.calc-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 28px;
}

.calc-card label {
  color: #344054;
  font-weight: 900;
}

.calc-row {
  gap: 10px;
}

.calc-row span {
  display: grid;
  place-items: center;
  width: 74px;
  min-height: 56px;
  border-radius: 18px;
  color: var(--blue-deep);
  background: var(--soft-blue);
  font-weight: 900;
}

.calc-row input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  outline: none;
}

.calc-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.12);
}

.calc-result {
  padding: 20px;
  border-radius: 24px;
}

.calc-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 12vw, 58px);
  line-height: 1;
}

.tiny-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

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

.info-card,
.offer-box {
  padding: 18px;
  border-radius: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.info-card:hover,
.offer-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(43, 76, 145, 0.16);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 17px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
}

.icon.pink {
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.icon.green {
  background: linear-gradient(135deg, var(--mint), #16a34a);
}

.icon.money {
  font-size: 15px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.trade-card {
  color: var(--trade-ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,247,214,0.88));
  border-color: rgba(247, 201, 72, 0.42);
  border-left: 5px solid var(--orchid-yellow);
}

.trade-card p {
  color: rgba(9, 9, 9, 0.7);
}

.trade-icon {
  color: #5f4100;
  background: linear-gradient(135deg, #fff7d6, var(--orchid-yellow));
  box-shadow: inset 0 0 0 1px rgba(247, 201, 72, 0.28);
}

.info-card h3,
.offer-box h3 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
}

.info-card p,
.offer-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.flow-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.flow-step {
  text-align: center;
}

.flow-step b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 7px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.flow-step span {
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.flow-line {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.snap-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 33%);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
}

.snap-card {
  min-height: 190px;
  padding: 22px;
  border-radius: 28px;
  color: white;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

.snap-card.blue {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.snap-card.pink {
  color: var(--trade-ink);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,247,214,0.96));
  border: 1px solid rgba(247, 201, 72, 0.42);
}

.snap-card.green {
  background: linear-gradient(135deg, var(--mint), #16a34a);
}

.snap-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
}

.snap-card span {
  display: block;
  margin-top: 18px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0.9;
}

.cta-panel {
  margin: 32px 0 60px;
  padding: 28px;
  border-radius: 32px;
  text-align: center;
  color: white;
  background:
    linear-gradient(120deg, rgba(36, 107, 254, 0.96), rgba(123, 63, 242, 0.94) 48%, rgba(221, 25, 117, 0.96)),
    var(--blue);
}

.cta-panel p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.88);
}

.pill.light {
  color: white;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
}

.bonus-visual {
  min-height: 470px;
}

.bonus-orbit {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 28px 62px rgba(221, 25, 117, 0.22);
  animation: float 5.4s ease-in-out infinite;
}

.bonus-orbit strong {
  display: block;
  font-size: 58px;
  line-height: 1;
}

.bonus-orbit span {
  max-width: 130px;
  font-weight: 900;
}

.bonus-stack {
  position: absolute;
  right: 14px;
  bottom: 62px;
  display: grid;
  gap: 10px;
  width: 170px;
}

.compact-offers {
  grid-template-columns: 1fr 1fr;
}

.offer-box {
  display: grid;
  gap: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.timeline div {
  padding: 18px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline b,
.timeline span {
  display: block;
}

.timeline b {
  font-family: var(--font-display);
  color: var(--blue-deep);
  font-size: 20px;
}

.timeline span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.apply-card {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
}

.form-preview {
  display: grid;
  gap: 10px;
}

.form-preview div {
  color: var(--muted);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 18px 36px rgba(221, 25, 117, 0.24), 0 14px 30px rgba(36, 107, 254, 0.18); }
  50% { box-shadow: 0 24px 48px rgba(221, 25, 117, 0.36), 0 18px 40px rgba(36, 107, 254, 0.25); }
}

@keyframes ctaNudge {
  0%, 78%, 100% { transform: translateY(0) scale(1); }
  84% { transform: translateY(-2px) scale(1.015); }
  90% { transform: translateY(0) scale(1); }
}

@keyframes tradeGlow {
  0%, 100% { box-shadow: 0 14px 30px rgba(43, 76, 145, 0.1); }
  50% { box-shadow: 0 18px 38px rgba(247, 201, 72, 0.18); }
}

@media (max-width: 900px) {
  .hero,
  .apply-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .app-visual,
  .bonus-visual {
    min-height: 460px;
  }

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

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

@media (max-width: 620px) {
  .shell {
    width: min(100% - 22px, 1120px);
  }

  .topbar {
    min-height: 64px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-logo {
    width: 136px;
    max-width: 52vw;
    padding: 6px 8px;
    border-radius: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    gap: 18px;
    padding: 22px 0 30px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy p,
  .cta-panel p,
  .apply-card p {
    font-size: 15.5px;
  }

  .action-row {
    display: grid;
  }

  .trade-ribbon {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .app-visual {
    min-height: 415px;
  }

  .phone-card {
    padding: 16px;
  }

  .trade-tile strong {
    font-size: 24px;
  }

  .floating-preview {
    display: none;
  }

  .section {
    padding: 34px 0;
  }

  .icon-grid,
  .compact-offers,
  .timeline {
    grid-template-columns: 1fr;
  }

  .calc-row {
    align-items: stretch;
  }

  .flow-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-line {
    width: 3px;
    height: 22px;
    margin: 0 auto;
  }

  .snap-row {
    grid-auto-columns: 86%;
  }

  .bonus-visual {
    min-height: 390px;
  }

  .bonus-stack {
    position: static;
    width: 100%;
    margin-top: -22px;
  }

  .bonus-orbit {
    width: 190px;
    height: 190px;
  }

  .cta-panel {
    margin-bottom: 42px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
