/* =========================================
   VARIABLES
========================================= */

:root {
  --black: #070909;
  --black-soft: #0c0f0e;
  --panel: #101412;
  --panel-light: #151a17;

  --green: #b7ff3c;
  --green-dark: #88c928;

  --white: #f3f5f1;
  --gray: #858b86;
  --gray-dark: #3a403c;

  --red: #ff5d5d;

  --border: #242a26;
}


/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  background: var(--black);
  color: var(--white);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.6;
}


body.menu-open {
  overflow: hidden;
}


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


button,
input {
  font: inherit;
}


button {
  border: 0;
}


.container {
  width: min(1200px, 90%);
  margin: auto;
}


.section {
  padding: 120px 0;
}


/* =========================================
   HEADER
========================================= */

.header {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 100;

  border-bottom:
    1px solid rgba(255,255,255,.08);
}


.navbar {
  min-height: 85px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  display: flex;
  align-items: center;

  gap: 10px;

  font-size: .9rem;
  font-weight: 900;

  letter-spacing: 2px;
}


.logo-symbol {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  background: var(--green);
  color: black;

  font-size: .9rem;

  border-radius: 3px;
}


.nav-links {
  display: flex;
  align-items: center;

  gap: 32px;

  list-style: none;
}


.nav-links a {
  color: #aaa;

  font-size: .72rem;
  font-weight: 600;

  letter-spacing: .5px;
}


.nav-links a:hover {
  color: var(--green);
}


.header-button {
  display: flex;
  align-items: center;

  gap: 20px;

  padding: 12px 17px;

  border:
    1px solid var(--gray-dark);

  font-size: .65rem;
  font-weight: 800;

  letter-spacing: .7px;
}


.header-button span {
  color: var(--green);
}


.header-button:hover {
  border-color: var(--green);
}


.menu-btn {
  display: none;

  background: transparent;

  color: white;

  font-size: 1.7rem;

  cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
  min-height: 900px;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 40%,
      rgba(183,255,60,.06),
      transparent 30%
    ),
    var(--black);
}


.hero-grid-bg,
.access-grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.025) 1px,
      transparent 1px
    );

  background-size: 60px 60px;
}


.hero-grid {
  display: grid;

  grid-template-columns:
    .9fr 1.1fr;

  gap: 80px;

  align-items: center;

  position: relative;

  z-index: 2;

  padding-top: 100px;
}


.status {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: #888;

  font-size: .62rem;
  font-weight: 800;

  letter-spacing: 1.5px;

  margin-bottom: 25px;
}


.status > span {
  width: 7px;
  height: 7px;

  background: var(--green);

  border-radius: 50%;

  box-shadow:
    0 0 10px var(--green);
}


.hero h1 {
  max-width: 720px;

  font-size:
    clamp(3.8rem, 7vw, 7rem);

  line-height: .9;

  letter-spacing: -5px;

  font-weight: 500;

  margin-bottom: 28px;
}


.hero h1 span {
  display: block;

  color: var(--green);
}


.hero-copy > p {
  max-width: 560px;

  color: var(--gray);

  margin-bottom: 30px;
}


.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}


.btn {
  min-height: 50px;

  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 25px;

  font-size: .68rem;
  font-weight: 900;

  letter-spacing: .8px;

  cursor: pointer;

  transition: .25s;
}


.btn-green {
  background: var(--green);
  color: black;
}


.btn-green:hover {
  background: white;
}


.btn-outline {
  border:
    1px solid var(--gray-dark);

  color: #bbb;
}


.btn-outline:hover {
  border-color: white;
  color: white;
}


.hero-note {
  max-width: 560px;

  margin-top: 30px;

  color: #666;

  font-size: .66rem;
}


.hero-note span {
  color: var(--green);

  margin-right: 5px;
}


/* =========================================
   TERMINAL
========================================= */

.terminal {
  background:
    rgba(12,15,14,.95);

  border:
    1px solid var(--border);

  box-shadow:
    0 40px 100px rgba(0,0,0,.5);
}


.terminal-top {
  min-height: 65px;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom:
    1px solid var(--border);
}


.terminal-title {
  display: flex;
  align-items: center;

  gap: 10px;
}


.terminal-logo {
  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  background: var(--green);
  color: black;

  font-size: .7rem;
  font-weight: 900;
}


.terminal-title strong,
.terminal-title small {
  display: block;
}


.terminal-title strong {
  font-size: .65rem;

  letter-spacing: 1px;
}


.terminal-title small {
  color: #555;

  font-size: .5rem;
}


.terminal-live {
  display: flex;
  align-items: center;

  gap: 6px;

  color: #777;

  font-size: .55rem;
}


.terminal-live span,
.online-dot {
  width: 6px;
  height: 6px;

  background: var(--green);

  border-radius: 50%;

  box-shadow:
    0 0 8px var(--green);
}


.market-tabs {
  display: flex;

  padding: 0 20px;

  border-bottom:
    1px solid var(--border);
}


.market-tab {
  padding: 15px 17px;

  background: transparent;

  color: #666;

  font-size: .55rem;
  font-weight: 800;

  cursor: pointer;

  border-bottom:
    2px solid transparent;
}


.market-tab.active {
  color: white;

  border-color: var(--green);
}


.asset-info {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  padding: 25px;
}


.asset-info span {
  display: block;

  color: #666;

  font-size: .6rem;

  margin-bottom: 3px;
}


.asset-info strong {
  font-family:
    "Courier New",
    monospace;

  font-size: 2rem;

  font-weight: 500;
}


.asset-change {
  color: var(--green);

  font-family:
    "Courier New",
    monospace;

  font-size: .85rem;
}


/* =========================================
   GRÁFICA
========================================= */

.chart {
  height: 270px;

  position: relative;

  margin: 0 25px;

  overflow: hidden;

  border:
    1px solid #1c211e;
}


.chart-labels {
  position: absolute;

  right: 8px;
  top: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-around;

  color: #424843;

  font-family:
    "Courier New",
    monospace;

  font-size: .5rem;

  z-index: 5;
}


.chart-grid {
  position: absolute;

  inset: 0;
}


.chart-grid span {
  display: block;

  height: 25%;

  border-bottom:
    1px solid #191e1b;
}


.candles {
  position: absolute;

  inset:
    30px 55px 25px 20px;

  display: flex;

  align-items: center;
  justify-content: space-between;
}


.candle {
  width: 10px;

  position: relative;

  display: block;

  background: var(--green);
}


.candle::before {
  content: "";

  position: absolute;

  width: 1px;

  background: inherit;

  left: 50%;

  transform:
    translateX(-50%);

  top: -15px;
  bottom: -15px;
}


.candle.down {
  background: var(--red);
}


.c1 { height: 35px; margin-top: 90px; }
.c2 { height: 27px; margin-top: 65px; }
.c3 { height: 43px; margin-top: 50px; }
.c4 { height: 33px; margin-top: 25px; }
.c5 { height: 30px; margin-top: 40px; }
.c6 { height: 48px; margin-top: 5px; }
.c7 { height: 35px; margin-top: -20px; }
.c8 { height: 25px; margin-top: -5px; }
.c9 { height: 40px; margin-top: -35px; }
.c10 { height: 32px; margin-top: -60px; }
.c11 { height: 35px; margin-top: -45px; }
.c12 { height: 50px; margin-top: -80px; }
.c13 { height: 28px; margin-top: -100px; }
.c14 { height: 25px; margin-top: -85px; }
.c15 { height: 40px; margin-top: -115px; }


.price-line {
  position: absolute;

  left: 0;
  right: 0;

  top: 33%;

  border-top:
    1px dashed rgba(183,255,60,.35);
}


.price-line span {
  position: absolute;

  right: 0;
  top: -10px;

  background: var(--green);
  color: black;

  padding: 2px 5px;

  font-family:
    "Courier New",
    monospace;

  font-size: .5rem;
}


.terminal-bottom {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  padding: 20px 25px;
}


.terminal-bottom div {
  border-right:
    1px solid var(--border);

  padding-left: 15px;
}


.terminal-bottom div:first-child {
  padding-left: 0;
}


.terminal-bottom div:last-child {
  border-right: 0;
}


.terminal-bottom span {
  display: block;

  color: #555;

  font-size: .5rem;

  letter-spacing: 1px;
}


.terminal-bottom strong {
  font-family:
    "Courier New",
    monospace;

  font-size: .7rem;

  font-weight: 400;
}


/* =========================================
   TICKER
========================================= */

.ticker {
  position: absolute;

  bottom: 0;
  left: 0;

  width: 100%;

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  background: #090b0a;

  overflow: hidden;
}


.ticker-track {
  min-height: 50px;

  display: flex;
  align-items: center;
  justify-content: space-around;

  min-width: 900px;
}


.ticker-track > span {
  color: #777;

  font-family:
    "Courier New",
    monospace;

  font-size: .62rem;
}


.ticker-track strong {
  color: white;

  margin-left: 8px;
}


.ticker-track b {
  margin-left: 6px;

  font-weight: 400;
}


.positive {
  color: var(--green);
}


.negative {
  color: var(--red);
}


/* =========================================
   SECCIONES GENERALES
========================================= */

.section-number {
  display: block;

  color: var(--green);

  font-size: .62rem;
  font-weight: 900;

  letter-spacing: 2px;

  margin-bottom: 18px;
}


.section-number.light {
  color: #777;
}


.section-heading {
  display: grid;

  grid-template-columns:
    1.2fr .8fr;

  gap: 100px;

  align-items: end;

  margin-bottom: 65px;
}


.section-heading h2,
.tools-heading h2,
.calculator-copy h2 {
  font-size:
    clamp(3rem, 6vw, 6rem);

  line-height: .9;

  letter-spacing: -5px;

  font-weight: 500;
}


.section-heading > p {
  color: var(--gray);

  max-width: 430px;
}


/* =========================================
   PLATAFORMA
========================================= */

.platform {
  background: #f1f3ee;

  color: #111;
}


.platform-grid {
  display: grid;

  grid-template-columns:
    1.2fr .8fr;

  gap: 15px;
}


.platform-card {
  min-height: 400px;

  background: white;

  border:
    1px solid #d9ddd5;

  padding: 30px;

  display: flex;
  flex-direction: column;

  justify-content: space-between;
}


.platform-card.large {
  grid-row: span 2;

  min-height: 815px;
}


.card-top {
  display: flex;

  justify-content: space-between;

  color: #999;

  font-size: .55rem;

  letter-spacing: 1px;
}


.card-copy h3 {
  font-size: 1.5rem;

  margin-bottom: 7px;
}


.card-copy p {
  color: #777;

  font-size: .85rem;

  max-width: 420px;
}


.mini-chart {
  height: 360px;

  position: relative;

  background-image:
    linear-gradient(
      #eceee9 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      #eceee9 1px,
      transparent 1px
    );

  background-size:
    50px 50px;
}


.chart-path {
  position: absolute;

  left: 8%;
  right: 8%;
  top: 50%;

  height: 2px;

  background: #111;

  transform:
    rotate(-12deg);
}


.point {
  position: absolute;

  width: 10px;
  height: 10px;

  background: var(--green);

  border:
    2px solid #111;

  border-radius: 50%;

  top: -4px;
}


.p1 { left: 0; }
.p2 { left: 25%; top: -40px; }
.p3 { left: 50%; top: 25px; }
.p4 { left: 75%; top: -50px; }
.p5 { right: 0; top: -80px; }


.watchlist {
  margin: 25px 0;
}


.watchlist div {
  display: flex;

  justify-content: space-between;

  padding: 12px 0;

  border-bottom:
    1px solid #eee;

  font-family:
    "Courier New",
    monospace;

  font-size: .7rem;
}


.watchlist strong {
  color: #4c8010;
}


.watchlist strong.loss {
  color: #cc3f3f;
}


.risk-display {
  display: grid;
  place-items: center;

  padding: 20px;
}


.risk-circle {
  width: 130px;
  height: 130px;

  border:
    8px solid #e7eae4;

  border-top-color:
    var(--green-dark);

  border-radius: 50%;

  display: grid;
  place-content: center;

  text-align: center;
}


.risk-circle strong {
  font-family:
    "Courier New",
    monospace;

  font-size: 1.4rem;
}


.risk-circle span {
  color: #999;

  font-size: .5rem;
}


/* =========================================
   TOOLS
========================================= */

.tools {
  background: var(--black);
}


.tools-heading {
  display: grid;

  grid-template-columns:
    1fr .5fr;

  gap: 100px;

  align-items: end;

  margin-bottom: 70px;
}


.tools-heading h2 span {
  color: var(--green);
}


.tools-heading p {
  color: var(--gray);
}


.tools-list {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid var(--border);
}


.tool {
  min-height: 350px;

  padding:
    25px 30px 30px 0;

  margin-right: 30px;

  border-right:
    1px solid var(--border);

  position: relative;
}


.tool:last-child {
  border-right: 0;
}


.tool-number {
  color: #555;

  font-family:
    "Courier New",
    monospace;

  font-size: .6rem;
}


.tool-icon {
  margin-top: 70px;

  color: var(--green);

  font-size: 2rem;
}


.tool h3 {
  margin-top: 55px;

  font-size: 1rem;
}


.tool p {
  color: var(--gray);

  font-size: .8rem;

  margin-top: 10px;
}


/* =========================================
   MÉTODO
========================================= */

.method {
  background: var(--green);

  color: #0a0b0a;

  padding: 120px 0;
}


.method-grid {
  display: grid;

  grid-template-columns:
    1fr .8fr;

  gap: 100px;
}


.method-copy h2 {
  font-size:
    clamp(3.5rem, 6vw, 6rem);

  line-height: .9;

  letter-spacing: -5px;

  font-weight: 500;
}


.method-lead {
  font-size: 1.4rem;

  margin: 30px 0 15px;
}


.method-copy > p:last-child {
  max-width: 500px;

  color: #394526;
}


.process {
  border-top:
    1px solid rgba(0,0,0,.3);
}


.process article {
  display: grid;

  grid-template-columns:
    60px 1fr;

  gap: 20px;

  padding: 25px 0;

  border-bottom:
    1px solid rgba(0,0,0,.3);
}


.process article > span {
  font-family:
    "Courier New",
    monospace;

  font-size: .6rem;
}


.process h3 {
  font-size: 1.15rem;

  margin-bottom: 5px;
}


.process p {
  color: #394526;

  font-size: .8rem;
}


/* =========================================
   CALCULADORA
========================================= */

.calculator-section {
  background: #f1f3ee;

  color: #111;
}


.calculator-grid {
  display: grid;

  grid-template-columns:
    .9fr 1.1fr;

  gap: 100px;

  align-items: center;
}


.calculator-copy p {
  color: #777;

  max-width: 500px;

  margin-top: 25px;
}


.warning {
  display: flex;

  gap: 15px;

  max-width: 480px;

  margin-top: 40px;

  padding-top: 20px;

  border-top:
    1px solid #ccc;
}


.warning > span {
  width: 25px;
  height: 25px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border:
    1px solid #aaa;

  border-radius: 50%;

  font-size: .7rem;
}


.warning p {
  margin: 0;

  font-size: .7rem;
}


.risk-calculator {
  background: var(--black);

  color: white;

  padding: 40px;

  box-shadow:
    0 30px 70px rgba(0,0,0,.15);
}


.calculator-header {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding-bottom: 25px;

  margin-bottom: 30px;

  border-bottom:
    1px solid var(--border);
}


.calculator-header span {
  color: #555;

  font-size: .55rem;

  letter-spacing: 1px;
}


.calculator-header h3 {
  font-family:
    "Courier New",
    monospace;

  font-size: 1.2rem;

  margin-top: 3px;
}


.calculator-field {
  margin-bottom: 20px;
}


.calculator-field label {
  display: block;

  color: #777;

  font-size: .55rem;

  letter-spacing: 1px;

  margin-bottom: 7px;
}


.input-wrapper {
  display: flex;

  align-items: center;

  border:
    1px solid var(--border);

  background: #0c0f0e;
}


.input-wrapper span {
  padding: 0 15px;

  color: var(--green);

  font-family:
    "Courier New",
    monospace;
}


.input-wrapper input {
  width: 100%;

  padding: 15px;

  border: 0;

  outline: none;

  background: transparent;

  color: white;

  font-family:
    "Courier New",
    monospace;
}


.calculator-results {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 10px;

  margin-top: 35px;
}


.calculator-results div {
  padding: 20px;

  background: var(--panel);
}


.calculator-results span {
  display: block;

  color: #666;

  font-size: .5rem;

  letter-spacing: .7px;

  margin-bottom: 5px;
}


.calculator-results strong {
  color: var(--green);

  font-family:
    "Courier New",
    monospace;

  font-size: 1.25rem;
}


/* =========================================
   ACCESS
========================================= */

.access {
  min-height: 700px;

  display: flex;
  align-items: center;

  position: relative;

  background: var(--black);
}


.access-content {
  position: relative;

  z-index: 2;

  text-align: center;

  max-width: 900px;
}


.access-content h2 {
  font-size:
    clamp(3.5rem, 7vw, 7rem);

  line-height: .88;

  letter-spacing: -6px;

  font-weight: 500;
}


.access-content h2 span {
  display: block;

  color: var(--green);
}


.access-content > p {
  color: var(--gray);

  max-width: 550px;

  margin:
    30px auto;
}


.access-form {
  display: flex;

  max-width: 580px;

  margin:
    35px auto 20px;
}


.access-form input {
  flex: 1;

  min-width: 0;

  padding: 17px;

  background: #101310;

  color: white;

  border:
    1px solid var(--border);

  outline: none;
}


.access-form input:focus {
  border-color: var(--green);
}


.access-form button {
  padding: 0 20px;

  background: var(--green);
  color: black;

  font-size: .62rem;
  font-weight: 900;

  letter-spacing: .5px;

  cursor: pointer;
}


.access-form button span {
  margin-left: 15px;
}


.access-content small {
  color: #555;

  font-size: .6rem;
}


/* =========================================
   FOOTER
========================================= */

footer {
  background: #050606;

  padding:
    60px 0 25px;

  border-top:
    1px solid var(--border);
}


.footer-top {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding-bottom: 50px;
}


.footer-links {
  display: flex;

  gap: 30px;
}


.footer-links a {
  color: #777;

  font-size: .68rem;
}


.footer-links a:hover {
  color: var(--green);
}


.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 30px;

  padding-top: 20px;

  border-top:
    1px solid var(--border);

  color: #4f5450;

  font-size: .6rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

  .desktop-button {
    display: none;
  }


  .menu-btn {
    display: block;
  }


  .nav-links {
    display: none;

    position: absolute;

    top: 85px;
    left: 0;

    width: 100%;

    min-height:
      calc(100vh - 85px);

    padding: 50px 5%;

    background: var(--black);

    flex-direction: column;

    align-items: flex-start;
  }


  .nav-links.active {
    display: flex;
  }


  .nav-links a {
    font-size: 1.3rem;
  }


  .hero {
    padding:
      140px 0 100px;
  }


  .hero-grid,
  .section-heading,
  .tools-heading,
  .method-grid,
  .calculator-grid {
    grid-template-columns: 1fr;
  }


  .hero-grid {
    gap: 60px;
  }


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


  .platform-card.large {
    min-height: 600px;
  }


  .tools-list {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 650px) {

  .section {
    padding: 80px 0;
  }


  .hero h1 {
    font-size: 4rem;

    letter-spacing: -3px;
  }


  .terminal {
    margin-bottom: 40px;
  }


  .market-tabs {
    overflow-x: auto;
  }


  .market-tab {
    flex-shrink: 0;
  }


  .asset-info strong {
    font-size: 1.4rem;
  }


  .chart {
    height: 220px;

    margin: 0 15px;
  }


  .terminal-bottom {
    grid-template-columns: 1fr;

    gap: 12px;
  }


  .terminal-bottom div {
    border-right: 0;

    border-bottom:
      1px solid var(--border);

    padding:
      0 0 10px;
  }


  .section-heading h2,
  .tools-heading h2,
  .calculator-copy h2 {
    letter-spacing: -3px;
  }


  .tools-list {
    grid-template-columns: 1fr;
  }


  .tool {
    min-height: 260px;

    border-right: 0;

    border-bottom:
      1px solid var(--border);
  }


  .tool-icon {
    margin-top: 35px;
  }


  .tool h3 {
    margin-top: 30px;
  }


  .method {
    padding: 80px 0;
  }


  .method-copy h2 {
    letter-spacing: -3px;
  }


  .calculator-results {
    grid-template-columns: 1fr;
  }


  .risk-calculator {
    padding: 25px 18px;
  }


  .access {
    min-height: 600px;
  }


  .access-content h2 {
    letter-spacing: -4px;
  }


  .access-form {
    flex-direction: column;
  }


  .access-form button {
    min-height: 55px;
  }


  .footer-top,
  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }


  .footer-links {
    flex-direction: column;

    gap: 10px;
  }

}