/* TapTester Partners v3: bright fintech landing page */
:root {
  --bg:#f8fafc; --white:#fff; --ink:#0f172a; --ink2:#334155; --muted:#64748b; --line:#e2e8f0;
  --brand:#0d9488; --brand-d:#0f766e; --green:#10b981; --mint:#ecfdf5; --mint2:#d1fae5; --sky:#e0f2fe; --violet:#ede9fe;
  --shadow: 0 20px 50px -20px rgba(15,23,42,.25); --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand-d); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-d); background: var(--mint); border: 1px solid var(--mint2); padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; margin-bottom: 16px; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 14px 0 0; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }
section { padding: 96px 0; position: relative; }
.grad { background: linear-gradient(90deg, var(--brand), var(--green) 60%, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(226,232,240,.7); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand span { color: var(--brand); }
.nav-r { display: flex; gap: 10px; align-items: center; }
.nav-r a.l { color: var(--ink2); text-decoration: none; font-size: .9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--brand), var(--green)); color: #fff; font-weight: 800; padding: 15px 26px; border-radius: 16px; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(13,148,136,.65); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(13,148,136,.75); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite; }
.btn.sm { padding: 9px 16px; border-radius: 12px; font-size: .9rem; box-shadow: none; }
.btn.light { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.light::after { display: none; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* hero */
.hero { padding: 56px 0 90px; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, var(--mint) 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, var(--sky) 0%, transparent 60%), var(--white); }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.blob.a { width: 380px; height: 380px; background: #a7f3d0; top: -80px; right: 8%; }
.blob.b { width: 300px; height: 300px; background: #bae6fd; bottom: -60px; left: -60px; animation-delay: -5s; }
.blob.c { width: 220px; height: 220px; background: #ddd6fe; top: 40%; right: 40%; animation-delay: -9s; opacity: .35; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 900; }
.hero .sub { font-size: 1.2rem; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--ink2); font-size: .92rem; }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof i { width: 22px; height: 22px; border-radius: 50%; background: var(--mint2); color: var(--brand-d); display: inline-grid; place-items: center; font-style: normal; font-weight: 900; font-size: .75rem; }

/* phone device */
.stage { position: relative; height: 600px; display: grid; place-items: center; }
.device { width: 290px; aspect-ratio: 9/19.3; border-radius: 46px; background: #0f172a; padding: 11px; box-shadow: 0 40px 80px -30px rgba(15,23,42,.45), inset 0 0 0 2px #334155; position: relative; }
.device::before { content: ""; position: absolute; top: 18px; left: 50%; width: 86px; height: 22px; background: #0f172a; border-radius: 0 0 14px 14px; transform: translateX(-50%); z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; position: relative; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s ease, transform .8s ease; transform: scale(1.03); }
.screen img.on { opacity: 1; transform: none; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.toast { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .88rem; min-width: 220px; opacity: 0; animation: toast 9s ease-in-out infinite; }
.toast b { display: block; font-size: 1rem; }
.toast small { color: var(--muted); }
.toast .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; }
.toast.t1 { top: 70px; left: -10px; } .toast.t1 .ic { background: var(--mint); }
.toast.t2 { top: 260px; right: -20px; animation-delay: 3s; } .toast.t2 .ic { background: var(--sky); }
.toast.t3 { bottom: 70px; left: 0; animation-delay: 6s; } .toast.t3 .ic { background: var(--violet); }
@keyframes toast { 0% { opacity: 0; transform: translateY(16px) scale(.92); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-10px) scale(.96); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 10px 30px -18px rgba(15,23,42,.2); }
.stat b { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .92rem; }

/* goal / calculator */
.goal { background: linear-gradient(180deg, var(--white), var(--bg)); }
.goal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.panel label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 10px; }
.panel label output { font-size: 1.6rem; font-weight: 900; color: var(--brand-d); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--p, 20%), var(--line) var(--p, 20%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 4px 12px rgba(13,148,136,.4); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.chip { border: 1px solid var(--line); background: var(--white); color: var(--ink2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mixnote { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.kpis { display: grid; gap: 12px; margin-top: 22px; }
.kpi { border-radius: 18px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); }
.kpi.big { background: linear-gradient(135deg, var(--brand), var(--green)); color: #fff; border: 0; }
.kpi small { display: block; font-weight: 600; opacity: .8; }
.kpi b { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi.big b { font-size: 2.4rem; }
.chart-card h3 { font-size: 1.15rem; }
.chart-card p.cap { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
.chart { position: relative; height: 300px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .bar { fill: var(--brand); transition: fill .2s; }
.chart .bar:hover, .chart .bar.hl { fill: var(--brand-d); }
.chart .lbl { fill: var(--muted); font-size: 11px; }
.chart .val { fill: var(--ink); font-size: 12px; font-weight: 700; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: .82rem; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; }
.tip b { font-size: .95rem; }
.fine { color: var(--muted); font-size: .82rem; margin-top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.hot { border: 2px solid var(--brand); background: linear-gradient(180deg, var(--mint), var(--white) 50%); }
.plan .nm { font-weight: 800; color: var(--ink2); }
.plan .earn { font-size: 2.4rem; font-weight: 900; letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .per { color: var(--muted); }
.plan .price { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .9rem; }
.pill { display: inline-block; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* story (scroll stepper) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
.story .steps { display: grid; gap: 22px; }
.st { padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); transition: all .35s; opacity: .55; }
.st.on { opacity: 1; border-color: var(--brand); box-shadow: var(--shadow); transform: translateX(6px); }
.st .n { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--green)); margin-bottom: 14px; }
.st h3 { font-size: 1.3rem; margin-bottom: 6px; }
.st p { margin: 0; color: var(--muted); }
.st .tag { display: inline-block; margin-top: 12px; background: var(--mint); color: var(--brand-d); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.st .mimg { display: none; }
.sticky { position: sticky; top: 100px; align-self: start; display: grid; place-items: center; height: 640px; }

/* payout flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; margin-top: 50px; }
.fcard { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 12px 30px -20px rgba(15,23,42,.25); min-height: 210px; }
.fcard h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.fcard p { color: var(--muted); margin: 0; font-size: .93rem; }
.fcard .big { font-size: 2.2rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fcard .hint { color: var(--brand-d); font-weight: 700; font-size: .85rem; }
.methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.methods span { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: .82rem; font-weight: 700; background: var(--bg); }
.arrow { width: 54px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--green)); position: relative; overflow: visible; }
.arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--green); }
.arrow i { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: dot 1.8s linear infinite; }
@keyframes dot { from { left: 0; opacity: 0; } 20% { opacity: 1; } to { left: 100%; opacity: 0; } }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.check svg { width: 34px; height: 34px; stroke: var(--green); stroke-width: 4; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; }
.in .check svg { animation: draw .8s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mini { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.mini .device { width: 210px; border-radius: 36px; padding: 8px; }
.mini .device::before { top: 13px; width: 64px; height: 16px; }
.mini .screen { border-radius: 28px; }

/* showcase */
.show { background: linear-gradient(180deg, var(--bg), var(--white)); overflow: hidden; }
.phones { display: flex; justify-content: center; gap: 22px; margin-top: 50px; perspective: 1400px; }
.phones .device { width: 220px; border-radius: 38px; padding: 9px; transition: transform .4s; }
.phones .device::before { top: 14px; width: 66px; height: 17px; }
.phones .screen { border-radius: 30px; }
.phones .screen img { opacity: 1; transform: none; }
.phones .device:nth-child(1) { transform: rotateY(18deg) translateY(30px); }
.phones .device:nth-child(2) { transform: translateY(-10px); }
.phones .device:nth-child(3) { transform: translateY(-10px); }
.phones .device:nth-child(4) { transform: rotateY(-18deg) translateY(30px); }
.phones .device:hover { transform: translateY(-24px) scale(1.03); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--mint); margin-bottom: 14px; }
.feat h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); }

/* faq */
.faq { max-width: 820px; margin: 40px auto 0; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 12px 0; transition: box-shadow .2s; }
details[open] { box-shadow: 0 12px 30px -20px rgba(15,23,42,.3); }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 1.02rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); color: var(--brand-d); display: grid; place-items: center; font-weight: 800; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p, details ul { color: var(--ink2); margin: 12px 0 0; }
details li { margin: 5px 0; }

/* final */
.final { padding: 40px 0 100px; }
.final-box { border-radius: 36px; padding: 64px 32px; text-align: center; color: #fff; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, #0d9488, #10b981 55%, #22c55e); box-shadow: 0 40px 80px -30px rgba(13,148,136,.6); position: relative; overflow: hidden; }
.final-box h2 { color: #fff; }
.final-box p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin: 14px 0 28px; }
.final-box .btn { background: #fff; color: var(--brand-d); }
.final-box .btn::after { background: linear-gradient(110deg, transparent 30%, rgba(13,148,136,.15) 50%, transparent 70%); }

/* footer */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); font-size: .92rem; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { color: var(--ink); margin: 4px 0 12px; font-size: .95rem; }
.foot a { color: var(--muted); text-decoration: none; display: block; margin: 7px 0; }
.foot a:hover { color: var(--brand-d); }
.foot .brand { margin-bottom: 10px; display: inline-flex; color: var(--ink); }
.foot p { margin: 0; max-width: 300px; }
.foot .legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (max-width: 980px) {
  .hero-grid, .goal-grid, .story { grid-template-columns: 1fr; }
  .stage { height: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .plans, .feats { grid-template-columns: 1fr; }
  .sticky { display: none; }
  .st { opacity: 1; } .st.on { transform: none; }
  .st .mimg { display: block; margin: 18px auto 0; width: 220px; border-radius: 26px; border: 7px solid #0f172a; box-shadow: var(--shadow); }
  .flow { grid-template-columns: 1fr; }
  .arrow { width: 2px; height: 34px; margin: 0 auto; background: linear-gradient(180deg, var(--brand), var(--green)); }
  .arrow::after { right: -5px; top: auto; bottom: -8px; border-left-color: transparent; border-top-color: var(--green); }
  .arrow i { left: -4px !important; animation-name: dotv; }
  @keyframes dotv { from { top: 0; opacity: 0; } 20% { opacity: 1; } to { top: 100%; opacity: 0; } }
  .phones .device:nth-child(n+3) { display: none; }
  .phones .device { transform: none !important; width: 46%; max-width: 210px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .nav-r a.l { padding: 5px 10px; font-size: .82rem; }
  .btn.sm { white-space: nowrap; padding: 8px 12px; font-size: .82rem; }
  .stat { padding: 16px; } .stat b { font-size: 1.5rem; white-space: nowrap; }
  .chart { height: 240px; }
  .hero .ctas .btn { width: 100%; }
  .toast { min-width: 0; font-size: .8rem; padding: 10px 12px; }
  .toast.t2 { right: 0; }
  .device { width: 250px; }
  .stage { height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .toast { opacity: 1; position: static; margin-top: 10px; }
}

.banner { width: 100%; height: auto; border-radius: 28px; margin: 56px 0 0; box-shadow: 0 30px 60px -30px rgba(11,21,48,.5); }
.intro { background: linear-gradient(180deg, var(--mint), var(--white)); padding: 28px 0 8px; }
.vid { margin: 0 auto; max-width: 980px; }
.vid video { width: 100%; aspect-ratio: 16/9; display: block; border-radius: 26px; background: #0b1530; box-shadow: 0 30px 70px -30px rgba(11,21,48,.55); }
.vid figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 12px; font-weight: 600; }
@media (max-width: 520px) { .vid video { border-radius: 18px; } .intro { padding-top: 16px; } }
.topbanner { width: 100%; max-width: 1100px; height: auto; margin: 0 auto; display: block; border-radius: 26px; box-shadow: 0 30px 70px -30px rgba(11,21,48,.55); }
@media (max-width: 520px) { .topbanner { border-radius: 16px; } }
