/* ====================================================================
   CARIBIA LABS - ESTÉTICA APPLE / iOS DARK INDUSTRIAL DESIGN
   Paleta: Obsidian Space Black (#000000 / #09090d), Cupertino Blue (#0071E3),
   Apple Cyan (#2997FF), iOS Emerald (#30D158), Apple Purple (#BF5AF2)
   ==================================================================== */

:root {
  --bg-dark: #000000;
  --bg-dark-secondary: #08080c;
  --bg-card: rgba(18, 18, 24, 0.72);
  --bg-card-hover: rgba(28, 28, 36, 0.82);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
  --border-focus: rgba(0, 113, 227, 0.6);
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --text-sub: #a1a1a6;
  --cyan-glow: #2997ff;
  --cyan-dark: #0071e3;
  --emerald-glow: #30d158;
  --violet-glow: #bf5af2;
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Space Grotesk", system-ui, sans-serif;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.55;
  background-color: var(--bg-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  text-decoration: none;
}

/* ====================================================================
   FONDOS AMBIENTALES DE LUZ (MESH GLOWS)
   ==================================================================== */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.5) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.glow-violet {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(191, 90, 242, 0.35) 0%, transparent 70%);
  top: 25%;
  right: -150px;
  animation-duration: 24s;
}

.glow-emerald {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(48, 209, 88, 0.35) 0%, transparent 70%);
  bottom: 10%;
  left: 20%;
  animation-duration: 20s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.05); }
  100% { transform: translate(-30px, 50px) scale(0.98); }
}

/* ====================================================================
   CONTENEDOR Y UTILIDADES COMUNES
   ==================================================================== */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 60px 0;
  position: relative;
}

.section-title-wrapper {
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-glow);
  background: rgba(0, 113, 227, 0.12);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 113, 227, 0.25);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.55;
}

.gradient-text {
  background: linear-gradient(135deg, #2997ff 0%, #0071e3 50%, #30d158 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====================================================================
   TOP ANNOUNCEMENT BAR
   ==================================================================== */
.top-announcement {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(6, 182, 212, 0.15), rgba(15, 23, 42, 0.9));
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 50;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ====================================================================
   SITE HEADER & NAVIGATION
   ==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.35));
}

.brand-banner-img {
  height: 40px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.4));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-link:hover .brand-banner-img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.6));
}

.brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  font-size: 0.68rem;
  color: var(--cyan-glow);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover {
  color: #ffffff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #052e16;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  background: #2ee672;
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

/* ====================================================================
   HERO SECTION (DISEÑO OPTIMIZADO APPLE - NUNCA SE CORTA)
   ==================================================================== */
.hero-section {
  padding: 24px 0 36px;
  position: relative;
}

.grid-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
}

.hero-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.hero-description {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 540px;
}

.hero-benefits-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #d2d2d7;
}

.check-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  color: #30d158;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-actions-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0071e3;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow:hover {
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.55);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-glass);
}

.avatars-group {
  display: flex;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
}

.avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.stars {
  color: #fbbf24;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

/* ====================================================================
   HERO VISUAL: PHONE MOCKUP ESTILO APPLE COMPACTO
   ==================================================================== */
.hero-visual-card {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup-outer {
  width: 100%;
  max-width: 310px;
  background: #000000;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  padding: 8px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 113, 227, 0.15);
  position: relative;
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform 0.4s ease;
}

.phone-mockup-outer:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  background: #09090d;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  max-height: 440px;
  position: relative;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #cbd5e1;
  background: #000000;
}

.wsp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #111116;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wsp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--cyan-glow);
}

.wsp-avatar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.wsp-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.wsp-status {
  font-size: 0.62rem;
  color: #30d158;
}

.wsp-chat-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: #07070a;
}

.chat-msg {
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 0.74rem;
  line-height: 1.35;
  position: relative;
}

.chat-in {
  align-self: flex-start;
  background: #1c1c24;
  color: #e2e8f0;
  border-bottom-left-radius: 3px;
}

.chat-out {
  align-self: flex-end;
  background: #0071e3;
  color: #ffffff;
  border-bottom-right-radius: 3px;
}

.chat-ai {
  background: linear-gradient(135deg, #0b3d75 0%, #0071e3 100%);
  border: 1px solid rgba(41, 151, 255, 0.35);
}

.ai-tag {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #70baff;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.chat-time {
  display: block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  margin-top: 2px;
}

.payment-preview-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 5px 8px;
  margin-top: 4px;
}

.pay-btn-alias {
  background: rgba(48, 209, 88, 0.2);
  color: #30d158;
  font-weight: 700;
  font-size: 0.65rem;
  text-align: center;
  padding: 3px;
  border-radius: 5px;
  margin-bottom: 3px;
}

.pay-btn-mp {
  background: #0071e3;
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
  text-align: center;
  padding: 3px;
  border-radius: 5px;
}

.live-sale-toast {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(18, 18, 24, 0.95);
  border: 1px solid rgba(48, 209, 88, 0.4);
  backdrop-filter: blur(12px);
  padding: 6px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  animation: slideUpToast 0.5s ease;
}

@keyframes slideUpToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.payment-preview-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px;
  margin-top: 6px;
}

.pay-btn-mp {
  background: #009ee3;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  font-size: 0.72rem;
  padding: 5px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.pay-btn-alias {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px dashed rgba(16, 185, 129, 0.5);
  font-size: 0.7rem;
  font-family: monospace;
  text-align: center;
  padding: 4px;
  border-radius: 6px;
}

.live-sale-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  margin: 10px 14px 14px;
  border-radius: 12px;
  animation: slideToast 4s ease-in-out infinite alternate;
}

@keyframes slideToast {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3); }
  100% { transform: translateY(0); }
}

/* ====================================================================
   SERVICES GRID (LOS 3 PILARES)
   ==================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px 28px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  margin-bottom: 24px;
}

.service-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-bullets span {
  color: var(--cyan-glow);
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 1px;
}

.card-footer-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ====================================================================
   COMPARISON SECTION: ANTES VS DESPUÉS
   ==================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  border: 1px solid;
}

.card-before {
  background: rgba(30, 20, 25, 0.6);
  border-color: rgba(244, 63, 94, 0.2);
}

.card-after {
  background: rgba(10, 30, 25, 0.6);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.comparison-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cross-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-green {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-list strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 3px;
}

.comparison-list p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ====================================================================
   CASES GRID (PROYECTOS REALES)
   ==================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.case-media-container {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

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

.case-card:hover .case-img {
  transform: scale(1.04);
}

.case-placeholder-visual {
  width: 100%;
  height: 100%;
}

.case-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
}

.case-tag {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.metric strong {
  display: block;
  font-size: 1.15rem;
  color: var(--cyan-glow);
  font-weight: 800;
}

.metric span {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* ====================================================================
   SHOWROOM EN VIVO (SIMULADOR DE CELULAR)
   ==================================================================== */
.showroom-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.interactive-phone {
  background: #0f172a;
  border: 3px solid #334155;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(6, 182, 212, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
}

.app-topbar {
  background: #1e293b;
  padding: 10px 14px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-pill {
  background: var(--cyan-glow);
  color: #083344;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.product-featured-img-box {
  position: relative;
  height: 200px;
  background: #090d16;
  overflow: hidden;
}

.product-featured-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.stock-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.variant-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--cyan-glow);
  color: #38bdf8;
  font-weight: 700;
}

.pay-method-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-method-btn.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--cyan-glow);
}

.btn-checkout-sim {
  width: 100%;
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
  transition: transform 0.2s ease;
}

.btn-checkout-sim:hover {
  transform: translateY(-2px);
}

.order-confirmed-modal {
  position: absolute;
  inset: 12px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 20;
}

.order-confirmed-modal.hidden {
  display: none;
}

.btn-sm-close {
  background: #334155;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.showroom-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan-glow);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ====================================================================
   CALCULATOR SECTION
   ==================================================================== */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 42px 36px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.range-slider {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 14px var(--cyan-glow);
  cursor: pointer;
  border: 2px solid #ffffff;
}

.calc-note {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.calc-results-box {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.result-number-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.result-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.result-label {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.3;
}

.recommended-solution-box {
  background: rgba(6, 182, 212, 0.08);
  border: 1px dashed rgba(6, 182, 212, 0.3);
  padding: 14px;
  border-radius: 12px;
  margin: 16px 0;
}

/* ====================================================================
   WHY US CARDS
   ==================================================================== */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

/* ====================================================================
   CONTACT FORM
   ==================================================================== */
.contact-box-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 28px;
  padding: 48px 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(7, 10, 18, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.form-group select option {
  background: #0f172a;
  color: #ffffff;
}

/* ====================================================================
   CTA BANNER SECTION
   ==================================================================== */
.cta-banner-section {
  padding: 40px 0 60px;
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(6, 182, 212, 0.15) 50%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 32px;
  padding: 56px 36px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(6, 182, 212, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #042f1a;
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-whatsapp-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
  background: #2ee672;
}

/* ====================================================================
   FOOTER ESTILO APPLE / iOS ELEGANTE & MINIMALISTA
   ==================================================================== */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 20;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding: 44px 0 28px;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 14px;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a,
.footer-contact-list a {
  color: #a1a1a6;
  font-size: 0.82rem;
  text-decoration: none !important;
  transition: color 0.15s ease;
  display: inline-block;
}

.footer-links-list a:hover,
.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-wsp-item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #30d158 !important;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none !important;
}

.footer-wsp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 8px rgba(48, 209, 88, 0.7);
  display: inline-block;
}

.footer-tagline-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #86868b;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 9999px;
}

.footer-tagline-apple strong {
  color: #f5f5f7;
  font-weight: 600;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6e6e73;
}

.footer-bottom-bar a {
  color: #6e6e73;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.footer-bottom-bar a:hover {
  color: #2997ff;
}

/* ====================================================================
   FLOATING WHATSAPP WIDGET
   ==================================================================== */
.floating-wsp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  z-index: 99;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-wsp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.floating-wsp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: pulseWsp 2s infinite;
  pointer-events: none;
}

@keyframes pulseWsp {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-wsp-tooltip {
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.floating-wsp-widget:hover .floating-wsp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .cta-banner-card {
    padding: 36px 20px;
  }
  .floating-wsp-widget {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
}

/* ====================================================================
   RESPONSIVIDAD
   ==================================================================== */
@media (max-width: 1024px) {
  .grid-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .showroom-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  /* Barra de Anuncio Compacta en 1 línea */
  .top-announcement .container-custom {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .announcement-text {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 110px);
  }
  .live-pill {
    padding: 1px 6px;
    font-size: 0.65rem;
  }

  /* Header Compacto para Celular */
  .header-inner {
    min-height: 52px;
    padding: 6px 0;
  }
  .brand-logo {
    height: 30px;
  }
  .brand-banner-img {
    height: 32px;
    max-width: 115px;
  }
  .brand-title {
    font-size: 1rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
  }

  /* Botón WhatsApp en Móvil: solo 'Contactar' para nunca desbordar */
  .btn-text-desktop {
    display: none !important;
  }
  .btn-text-mobile {
    display: inline !important;
  }
  .btn-whatsapp {
    padding: 6px 10px;
    font-size: 0.72rem;
    gap: 4px;
  }

  /* Botón Hamburguesa Apple HIG */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    flex-shrink: 0;
  }
  .mobile-menu-btn:hover, .mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.12);
  }
  .mobile-menu-btn .menu-bar {
    width: 16px;
    height: 2px;
    background: #f5f5f7;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .mobile-menu-btn.active .bar-1 {
    transform: translateY(3px) rotate(45deg);
  }
  .mobile-menu-btn.active .bar-2 {
    transform: translateY(-3px) rotate(-45deg);
  }

  /* Drawer Menú Desplegable Móvil (Estilo iOS Glassmorphism) */
  .mobile-nav-drawer {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 90;
  }
  .mobile-nav-drawer.open {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
  }
  .mobile-nav-inner {
    padding: 14px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: #d2d2d7;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }
  .mobile-nav-link:hover, .mobile-nav-link:active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
  .mobile-nav-link.highlight {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    font-weight: 600;
  }
  .nav-link-icon {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
  }
  .nav-link-pill {
    font-size: 0.65rem;
    font-weight: 700;
    background: #0071e3;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-left: auto;
  }
  .mobile-drawer-cta {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-drawer-wsp {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #042f1a;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  }

  /* Hero Section: Rediseño Proporcional para que NADA quede cortado */
  .hero-section {
    padding: 12px 0 24px;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
    margin-bottom: 8px;
  }
  .hero-heading {
    font-size: 1.6rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
  }
  .hero-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .hero-benefits-pills {
    gap: 4px;
    margin-bottom: 14px;
  }
  .benefit-pill {
    font-size: 0.76rem;
    gap: 6px;
  }
  .check-icon {
    width: 15px;
    height: 15px;
    font-size: 0.6rem;
  }
  .hero-actions-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
  }
  .btn-primary-glow {
    width: auto;
    flex: 0 1 auto;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    border-radius: 9999px;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
  }
  .btn-primary-glow svg {
    width: 12px;
    height: 12px;
  }
  .btn-secondary-glass {
    width: auto;
    flex: 0 1 auto;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 500;
    border-radius: 9999px;
  }
  .hero-proof-row {
    padding-top: 10px;
    font-size: 0.74rem;
  }
  .avatar {
    width: 22px;
    height: 22px;
    font-size: 0.62rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .contact-box-wrapper {
    padding: 32px 20px;
  }
  .result-number-row {
    grid-template-columns: 1fr;
  }
}


/* ====================================================================
   SECCIÓN DE EJEMPLOS & PLANTILLAS (ESTILO APPLE HIG COMPACTO)
   ==================================================================== */
.template-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.template-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #86868b;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.template-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.template-tab-btn.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.template-showcase-card {
  background: rgba(18, 18, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.template-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 992px) {
  .template-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.template-preview-frame {
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.template-browser-bar {
  background: #121218;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-url {
  font-size: 0.68rem;
  color: #86868b;
  font-family: -apple-system, monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
}

.template-preview-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.template-preview-badges {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge-pill {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f5f7;
}

.template-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.template-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #86868b;
  line-height: 1.45;
}

.feature-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  color: #30d158;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-body {
  flex: 1;
  color: #a1a1a6;
}

.feature-body strong {
  color: #f5f5f7;
  font-weight: 600;
}

.tab-pane.hidden {
  display: none !important;
}
