/* ============================================================
   GLOBAL
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0B0C10;
  color: #FFFFFF;
  line-height: 1.6;
}

/* ============================================================
   HEADER (UNIFICADO)
============================================================ */
header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #0F0031;
  height: 150px;
  padding: 0 40px;
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.logo img {
  height: 180px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

/* ============================================================
   TOP STRIP (UNIFICADO)
============================================================ */
.top-strip {
  width: 100%;
  background-color: #21FA42;
  padding: 6px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 99;
}

.nav-btn {
  background-color: #0B0C10;
  color: #21FA42;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease;
  font-size: 0.9em;
}

.nav-btn:hover,
.nav-btn:active {
  background-color: #0A2EFF;
  color: #21FA42;
}

/* ============================================================
   HERO SECTION (TU CSS ORIGINAL)
============================================================ */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(135deg, #0F0031, #1B1B2F);
  padding: 20px 30px 25px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 175px;
  max-width: 400px;
  margin-left: 75px;
  margin-top: 30px;
  text-align: justify;
}

.hero-text h1 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #21FA42;
}

.hero-text p {
  margin-bottom: 30px;
  font-size: 1em;
  color: #EAEAEA;
}

.btn {
  background-color: #21FA42;
  color: #0B0C10;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 1000;
  border-radius: 5px;
  transition: background 0.3s ease;
  margin-top: 50px;
  font-size: 0.75em;
}

.btn:hover {
  background-color: #19C132;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 150px;
  margin-top: -75px;
}

.hero-image img {
  max-width: 450px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 17.5px rgba(0,0,0,0.6);
  margin-top: 60px;
}

/* ============================================================
   FEATURES SECTION (TU CSS ORIGINAL)
============================================================ */
.features {
  display: flex;
  justify-content: space-around;
  gap: 12.5px;
  background-color: #101522;
  padding: 35px;
  flex-wrap: wrap;
}

.feature {
  background-color: #1C1F33;
  border-radius: 6px;
  padding: 14px;
  width: 155px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature h2 {
  color: #21FA42;
  margin-bottom: 7.5px;
}

/* ============================================================
   FOOTER (TU CSS ORIGINAL)
============================================================ */
footer {
  background-color: #0F0031;
  text-align: center;
  padding: 11px 0;
  color: #CCCCCC;
  font-size: 0.75em;
  border-top: 0.5px solid #222;
}

/* ============================================================
   AMET WEB UI (TU CSS ORIGINAL)
============================================================ */
.amet-container {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  gap: 40px;
}

.amet-inputs,
.amet-output {
  background: #1C1F33;
  padding: 25px;
  border-radius: 12px;
  width: 48%;
}

.amet-inputs label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1em;
}

.amet-inputs input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  margin-bottom: 10px;
  font-size: 1em;
}

.amet-output pre {
  background: #0B0C10;
  color: #21FA42;
  padding: 15px;
  border-radius: 8px;
  height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
}

/* ============================================================
   RESPONSIVE FIXES (TU CSS ORIGINAL)
============================================================ */
@media (max-width: 768px) {
  header {
    height: 110px;
  }

  .logo img {
    height: 95px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .hero-text {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .hero-image {
    justify-content: center;
    padding-right: 0;
    margin-top: 20px;
  }

  .hero-image img {
    max-width: 90%;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .top-strip {
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-btn {
    padding: 8px 14px;
    font-size: 0.8em;
  }
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 85%;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .amet-container {
    flex-direction: column;
    padding: 20px;
  }

  .amet-inputs,
  .amet-output {
    width: 100%;
  }

  .amet-output pre {
    height: 250px;
  }
}
