/* Bridge Transfer website — dark "Obsidian" look shared with the apps */
:root {
  --ink: #070b14;
  --ink-2: #0b1220;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7ff;
  --muted: #9aa6bd;
  --blue: #4f8cff;
  --blue-deep: #2748b8;
  --sky: #9cc2ff;
  --mint: #34d399;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI Variable Display", "SF Pro Display", Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 16px; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; letter-spacing: -0.2px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.btn-small { padding: 9px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; transition: background 0.15s, border-color 0.15s; }
.btn-small:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.22); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: 84px 0 70px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(79, 140, 255, 0.28), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(52, 211, 153, 0.1), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: 0.3px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
h1 { font-size: clamp(44px, 5.2vw, 78px); line-height: 0.98; letter-spacing: -0.045em; margin: 24px 0 24px; font-weight: 800; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--sky), var(--blue) 55%, #7aa7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 540px; margin: 0; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 14px; text-decoration: none; font-weight: 800; transition: transform 0.18s, box-shadow 0.18s, background 0.18s; }
.btn-primary { background: linear-gradient(145deg, var(--blue), var(--blue-deep)); box-shadow: 0 16px 40px rgba(39, 72, 184, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(39, 72, 184, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary span { display: flex; flex-direction: column; line-height: 1.25; }
.btn-primary small { font-size: 9.5px; letter-spacing: 1.3px; opacity: 0.78; }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); padding: 14px 20px; }
.btn-ghost:hover { background: var(--surface-2); }
.meta { margin-top: 18px; color: var(--muted); font-size: 13px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.platforms span { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.platforms span b { color: var(--text); font-weight: 700; }

/* ---------- device stage ---------- */
.stage { position: relative; min-height: 540px; }
.glow { position: absolute; inset: 14% 8%; background: #3a78ee; filter: blur(110px); opacity: 0.28; }
.desktop {
  position: absolute; left: 0; top: 40px; width: min(100%, 540px);
  background: #f3f6fb; color: #101828; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: var(--shadow);
}
.desktop-bar { height: 40px; background: #fff; border-bottom: 1px solid #e3e9f2; display: flex; align-items: center; gap: 6px; padding: 0 14px; font-size: 11px; }
.desktop-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dbe7; }
.desktop-bar b { margin-left: 10px; font-weight: 700; }
.desktop-body { display: grid; grid-template-columns: 0.72fr 1.28fr; min-height: 300px; }
.desktop-side { background: #0b1220; color: #fff; padding: 18px 16px; }
.desktop-side small { color: #6ee7b7; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.desktop-side h4 { margin: 8px 0 12px; font-size: 14px; }
.qr { width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 8px; background: #fff url(qr.png) center / cover no-repeat; image-rendering: pixelated; }
.address { text-align: center; font-size: 9px; background: #17233a; border-radius: 8px; padding: 7px; color: #c8d3e6; }
.desktop-main { padding: 18px; }
.desktop-main h4 { margin: 0 0 4px; font-size: 16px; letter-spacing: -0.02em; }
.desktop-main p { margin: 0 0 12px; color: #667085; font-size: 10px; }
.desk-actions { display: flex; gap: 6px; margin-bottom: 12px; }
.desk-actions span { font-size: 9px; font-weight: 700; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid #e3e9f2; }
.desk-actions span:first-child { background: #2864dc; border-color: #2864dc; color: #fff; }
.row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #e3e9f2; border-radius: 10px; padding: 8px; margin-top: 8px; }
.thumb { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: 8px; font-weight: 800; color: #027a48; background: #ecfdf3; }
.thumb.photo { background: linear-gradient(135deg, #5aa0ff, #2e5fd3 55%, #ffb36b); color: transparent; }
.thumb.pdf { background: #fef3f2; color: #b42318; }
.row b, .row span { display: block; font-size: 10px; line-height: 1.3; }
.row span, .row time { color: #7a8699; font-size: 8px; }

.phone {
  position: absolute; right: -6px; bottom: -4px; width: 236px; aspect-ratio: 236 / 480; z-index: 2;
  background: var(--ink); border: 7px solid #1a2438; border-radius: 40px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: float 7s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: -90px; right: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--blue); opacity: 0.35; filter: blur(60px); }
.phone-ui { position: relative; padding: 38px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-head { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; }
.mark { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--sky)); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(79, 140, 255, 0.5); }
.mark svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.glass { background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 800; letter-spacing: 1px; color: #6ee7b7; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.phone h5 { margin: 8px 0 2px; font-size: 16px; letter-spacing: -0.02em; }
.phone .sub { font-size: 9px; color: var(--muted); }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cta-card { border-radius: 16px; padding: 10px; height: 74px; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; font-weight: 800; border: 1px solid var(--line); background: var(--surface); }
.cta-card.blue { background: linear-gradient(145deg, var(--blue), var(--blue-deep)); border-color: transparent; }
.cta-card small { display: block; font-size: 8px; font-weight: 600; opacity: 0.75; }
.cta-card svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cta-card:not(.blue) svg { stroke: #6ee7b7; }
.phone .file { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; padding: 6px 0; }
.phone .file + .file { border-top: 1px solid var(--line); }
.phone .file .thumb { width: 30px; height: 30px; border-radius: 9px; }
.phone .file small { display: block; color: var(--muted); font-size: 8px; font-weight: 500; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 2.2px; color: var(--sky); text-transform: uppercase; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.04em; margin: 14px 0 16px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.trust { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
.trust li { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: #7f8da6; display: flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: rgba(156, 194, 255, 0.35); transform: translateY(-3px); }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 140, 255, 0.14); border: 1px solid rgba(79, 140, 255, 0.28); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; stroke: var(--sky); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* widget showcase */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 211, 153, 0.14); color: var(--mint); font-size: 13px; font-weight: 900; margin-top: 2px; }
.widget-stage { position: relative; display: grid; place-items: center; min-height: 520px; border-radius: 28px; border: 1px solid var(--line); background:
  radial-gradient(circle at 30% 20%, rgba(79, 140, 255, 0.22), transparent 55%),
  linear-gradient(160deg, #101a30, #0a101d); overflow: hidden; }
.widget-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle, #000 20%, transparent 75%); }
.widget { position: relative; width: 300px; zoom: 1.05; border-radius: 22px; padding: 14px; background: linear-gradient(170deg, #131f38, #0a101d); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow); }
.widget-head { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; }
.widget-head small { display: block; color: var(--muted); font-weight: 500; font-size: 9px; }
.dropzone { margin-top: 12px; border: 1.5px dashed rgba(79, 140, 255, 0.55); border-radius: 16px; background: rgba(79, 140, 255, 0.08); padding: 16px 10px; text-align: center; }
.dropzone svg { width: 34px; height: 34px; stroke: var(--mint); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dropzone b { display: block; font-size: 12px; margin-top: 6px; color: var(--mint); }
.dropzone span { font-size: 9px; color: var(--muted); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.chips div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 7px 9px; font-size: 7px; font-weight: 800; letter-spacing: 0.8px; color: var(--muted); }
.chips div b { display: block; font-size: 15px; letter-spacing: -0.02em; color: var(--text); margin-top: 1px; }
.chips div:last-child b { color: var(--mint); }
.cursor { position: absolute; right: 38px; top: 56px; width: 70px; z-index: 3; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5)); }
.dragged { position: absolute; right: 22px; top: 112px; z-index: 3; transform: rotate(7deg); background: #fff; color: #101828; border-radius: 10px; padding: 8px 12px; font-size: 11px; font-weight: 700; display: flex; gap: 8px; align-items: center; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }
.dragged i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #5aa0ff, #2e5fd3 55%, #ffb36b); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 24px; top: 22px; font-size: 13px; font-weight: 800; color: #5c6b85; letter-spacing: 1px; }
.step h3 { font-size: 21px; margin: 56px 0 10px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* platforms */
.platform-card { display: flex; flex-direction: column; gap: 6px; }
.platform-card .state { margin-top: auto; padding-top: 18px; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.badge.live { color: #04271b; background: var(--mint); border-color: var(--mint); }
.badge.beta { color: var(--sky); border-color: rgba(156, 194, 255, 0.4); background: rgba(79, 140, 255, 0.1); }

/* privacy */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: linear-gradient(170deg, rgba(52, 211, 153, 0.09), rgba(255, 255, 255, 0.02)); }
.stat b { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* faq */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--sky); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }

/* final cta */
.final { text-align: center; padding: 120px 0; background: radial-gradient(ellipse at 50% 0%, rgba(79, 140, 255, 0.25), transparent 60%), var(--ink-2); border-top: 1px solid var(--line); }
.final img { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 20px 50px rgba(79, 140, 255, 0.4); }
.final h2 { margin-top: 0; }
.final .actions { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: #7f8da6; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); }
.footer-links { display: flex; gap: 22px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 120px); opacity: 0; background: #fff; color: #101828; border-radius: 14px; padding: 14px 20px; font-weight: 700; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55); transition: transform 0.28s, opacity 0.28s; z-index: 60; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* scroll reveal (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- privacy page ---------- */
.doc { width: min(780px, calc(100% - 40px)); margin: 56px auto 90px; }
.doc .card { padding: clamp(26px, 5vw, 52px); }
.doc:hover { transform: none; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.04em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.doc h2 { font-size: 20px; letter-spacing: -0.01em; margin: 34px 0 8px; }
.doc p, .doc li { color: #c3cce0; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--sky); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { padding-top: 56px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .stage { min-height: 560px; max-width: 640px; margin-inline: auto; width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card.span-3, .card.span-2 { grid-column: span 1; }
  .nav-links { display: none; }
  .btn-small { margin-left: auto; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 36px, 1180px); }
  .section { padding: 76px 0; }
  .stage { min-height: 500px; }
  .desktop { display: none; }
  .phone { position: relative; margin: 0 auto; right: auto; bottom: auto; width: 250px; }
  .grid, .steps, .stats, .facts { grid-template-columns: 1fr; }
  .trust ul { gap: 12px 20px; }
  .final { padding: 84px 0; }
  .cursor, .dragged { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
