/* ============================================================
   Tsbay homepage — trade.tsbay.net
   Brand: purple #7C3AED → pink #EC4899, Inter
   ============================================================ */

:root {
  --primary: #7C3AED;
  --primary-600: #6D28D9;
  --primary-400: #A05EFF;
  --secondary: #EC4899;
  --grad: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --grad-soft: linear-gradient(135deg, #F5F3FF 0%, #FDF2F8 100%);

  --ink: #1A1230;
  --ink-2: #4B4564;
  --muted: #756E8C;
  --line: #ECE9F5;
  --bg: #FFFFFF;
  --bg-alt: #F8F7FF;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(124, 58, 237, 0.10);
  --shadow-lg: 0 18px 50px rgba(124, 58, 237, 0.22);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(124,58,237,.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124,58,237,.36); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--outline:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn--ghost { color: var(--ink-2); }
.btn--ghost:hover { color: var(--primary); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand__logo { border-radius: 9px; }
.brand__name { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav__links a:hover { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.nav__mobile a { padding: 12px 4px; color: var(--ink-2); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 10px; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 480px at 88% -8%, rgba(236,72,153,.16), transparent 60%),
    radial-gradient(900px 460px at 4% 6%, rgba(124,58,237,.18), transparent 60%),
    var(--grad-soft);
  z-index: -1;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--primary);
  font-weight: 600; font-size: 13px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 900; }
.hero__sub { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero__trust li { font-size: 14px; color: var(--muted); }
.hero__trust strong { display: block; color: var(--ink); font-size: 17px; font-weight: 700; }

/* Hero art / phone mockup */
.hero__art { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; height: 560px; border-radius: 42px;
  background: #14102b; padding: 14px; box-shadow: var(--shadow-lg);
}
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #14102b; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen {
  position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background: var(--grad-soft); padding: 18px; display: flex; flex-direction: column; gap: 14px;
}
.appbar { background: var(--grad); color: #fff; font-weight: 800; text-align: center; padding: 12px; border-radius: 14px; letter-spacing: .02em; }
.balance-card {
  background: var(--grad); color: #fff; border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 10px 24px rgba(124,58,237,.35);
}
.balance-card__label { font-size: 12px; opacity: .85; }
.balance-card__amount { font-size: 26px; font-weight: 800; }
.balance-card__pts { font-size: 12px; opacity: .9; }
.gc { background: #fff; border-radius: 14px; padding: 13px 16px; font-weight: 600; font-size: 14px; color: var(--ink-2); box-shadow: 0 4px 14px rgba(124,58,237,.08); border-left: 4px solid var(--primary-400); }
.gc--2 { border-left-color: var(--secondary); }
.gc--3 { border-left-color: #8B5CF6; }
.mini-btn { margin-top: auto; background: var(--ink); color: #fff; border: 0; border-radius: 14px; padding: 14px; font-weight: 700; font-size: 15px; cursor: default; }
.float-coin {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite;
}
.float-coin--a { top: 30px; right: 6px; }
.float-coin--b { bottom: 60px; left: 0; background: linear-gradient(135deg,#26A17B,#1f7a5e); animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Stats ---------- */
.stats { padding: 0 0 10px; margin-top: -38px; position: relative; z-index: 2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat__num { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section--cta { background: var(--grad); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; }
.section__head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--grad-soft); margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- Withdraw ---------- */
.withdraw { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.withdraw__copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -.02em; margin-top: 6px; }
.withdraw__copy p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 15px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.withdraw__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pay-card { border-radius: var(--radius-lg); padding: 26px 22px; color: #fff; min-height: 210px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.pay-card--ngn { background: var(--grad); }
.pay-card--usdt { background: linear-gradient(135deg,#26A17B,#16624a); }
.pay-card__tag { align-self: flex-start; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.22); padding: 5px 11px; border-radius: 999px; }
.pay-card__cur { font-size: 46px; font-weight: 900; margin-top: auto; line-height: 1; }
.pay-card__name { font-size: 19px; font-weight: 800; margin-top: 8px; }
.pay-card__desc { font-size: 13px; opacity: .9; }

/* ---------- CTA / Get app ---------- */
.cta { text-align: center; color: #fff; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -.02em; }
.cta p { margin-top: 12px; font-size: 18px; opacity: .94; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: #14102b; color: #fff; border-radius: 14px; padding: 12px 22px; transition: transform .15s ease, box-shadow .2s; }
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.store-btn__icon { font-size: 28px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn__text small { font-size: 11px; opacity: .8; }
.store-btn__text strong { font-size: 18px; }
.cta__note { margin-top: 22px; font-size: 14px; opacity: .85; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; color: var(--primary); font-weight: 400; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: #110C24; color: #C9C3DD; padding: 60px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand .brand__name { -webkit-text-fill-color: #fff; background: none; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: #8E87A6; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer__col a { display: block; padding: 6px 0; color: #A49DBE; font-size: 14px; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #8E87A6; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; margin-top: 16px; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .withdraw { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .section { padding: 64px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; padding: 22px; }
  .withdraw__cards { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
