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

:root {
  --primary: rgb(188, 169, 91);;
  --primary-dark: rgb(206, 179, 71);;
  --dark: #161616;
  --darker: #000000;
  --light: #f8fafc;
  --gray: #927272;
  --gray-dark: #737b86;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--light);
  background: var(--darker);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Mejorada */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 4px 20px rgba(255, 230, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}


/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Imagen de la app con mejores estilos */
.app-screenshot {
  width: 50%;
  height: 550px;
  max-width: 400px;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--primary),
    0 0 30px rgba(212, 175, 55, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 3px solid var(--primary);
  background: var(--darker);
  padding: 10px;
}

.app-screenshot:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6),
    0 0 0 2px var(--primary),
    0 0 50px rgba(212, 175, 55, 0.5);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Efecto de brillo dorado alrededor de la imagen */
.hero-image::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  border-radius: 30px;
  z-index: -1;
  animation: pulse-gold 3s ease-in-out infinite;
}

@keyframes pulse-gold {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Botón personalizado - Manteniendo tu estilo */
.btn {
  padding: 1rem 2rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--darker);
  cursor: pointer;
  border-radius: 0.5rem;
  border-bottom: 2px solid var(--primary-dark);
  border-right: 2px solid var(--primary-dark);
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  transition-duration: 0.5s;
  transition-property: border-top, border-left, border-bottom, border-right, box-shadow;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.btn:hover {
  border-top: 2px solid var(--primary-dark);
  border-left: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  box-shadow: 0 5px 15px rgba(136, 88, 6, 0.4);
}

.btn .small-text {
  font-size: 0.8rem;
  display: block;
  line-height: 1;
}

.btn .large-text {
  font-size: 1.2rem;
  display: block;
  line-height: 1;
}

/* Problem Solution Section */
.problem-solution {
  padding: 100px 0;
  background: var(--dark);
}

.problem-solution h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--primary);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.problem-card,
.solution-card {
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--primary);
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  transform: translateY(0);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #000000, var(--primary-dark));
  transition: height 0.3s ease;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: height 0.3s ease;
}

.problem-card:hover,
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(136, 88, 6, 0.2);
  border-color: var(--primary-dark);
}

.solution-card:hover::before {
  height: 5px;
}

.problem-card:hover::before {
  height: 5px;
}

.problem-card {
  background: linear-gradient(135deg, #000000 0%, var(--primary) 200%);
}

.solution-card {
  background: linear-gradient(135deg, #000000 0%, var(--primary) 200%);
}

.problem-card:hover h3,
.solution-card:hover h3 {
  color: var(--primary-dark);
}

.problem-card h3,
.solution-card h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
  transition: color 0.3s ease;
}

.problem-card ul,
.solution-card ul {
  list-style: none;
}

.problem-card li,
.solution-card li {
  padding: 0.8rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  padding-left: 1.5rem;
}

.problem-card li::before,
.solution-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.problem-card li::before {
  background: var(--primary-dark);
}

.solution-card li::before {
  background: var(--primary);
}

.problem-card li:hover,
.solution-card li:hover {
  transform: translateX(5px);
}

.problem-card li:hover::before,
.solution-card li:hover::before {
  transform: translateY(-50%) scale(1.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.problem-card,
.solution-card {
  animation: fadeInUp 0.6s ease-out;
}

.problem-card {
  animation-delay: 0.1s;
}

.solution-card {
  animation-delay: 0.2s;
}

/* Pulse animation for icons */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.problem-card li:hover .icon,
.solution-card li:hover .icon {
  animation: pulse 0.6s ease-in-out;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--darker);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--dark);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--gray-dark);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--dark);
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--primary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--darker);
  border: 1px solid var(--gray-dark);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(136, 88, 6, 0.1);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--light);
  margin: 0;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Plus Button for FAQ */
.plusButton {
  --plus_sideLength: 2.5rem;
  --plus_topRightTriangleSideLength: 0.9rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--primary);
  width: var(--plus_sideLength);
  height: var(--plus_sideLength);
  background-color: var(--darker);
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.plusButton::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-width: 0 var(--plus_topRightTriangleSideLength) var(--plus_topRightTriangleSideLength) 0;
  border-style: solid;
  border-color: transparent var(--primary-dark) transparent transparent;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

.plusButton:hover {
  cursor: pointer;
  background-color: var(--primary);
}

.plusButton:hover::before {
  --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);
}

.plusButton:focus-visible::before {
  --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);
}

.plusButton>.plusIcon {
  fill: var(--primary);
  width: calc(var(--plus_sideLength) * 0.7);
  height: calc(var(--plus_sideLength) * 0.7);
  z-index: 1;
  transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
}

.plusButton:hover>.plusIcon {
  fill: black;
  transform: rotate(180deg);
}

.plusButton:focus-visible>.plusIcon {
  fill: black;
  transform: rotate(180deg);
}

.faq-item.active .plusButton>.plusIcon {
  transform: rotate(45deg);
}

/* Botón animado para Beta */
.btn-53,
.btn-53 *,
.btn-53 :after,
.btn-53 :before,
.btn-53:after,
.btn-53:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-53 {
  -webkit-tap-highlight-color: transparent;
  background-color: #000;
  background-image: none;
  color: var(--primary-dark);
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.btn-53:disabled {
  cursor: default;
}

.btn-53:-moz-focusring {
  outline: auto;
}

.btn-53 svg {
  display: block;
}

.btn-53 [hidden] {
  display: none;
}

.btn-53 {
  border: 1px solid;
  border-radius: 999px;
  box-sizing: border-box;
  display: block;
  font-weight: 900;
  overflow: hidden;
  padding: 1.2rem 3rem;
  position: relative;
  text-transform: uppercase;
}

.btn-53 .original {
  background: var(--darker);
  color: var(--primary);
  display: grid;
  inset: 0;
  place-content: center;
  position: absolute;
  transition: transform 0.2s cubic-bezier(0.87, 0, 0.13, 1);
}

.btn-53:hover .original {
  transform: translateY(100%);
}

.btn-53 .letters {
  display: inline-flex;
}

.btn-53 span {
  opacity: 0;
  transform: translateY(-15px);
  transition: transform 0.2s cubic-bezier(0.87, 0, 0.13, 1), opacity 0.2s;
}

.btn-53 span:nth-child(2n) {
  transform: translateY(15px);
}

.btn-53:hover span {
  opacity: 1;
  transform: translateY(0);
}

.btn-53:hover span:nth-child(2) {
  transition-delay: 0.1s;
}

.btn-53:hover span:nth-child(3) {
  transition-delay: 0.2s;
}

.btn-53:hover span:nth-child(4) {
  transition-delay: 0.3s;
}

.btn-53:hover span:nth-child(5) {
  transition-delay: 0.4s;
}

.btn-53:hover span:nth-child(6) {
  transition-delay: 0.5s;
}

/* Beta Section */
.beta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

.beta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.beta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.beta-content p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.beta-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-group input {
  flex: 1;
  padding: 1.2rem;
  border: 1px solid var(--gray-dark);
  border-radius: 10px;
  background: var(--dark);
  color: var(--light);
  font-size: 1rem;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-note {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--darker);
  padding: 60px 0 20px;
  border-top: 1px solid var(--gray-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-dark);
  color: var(--light);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-dark);
  color: var(--gray);
}

/* ===== ANIMACIONES MEJORADAS Y SEGURAS ===== */
/* No ocultamos elementos inicialmente, usamos transforms para animar */
.hero-content {
  transform: translateX(-30px);
  opacity: 0;
  transition: all 1s ease;
}

.hero-image {
  transform: translateX(30px);
  opacity: 0;
  transition: all 1s ease;
}

.problem-card {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s ease;
}

.solution-card {
  transform: translateX(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

.feature-card {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

.faq-item {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.beta-content {
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.8s ease;
}

/* Clase que se agregará cuando el elemento sea visible */
.animate-visible {
  transform: translate(0) scale(1);
  opacity: 1;
}

/* Animación de flotación solo para la imagen de la app */
@keyframes float {

  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
  }

  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-10px);
  }
}

.app-screenshot {
  animation: float 6s ease-in-out infinite;
}

.app-screenshot:hover {
  animation: none;
}

/* Efectos de hover mejorados */
.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(136, 88, 6, 0.3);
}

/* Transiciones suaves para los elementos de lista */
.problem-card li,
.solution-card li {
  transition: all 0.3s ease;
}

.problem-card li:hover,
.solution-card li:hover {
  transform: translateX(5px);
  background: rgba(136, 88, 6, 0.1);
  border-radius: 5px;
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .input-group {
    flex-direction: column;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .navbar {
    padding: 0.5rem 0;
    height: 65px;
  }

  .app-screenshot {
    width: 70%;
    height: 550px;
    max-width: 400px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
      0 0 0 1px var(--primary),
      0 0 30px rgba(212, 175, 55, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid var(--primary);
    background: var(--darker);
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .problem-card,
  .solution-card {
    padding: 2rem 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}