/* ===========================
   GAMAN STUDIO — style.css
   Landing siempre NOIR
   =========================== */

:root {
  --bg:       #000000;
  --surface:  #0d0d0d;
  --surface2: #111111;
  --text:     #ffffff;
  --secondary:#666666;
  --border:   #1a1a1a;
  --btn-bg:   #161616;
  --btn-hover:#1e1e1e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

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

section[id], footer[id] { scroll-margin-top: 70px; }

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 52px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-logo { display: flex; align-items: center; gap: 8px; }

.kanji  { font-size: 18px; color: var(--secondary); letter-spacing: 2px; }
.dot    { color: var(--secondary); font-size: 14px; }
.brand  { font-size: 12px; font-weight: 300; letter-spacing: 6px; text-transform: uppercase; color: var(--secondary); }

.header-nav { display: flex; gap: 40px; }

.header-nav a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--text); }

/* ===========================
   HAMBURGER + MOBILE NAV
   =========================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #555;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 490;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  padding: 16px 24px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #555;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: #fff; }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
  background-image: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.025) 0%, transparent 65%);
  padding: 80px 24px 40px;
}

.hero-block { display: flex; flex-direction: column; align-items: center; }

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 8px;
  color: #444;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease both;
}

.hero-main {
  font-size: clamp(5.5rem, 16vw, 12rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.92;
  color: #fff;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 4px;
  color: #888;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 52px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.cta-btn {
  display: inline-block;
  padding: 13px 44px;
  border: 1px solid #2a2a2a;
  color: var(--secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 11px;
  transition: border-color 0.3s, color 0.3s;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.cta-btn:hover { border-color: #fff; color: #fff; }

/* ===========================
   SHOWCASE CAROUSEL (JS)
   =========================== */
.showcase {
  background: var(--surface);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.sc-viewport {
  overflow: hidden;
  width: 100%;
}

.sc-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-slide {
  flex: 0 0 100%;
  padding: 90px 60px 80px;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.express-slide { background: radial-gradient(ellipse at 20% 50%, rgba(233,30,140,0.07) 0%, transparent 60%), var(--surface); }
.pro-slide     { background: radial-gradient(ellipse at 20% 50%, rgba(245,197,24,0.05) 0%, transparent 60%), var(--surface); }
.premium-slide { background: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.07) 0%, transparent 60%), var(--surface); }

.sc-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.sc-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid;
  margin-bottom: 28px;
}

.express-badge  { color: #e91e8c; border-color: rgba(233,30,140,0.3); }
.pro-badge      { color: #f5c518; border-color: rgba(245,197,24,0.3); }
.premium-badge  { color: #7c3aed; border-color: rgba(124,58,237,0.3); }

.sc-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.sc-sub {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 380px;
  font-weight: 400;
}

.sc-feats {
  list-style: none;
  margin-bottom: 36px;
}

.sc-feats li {
  font-size: 0.82rem;
  color: #888;
  padding: 8px 0;
  border-bottom: 1px solid #111;
  font-weight: 400;
}

.sc-feats li:first-child { border-top: 1px solid #111; }

.sc-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.sc-demo-btn {
  width: auto !important;
  padding: 12px 28px !important;
}

.sc-consult-btn {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

/* Mockup preview */
.sc-preview {
  display: flex;
  justify-content: center;
}

.sc-mockup {
  background: #060606;
  border: 1px solid #1a1a1a;
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  animation: fadeInUp 0.5s ease both;
}

.scm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #141414;
}

.scm-kanji { font-size: 12px; color: #333; letter-spacing: 2px; }
.scm-plan  { font-size: 8px; letter-spacing: 4px; text-transform: uppercase; }
.scm-cart  { font-size: 11px; color: #555; }

.express-mockup .scm-plan { color: #e91e8c; }
.pro-mockup .scm-plan     { color: #f5c518; }
.premium-mockup .scm-plan { color: #7c3aed; }

.scm-cats, .scm-search, .scm-pay {
  padding: 8px 14px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #333;
  border-bottom: 1px solid #0d0d0d;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.scm-search { background: #080808; color: #252525; }

.scm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #0a0a0a;
}

.scm-prod {
  position: relative;
  height: 115px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.scm-prod::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
}

.scm-price {
  position: absolute;
  bottom: 7px;
  right: 8px;
  z-index: 1;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

/* Progress bar */
.sc-progress {
  height: 2px;
  background: #0a0a0a;
  width: 100%;
}

.sc-bar {
  height: 100%;
  width: 0%;
  background: #e91e8c;
}

/* Nav */
.sc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0 6px;
}

.sc-arrow {
  background: none;
  border: 1px solid #1a1a1a;
  color: #333;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.sc-arrow:hover { border-color: #444; color: #888; }

.sc-dots { display: flex; gap: 10px; align-items: center; }

.sc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
}

.sc-dot.active {
  background: #555;
  transform: scale(1.5);
}

/* Steps section */
.showcase-body { padding: 80px 40px; }

.qe-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.step {
  flex: 1;
  padding: 36px 32px;
  text-align: center;
}

.step-n {
  display: block;
  font-size: 2rem;
  font-weight: 100;
  color: #2a2a2a;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.step h4 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ccc;
}

.step p { color: #888; font-size: 0.85rem; line-height: 1.6; font-weight: 400; }

.step-sep {
  width: 1px;
  height: 100px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   PLANES
   =========================== */
.plans { padding: 120px 40px; }

.section-title {
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 60px;
  color: #999;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.plan-card {
  background: var(--surface);
  padding: 48px 36px;
  position: relative;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  animation: fadeInUp 0.6s ease both;
}

.plan-card:last-child  { border-right: none; }
.plan-card:nth-child(2){ animation-delay: 0.1s; }
.plan-card:nth-child(3){ animation-delay: 0.2s; }
.plan-card:hover       { background: var(--surface2); }
.plan-card.featured    { background: var(--surface2); }

.plan-badge { font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: #333; margin-bottom: 16px; }
.plan-badge.popular { color: #666; }

.plan-name { font-size: 2.4rem; font-weight: 400; letter-spacing: 10px; margin-bottom: 8px; }
.express-name { color: #e91e8c; }
.pro-name     { color: #f5c518; }
.premium-name { color: #7c3aed; }

.plan-tagline-card { color: #999; font-size: 0.85rem; margin-bottom: 32px; font-weight: 400; }

.plan-features { list-style: none; margin-bottom: 44px; }
.plan-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.84rem; font-weight: 400; display: flex; align-items: center; gap: 8px; }
.plan-features li:first-child { border-top: 1px solid var(--border); }
.feat-yes { color: #999; }
.feat-yes::before { content: '✓'; font-size: 11px; color: #555; flex-shrink: 0; }
.feat-no  { color: #2e2e2e; }
.feat-no::before  { content: '✗'; font-size: 11px; color: #252525; flex-shrink: 0; }

.demo-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--secondary);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.express-btn:hover { border-color: #e91e8c; color: #e91e8c; }
.pro-btn:hover     { border-color: #f5c518; color: #f5c518; }
.premium-btn:hover { border-color: #7c3aed; color: #7c3aed; }

/* Consult button — plan cards */
.consult-plan-btn {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  background: none;
  border: none;
  color: #2a2a2a;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

/* Shared color modifiers for all consult buttons */
.express-consult:hover { color: #e91e8c; }
.pro-consult:hover     { color: #f5c518; }
.premium-consult:hover { color: #7c3aed; }

/* ===========================
   BOTÓN FIJO WHATSAPP
   =========================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 4px 24px rgba(37,211,102,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
}

/* ===========================
   BENEFICIOS
   =========================== */
.benefits {
  padding: 120px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.benefit-card {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.3s;
}

.benefit-card:last-child { border-right: none; }
.benefit-card:hover { background: var(--surface2); }

.benefit-card h4 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ccc;
}

.benefit-card p { color: #888; font-size: 0.85rem; line-height: 1.8; font-weight: 400; }

/* ===========================
   FOOTER
   =========================== */
footer {
  padding: 80px 40px;
  background: #000;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo { display: flex; align-items: center; gap: 8px; }

.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--secondary);
}

.payment-badge { padding: 4px 10px; border: 1px solid var(--border); font-size: 10px; letter-spacing: 1px; color: #333; }
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social-btn {
  color: #444;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2px;
}

.footer-social-btn:hover { color: #fff; }

.footer-phone { color: #444; font-size: 0.85rem; }
.footer-phone a { color: var(--secondary); }

.whatsapp-cta {
  display: inline-block;
  padding: 16px 52px;
  background: #25D366;
  color: #fff;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.2s;
}

.whatsapp-cta:hover { opacity: 0.85; }

/* ===========================
   DEMO MODALS
   =========================== */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.demo-modal.open { display: flex; animation: fadeIn 0.3s ease; }

.demo-inner {
  position: relative;
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #1a1a1a;
}

/* ===========================
   COLORES POR DEMO
   =========================== */
.express-inner { background: #090006; --da: #e91e8c; }
.express-header {
  background: linear-gradient(90deg, #090006 0%, #150010 100%);
  border-bottom: 1px solid rgba(233,30,140,0.25);
}
.express-inner .cat-btn.active  { color: #e91e8c; border-bottom-color: #e91e8c; }
.express-inner .add-btn:hover   { background: #e91e8c; border-color: #e91e8c; color: #fff; }
.express-confirm-btn            { background: #e91e8c !important; border-color: #e91e8c !important; color: #fff !important; }
.express-inner .search-input:focus { border-color: #e91e8c; }
.express-inner .cart-badge      { background: #e91e8c; }
.express-inner .demo-cart-btn:hover { color: #e91e8c; }
.express-inner .pay-opt.active  { border-color: #e91e8c; color: #e91e8c; }

.pro-inner { background: #080700; --da: #f5c518; }
.pro-header {
  background: linear-gradient(90deg, #080700 0%, #131000 100%);
  border-bottom: 1px solid rgba(245,197,24,0.25);
}
.pro-inner .cat-btn.active  { color: #f5c518; border-bottom-color: #f5c518; }
.pro-inner .tab-btn.active  { color: #f5c518; border-bottom-color: #f5c518; }
.pro-inner .add-btn:hover   { background: #f5c518; border-color: #f5c518; color: #000; }
.pro-confirm-btn            { background: #f5c518 !important; border-color: #f5c518 !important; color: #000 !important; }
.pro-inner .search-input:focus { border-color: #f5c518; }
.pro-inner .cart-badge      { background: #f5c518; color: #000; }
.pro-inner .demo-cart-btn:hover { color: #f5c518; }
.pro-inner .pay-opt.active  { border-color: #f5c518; color: #f5c518; }

.premium-inner { background: #06000e; --da: #7c3aed; }
.premium-header {
  background: linear-gradient(90deg, #06000e 0%, #0d0020 100%);
  border-bottom: 1px solid rgba(124,58,237,0.3);
}
.premium-inner .cat-btn.active  { color: #7c3aed; border-bottom-color: #7c3aed; }
.premium-inner .tab-btn.active  { color: #7c3aed; border-bottom-color: #7c3aed; }
.premium-inner .add-btn:hover   { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.prem-confirm-btn               { background: #7c3aed !important; border-color: #7c3aed !important; color: #fff !important; }
.premium-inner .search-input:focus { border-color: #7c3aed; }
.premium-inner .cart-badge      { background: #7c3aed; }
.premium-inner .demo-cart-btn:hover { color: #7c3aed; }
.premium-inner .pay-opt.active  { border-color: #7c3aed; color: #7c3aed; }

/* ===========================
   DIFERENCIACIÓN VISUAL POR PLAN
   =========================== */

/* Express — básico: grid denso, imágenes cortas, precios apagados */
.express-inner .demo-products {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px;
}
.express-inner .product-img { height: 118px; }
.express-inner .demo-product-card h4 { font-size: 0.72rem; color: #999; }
.express-inner .demo-product-card .price { color: #444; }

/* Pro — standard con barra de búsqueda destacada */
.pro-inner .search-input {
  border-color: rgba(245,197,24,0.15);
  background: #0c0b00;
}
.pro-inner .demo-products {
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
}
.pro-inner .product-img { height: 148px; }

/* Premium — grilla amplia, imágenes grandes, glow en hover */
.premium-inner .demo-products {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}
.premium-inner .product-img { height: 178px; }
.premium-inner .demo-product-card {
  background: #080010;
  border-color: #150020;
}
.premium-inner .demo-product-card h4 { color: #ddd; font-size: 0.82rem; }
.premium-inner .demo-product-card .price { color: #9d6ff0; font-size: 0.82rem; }
.premium-inner .demo-product-card:hover {
  box-shadow: 0 0 28px rgba(124,58,237,0.28);
  border-color: rgba(124,58,237,0.38);
  transform: translateY(-3px);
}

/* ===========================
   PLAN STRIP
   =========================== */
.plan-strip {
  padding: 9px 18px;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  flex-shrink: 0;
  font-weight: 600;
}

.express-strip {
  background: rgba(233,30,140,0.07);
  border-bottom: 1px solid rgba(233,30,140,0.22);
  color: rgba(233,30,140,0.75);
}

.pro-strip {
  background: rgba(245,197,24,0.06);
  border-bottom: 1px solid rgba(245,197,24,0.2);
  color: rgba(245,197,24,0.7);
}

.premium-strip {
  background: rgba(124,58,237,0.09);
  border-bottom: 1px solid rgba(124,58,237,0.28);
  color: rgba(124,58,237,0.85);
}

/* ===========================
   BANNER SIMULACIÓN
   =========================== */
.demo-sim-banner {
  background: #050505;
  border-bottom: 1px solid #141414;
  padding: 7px 18px;
  font-size: 9px;
  letter-spacing: 3px;
  color: #444;
  text-align: center;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ===========================
   DEMO HEADER
   =========================== */
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  flex-shrink: 0;
}

.demo-title-group { display: flex; align-items: center; gap: 10px; }

.demo-kanji       { font-size: 15px; color: #444; letter-spacing: 2px; }
.demo-plan-label  { font-size: 10px; letter-spacing: 6px; text-transform: uppercase; font-weight: 300; color: #666; }

.demo-header-right { display: flex; align-items: center; gap: 12px; }

.demo-consult-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  transition: color 0.2s;
  padding: 4px 2px;
  white-space: nowrap;
}

.demo-cart-btn {
  position: relative;
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-badge {
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  color: #fff;
  background: #555;
  transition: transform 0.2s;
}

.cart-badge.bounce { animation: bounce 0.35s ease; }

.close-demo {
  background: none;
  border: none;
  color: #444;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  line-height: 1;
}

.close-demo:hover { color: #fff; }

/* ===========================
   CATEGORÍAS
   =========================== */
.demo-cats {
  display: flex;
  border-bottom: 1px solid #141414;
  flex-shrink: 0;
  overflow-x: auto;
}

.cat-btn {
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #444;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-btn:hover { color: #777; }

/* ===========================
   TABS (Pro / Premium)
   =========================== */
.demo-tabs {
  display: flex;
  border-bottom: 1px solid #141414;
  flex-shrink: 0;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #444;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===========================
   DEMO BODY
   =========================== */
.demo-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.tab-section-title {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 18px;
}

/* ===========================
   GRILLA DE PRODUCTOS
   =========================== */
.demo-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
}

.demo-product-card {
  background: #0d0d0d;
  border: 1px solid #181818;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.demo-product-card:hover { transform: translateY(-2px); border-color: #2a2a2a; }

.product-img {
  position: relative;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #0a0a0a;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.demo-product-card:hover .product-img img { transform: scale(1.06); }

.product-img.img-error::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 1px;
  color: #2a2a2a;
  text-align: center;
  padding: 10px;
}

.product-info { padding: 10px 10px 12px; text-align: center; }

.cat-tag {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 5px;
}

.demo-product-card h4 {
  font-size: 0.78rem;
  font-weight: 400;
  color: #bbb;
  margin-bottom: 4px;
  line-height: 1.3;
}

.demo-product-card .price {
  color: #555;
  font-size: 0.78rem;
  margin-bottom: 9px;
}

.add-btn {
  width: 100%;
  padding: 7px;
  background: #141414;
  color: #777;
  border: 1px solid #1e1e1e;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
}

/* ===========================
   CARRITO LATERAL
   =========================== */
.demo-cart {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #060606;
  border-left: 1px solid #141414;
  padding: 0;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-cart.open { right: 0; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #141414;
  flex-shrink: 0;
}

.cart-head h3 {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 300;
  color: #444;
}

.clear-btn {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 2px 6px;
}

.clear-btn:hover { color: #cc4444; }

.demo-cart ul {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  padding: 8px 16px;
}

.cart-empty {
  color: #2a2a2a;
  font-size: 0.78rem;
  text-align: center;
  padding: 30px 0;
  letter-spacing: 1px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #111;
  gap: 8px;
  animation: fadeInUp 0.2s ease;
}

.ci-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ci-name {
  font-size: 0.78rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-price { font-size: 0.74rem; color: #444; }

.rm-btn {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.rm-btn:hover { color: #cc4444; }

.cart-total {
  font-size: 0.82rem;
  color: #444;
  padding: 12px 16px 0;
  flex-shrink: 0;
}

.cart-total span { color: #ccc; font-weight: 500; }

.confirm-btn {
  margin: 10px 16px 16px;
  padding: 12px;
  background: #141414;
  color: #777;
  border: 1px solid #1e1e1e;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  flex-shrink: 0;
}

.confirm-btn:hover { background: #1e1e1e; }

.mp-btn { background: #009ee3 !important; border-color: #009ee3 !important; color: #fff !important; }
.mp-btn:hover { background: #007ab5 !important; }
.wa-btn { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.wa-btn:hover { background: #1da851 !important; }
.mp-pay-btn { background: #009ee3 !important; border-color: #009ee3 !important; color: #fff !important; }

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 40;
  display: none;
}

.demo-overlay.active { display: block; }

/* ===========================
   MÉTODO DE PAGO (Premium)
   =========================== */
.pay-method-block {
  padding: 10px 16px 4px;
  flex-shrink: 0;
}

.pay-method-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 8px;
}

.pay-method-opts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pay-opt {
  padding: 9px 12px;
  background: none;
  border: 1px solid #1a1a1a;
  color: #444;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 1px;
  text-align: left;
  transition: all 0.2s;
}

.pay-opt:hover { border-color: #333; color: #888; }

.cbu-info {
  padding: 10px 16px;
  background: #0a0a0a;
  border-top: 1px solid #141414;
  border-bottom: 1px solid #141414;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.9;
  flex-shrink: 0;
}

.cbu-info strong { color: #888; }
.cbu-note { font-size: 0.72rem; color: #333; margin-top: 6px; }

/* ===========================
   TOOLBAR PRO
   =========================== */
.pro-toolbar { margin-bottom: 16px; }

.search-input {
  width: 100%;
  padding: 10px 14px;
  background: #0a0a0a;
  border: 1px solid #141414;
  color: #ccc;
  font-size: 0.85rem;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.search-input::placeholder { color: #333; }

/* ===========================
   HISTORIAL DE PEDIDOS
   =========================== */
.order-list { display: flex; flex-direction: column; gap: 8px; }

.order-item {
  background: #0a0a0a;
  border: 1px solid #141414;
  padding: 14px 16px;
  animation: fadeInUp 0.3s ease;
}

.order-item .order-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #444;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 4px;
}

.order-item .order-products { font-size: 0.8rem; color: #666; margin-bottom: 4px; }

.order-metodo {
  font-size: 0.72rem;
  color: #333;
  letter-spacing: 1px;
}

.empty-state {
  color: #333;
  font-size: 0.8rem;
  text-align: center;
  padding: 60px 0;
}

/* ===========================
   ADMIN PANEL
   =========================== */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 360px;
}

.admin-input {
  padding: 10px 14px;
  background: #0a0a0a;
  border: 1px solid #141414;
  color: #ccc;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.admin-input option { background: #111; }

.admin-product-list { display: flex; flex-direction: column; gap: 4px; }

.admin-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a0a0a;
  border: 1px solid #141414;
  padding: 9px 14px;
  font-size: 0.78rem;
  color: #444;
}

.admin-del-btn {
  background: none;
  border: none;
  color: #2a2a2a;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  transition: color 0.2s;
}

.admin-del-btn:hover { color: #cc4444; }

/* ===========================
   WHATSAPP PREVIEW (Express)
   =========================== */
.whatsapp-preview {
  margin-top: 18px;
  padding: 16px;
  background: #0a0a0a;
  border: 1px solid #141414;
  animation: fadeInUp 0.3s ease;
}

.whatsapp-preview h4 {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #333;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.chat-bubble {
  background: #25D366;
  color: #fff;
  padding: 7px 12px;
  border-radius: 12px 12px 0 12px;
  font-size: 0.78rem;
  align-self: flex-end;
  max-width: 85%;
  animation: slideInRight 0.25s ease;
}

.prefix-bubble {
  background: #1a1a1a;
  color: #555;
  border: 1px solid #2a2a2a;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.total-bubble { font-weight: 600; }

.wa-send-btn {
  width: 100%;
  padding: 14px 20px;
  background: #0f0f0f;
  color: #bbb;
  border: 1px solid #2e2e2e;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.25s;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wa-send-btn::after { content: '→'; font-size: 14px; }

.wa-send-btn:hover {
  background: #1a1a1a;
  border-color: #555;
  color: #fff;
}

/* ===========================
   MERCADO PAGO MODAL
   =========================== */
.mp-modal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.mp-modal-inner {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 36px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeInUp 0.3s ease;
}

.mp-modal-inner h3 { font-size: 1rem; font-weight: 400; letter-spacing: 2px; color: #ccc; }
.mp-modal-inner p  { color: #555; font-size: 0.88rem; }
.mp-modal-inner strong { color: #ccc; }

.mp-form { display: flex; flex-direction: column; gap: 10px; }

.mp-input {
  padding: 10px 14px;
  background: #111;
  border: 1px solid #1a1a1a;
  color: #ccc;
  font-size: 0.88rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.mp-input:focus { border-color: #7c3aed; }
.mp-input::placeholder { color: #333; }

.mp-row { display: flex; gap: 10px; }
.mp-input.half { flex: 1; }

.close-mp {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 4px;
  transition: color 0.2s;
}

.close-mp:hover { color: #888; }

/* ===========================
   MP SUCCESS TOAST
   =========================== */
.mp-success {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #25D366;
  color: #fff;
  padding: 13px 36px;
  font-size: 0.82rem;
  letter-spacing: 2px;
  z-index: 9999;
  animation: slideUp 0.4s ease;
}

/* ===========================
   ANIMACIONES
   =========================== */
@keyframes fadeIn    { from { opacity: 0; }                               to { opacity: 1; } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideUp   { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes bounce    { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet */
@media (max-width: 900px) {
  .sc-slide       { padding: 60px 40px; min-height: auto; }
  .sc-slide-inner { grid-template-columns: 1fr; gap: 32px; }
  .sc-mockup      { max-width: 500px; margin: 0 auto; }
  .scm-prod       { height: 100px; }
  .qe-steps       { flex-direction: column; }
  .step-sep       { width: 100%; height: 1px; }
  .plans          { padding: 100px 32px; }
  .benefits       { padding: 100px 32px; }
}

/* Móvil */
@media (max-width: 640px) {
  .site-header    { padding: 14px 20px; }
  .header-nav     { display: none; }
  .hamburger      { display: flex; }
  .mobile-nav     { top: 49px; }

  /* Carousel */
  .sc-slide       { padding: 40px 20px 32px; min-height: auto; }
  .sc-slide-inner { gap: 28px; }
  .sc-title       { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .sc-sub         { font-size: 0.8rem; margin-bottom: 20px; }
  .sc-feats       { margin-bottom: 24px; }
  .sc-feats li    { font-size: 0.75rem; padding: 7px 0; }
  .sc-btns        { gap: 12px; }
  .sc-mockup      { max-width: 100%; }
  .scm-prod       { height: 80px; }
  .sc-nav         { padding: 16px 0 4px; gap: 14px; }

  /* Steps */
  .showcase-body  { padding: 48px 16px; }
  .step           { padding: 28px 20px; }

  /* Planes */
  .plans          { padding: 64px 16px; }
  .section-title  { font-size: 1rem; letter-spacing: 5px; margin-bottom: 40px; }
  .plans-grid     { grid-template-columns: 1fr; border: none; gap: 1px; }
  .plan-card      { border-right: none; border: 1px solid var(--border); padding: 36px 24px; }
  .plan-name      { font-size: 2rem; }

  /* Beneficios */
  .benefits       { padding: 64px 16px; }
  .benefits-grid  { grid-template-columns: 1fr 1fr; }
  .benefit-card   { padding: 28px 16px; }

  /* Footer */
  .footer-socials { flex-direction: column; gap: 14px; align-items: center; }

  /* Demo */
  .demo-modal     { padding: 8px; }
  .demo-inner     { max-height: 96vh; }
  .demo-products  { grid-template-columns: repeat(2, 1fr); }
  .product-img    { height: 110px; }
  .demo-consult-btn { display: none; }

  /* WA float */
  .wa-float       { bottom: 14px; right: 14px; padding: 11px 14px; font-size: 10px; letter-spacing: 1px; }
}

/* Móvil muy pequeño */
@media (max-width: 400px) {
  .benefits-grid  { grid-template-columns: 1fr; }
  .sc-title       { font-size: clamp(1.4rem, 8vw, 1.8rem); }
  .hero-main      { font-size: clamp(4rem, 20vw, 7rem); }
  .scm-prod       { height: 70px; }
}
