/* vsapay.com — Pay brand · domain for sale */
:root {
  --bg: #060b14;
  --bg2: #0b1220;
  --card: rgba(15, 23, 42, 0.88);
  --border: rgba(56, 189, 248, 0.22);
  --text: #e8eef9;
  --muted: #94a3b8;
  --pay: #0ea5e9;
  --pay2: #38bdf8;
  --mint: #2dd4bf;
  --gold: #fbbf24;
  --ok: #34d399;
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--pay2); text-decoration: none; }
a:hover { color: #fff; }
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(14, 165, 233, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 20%, rgba(45, 212, 191, 0.1), transparent 50%),
    radial-gradient(ellipse 45% 30% at 8% 75%, rgba(14, 165, 233, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg2) 50%, #050912);
}
.bg canvas { width: 100%; height: 100%; opacity: 0.45; }

.wrap {
  position: relative; z-index: 1;
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 20, 0.78);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: #fff; font-weight: 800; letter-spacing: -0.02em;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--pay2), var(--pay));
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.45);
  font-size: 1rem; font-weight: 900; color: #fff;
}
.brand small {
  display: block; font-weight: 500; color: var(--muted);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav { display: none; gap: 1.2rem; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.nav a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.72rem 1.2rem; border-radius: 999px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; font-size: 0.92rem;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pay2), var(--pay));
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover { filter: brightness(1.06); color: #fff !important; }
.btn-ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}
.btn-tg {
  color: #fff !important;
  background: linear-gradient(135deg, #2AABEE, #1d8fc9);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.3);
}

/* Hero */
.hero {
  padding: 2.8rem 0 1.5rem;
  display: grid; gap: 2rem;
}
@media (min-width: 920px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 3.8rem 0 2.2rem;
  }
  .nav { display: flex; }
}

.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.38rem 0.8rem; border-radius: 999px; margin-bottom: 1rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--gold); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.12; letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--pay2), #fff 45%, var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  color: var(--muted); font-size: 1.08rem; max-width: 34rem; margin-bottom: 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.4rem; }
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.pill {
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

/* Payment card mock */
.pay-stage {
  position: relative;
  border-radius: 24px;
  padding: 1.35rem 1.2rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  min-height: 360px;
}
.pay-stage::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.18), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(45, 212, 191, 0.1), transparent 40%);
  pointer-events: none;
}
.stage-label {
  position: relative; z-index: 1;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 1rem; text-align: center;
}

.card-visual {
  position: relative; z-index: 1;
  width: min(100%, 340px);
  margin: 0 auto 1.1rem;
  aspect-ratio: 1.68 / 1;
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  background:
    linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #0e7490 100%);
  box-shadow:
    0 20px 40px rgba(3, 105, 161, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  overflow: hidden;
  animation: cardFloat 5s ease-in-out infinite;
}
.card-visual::after {
  content: "";
  position: absolute; right: -20%; top: -40%;
  width: 60%; height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}
.card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.4rem; position: relative; z-index: 1;
}
.chip {
  width: 38px; height: 28px; border-radius: 6px;
  background: linear-gradient(145deg, #fcd34d, #d97706);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  position: relative;
}
.chip::before {
  content: ""; position: absolute; inset: 6px 4px;
  border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 3px;
}
.card-brand { font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; }
.card-number {
  position: relative; z-index: 1;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.card-bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  opacity: 0.92;
}
.card-bottom strong {
  display: block; font-size: 0.95rem; letter-spacing: 0.06em;
  text-transform: none; margin-top: 0.2rem; font-weight: 700;
}

/* Pay flow animation */
.pay-flow {
  position: relative; z-index: 1;
  display: grid; gap: 0.55rem;
  margin-bottom: 1rem;
}
.flow-step {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.45;
  transform: translateX(-6px);
  transition: opacity 0.35s, transform 0.35s, border-color 0.35s, background 0.35s;
}
.flow-step.active {
  opacity: 1;
  transform: none;
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.1);
}
.flow-step.done {
  opacity: 0.9;
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
}
.flow-ico {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(14, 165, 233, 0.2);
  font-size: 0.9rem;
}
.flow-step.done .flow-ico { background: rgba(45, 212, 191, 0.22); }
.flow-step strong { display: block; font-size: 0.88rem; color: #fff; }
.flow-step span { font-size: 0.75rem; color: var(--muted); }

.amount-bar {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.amount-bar small {
  display: block; color: var(--muted); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem;
}
.amount-bar b {
  font-size: 1.45rem; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #fff, var(--pay2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Sections */
.section { padding: 2.4rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.35rem; }
.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.4rem;
}
.section-head p { color: var(--muted); }

.grid-3 {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  height: 100%;
}
.card-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.card-panel .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 0.85rem;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(14, 165, 233, 0.3);
  font-size: 1.15rem;
}
.card-panel h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.card-panel p { color: var(--muted); font-size: 0.92rem; }

.why-list {
  display: grid; gap: 0.7rem;
}
.why-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.why-item .dot {
  width: 10px; height: 10px; border-radius: 50%; margin-top: 0.4rem; flex-shrink: 0;
  background: var(--pay); box-shadow: 0 0 12px rgba(14, 165, 233, 0.7);
}
.why-item h4 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.why-item p { color: var(--muted); font-size: 0.88rem; }

/* Sale CTA */
.sale-box {
  margin: 1rem 0 2.8rem;
  padding: 1.8rem 1.4rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(15, 23, 42, 0.95) 48%),
    var(--card);
  border: 1px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  display: grid; gap: 1.2rem;
}
@media (min-width: 800px) {
  .sale-box {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    padding: 2.1rem 2.2rem;
  }
}
.sale-box h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.45rem;
}
.sale-box > div > p { color: var(--muted); margin-bottom: 0.75rem; }
.sale-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sale-tags span {
  font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--pay2);
}
.contact-stack { display: grid; gap: 0.65rem; }
.contact-line {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}
.contact-line strong { color: #fff; display: block; }
.contact-line span { color: var(--muted); font-size: 0.84rem; }

footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 2.2rem;
  color: var(--muted); font-size: 0.82rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem;
  justify-content: space-between; align-items: center;
}

.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.show { opacity: 1; transform: none; }

.domain-highlight {
  display: inline-block;
  font-family: ui-monospace, Consolas, monospace;
  color: #fff;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  font-weight: 700;
}
