/* 2ndHand landing — Copper Dusk (Warm Glass brand) */
:root {
  --canvas: #241b14;
  --canvas-2: #2b2118;
  --ink: #f4f1ec;
  --muted: #c4b3a2;
  --muted-2: #9a8877;
  --copper: #e0a370;
  --copper-deep: #b4703c;
  --ink-on-copper: #171412;
  --line: rgba(224, 163, 112, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --font: "Noto Sans Lao Looped", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-latin: "Plus Jakarta Sans", "Noto Sans Lao Looped", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 86px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% -8%, rgba(224, 163, 112, 0.2), transparent 62%),
    radial-gradient(760px 420px at -10% 62%, rgba(224, 163, 112, 0.09), transparent 60%),
    radial-gradient(1000px 600px at 50% 112%, rgba(180, 112, 60, 0.12), transparent 65%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1160px, 100% - 44px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--copper); color: var(--ink-on-copper);
  padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 27, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.brand-name { font-family: var(--font-latin); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand-sub { font-size: 11.5px; color: var(--muted-2); border-left: 1px solid var(--line); padding-left: 11px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 12.5px; font-weight: 800; text-decoration: none;
  background: var(--copper); color: var(--ink-on-copper);
  padding: 10px 16px; border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--copper-deep); color: var(--ink); transform: translateY(-1px); }

/* ---------- HERO ---------- */
.hero { padding: 64px 0 0; }
.hero-inner {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 48px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--copper);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--copper); opacity: 0.7; }
.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
}
.hero h1 em { font-family: var(--font); font-style: normal; font-weight: 500; color: var(--copper); letter-spacing: 0; }
.hero-sub { font-size: 15px; color: var(--muted); max-width: 520px; }

.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.store {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 16px; min-width: 150px;
  background: var(--glass); border: 1px solid rgba(224, 163, 112, 0.24);
  border-radius: 14px; text-decoration: none; color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  position: relative; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.store:hover { background: rgba(224, 163, 112, 0.14); border-color: rgba(224, 163, 112, 0.5); transform: translateY(-1px); }
.store svg { width: 22px; height: 22px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.25; }
.store-text small { font-size: 9.5px; color: var(--muted-2); font-weight: 600; }
.store-text strong { font-size: 14px; font-family: var(--font-latin); font-weight: 800; }
.store-primary { background: var(--copper); border-color: var(--copper); color: var(--ink-on-copper); }
.store-primary .store-text small { color: rgba(23, 20, 18, 0.66); }
.store-primary:hover { background: var(--copper-deep); border-color: var(--copper-deep); color: var(--ink); }
.store-primary:hover .store-text small { color: rgba(244, 241, 236, 0.75); }
.soon-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper); box-shadow: 0 0 0 4px rgba(224, 163, 112, 0.16);
  position: absolute; top: 10px; right: 10px;
}
.store-primary .soon-dot { background: var(--ink-on-copper); box-shadow: 0 0 0 4px rgba(23, 20, 18, 0.12); }

.soon-note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 13px; font-size: 11.5px; color: var(--muted-2);
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--copper);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }

.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.trust-chips li {
  font-size: 11px; font-weight: 700; color: #d9c6b2;
  border: 1px solid rgba(224, 163, 112, 0.22); background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px; border-radius: 999px;
}

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 26px; }
.glow { position: absolute; inset: 0; pointer-events: none; }
.glow-a { background: radial-gradient(320px 240px at 55% 42%, rgba(224, 163, 112, 0.22), transparent 70%); filter: blur(6px); }

.phone {
  width: 272px; aspect-ratio: 272 / 552;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, rgba(224, 163, 112, 0.5), rgba(224, 163, 112, 0.08));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative; z-index: 1;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 18px; border-radius: 999px; background: var(--canvas); z-index: 3;
}
.phone-screen {
  height: 100%; border-radius: 31px; overflow: hidden;
  background: #1b140e; display: flex; flex-direction: column; position: relative;
}
.app-head { display: flex; align-items: center; gap: 8px; padding: 34px 16px 12px; }
.app-logo {
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--copper), var(--copper-deep));
  color: var(--ink-on-copper); font-family: var(--font-latin); font-weight: 800; font-size: 12px;
}
.app-name { font-family: var(--font-latin); font-weight: 800; font-size: 13.5px; }
.app-bell {
  margin-left: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(244, 241, 236, 0.28); position: relative;
}
.app-bell::after {
  content: ""; position: absolute; top: -1px; right: -1px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--copper);
}
.app-search {
  margin: 2px 16px 10px; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: var(--muted-2); font-size: 10px;
}
.app-cats { display: flex; gap: 6px; padding: 0 16px 10px; font-size: 9px; font-weight: 700; color: var(--muted-2); }
.app-cats span { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.07); white-space: nowrap; }
.app-cats .on { background: rgba(224, 163, 112, 0.16); border-color: rgba(224, 163, 112, 0.4); color: var(--copper); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 16px; }
.app-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(224, 163, 112, 0.1); border-radius: 14px; overflow: hidden; }
.app-img { height: 82px; }
.app-img.a { background: linear-gradient(150deg, #4a3728, #2e231a); }
.app-img.b { background: linear-gradient(150deg, #5a4123, #33281c); }
.app-img.c { background: linear-gradient(150deg, #43302c, #2a1f1a); }
.app-img.d { background: linear-gradient(150deg, #54452a, #322819); }
.app-meta { padding: 8px 9px 9px; display: block; }
.app-meta .l1 { display: block; height: 6px; border-radius: 99px; background: rgba(244, 241, 236, 0.24); margin-bottom: 5px; }
.app-meta .l2 { display: block; height: 6px; width: 58%; border-radius: 99px; background: rgba(244, 241, 236, 0.12); }
.app-meta strong { display: block; margin-top: 7px; font-size: 10px; color: var(--copper); font-family: var(--font-latin); }
.app-tabs {
  margin-top: auto; display: flex; justify-content: space-around;
  padding: 10px 14px 14px; font-size: 9px; font-weight: 700; color: #7e6e5e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.app-tabs .on { color: var(--copper); }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(43, 33, 24, 0.92); border: 1px solid rgba(224, 163, 112, 0.24);
  border-radius: 15px; padding: 11px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: floaty 8s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 11.5px; line-height: 1.3; }
.float-card small { display: block; font-size: 9.5px; color: var(--muted-2); line-height: 1.4; }
.fc-icon {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(74, 222, 128, 0.14); color: #4ade80; font-weight: 800; font-size: 13px;
}
.fc-icon.copper { background: rgba(224, 163, 112, 0.14); font-size: 13px; }
.float-pay { top: 84px; left: -18px; animation-delay: -2.4s; }
.float-escrow { bottom: 58px; right: -22px; animation-delay: -4.8s; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 44px; border-top: 1px solid var(--line);
  background: var(--line);
}
.stats li { background: var(--canvas); padding: 22px 10px; text-align: center; }
.stats strong { display: block; font-family: var(--font-latin); font-size: 22px; font-weight: 800; color: var(--copper); }
.stats span { font-size: 11.5px; color: var(--muted-2); }

/* ---------- SECTIONS ---------- */
.section { padding: 88px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(224, 163, 112, 0.05), rgba(224, 163, 112, 0.02));
  border-block: 1px solid var(--line);
}
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { margin: 14px 0 12px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.sec-sub { font-size: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--glass); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(224, 163, 112, 0.35); background: rgba(255, 255, 255, 0.065); }
.card-icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(224, 163, 112, 0.12); border: 1px solid rgba(224, 163, 112, 0.24);
  margin-bottom: 16px;
}
.card-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 12.8px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  position: relative; padding: 26px 22px 24px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.step-no {
  font-family: var(--font-latin); font-weight: 800; font-size: 13px; color: var(--copper);
  letter-spacing: 0.12em;
}
.steps h3 { font-size: 15.5px; margin: 10px 0 8px; }
.steps p { font-size: 12.8px; color: var(--muted); }

.safe-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; }
.safe-copy h2 { margin: 14px 0 14px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.safe-points { display: grid; gap: 10px; margin-top: 22px; }
.safe-points li {
  position: relative; padding-left: 26px; font-size: 13px; color: var(--muted);
}
.safe-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(224, 163, 112, 0.14); color: var(--copper);
  font-size: 10px; font-weight: 800; line-height: 1;
}
.escrow-flow {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 22px; padding: 30px 24px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ef-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ef-node {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 12px 14px; min-width: 86px; text-align: center;
}
.ef-ic {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(224, 163, 112, 0.12); color: var(--copper); font-size: 12px; font-weight: 800;
}
.ef-core {
  border-color: rgba(224, 163, 112, 0.45); background: rgba(224, 163, 112, 0.1);
  color: var(--ink);
}
.ef-core small { font-size: 9px; font-weight: 500; color: var(--muted-2); }
.ef-arrow { flex: 1; max-width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--copper), transparent); position: relative; }
.ef-arrow::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  border-left: 6px solid var(--copper); border-block: 3.5px solid transparent;
}
.ef-track {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px;
  margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line);
  font-size: 10px; font-weight: 700; color: var(--muted-2);
}
.ef-step.done { color: var(--copper); }
.ef-step.active { color: var(--ink); background: rgba(224, 163, 112, 0.16); padding: 4px 10px; border-radius: 99px; }
.ef-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(224, 163, 112, 0.4); }

/* ---------- DOWNLOAD ---------- */
.download { padding-top: 20px; }
.dl-panel {
  border: 1px solid rgba(224, 163, 112, 0.28);
  background:
    radial-gradient(560px 260px at 88% -10%, rgba(224, 163, 112, 0.22), transparent 65%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 26px; padding: 42px; position: relative; overflow: hidden;
}
.dl-head { max-width: 560px; }
.dl-head h2 { margin: 14px 0 12px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.dl-card {
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  padding: 16px; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.dl-card:hover { background: rgba(224, 163, 112, 0.12); border-color: rgba(224, 163, 112, 0.45); transform: translateY(-2px); }
.dl-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-soft);
}
.dl-icon svg { width: 21px; height: 21px; color: var(--ink); }
.dl-copy { display: flex; flex-direction: column; line-height: 1.35; }
.dl-copy strong { font-family: var(--font-latin); font-size: 14px; font-weight: 800; }
.dl-copy small { font-size: 10.5px; color: var(--muted-2); }
.dl-state {
  margin-left: auto; font-size: 9.5px; font-weight: 800; color: var(--copper);
  background: rgba(224, 163, 112, 0.12); border: 1px solid rgba(224, 163, 112, 0.3);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.dl-card-accent { background: var(--copper); border-color: var(--copper); }
.dl-card-accent .dl-icon { background: rgba(23, 20, 18, 0.12); border-color: rgba(23, 20, 18, 0.16); }
.dl-card-accent .dl-icon svg { color: var(--ink-on-copper); }
.dl-card-accent .dl-copy strong { color: var(--ink-on-copper); }
.dl-card-accent .dl-copy small { color: rgba(23, 20, 18, 0.66); }
.dl-card-accent .dl-state { background: rgba(23, 20, 18, 0.12); border-color: rgba(23, 20, 18, 0.2); color: var(--ink-on-copper); }
.dl-card-accent:hover { background: var(--copper-deep); border-color: var(--copper-deep); }
.dl-card-accent:hover .dl-copy strong,
.dl-card-accent:hover .dl-state { color: var(--ink); }
.dl-card-accent:hover .dl-copy small { color: rgba(244, 241, 236, 0.72); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq {
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: rgba(255, 255, 255, 0.035); margin-bottom: 10px;
  padding: 0 20px; transition: border-color 0.15s, background 0.15s;
}
.faq[open] { border-color: rgba(224, 163, 112, 0.32); background: rgba(224, 163, 112, 0.05); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 26px 16px 0;
  font-size: 14px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--copper); font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform 0.2s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 18px; font-size: 13px; color: var(--muted); max-width: 720px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.footer-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { border-radius: 9px; }
.footer-brand strong { display: block; font-family: var(--font-latin); font-size: 14px; }
.footer-brand small { font-size: 10.5px; color: var(--muted-2); }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { width: 100%; font-size: 11px; color: var(--muted-2); }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: rgba(43, 33, 24, 0.96); color: var(--ink);
  border: 1px solid rgba(224, 163, 112, 0.4); border-radius: 999px;
  padding: 11px 20px; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.22s, transform 0.22s;
  z-index: 60; max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: 2; padding-bottom: 10px; }
  .hero-copy { order: 1; }
  .float-pay { left: 2%; }
  .float-escrow { right: 2%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .safe-grid { grid-template-columns: 1fr; gap: 28px; }
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-inner { height: 62px; }
  .brand-sub { display: none; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .store { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .dl-panel { padding: 28px 20px; }
  .phone { width: 236px; }
  .float-card { display: none; }
  .footer-links { width: 100%; margin-left: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .float-card, .pulse { animation: none; }
  .card, .dl-card, .store, .nav-cta { transition: none; }
}
