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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #07090d;
  color: #f5f7fa;
  line-height: 1.6;
}

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


/* NAVBAR */

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  border-bottom: 1px solid #1c2028;
  background: rgba(7, 9, 13, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span,
.modal-logo span {
  color: #8cffc1;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: #a9b0bd;
  font-size: 14px;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  gap: 12px;
}


/* BUTTONS */

button {
  font-family: inherit;
  cursor: pointer;
}

.btn-primary {
  border: none;
  background: #8cffc1;
  color: #07100b;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-login {
  border: none;
  background: transparent;
  color: #d9dee7;
  padding: 12px 18px;
}

.btn-outline {
  background: transparent;
  border: 1px solid #303641;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
}

.large {
  padding: 15px 26px;
}

.full {
  width: 100%;
  margin-top: 10px;
}


/* HERO */

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
  padding: 80px 9%;
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(140, 255, 193, 0.08),
      transparent 35%
    );
}

.badge,
.eyebrow {
  color: #8cffc1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.03;
  margin: 22px 0;
  letter-spacing: -3px;
}

.hero h1 span,
.section-title h2 span,
.about-content h2 span {
  color: #8cffc1;
}

.hero-content > p {
  color: #a9b0bd;
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}


/* MARKET PREVIEW */

.market-preview {
  background: #0d1118;
  border: 1px solid #242a34;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.market-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #222833;
  font-weight: 700;
}

.market-status {
  color: #8cffc1;
  font-size: 12px;
}

.market-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #1d232c;
}

.market-item:last-child {
  border-bottom: none;
}

.market-item strong {
  display: block;
}

.market-item small {
  color: #7f8795;
}

.market-price {
  text-align: right;
  font-size: 14px;
}

.market-price span {
  display: block;
  color: #8cffc1;
  font-size: 12px;
  margin-top: 4px;
}


/* SECTIONS */

.section {
  padding: 120px 9%;
  border-top: 1px solid #171b22;
}

.section-title {
  max-width: 700px;
  margin-bottom: 55px;
}

.section-title h2,
.about-content h2 {
  font-size: 48px;
  line-height: 1.1;
  margin: 16px 0;
}

.section-title p,
.about-content p {
  color: #9da5b3;
  font-size: 17px;
}


/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.tool-card {
  background: #0c1016;
  border: 1px solid #222833;
  border-radius: 14px;
  padding: 32px;
  transition: 0.25s;
}

.feature-card:hover,
.tool-card:hover {
  transform: translateY(-5px);
  border-color: #3b4654;
}

.icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #151b23;
  border-radius: 10px;
  color: #8cffc1;
  font-size: 22px;
  margin-bottom: 24px;
}

.feature-card h3,
.tool-card h3 {
  margin-bottom: 12px;
}

.feature-card p,
.tool-card p {
  color: #8e97a6;
}


/* TOOLS */

.tools-section {
  background: #090c11;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ABOUT */

.about-section {
  min-height: 450px;
  display: flex;
  align-items: center;
}

.about-content {
  max-width: 800px;
}


/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 430px;
  background: #0d1118;
  border: 1px solid #2a313d;
  border-radius: 16px;
  padding: 38px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 18px;
  border: none;
  background: none;
  color: #8f97a5;
  font-size: 28px;
}

.modal-logo {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 30px;
}

.modal-content h2 {
  font-size: 30px;
}

.modal-description {
  color: #8f97a5;
  margin: 6px 0 25px;
}

.modal-content label {
  display: block;
  margin: 16px 0 7px;
  font-size: 13px;
  color: #b9c0cb;
}

.modal-content input {
  width: 100%;
  padding: 14px;
  background: #080b10;
  border: 1px solid #2a313d;
  border-radius: 8px;
  color: white;
  outline: none;
}

.modal-content input:focus {
  border-color: #8cffc1;
}

#mensaje {
  text-align: center;
  margin-top: 15px;
  color: #8cffc1;
}


/* MOBILE */

@media (max-width: 900px) {

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 70px 6%;
  }

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

  .section {
    padding: 80px 6%;
  }

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

  .section-title h2,
  .about-content h2 {
    font-size: 38px;
  }

}

@media (max-width: 550px) {

  .navbar {
    padding: 0 5%;
  }

  .nav-actions .btn-login {
    display: none;
  }

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

  .market-preview {
    padding: 18px;
  }

}