/* ==================================================
   MIMO DIGITAL — Catálogo Público y Tienda
   Diseño de lujo, oscuro, moderno y de alta conversión
   ================================================== */

:root {
  --bg-dark: #080911;
  --bg-card: #121324;
  --bg-card-hover: #181930;
  --pink-primary: #ff3366;
  --pink-light: #ff6b8b;
  --gold-accent: #f5c042;
  --whatsapp-green: #25d366;
  --text-main: #fcfcfc;
  --text-muted: #9596af;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 51, 102, 0.4);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, #201338 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(255, 51, 102, 0.05) 0%, transparent 40%);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Barra de Navegación ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 17, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 1.5rem;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.logo-icon {
  font-size: 1.3rem;
}

.nav-btn-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: all 0.2s;
}

.nav-btn-action:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}


/* ── Hero Section ── */
.hero-section {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-chip {
  display: inline-block;
  background: rgba(255, 51, 102, 0.12);
  border: 1px solid rgba(255, 51, 102, 0.35);
  color: var(--pink-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.3rem;
}

.hero-subtext {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-light));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 51, 102, 0.55);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: all 0.2s;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}


/* ── Secciones Generales ── */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pink-light);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}


/* ── Cómo Funciona ── */
.how-it-works-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pink-primary);
  margin-bottom: 0.8rem;
  line-height: 1;
}

.step-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ── Catálogo y Filtros ── */
.catalog-section {
  padding: 5rem 0;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.filter-btn.active {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.35);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.6rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card-emoji {
  font-size: 2.4rem;
  line-height: 1;
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-v3 {
  background: rgba(245, 192, 66, 0.15);
  border: 1px solid rgba(245, 192, 66, 0.4);
  color: var(--gold-accent);
}

.badge-v2 {
  background: rgba(255, 51, 102, 0.15);
  border: 1px solid rgba(255, 51, 102, 0.4);
  color: var(--pink-light);
}

.badge-v1 {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #bbb;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--pink-light);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-demo {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.7rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
}

.btn-demo:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-order {
  flex: 1.2;
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.7rem;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}


/* ── Formatos de Entrega ── */
.delivery-formats-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
}

.format-card.highlight {
  border-color: rgba(245, 192, 66, 0.4);
  background: radial-gradient(circle at top right, rgba(245, 192, 66, 0.08), var(--bg-card));
}

.format-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.format-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.format-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.format-card code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold-accent);
}


/* ── FAQ ── */
.faq-section {
  padding: 5rem 0;
}

.faq-accordion {
  max-width: 800px;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item summary {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  outline: none;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--pink-primary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ── Footer ── */
.main-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: #fff;
  margin: 0.4rem 0 0.2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.78rem;
  color: #666;
}


/* ── Botón Flotante de WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
