*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #6537e1;
  --secondary-color: #ff9e9e;
  --accent-color: #ffffffd6;
  --text-color: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(200deg, #6537e1, #6437e19d, #ff9e9e);
  background-size: 150% 150%;
  animation: gradientBG 15s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.main__container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 90%;
  gap: 1rem;
  max-width: 1200px;
  flex-wrap: wrap;
  padding: 20px;
  gap: 2rem;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes letterAnimation {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotate(-10deg);
    filter: blur(10px);
  }

  60% {
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
}

.title__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}


.logo {
  display: flex;
  flex: 3;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  font-family: "Alumni Sans Pinstripe", sans-serif;
  letter-spacing: -1.8rem;
  font-size: 18rem;
  font-weight: 400;
  font-style: normal;
  color: white;
  text-decoration: none;
  position: relative;
  opacity: 100%;
}

.logo span {
  display: inline-block;
  opacity: 0;
  animation: letterAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  background: linear-gradient(45deg, var(--text-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.logo span:nth-child(1) {
  animation-delay: 0s;
}

.logo span:nth-child(2) {
  animation-delay: 0.1s;
}

.logo span:nth-child(3) {
  animation-delay: 0.2s;
}

.logo span:nth-child(4) {
  animation-delay: 0.3s;
}

.logo span:nth-child(5) {
  animation-delay: 0.4s;
}

.logo span:nth-child(6) {
  animation-delay: 0.5s;
}

.logo span:nth-child(7) {
  animation-delay: 0.6s;
}

.building-text {
  flex: 1;
  font-family: "Open Sans", sans-serif;
  color: white;
  margin-top: -3.5rem;
  margin-bottom: -3.5rem;
  font-size: 1.4rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.links__container {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 2.5rem;
  font-family: "Open Sans", sans-serif;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 1s;
  opacity: 0;
  width: 100%;
  max-width: 600px;
}

.links__container a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  letter-spacing: 1px;
  z-index: 11;
  margin: 0.5rem 0;
  word-break: break-word;
  hyphens: auto;
  position: relative;
}

.development-label {
  /* background-color: rgba(255, 102, 0, 0.5); */
  color: #ffffffc2;
  width: 20ch;
  font-size: 0.6rem;
  padding: .8rem 8px;
  border-radius: 10px;
  border: 2px solid #ff660027;
  margin-left: 10px;

  /* Smaller font size for better fit */
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;

}

.new-label {
  background-color: #1ed14b2c;
  /* Verde brillante */
  color: #fff;
  width: 32ch;
  font-size: .7rem;
  padding: .8rem 8px;
  border-radius: 10px;
  margin-left: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 209, 75, 0.3);
  }

  70% {
    box-shadow: 0 0 0 5px rgba(30, 209, 75, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(30, 209, 75, 0);
  }
}

.new-label-free {
  background-color: #1ed154af;
  /* Amarillo suave */
  color: #fff;
  width: 14ch;
  font-size: .7rem;
  padding: .8rem 4px;
  border-radius: 10px;
  margin-left: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.links__container a:hover {
  background: rgba(255, 255, 255, 0.103);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.fa-calculator,
.fa-table,
.fa-truck,
.fa-users,
.fa-chart-line,
.fa-linkedin {
  margin-right: 0.8rem;
  font-size: 3rem;
  color: var(--accent-color);
}


.fa-brands.fa-instagram {
  margin-right: 0.8rem;
  font-size: 3rem;
  color: var(--accent-color);
}

/* Improved Responsive styles */
@media screen and (max-width: 1024px) {
  .main__container {
    flex-direction: column;
  }

  .logo {
    font-size: 14rem;
    letter-spacing: -1.6rem;
  }

  .building-text {
    font-size: 1.2rem;
    margin-top: -3rem;
  }

  .title__container {
    padding: 2rem;
  }

}

@media screen and (max-width: 768px) {
  .main__container {
    width: 95%;
    padding: 15px;
  }

  .logo {
    font-size: 12rem;
    letter-spacing: -1.2rem;
  }

  .building-text {
    font-size: 1.1rem;
    margin-top: -2rem;
  }

  .links__container a {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .development-label,
  .new-label {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

@media screen and (max-width: 480px) {
  .main__container {
    width: 100%;
    padding: 10px;
  }

  .logo {
    font-size: 6rem;
    letter-spacing: -0.8rem;
  }

  .building-text {
    font-size: 0.9rem;
    margin-top: -1rem;
    letter-spacing: 1px;
  }

  .title__container {
    padding: 1rem;
  }

  .links__container {
    margin-top: 2rem;
  }

  .links__container a {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .development-label,
  .new-label {
    font-size: 0.5rem;
    padding: 2px 4px;
    margin-left: 5px;
  }
}

@media screen and (max-width: 320px) {
  .logo {
    font-size: 4rem;
    letter-spacing: -0.5rem;
  }

  .building-text {
    font-size: 0.8rem;
    margin-top: -0.5rem;
  }

  .links__container a {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Landscape orientation specific styles */
@media screen and (max-height: 600px) and (orientation: landscape) {
  .main__container {
    flex-direction: row;
    justify-content: space-around;
  }

  .title__container {
    flex: 2;
  }

  .logo {
    font-size: 7rem;
    letter-spacing: -0.7rem;
  }

  .building-text {
    font-size: 0.9rem;
    margin-top: -1rem;
  }

  .links__container {
    flex: 1;
    margin-top: 0;
    margin-left: 2rem;
  }
}

/* Ensure smooth touch experience on mobile */
@media (hover: none) and (pointer: coarse) {
  .links__container a {
    padding: 0.9rem 1.5rem;
    /* Larger touch target */
  }
}

/* Remove particle media query */

@media screen and (max-height: 800px) and (orientation: portrait) {
  .logo {
    font-size: 10rem;
    letter-spacing: -1rem;
  }

  .title__container {
    padding: 1.5rem;
  }
}