:root {
  --black: #1E1A1E;
  --white: #FFFFFF;
  --azul-wallet: #4100F4;
  --verde: #BAE85B;
  --rojo: #FF4632;
  --rosa: #EF37A4;
}

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

body {
  font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Subtle gradient accent */
.gradient-accent {
  position: fixed;
  top: -50%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  background: conic-gradient(
      from 180deg,
      var(--rojo) 0deg,
      var(--rosa) 60deg,
      var(--azul-wallet) 120deg,
      var(--verde) 240deg,
      var(--rojo) 360deg
  );
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Main container */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 0rem;
  position: relative;
  z-index: 1;
}

/* Isotipo */
.isotipo-container {
  position: relative;
  width: 250px;
  animation: breathe 4s ease-in-out infinite;
}

.isotipo-container img{
  width: 100%;
}

.img-container img{
  margin-top: 20px;
  max-width: 300px;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.isotipo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
      from 200deg,
      #FF6B4A 0deg,
      #FF4632 30deg,
      #EF37A4 90deg,
      #4100F4 150deg,
      #4100F4 180deg,
      #45D9A8 220deg,
      #BAE85B 280deg,
      #FFB84D 320deg,
      #FF6B4A 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
      0 0 60px rgba(65, 0, 244, 0.3),
      0 0 100px rgba(239, 55, 164, 0.2);
}

.isotipo-inner {
  width: 32px;
  height: 32px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 4px;
}

/* Copy sections */
.copy-container {
  text-align: center;
  max-width: 550px;
}

.copy-container-secondary {
  text-align: center;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.copy-main {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.3s forwards;
}

.highlight {
  background: linear-gradient(90deg, var(--verde), var(--rosa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.copy-secondary {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.5s forwards;
}

.copy-tagline {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: var(--verde);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.7s forwards;
}

@keyframes fadeUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rosa), var(--azul-wallet));
  border-radius: 2px;
  margin: 2rem auto;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.9s forwards;
}

.match{
  max-width: 400px;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--white);
}

.social-link:hover {
  background: var(--azul-wallet);
  border-color: var(--azul-wallet);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(65, 0, 244, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.copyright span {
  color: var(--rojo);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
  .isotipo-container {
      width: 100px;
      height: 100px;
      margin-bottom: 2.5rem;
  }

  .isotipo-inner {
      width: 26px;
      height: 26px;
  }

  .social-links {
      gap: 1rem;
  }

  .social-link {
      width: 40px;
      height: 40px;
  }
}

.topbar {
  margin-bottom: 20px;
  position: relative;
}

/* Hamburger button — oculto en desktop */
.topbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.topbar-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación X cuando está abierto */
.topbar-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
  background: var(--rosa);
}
.topbar-toggle.open span:nth-child(2) {
  opacity: 0;
}
.topbar-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  background: var(--verde);
}

/* Menú desktop */
.topbar ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.topbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.topbar ul li a:hover, .topbar ul li a.active {
  background: linear-gradient(90deg, var(--verde), var(--rosa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--rosa), var(--azul-wallet)) 1;
}

/* Menú móvil */
@media (max-width: 768px) {
  .topbar-toggle {
    display: block;
  }

  .topbar ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(30, 26, 30, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .topbar ul.open {
    opacity: 1;
    pointer-events: all;
  }

  .topbar ul li {
    opacity: 0;
    transform: translateY(20px);
  }

  .topbar ul.open li {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
  }

  .topbar ul.open li:nth-child(1) { transition-delay: 0.1s; }
  .topbar ul.open li:nth-child(2) { transition-delay: 0.15s; }
  .topbar ul.open li:nth-child(3) { transition-delay: 0.2s; }
  .topbar ul.open li:nth-child(4) { transition-delay: 0.25s; }
  .topbar ul.open li:nth-child(5) { transition-delay: 0.3s; }

  .topbar ul li a {
    font-size: 1.5rem;
    display: block;
    padding: 1rem 2rem;
  }
}

/* Alcance section */
.alcance-section {
  text-align: center;
  margin: 3rem 0 2rem;
}

.alcance-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.alcance-capsulas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.capsula {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 200px;
  transition: all 0.3s ease;
}

.capsula:hover {
  border-color: var(--azul-wallet);
  box-shadow: 0 0 30px rgba(65, 0, 244, 0.2);
  transform: translateY(-3px);
}

.capsula-numero {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--verde), var(--rosa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.capsula-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Card objetivo flotante */
.card-objetivo {
  display: flex;
  justify-content: center;
  margin: 2rem 0 3rem;
}

.card-objetivo-inner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 480px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(65, 0, 244, 0.1);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-objetivo-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  background: linear-gradient(90deg, var(--verde), var(--rosa));
  border-radius: 20px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.card-objetivo-numero {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--rosa), var(--azul-wallet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.card-objetivo-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.card-objetivo-desc strong {
  color: var(--verde);
}

/* Pre-Seed page */
.preseed-hero {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 1rem;
}

.preseed-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--black);
  background: var(--verde);
  border-radius: 20px;
  padding: 0.35rem 1.2rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.preseed-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.5s forwards;
}

.preseed-stat {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
}

/* Value grid */
.preseed-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.preseed-value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.preseed-value-card:hover {
  border-color: var(--azul-wallet);
  box-shadow: 0 0 30px rgba(65, 0, 244, 0.15);
  transform: translateY(-4px);
}

.preseed-value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--rosa);
}

.preseed-value-icon svg {
  width: 100%;
  height: 100%;
}

.preseed-value-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.preseed-value-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
}

/* CTA inversionistas */
.preseed-cta {
  display: flex;
  justify-content: center;
  margin: 2rem 0 3rem;
}

.preseed-cta-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.preseed-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  background: linear-gradient(90deg, var(--verde), var(--rosa));
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.preseed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(186, 232, 91, 0.3);
  color: var(--black);
}

/* Razones para invertir */
.preseed-razones {
  max-width: 650px;
  margin: 0 auto 3rem;
}

.razones-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.razon-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--rosa);
  border-radius: 0 12px 12px 0;
  transition: all 0.3s ease;
}

.razon-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--verde);
  transform: translateX(6px);
}

.razon-numero {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--black);
  background: linear-gradient(135deg, var(--verde), var(--rosa));
  border-radius: 50%;
}

.razon-content h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.razon-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
}

.razones-cierre {
  text-align: center;
  margin-top: 2rem;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 480px) {
  .capsula {
    min-width: 160px;
    padding: 0.8rem 1.5rem;
  }

  .card-objetivo-inner {
    padding: 1.5rem;
  }

  .preseed-value-grid {
    grid-template-columns: 1fr;
  }

  .preseed-hero {
    margin-top: 50px;
  }
}