/* =============================================
   APPS.CSS - Estilos específicos para apps.php
   ============================================= */

/* === VARIABLES === */
:root {
  --neon-cyan: #00f2ea;
  --neon-blue: #4facfe;
  --deep-space: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* === BODY Y WRAPPER === */
body.apps-page {
  background-color: var(--deep-space);
  background-image: radial-gradient(circle at 15% 10%, #1e293b 0%, #0f172a 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

body.apps-page #wrapper {
  background: transparent;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* === TRAMA DE FONDO GLOBAL (llega hasta arriba) === */
body.apps-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-image: var(--hero-pattern, url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"));
  background-repeat: repeat;
  background-position: top center;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

/* === HERO SECTION === */
.hero-apps {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 60px;
  --hero-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-apps::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 242, 234, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  top: -200px;
  left: -200px;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 15s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-apps::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* === SECCIÓN ECOSISTEMA (fade suave) === */
.apps-ecosystem {
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.92) 540px, rgba(15, 23, 42, 0.98) 100%);
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 50px); }
}

/* === HERO TYPOGRAPHY === */
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-highlight {
  background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* === BENTO GRID === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 4rem 0;
}

.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.bento-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(0, 242, 234, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 20px rgba(0, 242, 234, 0.1);
}

.bento-card.large {
  grid-column: span 2;
}

.bento-card.tall {
  grid-row: span 2;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/9;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--neon-cyan);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 8px;
  color: #fff;
}

/* === BUTTONS === */
.btn-glow {
  position: relative;
  padding: 12px 30px;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0%; height: 100%;
  background: var(--neon-cyan);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-glow:hover {
  color: #0f172a;
}

.btn-glow:hover::before {
  width: 100%;
}

/* === VISUAL ROTATOR === */
.visual-rotator-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.visual-module {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.visual-module.active {
  opacity: 1;
  visibility: visible;
}

/* === 1. ECOSYSTEM === */
.tech-ecosystem-wrapper { 
  position: relative; 
  width: 400px; 
  height: 400px; 
}

.orbit-ring { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  border: 1px dashed rgba(255, 255, 255, 0.15); 
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 { 
  width: 180px; 
  height: 180px; 
  margin-left: -90px;
  margin-top: -90px;
}

.ring-2 { 
  width: 300px; 
  height: 300px; 
  margin-left: -150px;
  margin-top: -150px;
}

.tech-core { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 80px; 
  height: 80px; 
  background: linear-gradient(135deg, #00f2ea, #00a8c6); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  z-index: 10; 
  box-shadow: 0 0 40px rgba(0, 242, 234, 0.5); 
  animation: coreFloat 3s ease-in-out infinite; 
}

.core-icon { font-size: 2rem; color: #fff; }

.core-pulse { 
  position: absolute; 
  top: -10px; left: -10px; right: -10px; bottom: -10px; 
  border-radius: 50%; 
  border: 2px solid rgba(0, 242, 234, 0.4); 
  animation: pulseRing 2s linear infinite; 
}

.tech-satellite { 
  position: absolute; 
  width: 45px; 
  height: 45px; 
  background: rgba(15, 23, 42, 0.9); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem; 
  backdrop-filter: blur(5px); 
  box-shadow: 0 5px 20px rgba(0,0,0,0.4); 
  animation: floatItem 4s ease-in-out infinite; 
}

.sat-react { top: 15%; left: 15%; color: #61dafb; }
.sat-cloud { top: 10%; right: 20%; animation-delay: 1s; color: #fff; }
.sat-mobile { bottom: 15%; left: 10%; animation-delay: 2s; color: #a3e635; }
.sat-db { bottom: 20%; right: 15%; animation-delay: 1.5s; color: #f472b6; }

.code-card { 
  position: absolute; 
  background: rgba(15, 23, 42, 0.95); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  padding: 12px; 
  border-radius: 10px; 
  width: 130px; 
  backdrop-filter: blur(10px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.4); 
  z-index: 5; 
}

.card-top-right { top: 25%; right: 0; animation: floatCard 5s ease-in-out infinite; }
.card-bottom-left { bottom: 20%; left: 0; animation: floatCard 6s ease-in-out infinite reverse; }
.code-line { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 6px; }
.code-line.short { width: 70%; }
.code-status { font-size: 0.7rem; color: #94a3b8; display: flex; align-items: center; gap: 6px; }
.dot-green { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.progress-bar-mini { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #00f2ea);
  animation: growBar 2s ease-out infinite;
}

/* === 2. MOBILE FLOW === */
.mobile-frame { width: 200px; height: 350px; border: 6px solid #334155; border-radius: 28px; background: #0f172a; position: relative; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.5); transform: rotate(-5deg); margin: 20px auto; }
.mobile-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #334155; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; z-index: 10; }
.mobile-screen { padding-top: 25px; height: 100%; position: relative; overflow: hidden; }
.mobile-screen .app-header { height: 35px; margin: 0 8px 8px; border-radius: 6px; }
.app-content-scroll { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; animation: scrollApp 6s linear infinite; }
.app-card { height: 55px; background: rgba(255,255,255,0.04); border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); }
.c1 { width: 100%; } .c2 { width: 85%; } .c3 { width: 92%; } .c4 { width: 78%; }
.app-fab { position: absolute; bottom: 15px; right: 15px; width: 38px; height: 38px; background: #00f2ea; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-size: 1rem; box-shadow: 0 4px 15px rgba(0,242,234,0.5); }
.mobile-floater { position: absolute; width: 50px; height: 50px; background: rgba(30, 41, 59, 0.95); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #4facfe; font-size: 1.2rem; border: 1px solid rgba(79,172,254,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.f1 { top: 40px; right: 30px; animation: floatItem 5s ease-in-out infinite; }
.f2 { bottom: 50px; left: 30px; animation: floatItem 6s ease-in-out infinite reverse; }

/* === 3. DASHBOARD (estilo móvil con notch) === */
.dashboard-wrapper { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.dash-panel { 
  width: 260px; 
  height: 380px;
  background: rgba(15, 23, 42, 0.95); 
  border: 4px solid #020617;
  border-radius: 32px; 
  overflow: hidden; 
  box-shadow: 0 25px 60px rgba(0,0,0,0.5); 
  transform: rotate(3deg);
  position: relative;
}
.dash-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  border-radius: 999px;
  background: #111827;
  z-index: 10;
}
.dash-screen {
  position: absolute;
  top: 36px;
  left: 12px;
  right: 12px;
  bottom: 18px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.15), transparent 60%), rgba(15,23,42,0.98);
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.dash-content { flex: 1; display: flex; flex-direction: column; }
.dash-stat { text-align: center; margin-bottom: 16px; }
.stat-value { display: block; font-size: 1.8rem; font-weight: 700; color: #00f2ea; }
.stat-label { font-size: 0.75rem; color: #64748b; }
.dash-chart { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 70px; margin-bottom: 12px; }
.chart-bar { width: 24px; background: linear-gradient(to top, #00f2ea, #4facfe); border-radius: 4px 4px 0 0; animation: barGrow 1.5s ease-out forwards; }
.bar1 { height: 40%; animation-delay: 0.1s; }
.bar2 { height: 65%; animation-delay: 0.2s; }
.bar3 { height: 45%; animation-delay: 0.3s; }
.bar4 { height: 80%; animation-delay: 0.4s; }
.bar5 { height: 60%; animation-delay: 0.5s; }
.dash-line-chart { height: 3px; background: linear-gradient(90deg, transparent, #00f2ea, #4facfe, transparent); border-radius: 2px; }
.dash-floater { position: absolute; width: 55px; height: 55px; background: rgba(15, 23, 42, 0.95); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #00f2ea; font-size: 1rem; border: 1px solid rgba(0,242,234,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.dash-floater span { font-size: 0.7rem; color: #94a3b8; }
.df1 { top: 50px; left: 30px; animation: floatItem 5s ease-in-out infinite; }
.df2 { bottom: 60px; right: 20px; animation: floatItem 6s ease-in-out infinite reverse; }

/* === 4. TERMINAL === */
.terminal-wrapper { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.terminal-window { width: 300px; background: #1a1a2e; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.5); transform: rotate(-2deg); }
.terminal-header { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #16213e; }
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #eab308; }
.term-dot.green { background: #22c55e; }
.term-title { margin-left: auto; font-size: 0.75rem; color: #64748b; font-family: monospace; }
.terminal-body { padding: 15px; font-family: 'Fira Code', monospace; font-size: 0.8rem; }
.term-line { color: #94a3b8; margin-bottom: 8px; }
.term-line.success { color: #22c55e; }
.term-prompt { color: #00f2ea; margin-right: 8px; }
.typing-cursor { animation: blink 1s infinite; color: #00f2ea; }
.term-floater { position: absolute; width: 50px; height: 50px; background: rgba(15, 23, 42, 0.95); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.tf1 { top: 50px; right: 20px; color: #68a063; animation: floatItem 5s ease-in-out infinite; }
.tf2 { bottom: 60px; left: 30px; color: #cb3837; animation: floatItem 6s ease-in-out infinite reverse; }

/* === 5. MATRIZ DE APPS POR SECTOR === */
.sectors-phone {
  width: 260px;
  height: 380px;
  border-radius: 32px;
  border: 6px solid #020617;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.9);
  position: relative;
  padding: 14px 12px 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  animation: floatCard 8s ease-in-out infinite;
}

.sectors-phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 18px;
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 0 0 2px rgba(15,23,42,0.9);
}

.sectors-screen {
  margin-top: 20px;
  flex: 1;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%), rgba(15, 23, 42, 0.98);
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sectors-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.7rem;
  color: #9ca3af;
}

.sectors-top-title { font-weight: 500; }

.sectors-top-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,0.9);
}

.sectors-wrapper {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}

.sectors-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.sectors-bottom-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148,163,184,0.6);
}

.sectors-bottom-dot.active {
  width: 18px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

.sector-card {
  position: relative;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 16px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: floatItem 5.5s ease-in-out infinite;
}

.sector-card:nth-child(2) { animation-delay: 0.4s; }
.sector-card:nth-child(3) { animation-delay: 0.8s; }
.sector-card:nth-child(4) { animation-delay: 1.2s; }

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 24px 60px rgba(8, 47, 73, 0.9);
}

.sector-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: rgba(15, 118, 110, 0.2);
  color: #22c55e;
}

.sector-title {
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 600;
  color: #e5e7eb;
  word-break: break-word;
}

.sector-pill {
  font-size: 0.7rem;
  line-height: 1.3;
  color: #9ca3af;
}

.sc-hotel .sector-icon { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.sc-realestate .sector-icon { background: rgba(129, 140, 248, 0.2); color: #818cf8; }
.sc-advisors .sector-icon { background: rgba(249, 115, 22, 0.22); color: #fb923c; }
.sc-ecommerce .sector-icon { background: rgba(236, 72, 153, 0.22); color: #ec4899; }

/* === 6. TU NEGOCIO EN EL BOLSILLO === */
.bp-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-phone {
  width: 220px;
  height: 340px;
  border-radius: 32px;
  border: 6px solid #020617;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
  animation: floatCard 7s ease-in-out infinite;
}

.bp-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  border-radius: 999px;
  background: #020617;
  z-index: 2;
}

.bp-screen {
  position: absolute;
  inset: 30px 14px 18px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.22), transparent 60%), rgba(15,23,42,0.98);
  overflow: hidden;
}

.bp-cards {
  position: absolute;
  inset: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollApp 7s ease-in-out infinite;
}

.bp-card {
  border-radius: 12px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.35);
  padding: 10px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.bp-card-reservas { height: 52px; }
.bp-card-pago { height: 46px; display: flex; align-items: center; }
.bp-card-mensaje { height: 52px; }

.bp-line {
  height: 6px;
  border-radius: 4px;
  background: rgba(148,163,184,0.35);
  margin-bottom: 6px;
}

.bp-line.strong { background: linear-gradient(90deg, #0ea5e9, #22c55e); }
.bp-line.short { width: 60%; }

.bp-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  color: #bbf7d0;
  background: rgba(22,163,74,0.18);
  border: 1px solid rgba(22,163,74,0.7);
}

.bp-sector {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #9ca3af;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
  animation: floatItem 6s ease-in-out infinite;
}

.bp-sector i { font-size: 0.9rem; }
.bp-sector-hotel { top: 12%; right: 12%; animation-delay: 0.2s; }
.bp-sector-asesoria { bottom: 18%; left: 8%; animation-delay: 0.6s; }
.bp-sector-tienda { bottom: 10%; right: 16%; animation-delay: 1s; }

/* === 7. ANTES / DESPUÉS CON APP === */
.ba-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
}

.ba-context-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.72rem;
  color: #9ca3af;
  text-align: center;
  max-width: 320px;
}

.ba-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.ba-panel {
  border-radius: 18px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.35);
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  width: 140px;
  height: 200px;
  display: flex;
  flex-direction: column;
}

.ba-before { opacity: 0.9; }
.ba-after { 
  background: radial-gradient(circle at top, rgba(56,189,248,0.2), transparent 60%), rgba(15,23,42,0.98); 
  width: 160px;
}

.ba-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 8px;
}

.ba-papers {
  flex: 1;
  position: relative;
}

.ba-paper {
  position: absolute;
  width: 60px;
  height: 40px;
  border-radius: 8px;
  background: rgba(15,23,42,0.96);
  border: 1px dashed rgba(148,163,184,0.5);
  font-size: 0.65rem;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: chaosToOrder 4.5s ease-in-out infinite;
}

.ba-paper.p1 { top: 5px; left: 4px; }
.ba-paper.p2 { top: 40px; left: 30px; animation-delay: 0.4s; }
.ba-paper.p3 { top: 75px; left: 0px; animation-delay: 0.8s; }

.ba-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.ba-arrow-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #64748b, #22c55e);
  position: relative;
  border-radius: 999px;
}

.ba-arrow-head {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #22c55e;
  margin-left: 2px;
}

.ba-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,0.9);
  animation: baFlowDot 3s ease-in-out infinite;
}

@keyframes baFlowDot {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { left: 42px; opacity: 1; }
  100% { left: 42px; opacity: 0; }
}

.ba-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.7rem;
  color: #9ca3af;
}

.ba-header-title { font-weight: 500; }

.ba-header-badge {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.5);
  color: #bbf7d0;
  font-size: 0.6rem;
}

.ba-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.ba-kpi {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ba-kpi-label {
  font-size: 0.6rem;
  color: #9ca3af;
  min-width: 50px;
}

.ba-kpi-value {
  font-size: 0.7rem;
  font-weight: 600;
  color: #e5e7eb;
  min-width: 36px;
}

.ba-kpi-bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  overflow: hidden;
  position: relative;
}

.ba-kpi-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  transform-origin: left;
  animation: barGrow 2.2s ease-out infinite;
}

/* === 8. FLUJO DE CLIENTE REAL === */
.cf-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.cf-steps {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  align-items: center;
  gap: 10px;
}

.cf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cf-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.2);
  color: #60a5fa;
  box-shadow: 0 16px 40px rgba(15,23,42,0.9);
}

.cf-title {
  font-size: 0.8rem;
  color: #e5e7eb;
}

.cf-phone {
  width: 104px;
  height: 170px;
  border-radius: 22px;
  border: 2px solid rgba(148,163,184,0.35);
  background: linear-gradient(180deg, rgba(2,6,23,0.95), rgba(2,6,23,0.85));
  box-shadow: 0 26px 60px rgba(15,23,42,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatItem 6s ease-in-out infinite;
}

.cf-phone::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.cf-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148,163,184,0.22);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 1;
}

.cf-phone-screen {
  width: 82%;
  height: 78%;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.25), transparent 70%), rgba(15,23,42,0.98);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
}

.cf-button {
  padding: 6px 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  font-size: 0.8rem;
  box-shadow: 0 0 18px rgba(34,197,94,0.8);
}

.cf-card {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.35);
  color: #e5e7eb;
  font-size: 0.7rem;
  margin-bottom: 4px;
}

.cf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-line {
  width: 60px;
  height: 2px;
  border-radius: 999px;
  background: rgba(148,163,184,0.6);
  position: relative;
  overflow: hidden;
}

.cf-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  opacity: 0.7;
}

.cf-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,0.9);
  animation: flowDot 4s linear infinite;
}

.cf-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cf-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 0.7rem;
  color: #9ca3af;
  background: rgba(15,23,42,0.9);
}

/* === ANIMACIONES === */
@keyframes coreFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -55%); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes floatItem { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatCard { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-6px) rotate(-1deg); } }
@keyframes growBar {
  0% { width: 0%; }
  100% { width: 70%; }
}
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes scrollApp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-80px); } }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes chaosToOrder {
  0% { transform: translate(0,0) rotate(-6deg); opacity: 1; }
  40% { transform: translate(4px,-6px) rotate(4deg); opacity: 1; }
  70% { transform: translate(50px,-4px) rotate(0deg); opacity: 0.1; }
  100% { transform: translate(0,0) rotate(-6deg); opacity: 1; }
}
@keyframes flowDot {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { transform: translateX(52px); opacity: 1; }
  100% { opacity: 0; }
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  body.apps-page #header #header-wrap,
  body.apps-page #header .backdrop-header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(16px);
  }
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.large, .bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card {
    overflow: hidden;
  }
  .card-image-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }
  .card-image-wrapper img {
    max-width: 100%;
    width: 100%;
    object-fit: contain;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .visual-rotator-container { transform: scale(0.75); }
  .tech-ecosystem-wrapper { transform: scale(0.9); }
}

/* === APPS SHOWCASE: Catálogo Claro === */
.apps-ecosystem {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.apps-available-section,
.apps-dev-section {
  margin-bottom: 3rem;
}

.apps-available-section h3,
.apps-dev-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.apps-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.app-catalog-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.32s ease, background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.32s ease;
  opacity: 0;
  transform: translateY(0);
  animation: appCardReveal 0.6s ease forwards;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.app-catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(0, 242, 234, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.app-catalog-card:hover::before {
  opacity: 1;
}

.app-catalog-card::after {
  content: '';
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0;
  pointer-events: none;
}

.app-dev-card {
  opacity: 0;
  transform: translateY(0);
  animation: appCardReveal 0.6s ease forwards;
}

@keyframes appCardReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.app-catalog-card:hover {
  border-color: rgba(0, 242, 234, 0.3);
  background: rgba(15, 23, 42, 0.85);
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.35);
}

.app-catalog-card .card-link {
  position: relative;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
}

.app-catalog-card .card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
  min-height: 80px;
}

.app-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 14px;
  padding: 0.35rem;
  flex-shrink: 0;
}

.app-icon--white-bg {
  background: #ffffff;
}

.app-preview {
  position: relative;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.app-catalog-card:hover .app-preview img {
  transform: scale(1.05);
}

.app-preview-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(0, 242, 234, 0.7);
}

/* Galería de imágenes */
.app-gallery {
  position: relative;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.gallery-slide.prev-slide {
  transform: translateX(-100%);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-nav:hover {
  background: rgba(0, 242, 234, 0.3);
  border-color: rgba(0, 242, 234, 0.5);
}

.gallery-nav.prev {
  left: 8px;
}

.gallery-nav.next {
  right: 8px;
}

.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  width: 16px;
  background: #00f2ea;
}

/* Lightbox — carrusel real */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  pointer-events: none;
}

.lightbox-slide {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  cursor: default;
  pointer-events: none;
}

.lightbox-slide img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background 0.3s ease;
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  opacity: 1;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.lightbox-nav i {
  color: #fff;
}

.lightbox-nav:hover {
  background: rgba(0, 242, 234, 0.3);
  opacity: 1;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

@media (max-width: 770px) {
  .lightbox-slide {
    padding: 0.5rem;
  }

  .lightbox-slide img {
    max-width: 95%;
    max-height: 85%;
  }

  .lightbox-nav {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.6);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 9999;
    opacity: 0.7;
  }

  .lightbox-nav:hover {
    opacity: 1;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.6);
    z-index: 9999;
  }
}

.app-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 6;
}

.app-status.live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.app-catalog-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
}

.app-catalog-card p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.app-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.app-tags .tag {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0, 242, 234, 0.08);
  color: #00f2ea;
  border: 1px solid rgba(0, 242, 234, 0.2);
}

.app-catalog-card .card-link {
  color: #00f2ea;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: auto;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.app-catalog-card .card-link:hover {
  transform: translateX(5px);
}

.app-catalog-card .card-link i {
  transition: transform 0.3s ease;
}

.app-catalog-card .card-link:hover i {
  transform: translateX(3px);
}

/* Iconos animados en hover */
.app-preview-icon i,
.dev-icon i {
  transition: transform 0.4s ease;
}

.app-catalog-card:hover .app-preview-icon i,
.app-dev-card:hover .dev-icon i {
  transform: rotate(10deg) scale(1.1);
}

.gallery-nav i {
  transition: transform 0.3s ease;
}

.gallery-nav:hover i {
  transform: scale(1.2);
}

/* Tooltip para tags */
.app-tags .tag {
  position: relative;
  cursor: help;
}

.app-tags .tag::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 0.7rem;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
  text-align: center;
  line-height: 1.3;
}

.app-tags .tag:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

.apps-dev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.app-dev-card {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.3s ease;
}

.app-dev-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.12);
}

.dev-preview {
  position: relative;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(79, 172, 254, 0.1));
  border: 1px dashed rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-icon {
  font-size: 2rem;
  color: rgba(167, 139, 250, 0.6);
}

.dev-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.app-dev-card h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.app-dev-card p {
  color: #a5b4fc;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.dev-progress {
  margin-top: auto;
  padding-top: 0.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.progress-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse 2s ease-in-out infinite;
}

.progress-badge.badge-early {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.progress-badge.badge-almost {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  animation: glow 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.5); }
}

.progress-percent {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a5b4fc;
}

.app-dev-card .card-link {
  color: #a78bfa;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.apps-ecosystem-bottom-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Section */
.apps-faq-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apps-faq-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 242, 234, 0.3);
  background: rgba(15, 23, 42, 0.7);
}

.faq-item summary {
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: #00f2ea;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .apps-catalog-grid,
  .apps-dev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .apps-catalog-grid,
  .apps-dev-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .apps-available-section h3,
  .apps-dev-section h3 {
    font-size: 1.25rem;
  }

  .app-preview {
    height: 200px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    width: 36px;
    height: 36px;
  }

  .apps-faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
  }
}
