:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --ink: #121826;
  --muted: #667085;
  --line: #d9e1ec;
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --accent: #2563eb;
  --gold: #d8942d;
  --warn: #b45309;
  --danger: #b42318;
  --success: #067647;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-line: rgba(255, 255, 255, 0.46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef3f8 0%, #f7fafc 46%, #eef3f8 100%);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid rgba(217, 225, 236, .74);
  backdrop-filter: blur(22px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a:hover, .nav-links a.active { background: #e6f7f5; color: var(--brand-dark); }
.menu-button { display: none; border: 1px solid var(--line); background: white; padding: 9px 11px; border-radius: 8px; flex-shrink: 0; }

.hero {
  min-height: min(calc(100vh - 72px), 860px);
  display: grid;
  align-items: center;
  padding: 58px 0 44px;
  color: white;
  background:
    linear-gradient(108deg, rgba(4, 13, 27, 0.96), rgba(15, 52, 59, 0.9) 54%, rgba(13, 71, 65, 0.82)),
    url("../img/exchangerpoint-bitcoins.png") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(238,243,248,0), #eef3f8);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero-product { min-height: min(calc(100vh - 72px), 860px); align-items: center; }
.hero-copy { align-self: center; min-width: 0; position: relative; z-index: 1; }
.eyebrow { color: #8ce9dc; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow.dark { color: var(--brand-dark); }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.08; }
.hero h1 { font-size: clamp(42px, 7vw, 78px); max-width: 790px; }
.hero p { color: #d8e6ed; font-size: 18px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  border: 0;
  border-radius: 8px;
  padding: 13px 17px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--brand); color: white; }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { background: #eef4ff; color: #1849a9; }
.button.ghost { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.32); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-strip span {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #e6fffb;
  background: rgba(255,255,255,.09);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 620px;
}
.hero-metrics div {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 14px;
  backdrop-filter: blur(18px);
}
.hero-metrics strong { display: block; color: white; font-size: 24px; line-height: 1; }
.hero-metrics span { color: #bfe4e1; display: block; font-size: 12px; font-weight: 800; margin-top: 8px; }

.quote-panel {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.72);
}
.market-strip { display: grid; gap: 10px; margin-top: 18px; }
.market-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfdff;
}
.market-row span { color: var(--muted); font-size: 13px; font-weight: 800; }
.market-row strong { font-size: 22px; white-space: nowrap; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.quick-item { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fbfdff; }
.quick-item strong { display: block; font-size: 22px; }
.quick-item span { color: var(--muted); font-size: 13px; }
.trade-console {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(26px);
  min-width: 0;
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(217,225,236,.76);
}
.trade-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 8px;
  background: #eef2f6;
  min-width: 160px;
}
.trade-switch button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 38px;
}
.trade-switch button.active { background: white; color: var(--brand-dark); box-shadow: 0 1px 2px rgba(16,24,40,.12); }
.trade-panel { display: none; }
.trade-panel.active { display: block; }
.trade-shell.compact { border: 0; box-shadow: none; border-radius: 0; }
.trade-shell.compact .trade-head { padding-top: 16px; }
.minimum-note { color: var(--muted); font-size: 13px; font-weight: 800; align-self: center; }
.market-band {
  background: transparent;
  border-bottom: 0;
  margin-top: -18px;
  padding: 0 0 18px;
  position: relative;
  z-index: 4;
}
.market-layout {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
  padding: 18px;
  backdrop-filter: blur(24px);
}
.market-copy { align-self: center; padding: 8px; }
.market-copy h2 { font-size: clamp(24px, 3vw, 34px); }
.market-copy p { color: var(--muted); margin: 8px 0 0; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.market-row.premium {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.market-row small {
  grid-column: 1 / -1;
  color: #7a8699;
  font-size: 12px;
  font-weight: 700;
}
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.process-list { display: grid; gap: 14px; }
.process-list div { border-left: 4px solid var(--brand); padding: 4px 0 4px 16px; }
.process-list p { color: var(--muted); margin: 6px 0 0; }

.section { padding: 72px 0; }
.section.tight { padding: 42px 0 72px; }
.section-title { max-width: 760px; margin-bottom: 28px; }
.section-title.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2 { font-size: clamp(28px, 4vw, 44px); }
.section-title p { color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.band { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }

.market-intelligence {
  padding-top: 58px;
  background:
    linear-gradient(180deg, rgba(238,243,248,0), rgba(255,255,255,.76) 38%, rgba(238,243,248,.9));
}
.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 18px;
  align-items: stretch;
}
.chart-panel, .execution-panel, .feature-tile {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.chart-panel { padding: 20px; min-width: 0; }
.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.chart-head h2, .execution-panel h2 { font-size: clamp(26px, 3.4vw, 42px); }
.chart-badge {
  background: #101828;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  white-space: nowrap;
}
#btc-price-chart {
  width: 100%;
  aspect-ratio: 2.35;
  display: block;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc, #eef6f5);
  border: 1px solid rgba(217,225,236,.82);
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 12px;
}
.chart-foot strong { color: var(--ink); }
.execution-panel { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.execution-list { display: grid; gap: 12px; margin-top: 20px; }
.execution-list div {
  border: 1px solid rgba(217,225,236,.82);
  border-radius: 8px;
  background: rgba(248,250,252,.76);
  padding: 14px;
}
.execution-list strong { display: block; }
.execution-list span { color: var(--muted); display: block; font-size: 13px; margin-top: 5px; }
.product-system { background: #f8fafc; }
.feature-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-tile { padding: 20px; }
.feature-tile span {
  color: var(--gold);
  display: block;
  font-weight: 900;
  margin-bottom: 18px;
}
.feature-tile p { color: var(--muted); margin-bottom: 0; }

.trade-shell {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trade-head { padding: 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.step-pill { padding: 7px 10px; border-radius: 999px; background: #f2f4f7; color: var(--muted); font-size: 12px; font-weight: 800; }
.step-pill.active { background: #d1fadf; color: #05603a; }
.trade-body { padding: 22px; }
.form-step { display: none; animation: fadeIn .22s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { color: #344054; font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  min-height: 46px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid #ccfbf1; border-color: var(--brand); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid.two { grid-template-columns: repeat(2, 1fr); }
.choice {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  background: #fbfdff;
  font-weight: 800;
}
.choice input { width: auto; min-height: 0; margin-right: 7px; }
.choice.disabled { opacity: .45; cursor: not-allowed; }
.conditional-field { display: none; }
.conditional-field.active { display: flex; }
.legal-check {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
  color: #475467;
  font-size: 13px;
}
.legal-check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; }
.legal-check a { color: var(--brand-dark); font-weight: 800; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.message { margin-top: 14px; padding: 12px; border-radius: 8px; background: #f2f4f7; color: var(--muted); display: none; }
.message.show { display: block; }
.message.error { background: #fef3f2; color: var(--danger); }
.message.success { background: #ecfdf3; color: var(--success); }
.summary { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #eef2f6; padding-bottom: 8px; }
.summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
.estimate-highlight {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #ecfdf3;
  color: #05603a;
  font-weight: 900;
}

.trace-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.trace-table th, .trace-table td { text-align: left; padding: 13px; border-bottom: 1px solid var(--line); }
.trace-table th { background: #f8fafc; color: #344054; width: 32%; }
.status { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #fffaeb; color: var(--warn); font-weight: 800; }
.status.done { background: #ecfdf3; color: var(--success); }

.page-kicker { padding: 46px 0 20px; background: white; border-bottom: 1px solid var(--line); }
.page-kicker h1 { font-size: clamp(32px, 5vw, 54px); }
.page-kicker p { color: var(--muted); max-width: 720px; }

.site-footer { background: #101828; color: #d0d5dd; padding: 42px 0; }
.enterprise-footer {
  background:
    linear-gradient(180deg, #0b1220, #101828);
  padding: 54px 0 36px;
}
.footer-brand-row {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.14);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding-bottom: 26px;
}
.footer-brand-row p { color: #b9c0cc; margin: 8px 0 0; max-width: 620px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }
.footer-grid.enterprise { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }
.site-footer a { color: #d0d5dd; display: block; margin: 8px 0; }
.site-footer strong { color: white; }
.footer-seo-links {
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 24px;
  padding-top: 18px;
}
.footer-seo-links a { color: #e5e7eb; font-size: 13px; margin: 0; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #f2f4f7;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  padding: 8px 11px;
}
.footer-social a:hover { background: rgba(255,255,255,.1); }
.footer-disclaimer {
  color: #b9c0cc;
  font-size: 13px;
  margin: 0;
}
.footer-bottom {
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  margin-top: 28px;
  padding-top: 18px;
}
.footer-bottom span {
  color: white;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.done-text {
  display: grid;
  gap: 14px;
  line-height: 1.6;
}
.address-line {
  background: #f3f4f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #111827;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
  padding: 10px;
}
.wallet-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wallet-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}
.qr-image {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: auto;
  max-width: 180px;
  width: 100%;
}
.whatsapp-float {
  position: fixed;
  left: 14px;
  bottom: 22px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .menu-button { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .hero { min-height: auto; }
  .hero-grid, .split, .footer-grid, .footer-grid.enterprise, .market-grid, .market-layout, .intelligence-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-copy { width: min(100%, 368px); }
  .hero-metrics, .feature-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .console-top { align-items: stretch; flex-direction: column; }
  .trade-switch { width: 100%; }
  .footer-brand-row, .footer-bottom { align-items: stretch; grid-template-columns: 1fr; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1160px); }
  .section { padding: 48px 0; }
  .form-grid, .choice-grid, .quick-grid { grid-template-columns: 1fr; }
  .hero-metrics, .feature-matrix { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: 36px; overflow-wrap: anywhere; }
  .hero p { font-size: 17px; }
  .chart-head, .chart-foot { flex-direction: column; }
  #btc-price-chart { aspect-ratio: 1.45; }
  .wallet-grid { grid-template-columns: 1fr; }
  .trade-head { align-items: flex-start; flex-direction: column; }
  .form-actions { flex-direction: column-reverse; }
  .button { width: 100%; }
  .trace-table th, .trace-table td { display: block; width: 100%; }
}
