/* BaylonGo — Landing "Próximamente"
   Paleta y tipografía tomadas del sitio real (baylongo-app.vercel.app):
   fondo gray-900, tarjetas gray-800, acento purple-500/600 -> indigo-600. */

:root {
  --bg: #111827;
  --bg-card: #1c2536;
  --bg-card-soft: #19212f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #fafafa;
  --text-muted: #9ca3af;
  --accent: #a855f7;
  --accent-2: #9333ea;
  --accent-3: #4f46e5;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo .go {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(168, 85, 247, 0.7);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px -8px rgba(168, 85, 247, 0.85);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(168, 85, 247, 0.18), transparent 70%),
    var(--bg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, var(--accent-2), var(--accent-3));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Notify form */

.notify-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  outline: none;
}

.notify-form input[type="email"]:focus {
  border-color: var(--accent);
}

.notify-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #d8b4fe;
  min-height: 1.2em;
}

.form-feedback-error {
  color: #f87171;
}

/* Social row */

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social-row a[hidden] {
  display: none;
}

.social-row a:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social-row svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
}

/* ---------- Section titles (shared) ---------- */

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---------- Carousel (estilo del hero de baylongo-app) ---------- */

.carousel-section {
  padding: 24px 0 72px;
}

.hero-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* capa oscura de marca sobre la foto, para legibilidad del texto */
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.8), rgba(88, 28, 135, 0.35) 55%, rgba(17, 24, 39, 0.35));
}

.slide-1 { background-image: url("../assets/slides/slide-1.jpg"); }
.slide-2 { background-image: url("../assets/slides/slide-2.jpg"); }
.slide-3 { background-image: url("../assets/slides/slide-3.jpg"); }
.slide-4 { background-image: url("../assets/slides/slide-4.jpg"); }
.slide-5 { background-image: url("../assets/slides/slide-5.jpg"); }

.slide-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 24px;
}

.slide-content h3 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slide-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 24, 39, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.carousel-arrow:hover {
  background: rgba(17, 24, 39, 0.75);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots .dot.active {
  width: 22px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

@media (max-width: 640px) {
  .hero-carousel { height: 300px; }
}

/* ---------- Features ---------- */

.features-section {
  padding: 48px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* colored icon backgrounds, matching the variety seen on the live site */
.ic-1 { background: rgba(96, 165, 250, 0.15); }
.ic-2 { background: rgba(52, 211, 153, 0.15); }
.ic-3 { background: rgba(244, 114, 182, 0.15); }
.ic-4 { background: rgba(129, 140, 248, 0.15); }
.ic-5 { background: rgba(251, 146, 60, 0.15); }
.ic-6 { background: rgba(56, 189, 248, 0.15); }
.ic-7 { background: rgba(232, 121, 249, 0.15); }

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 64px 0 80px;
  text-align: center;
}

.final-cta-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 32px;
}

.final-cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.final-cta-box p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(to right, var(--accent-2), var(--accent-3));
  color: #fff;
  padding: 22px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
}
