/* ══════════════════════════════════════
   BYANLIME — Design System
   Negro premium · Verde lima #A3FF12
   Fuente: Poppins
   ══════════════════════════════════════ */

/* ── Reset & Base ──────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lime: #A3FF12;
  --lime-dim: #7ACC0D;
  --lime-glow: rgba(163, 255, 18, 0.18);
  --lime-glow-sm: rgba(163, 255, 18, 0.08);
  --black: #0D0D0D;
  --black2: #111111;
  --surface: #161616;
  --surface2: #1E1E1E;
  --border: rgba(255, 255, 255, 0.07);
  --text: #F2F2F2;
  --muted: rgba(242, 242, 242, 0.5);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-lime: 0 0 40px rgba(163, 255, 18, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.lime {
  color: var(--lime);
}

/* ── Scrollbar ──────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--lime-dim);
  border-radius: 4px;
}

/* ════════════════════════════════════
   NAV
   ════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), border-bottom var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo-img {
  height: 70px;
  width: auto;
}

.nav-logo-svg {
  height: 34px;
  width: auto;
}

/* ════════════════════════════════════
   BOTONES
   ════════════════════════════════════ */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-lime:hover {
  background: #b8ff3d;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lime);
}

.btn-lime:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(163, 255, 18, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(163, 255, 18, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(163, 255, 18, 0);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-isotipo-wrap {
  margin-top: 16px;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-isotipo-svg {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(163, 255, 18, 0.45));
  animation: float 4s ease-in-out infinite;
  border-radius: 20px;
}

.cta-isotipo {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 32px rgba(163, 255, 18, 0.45));
  margin-bottom: 8px;
  border-radius: 18px;
}

.footer-logo-svg {
  height: 40px;
  width: auto;
  opacity: 0.65;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ════════════════════════════════════
   SECCIONES COMUNES
   ════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

/* ════════════════════════════════════
   PROBLEMA
   ════════════════════════════════════ */
.chaos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.chaos-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition);
}

.chaos-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.chaos-item:hover {
  border-color: rgba(163, 255, 18, 0.3);
}

.chaos-emoji {
  font-size: 1.8rem;
}

.insight-box {
  background: linear-gradient(135deg, var(--surface2) 0%, rgba(163, 255, 18, 0.05) 100%);
  border: 1px solid rgba(163, 255, 18, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
}

.insight-box p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  line-height: 1.7;
  color: var(--muted);
}

.insight-box strong {
  color: var(--text);
}

/* ════════════════════════════════════
   FEATURES
   ════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(163, 255, 18, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--lime-glow-sm);
  border: 1px solid rgba(163, 255, 18, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--lime);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ════════════════════════════════════
   AUDIENCIA
   ════════════════════════════════════ */
#para-quien .section-title {
  margin-bottom: 40px;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: default;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: scale(0.95);
}

.audience-tag.visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease, background var(--transition), border-color var(--transition);
}

.audience-tag:hover {
  background: var(--lime-glow-sm);
  border-color: rgba(163, 255, 18, 0.35);
  transform: scale(1.04);
}

/* ════════════════════════════════════
   PROCESO
   ════════════════════════════════════ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 0;
  opacity: 0;
  transform: translateX(-20px);
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  min-width: 56px;
  letter-spacing: -0.04em;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.cta-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(163, 255, 18, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.cta-logo {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 32px rgba(163, 255, 18, 0.35));
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
#footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  height: 26px;
  width: auto;
  opacity: 0.7;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(242, 242, 242, 0.28);
}

.footer-copy a {
  color: rgba(242, 242, 242, 0.4);
  transition: color var(--transition);
}

.footer-copy a:hover {
  color: var(--lime);
}

/* ════════════════════════════════════
   ANIMACIONES GENERALES
   ════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .insight-box {
    padding: 28px 24px;
  }

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

  .step-num {
    font-size: 1.5rem;
    min-width: 44px;
  }

  .cta-section {
    padding: 80px 0;
  }
}

@media (max-width: 400px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}