:root {
  --bg: #020202;
  --panel: rgba(18, 18, 18, 0.82);
  --panel-2: rgba(23, 23, 23, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --muted: #c8c8c8;
  --gold: #f5a400;
  --gold-2: #ffb31a;
  --green: #00e676;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 58% 22%, rgba(245, 164, 0, 0.12), transparent 28rem),
    linear-gradient(180deg, #020202 0%, #050505 62%, #020202 100%);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.34;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 78%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  min-height: 76px;
  padding: 0 80px;
  background: rgba(0, 0, 0, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand,
.admin-login,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-coin {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: var(--gold);
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.brand-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.45px;
}

.brand-name span {
  color: var(--gold);
}

.nav {
  justify-content: center;
  gap: 48px;
  font-size: 16px;
  font-weight: 500;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 76px;
}

.nav a.active::after {
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 9px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.admin-login {
  justify-content: end;
  gap: 9px;
  color: var(--muted);
  font-size: 16px;
}

.admin-login svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, #020202 0%, rgba(2, 2, 2, 0.92) 24%, rgba(2, 2, 2, 0.36) 48%, rgba(2, 2, 2, 0.06) 77%, rgba(2, 2, 2, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.32));
}

.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 61%;
  background-image: url("assets/hero-market-btc.png");
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.98;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 45px 80px 0;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: 61px;
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -2.7px;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.72);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  margin: 16px 0 0;
  color: #d7d7d7;
  font-size: 20px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 245px;
  min-height: 54px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 800;
}

.btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.btn-whatsapp {
  background: #0fdf67;
  color: var(--white);
  box-shadow: 0 14px 26px rgba(0, 230, 118, 0.22);
}

.btn-outline {
  min-width: 245px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--gold);
}

.btn-outline svg {
  width: 21px;
  height: 21px;
  fill: var(--gold);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
  max-width: 855px;
  margin-top: 26px;
}

.benefits article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.benefit-icon svg {
  width: 39px;
  height: 39px;
  overflow: visible;
}

.benefit-icon path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.benefits small {
  display: block;
  max-width: 140px;
  color: #dfdfdf;
  font-size: 13px;
  line-height: 1.25;
}

.quotes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 44px 50px;
}

.quote-card {
  position: relative;
  min-height: 148px;
  padding: 20px 19px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 88%, rgba(0, 230, 118, 0.15), transparent 36%),
    linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(13, 13, 13, 0.91));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.quote-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crypto-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  border-radius: 50%;
  font-size: 29px;
  font-weight: 900;
}

.crypto-icon.btc {
  background: var(--gold);
}

.crypto-icon.eth {
  background: linear-gradient(180deg, #66707d, #1e2732);
  font-size: 24px;
}

.crypto-icon.usdt {
  background: linear-gradient(180deg, #27d39b, #129c70);
  font-size: 28px;
}

.crypto-icon.bnb {
  background: #f1b90b;
  font-size: 22px;
}

.quote-head strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
}

.quote-head small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 13px;
}

.quote-body {
  margin-top: 19px;
}

.quote-body p {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
}

.quote-body p strong {
  font-size: 22px;
  font-weight: 900;
}

.quote-body span {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-size: 15px;
}

.spark {
  position: absolute;
  right: 18px;
  bottom: 26px;
  width: 165px;
  height: 54px;
}

.spark path {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.live-note {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d0d0d0;
  font-size: 14px;
  transform: translateX(-50%);
}

.live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
}

.live-text {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.process {
  position: relative;
  margin-top: 0;
  padding: 18px 70px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 164, 0, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(8, 6, 2, 0.68), rgba(4, 4, 4, 0.9));
}

.section-kicker {
  margin: 0 0 3px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.9px;
  text-align: center;
}

.process h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  max-width: 1324px;
  margin: 0 auto;
}

.steps::before,
.steps::after {
  position: absolute;
  top: 69px;
  width: 35px;
  height: 3px;
  content: "";
  background: var(--gold);
}

.steps::before {
  left: calc(33.333% - 17px);
}

.steps::after {
  left: calc(66.666% - 18px);
}

.step-card {
  display: grid;
  grid-template-columns: 104px 47px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 133px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.96), rgba(11, 11, 11, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
}

.step-icon svg {
  width: 52px;
  height: 52px;
}

.step-icon path,
.step-icon circle {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card > strong {
  color: var(--gold);
  font-size: 41px;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  max-width: 250px;
  color: #e3e3e3;
  font-size: 17px;
  line-height: 1.35;
}

.admin-area,
.contact,
.services {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.services,
.contact {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services h2,
.contact h2 {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.1;
}

.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article,
.contact-grid a,
.contact-grid article {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 100%, rgba(0, 230, 118, 0.1), transparent 45%),
    linear-gradient(135deg, rgba(24, 24, 24, 0.96), rgba(11, 11, 11, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
}

.service-grid strong,
.contact-grid strong {
  color: var(--white);
  font-size: 18px;
}

.service-grid span,
.contact-grid span,
.contact-note,
.legal-note {
  color: var(--muted);
  line-height: 1.45;
}

.contact {
  display: block;
}

.contact > div:first-child {
  margin-bottom: 24px;
}

.contact-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.legal-note {
  margin: 22px 0 0;
  font-size: 14px;
}

.admin-panel {
  display: grid;
  gap: 14px;
  max-width: 420px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-top: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 164, 0, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(24, 24, 24, 0.96), rgba(10, 10, 10, 0.92));
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 7px;
}

.admin-dashboard[hidden] {
  display: none;
}

.admin-dashboard span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.admin-dashboard h2 {
  margin: 6px 0 8px;
}

.admin-dashboard p {
  margin: 0;
  color: var(--muted);
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-actions button {
  min-height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
}

.admin-panel h2,
.contact h2 {
  margin: 0 0 10px;
}

.admin-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.admin-panel input {
  min-height: 44px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.admin-panel button {
  min-height: 46px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
}

.admin-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 24px;
  }

  .nav,
  .admin-login {
    justify-content: start;
  }

  .nav {
    gap: 24px;
    flex-wrap: wrap;
  }

  .nav a {
    min-height: auto;
  }

  .nav a.active::after {
    bottom: -8px;
  }

  .hero-content {
    padding-inline: 32px;
  }

  .hero-art {
    width: 100%;
    opacity: 0.55;
  }

  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 24px;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before,
  .steps::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 23px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 36px 20px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions,
  .benefits {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .contact-grid,
  .admin-actions {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 76px 36px 1fr;
    padding: 16px;
  }

  .step-icon {
    width: 68px;
    height: 68px;
  }

  .step-card > strong {
    font-size: 34px;
  }
}
