/* ===========================
   VARIABLES
=========================== */
:root {
  --bg: #050608;
  --bg-alt: #0b0d10;
  --card: #101318;
  --accent: #32f58a;
  --accent-soft: rgba(53, 245, 139, 0.2);
  --accent-strong: rgba(53, 245, 139, 0.6);
  --purple: #a78bfa;
  --purple-strong: #c084fc;
  --purple-dark: #4c1d95;
  --text-main: #ffffff;
  --text-muted: #a3a7b3;
  --border-subtle: #1b1f27;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --max-width: 1240px;
}

/* ===========================
   RESET
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
}

body {
  font-family: system-ui, sans-serif;
  background: radial-gradient(circle at top, #0f1724 0, #050608 45%, #000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   HEADER (VERSIÓN B REAL)
=========================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 8, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(53, 245, 139, 0.4);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.logo-text span:first-child {
  font-weight: 600;
}

.logo-text span:last-child {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

/* ===========================
   BOTONES
=========================== */
.btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary::after {
  display: none !important;
  content: none !important;
}

.btn-admin {
  background: #222;
  color: var(--text-muted);
}

/* ===========================
   SELECTOR DE IDIOMA
=========================== */
.lang-select {
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: #0b0d10;
  white-space: nowrap;
}

.lang-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #0b0d10;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  width: 160px;
  z-index: 200;
}

.lang-menu div {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--text-muted);
}

.lang-menu div:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
}

/* ===========================
   SECCIONES
=========================== */
.section {
  padding: 5rem 0;
}

/* ===========================
   HERO (VERSIÓN B REAL)
=========================== */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

/* ===========================
   CARACTERÍSTICAS
=========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ===========================
   MÓVILES INCLINADOS
=========================== */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.phones {
  position: relative;
  height: 420px;
}

.phone {
  width: 190px;
  height: 380px;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  position: absolute;
  box-shadow: 0 0 25px rgba(53,245,139,0.25);
}

.phone-tilt-left {
  transform: rotate(-12deg);
  left: 5%;
  top: 60px;
}

.phone-tilt-right {
  transform: rotate(12deg);
  left: 28%;
  top: 0px;
}
/* ===========================
   META PILL (Anuncios / Plataforma)
=========================== */

.hero-meta {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 260px;
}

.meta-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.1rem;
}


/* ===========================
   SLIDER HORIZONTAL NUEVO
=========================== */

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

.slide-phone {
  width: 260px;
  height: auto;
  object-fit: contain;
  display: block;
}

.slider,
.slide,
.slide-phone {
  backface-visibility: hidden;
  transform: translateZ(0);
}


/* ===========================
   FLECHAS DEL SLIDER
=========================== */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
  padding: 0.6rem 1.1rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  z-index: 999999;
}

#sliderPrev {
  left: -40px;
}

#sliderNext {
  right: -40px;
}


/* ===========================
   INDICADORES DEL SLIDER
=========================== */

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.slider-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: 0.25s;
}

.slider-indicators .dot.active {
  background: #fff;
  transform: scale(1.25);
}


/* ===========================
   FILA DE NAVEGACIÓN INFERIOR
=========================== */

.slider-nav-row {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.slider-nav-row .slider-arrow.small {
  font-size: 1.8rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0,0,0,0.55);
  border-radius: 8px;
  cursor: pointer;
  border: none;
  color: #fff;
  backdrop-filter: blur(4px);
}


/* ===========================
   KO-FI
=========================== */

.community-card {
  background: radial-gradient(circle at top left, var(--purple-dark), #05070b 55%, #050608);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.btn-kofi {
  margin-top: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-strong));
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  color: #020405;
  font-weight: 600;
}


/* ===========================
   FOOTER
=========================== */

footer {
  padding: 3rem 0;
  background: #040507;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}


/* ===========================
   REVEAL
=========================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
