/* =====================================================================
   Clixgig · clixgig.com
   Estilos de la landing (Bootstrap 5.3 + tema claro/oscuro con data-bs-theme)
   ===================================================================== */

@font-face { font-family: 'Poppins'; font-weight: 300; font-display: swap; src: url('../fonts/Poppins-Light.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('../fonts/Poppins-Regular.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('../fonts/Poppins-Medium.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 600 800; font-display: swap; src: url('../fonts/Poppins-Bold.woff') format('woff'); }

/* ---------- Colores de la marca ---------- */
:root,
[data-bs-theme='light'] {
  --cg-violet: #7c3aed;
  --cg-violet-2: #a78bfa;
  --cg-violet-3: #5b21f6;
  --cg-gradient: linear-gradient(135deg, #5b21f6 0%, #7c3aed 45%, #a78bfa 100%);
  --cg-gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(167, 139, 250, 0.16));
  --cg-bg: #f7f6fc;
  --cg-bg-alt: #efecfa;
  --cg-surface: #ffffff;
  --cg-surface-2: #f3f0fd;
  --cg-text: #16151c;
  --cg-muted: #6b6880;
  --cg-border: rgba(22, 21, 28, 0.08);
  --cg-shadow: 0 18px 50px rgba(76, 29, 149, 0.12);
  --cg-shadow-sm: 0 6px 20px rgba(76, 29, 149, 0.08);
  --cg-green: #16a34a;
  --cg-green-soft: rgba(22, 163, 74, 0.12);
  --cg-red: #dc2626;
  --cg-red-soft: rgba(220, 38, 38, 0.1);
  --cg-orange: #ea580c;
  --cg-orange-soft: rgba(234, 88, 12, 0.12);
  --cg-blue: #2563eb;
  --cg-blue-soft: rgba(37, 99, 235, 0.12);
  --cg-pink: #db2777;
  --cg-pink-soft: rgba(219, 39, 119, 0.12);
  --cg-navbar: rgba(247, 246, 252, 0.78);

  --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-bg: var(--cg-bg);
  --bs-body-color: var(--cg-text);
  --bs-primary: #7c3aed;
  --bs-primary-rgb: 124, 58, 237;
  --bs-link-color: #7c3aed;
  --bs-link-color-rgb: 124, 58, 237;
  --bs-link-hover-color: #5b21f6;
  --bs-border-color: var(--cg-border);
}

[data-bs-theme='dark'] {
  --cg-bg: #0f0f10;
  --cg-bg-alt: #151419;
  --cg-surface: #1a1a1f;
  --cg-surface-2: #22222a;
  --cg-text: #f3f2f8;
  --cg-muted: #a09db3;
  --cg-border: rgba(255, 255, 255, 0.08);
  --cg-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --cg-shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --cg-green: #22c55e;
  --cg-red: #f87171;
  --cg-orange: #fb923c;
  --cg-blue: #60a5fa;
  --cg-pink: #f472b6;
  --cg-navbar: rgba(15, 15, 16, 0.72);
  --bs-body-bg: var(--cg-bg);
  --bs-body-color: var(--cg-text);
  --bs-link-color: #a78bfa;
  --bs-link-color-rgb: 167, 139, 250;
  --bs-link-hover-color: #c4b5fd;
  --bs-border-color: var(--cg-border);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--cg-bg); color: var(--cg-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; color: var(--cg-text); }
a { text-decoration: none; }
::selection { background: rgba(124, 58, 237, 0.25); }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 2000; padding: 8px 14px; border-radius: 10px; background: var(--cg-violet); color: #fff; }

.text-gradient { background: var(--cg-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-muted { color: var(--cg-muted); font-size: 1.08rem; line-height: 1.7; }
.container.narrow { max-width: 860px; }

/* ---------- Botones ---------- */
.btn-gradient {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0.62rem 1.3rem; border: 0; border-radius: 12px;
  background: var(--cg-gradient); color: #fff; font-weight: 600;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3); transition: transform 0.15s, box-shadow 0.15s;
}
.btn-gradient:hover, .btn-gradient:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(124, 58, 237, 0.4); }
.btn-icon {
  width: auto; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--cg-border); background: var(--cg-surface); color: var(--cg-text);
}
.btn-icon:hover { border-color: var(--cg-violet-2); color: var(--cg-violet); }
[data-bs-theme='dark'] .btn-icon:hover { color: var(--cg-violet-2); }
.theme-icon-dark { display: none; }
[data-bs-theme='dark'] .theme-icon-dark { display: inline; }
[data-bs-theme='dark'] .theme-icon-light { display: none; }

/* ---------- Barra de navegación ---------- */
.cg-navbar {
  padding: 12px 0; background: var(--cg-navbar);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, padding 0.2s;
}
.cg-navbar.scrolled { padding: 8px 0; border-bottom-color: var(--cg-border); }
.cg-navbar .nav-link { color: var(--cg-text); font-weight: 500; padding: 8px 14px !important; border-radius: 10px; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399.98px) { .cg-navbar .nav-link { padding: 8px 9px !important; font-size: 0.95rem; } }
.cg-nav-login { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 0.9rem; }
@media (max-width: 575.98px) { .cg-nav-login { width: 40px; padding: 0; } .cg-navbar .navbar-brand { margin-right: 0; } .cg-navbar .navbar-brand img { height: 30px; } }
.cg-navbar .nav-link:hover, .cg-navbar .nav-link.active { color: var(--cg-violet); background: var(--cg-gradient-soft); }
[data-bs-theme='dark'] .cg-navbar .nav-link:hover, [data-bs-theme='dark'] .cg-navbar .nav-link.active { color: var(--cg-violet-2); }
.navbar-toggler { box-shadow: none !important; }
.logo-dark { display: none; }
[data-bs-theme='dark'] .logo-dark { display: inline; }
[data-bs-theme='dark'] .logo-light { display: none; }
.dropdown-menu { border: 1px solid var(--cg-border); border-radius: 14px; padding: 6px; background: var(--cg-surface); box-shadow: var(--cg-shadow-sm); }
.dropdown-item { border-radius: 10px; }
.dropdown-item.active, .dropdown-item:active { background: var(--cg-gradient); }
@media (max-width: 991.98px) {
  .cg-navbar .navbar-collapse { margin-top: 10px; padding: 8px; border-radius: 16px; background: var(--cg-surface); border: 1px solid var(--cg-border); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.blob.b1 { width: 520px; height: 520px; right: -120px; top: -80px; background: #a78bfa; }
.blob.b2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: #7c3aed; opacity: 0.25; }
[data-bs-theme='dark'] .blob { opacity: 0.28; }
.grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 20px;
  border-radius: 999px; background: var(--cg-surface); border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--cg-violet); font-weight: 600; font-size: 0.88rem; box-shadow: var(--cg-shadow-sm);
}
[data-bs-theme='dark'] .pill-badge { color: var(--cg-violet-2); }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.08; font-weight: 800; margin-bottom: 20px; }
.hero-sub { font-size: 1.12rem; line-height: 1.7; color: var(--cg-muted); max-width: 560px; margin: 0 auto 28px; }
@media (min-width: 992px) { .hero-sub { margin-left: 0; } }
.hero-micro { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 0; margin: 22px 0 0; list-style: none; color: var(--cg-muted); font-size: 0.9rem; }
@media (min-width: 992px) { .hero-micro { justify-content: flex-start; } }
.hero-micro i { color: var(--cg-green); margin-right: 6px; }

/* ---------- Botones de tiendas ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 992px) { .hero .store-buttons { justify-content: flex-start; } }
.store-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 190px;
  padding: 10px 20px; border-radius: 14px; background: #0f0f10; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12); transition: transform 0.15s, box-shadow 0.15s;
}
[data-bs-theme='dark'] .store-btn { background: #fff; color: #0f0f10; }
.store-btn:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 15, 16, 0.25); }
.store-btn i { font-size: 1.7rem; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 0.7rem; opacity: 0.8; }
.store-btn strong { font-size: 1.1rem; font-weight: 600; }
.store-btn.is-soon { cursor: default; opacity: 0.92; }
.store-btn.is-soon:hover { transform: none; box-shadow: none; }
.store-btn .soon-badge {
  position: absolute; top: -9px; right: 10px; padding: 1px 9px; border-radius: 999px;
  background: var(--cg-gradient); color: #fff; font-style: normal; font-size: 0.68rem; font-weight: 600;
}
.store-btn.is-preferred { outline: 3px solid rgba(124, 58, 237, 0.45); outline-offset: 2px; }
.store-btn-lg { min-width: 220px; padding: 12px 24px; }

/* ---------- Maqueta del teléfono ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone {
  position: relative; width: 300px; height: 610px; padding: 12px; border-radius: 46px;
  background: #0f0f10; box-shadow: 0 40px 80px rgba(76, 29, 149, 0.35), inset 0 0 0 2px #2a2a33;
  animation: floaty 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 999px; background: #0f0f10; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #f5f4fa; color: #16151c; display: flex; flex-direction: column; font-size: 11px; }
[data-bs-theme='dark'] .phone-screen { background: #0f0f10; color: #f3f2f8; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 46px 14px 14px; background: var(--cg-gradient); color: #fff; }
.app-bar strong { display: block; font-size: 12px; }
.app-bar small { opacity: 0.85; font-size: 9.5px; }
.app-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.22); font-weight: 700; font-size: 10px; }
.app-body { flex: 1; padding: 12px 12px 0; overflow: hidden; }
.app-hello { margin: 0 0 8px; font-weight: 700; font-size: 13px; }
.app-seg { display: flex; gap: 4px; padding: 3px; margin-bottom: 10px; border-radius: 10px; background: #ece9f8; }
[data-bs-theme='dark'] .app-seg { background: #22222a; }
.app-seg span { flex: 1; padding: 5px 0; border-radius: 8px; text-align: center; font-weight: 600; color: #8a879c; }
.app-seg .on { background: var(--cg-gradient); color: #fff; }
.app-card { padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(76, 29, 149, 0.08); }
[data-bs-theme='dark'] .app-card { background: #1a1a1f; }
.app-muted { color: #8a879c; }
.app-big { font-size: 19px; color: #16a34a; }
.app-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, 0.06); }
[data-bs-theme='dark'] .app-split { border-top-color: rgba(255, 255, 255, 0.08); }
.app-split div { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; }
.app-split small { color: #8a879c; font-size: 9.5px; }
.app-split strong { grid-column: 2; font-size: 12px; }
.app-split .dot { grid-row: span 2; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 9px; }
.dot.in, .ico.in { background: rgba(22, 163, 74, 0.14); color: #16a34a; }
.dot.out, .ico.out { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.app-actions span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 0; border-radius: 11px; color: #fff; font-weight: 600; }
.app-actions .in { background: #16a34a; }
.app-actions .out { background: #b91c1c; }
.app-label { margin: 4px 0 6px; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8a879c; }
.app-list { border-radius: 14px; background: #fff; padding: 2px 10px; }
[data-bs-theme='dark'] .app-list { background: #1a1a1f; }
.app-list div { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.app-list div + div { border-top: 1px solid rgba(0, 0, 0, 0.05); }
[data-bs-theme='dark'] .app-list div + div { border-top-color: rgba(255, 255, 255, 0.06); }
.app-list .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; }
.app-list p { flex: 1; margin: 0; font-weight: 600; line-height: 1.2; }
.app-list small { display: block; font-weight: 400; color: #8a879c; font-size: 9px; }
.app-list b.in { color: #16a34a; }
.app-list b.out { color: #dc2626; }
.app-tabs { display: flex; justify-content: space-around; padding: 11px 0 16px; background: #fff; color: #a3a0b5; font-size: 14px; border-top: 1px solid rgba(0, 0, 0, 0.05); }
[data-bs-theme='dark'] .app-tabs { background: #1a1a1f; border-top-color: rgba(255, 255, 255, 0.06); }
.app-tabs .on { color: #7c3aed; }

.toast-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 16px; background: var(--cg-surface); border: 1px solid var(--cg-border);
  box-shadow: var(--cg-shadow); font-size: 0.82rem; z-index: 4; max-width: 240px;
}
.toast-card strong { display: block; font-weight: 600; line-height: 1.25; }
.toast-card small { color: var(--cg-muted); }
.toast-card .ti { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.ti.in { background: var(--cg-green-soft); color: var(--cg-green); }
.ti.wa { background: rgba(37, 211, 102, 0.15); color: #1faa52; font-size: 1.1rem; }
.ti.rate { background: var(--cg-gradient-soft); color: var(--cg-violet); }
.toast-card.t1 { top: 150px; left: 0; animation: floaty 7s ease-in-out 0.5s infinite; }
.toast-card.t2 { top: 26px; right: 0; animation: floaty 6.5s ease-in-out 1s infinite; }
.toast-card.t3 { bottom: 34px; right: 0; animation: floaty 7.5s ease-in-out 1.5s infinite; }
@media (min-width: 1200px) {
  .toast-card.t1 { left: -10px; }
  .toast-card.t2 { right: -20px; }
  .toast-card.t3 { right: -30px; }
}
@media (max-width: 575.98px) {
  .phone { width: 260px; height: 530px; }
  .toast-card { font-size: 0.74rem; max-width: 190px; }
  .toast-card.t1 { left: -6px; top: 170px; }
  .toast-card.t2 { right: -8px; top: 10px; }
  .toast-card.t3 { right: -8px; bottom: 20px; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Franja ---------- */
.strip { padding: 22px 0; border-top: 1px solid var(--cg-border); border-bottom: 1px solid var(--cg-border); background: var(--cg-surface); }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 0; padding: 0; list-style: none; font-weight: 600; color: var(--cg-muted); }
.strip-list i { margin-right: 8px; color: var(--cg-violet); }
[data-bs-theme='dark'] .strip-list i { color: var(--cg-violet-2); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cg-bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2, .h-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 10px 0 14px; }
.section-head p { color: var(--cg-muted); font-size: 1.08rem; line-height: 1.7; margin: 0; }
.kicker {
  display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--cg-gradient-soft);
  color: var(--cg-violet); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
}
[data-bs-theme='dark'] .kicker { color: var(--cg-violet-2); }

/* ---------- Tarjetas de funciones ---------- */
.feature-card, .why-card {
  height: 100%; padding: 28px; border-radius: 22px; background: var(--cg-surface);
  border: 1px solid var(--cg-border); box-shadow: var(--cg-shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover, .why-card:hover { transform: translateY(-4px); box-shadow: var(--cg-shadow); border-color: rgba(124, 58, 237, 0.3); }
.feature-card h3, .why-card h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.feature-card p, .why-card p { margin: 0; color: var(--cg-muted); line-height: 1.65; }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; }
.feature-icon.green { background: var(--cg-green-soft); color: var(--cg-green); }
.feature-icon.violet { background: var(--cg-gradient-soft); color: var(--cg-violet); }
[data-bs-theme='dark'] .feature-icon.violet { color: var(--cg-violet-2); }
.feature-icon.orange { background: var(--cg-orange-soft); color: var(--cg-orange); }
.feature-icon.blue { background: var(--cg-blue-soft); color: var(--cg-blue); }
.feature-icon.pink { background: var(--cg-pink-soft); color: var(--cg-pink); }
.tag-soon { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--cg-orange-soft); color: var(--cg-orange); font-size: 0.68rem; font-weight: 600; }

/* ---------- Destacados ---------- */
.highlight + .highlight { margin-top: 96px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-weight: 500; }
.check-list i { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; background: var(--cg-green-soft); color: var(--cg-green); }
.check-list.light li { color: #fff; }
.check-list.light i { background: rgba(255, 255, 255, 0.2); color: #fff; }

.visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; padding: 30px; border-radius: 28px; background: var(--cg-gradient-soft); overflow: hidden; }
.visual::before { content: ''; position: absolute; width: 260px; height: 260px; right: -60px; top: -60px; border-radius: 50%; background: rgba(167, 139, 250, 0.35); filter: blur(40px); }
.v-card { position: relative; padding: 18px; border-radius: 18px; background: var(--cg-surface); border: 1px solid var(--cg-border); box-shadow: var(--cg-shadow); }
.v-main { width: min(100%, 380px); }
.v-muted { color: var(--cg-muted); }
.v-float { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; animation: floaty 7s ease-in-out infinite; }
.v-f1 { right: 18px; bottom: 22px; }
.v-f2 { left: 18px; top: 22px; flex-direction: row; gap: 6px; animation-delay: 1s; }
.v-rate { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; }
.v-rate span { flex: 1; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--cg-border); font-size: 1.3rem; font-weight: 700; }
.v-rate i { color: var(--cg-violet); }
.chip-pay { padding: 5px 10px; border-radius: 999px; background: var(--cg-surface-2); font-size: 0.8rem; font-weight: 600; }
.v-av, .v-sq { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; background: var(--cg-gradient); color: #fff; font-weight: 700; }
.v-av { border-radius: 50%; }
.v-sq { border-radius: 11px; }
.v-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--cg-border); }
.v-row.total { font-size: 1.05rem; }
.v-badge { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--cg-green-soft); color: var(--cg-green); }
.v-badge.warn, .v-badge.low { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.v-badge.out { background: var(--cg-red-soft); color: var(--cg-red); }
.v-prod { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.v-prod + .v-prod { border-top: 1px solid var(--cg-border); }
.v-float.wa { flex-direction: row; align-items: center; gap: 10px; max-width: 280px; left: 18px; right: auto; bottom: 18px; font-size: 0.86rem; background: #dcfce7; color: #14532d; border-color: #bbf7d0; }
[data-bs-theme='dark'] .v-float.wa { background: #143322; color: #bbf7d0; border-color: #1f4d33; }
.v-float.wa i { font-size: 1.5rem; color: #1faa52; }

/* ---------- Para quién ---------- */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audience-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--cg-surface); border: 1px solid var(--cg-border); font-weight: 600; box-shadow: var(--cg-shadow-sm); }
.audience-chip i { color: var(--cg-violet); }
[data-bs-theme='dark'] .audience-chip i { color: var(--cg-violet-2); }
.story { display: flex; gap: 20px; align-items: flex-start; max-width: 760px; margin: 48px auto 0; padding: 28px; border-radius: 22px; background: var(--cg-gradient-soft); border: 1px solid rgba(124, 58, 237, 0.18); }
.story h3 { font-size: 1.15rem; margin-bottom: 6px; }
.story p { margin: 0; color: var(--cg-muted); line-height: 1.7; }
.story-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cg-gradient); color: #fff; }

/* ---------- Pasos ---------- */
.step { position: relative; height: 100%; padding: 32px 26px; border-radius: 22px; background: var(--cg-surface); border: 1px solid var(--cg-border); text-align: center; }
.step-n { position: absolute; top: 16px; right: 20px; font-size: 3rem; font-weight: 800; line-height: 1; color: rgba(124, 58, 237, 0.12); }
.step-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; font-size: 1.5rem; background: var(--cg-gradient); color: #fff; box-shadow: 0 12px 26px rgba(124, 58, 237, 0.3); }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--cg-muted); }

/* ---------- Precios ---------- */
.price-card { position: relative; height: 100%; padding: 34px 28px 28px; border-radius: 24px; background: var(--cg-surface); border: 1px solid var(--cg-border); box-shadow: var(--cg-shadow-sm); display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.3rem; margin: 0; }
.price-card > p { color: var(--cg-muted); }
.price { margin: 12px 0 10px; font-size: 3rem; font-weight: 800; line-height: 1; }
.price sup { font-size: 1.3rem; top: -1.2rem; margin-right: 2px; }
.price small { display: block; margin-top: 8px; font-size: 0.9rem; font-weight: 500; color: var(--cg-muted); }
.price-card .check-list { flex: 1; margin-bottom: 20px; }
.price-badge { position: absolute; top: -13px; left: 28px; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--cg-violet); font-size: 0.78rem; font-weight: 700; box-shadow: var(--cg-shadow-sm); }
.price-badge.soft { background: var(--cg-surface-2); color: var(--cg-muted); }
.price-card.featured { background: var(--cg-gradient); color: #fff; border: 0; box-shadow: 0 26px 60px rgba(91, 33, 246, 0.35); }
.price-card.featured h3, .price-card.featured .price, .price-card.featured > p, .price-card.featured .price small { color: #fff; }
.price-note { margin: 32px auto 0; max-width: 680px; color: var(--cg-muted); text-align: center; }
.price-note i { margin-right: 8px; color: var(--cg-violet); }

/* ---------- Hoja de ruta ---------- */
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.roadmap-col { padding: 22px; border-radius: 22px; background: var(--cg-surface); border: 1px solid var(--cg-border); }
.roadmap-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 14px; }
.roadmap-title .dot { width: 10px; height: 10px; border-radius: 50%; }
.roadmap-title.live .dot { background: var(--cg-green); box-shadow: 0 0 0 4px var(--cg-green-soft); }
.roadmap-title.building .dot { background: var(--cg-orange); box-shadow: 0 0 0 4px var(--cg-orange-soft); }
.roadmap-title.next .dot { background: var(--cg-violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
.roadmap-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border-radius: 14px; background: var(--cg-surface-2); font-weight: 500; }
.roadmap-item i { width: 20px; text-align: center; }
@media (min-width: 992px) {
  .roadmap { grid-template-columns: 2fr 1fr; }
  .roadmap-col.is-wide .roadmap-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
}
.roadmap-item.live i { color: var(--cg-green); }
.roadmap-item.building i { color: var(--cg-orange); }
.roadmap-item.next i { color: var(--cg-violet); }
[data-bs-theme='dark'] .roadmap-item.next i { color: var(--cg-violet-2); }

/* ---------- Comparación ---------- */
.compare { overflow-x: auto; border-radius: 22px; border: 1px solid var(--cg-border); background: var(--cg-surface); box-shadow: var(--cg-shadow-sm); }
.compare .table { --bs-table-bg: transparent; --bs-table-color: var(--cg-text); min-width: 560px; }
.compare th, .compare td { padding: 16px 18px; border-color: var(--cg-border); }
.compare thead th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cg-muted); }
.compare td, .compare thead th:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 500; }
.compare .col-app { background: var(--cg-gradient-soft); }
.compare thead .col-app { color: var(--cg-violet); }
.compare i { font-size: 1.2rem; }
.compare .yes { color: var(--cg-green); }
.compare .partial { color: #d97706; }
.compare .no { color: var(--cg-muted); opacity: 0.55; }

/* ---------- Preguntas ---------- */
.cg-accordion { --bs-accordion-bg: var(--cg-surface); --bs-accordion-border-color: var(--cg-border); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: var(--cg-surface); --bs-accordion-active-color: var(--cg-violet); }
[data-bs-theme='dark'] .cg-accordion { --bs-accordion-active-color: var(--cg-violet-2); }
.cg-accordion .accordion-item { margin-bottom: 12px; border: 1px solid var(--cg-border) !important; border-radius: 16px !important; overflow: hidden; }
.cg-accordion .accordion-button { font-weight: 600; font-size: 1rem; padding: 18px 20px; }
.cg-accordion .accordion-body { color: var(--cg-muted); line-height: 1.7; padding: 0 20px 20px; }

/* ---------- CTA final ---------- */
.final-cta { padding: 20px 0 110px; }
.cta-box { position: relative; padding: 60px 30px; border-radius: 32px; text-align: center; background: var(--cg-gradient); color: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(91, 33, 246, 0.35); }
.cta-box::before, .cta-box::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.cta-box::before { width: 300px; height: 300px; left: -80px; top: -120px; }
.cta-box::after { width: 220px; height: 220px; right: -60px; bottom: -90px; }
.cta-box h2 { position: relative; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 680px; margin: 16px auto 10px; }
.cta-box p { position: relative; opacity: 0.9; font-size: 1.1rem; margin-bottom: 28px; }
.cta-logo { position: relative; padding: 10px; border-radius: 20px; background: #fff; }
.cta-box .store-btn { background: #fff; color: #0f0f10; }

/* ---------- Pie ---------- */
.cg-footer { position: relative; padding: 64px 0 28px; background: #0f0f10; color: #d6d3e4; }
.cg-footer h6 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.cg-footer a { color: #d6d3e4; }
.cg-footer a:hover { color: #fff; }
.cg-footer li { margin-bottom: 8px; }
.footer-muted { color: #a09db3; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #a09db3; font-size: 0.88rem; }
.social { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cg-gradient); color: #fff !important; box-shadow: 0 12px 26px rgba(124, 58, 237, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 1000; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Páginas legales y 404 ---------- */
.legal-hero { padding: 130px 0 30px; background: var(--cg-gradient-soft); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 18px 0 10px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.legal-date { display: inline-flex; gap: 8px; align-items: center; color: var(--cg-muted); font-size: 0.9rem; }
.legal-card { padding: 36px; border-radius: 24px; background: var(--cg-surface); border: 1px solid var(--cg-border); box-shadow: var(--cg-shadow-sm); }
.legal-card h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin: 30px 0 12px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h2 span { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; background: var(--cg-gradient-soft); color: var(--cg-violet); font-size: 0.9rem; }
.legal-card p, .legal-card li { color: var(--cg-muted); line-height: 1.75; }
.legal-card ul { padding-left: 1.2rem; }
@media (max-width: 575.98px) { .legal-card { padding: 22px; } }
.notfound { padding: 170px 0 120px; }
.nf-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: var(--cg-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Precios: mensual/anual y planes ---------- */
.billing-toggle { display: flex; width: max-content; max-width: 100%; margin: -24px auto 40px; padding: 5px; gap: 4px; border-radius: 999px; background: var(--cg-surface); border: 1px solid var(--cg-border); box-shadow: var(--cg-shadow-sm); }
.billing-toggle button { border: 0; background: transparent; color: var(--cg-muted); font-weight: 600; padding: 9px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.billing-toggle button.active { background: var(--cg-gradient); color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3); }
.save-chip { padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: var(--cg-green-soft); color: var(--cg-green); }
.billing-toggle button.active .save-chip { background: rgba(255, 255, 255, 0.22); color: #fff; }
.price-tagline { margin: 6px 0 0; color: var(--cg-muted); font-size: 0.95rem; min-height: 2.9em; }
.price-card.featured .price-tagline { color: rgba(255, 255, 255, 0.85); }
.price-card .check-list { margin-top: 8px; }
.btn-soft { background: var(--cg-gradient-soft); color: var(--cg-violet); border: 1px solid rgba(124, 58, 237, 0.25); }
.btn-soft:hover, .btn-soft:focus { background: var(--cg-violet); color: #fff; border-color: var(--cg-violet); }
[data-bs-theme='dark'] .btn-soft { color: var(--cg-violet-2); }
[data-bs-theme='dark'] .btn-soft:hover { color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cg-violet); text-decoration: none; }
.link-more:hover { gap: 12px; color: var(--cg-violet-3); }
[data-bs-theme='dark'] .link-more { color: var(--cg-violet-2); }
.link-more i { transition: transform 0.2s; }
.cta-box .d-flex { position: relative; }

/* ---------- Página de funcionalidades ---------- */
.page-hero { padding: 130px 0 30px; background: var(--cg-gradient-soft); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 12px; max-width: 820px; }
.page-hero .lead { color: var(--cg-muted); max-width: 720px; }
.feature-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.feature-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cg-surface); border: 1px solid var(--cg-border); color: var(--cg-text); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.feature-jump a:hover { border-color: var(--cg-violet-2); color: var(--cg-violet); }
.feature-jump i { color: var(--cg-violet); font-size: 0.85rem; }
.plan-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--cg-muted); font-size: 0.92rem; }
.plan-legend > i { color: var(--cg-violet); }
.plan-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; vertical-align: 2px; white-space: nowrap; }
.plan-tag.starter { background: var(--cg-blue-soft); color: var(--cg-blue); }
.plan-tag.business { background: var(--cg-gradient-soft); color: var(--cg-violet); }
[data-bs-theme='dark'] .plan-tag.business { color: var(--cg-violet-2); }
.feature-group { height: 100%; padding: 28px; border-radius: 22px; background: var(--cg-surface); border: 1px solid var(--cg-border); box-shadow: var(--cg-shadow-sm); scroll-margin-top: 100px; }
.feature-group header { display: flex; gap: 16px; align-items: flex-start; }
.feature-group header .feature-icon { flex: 0 0 auto; }
.feature-group h2 { font-size: 1.2rem; margin: 2px 0 4px; }
.feature-group header p { margin: 0; color: var(--cg-muted); font-size: 0.95rem; }
.feature-group .check-list li { font-weight: 400; }
#comparar, #precios { scroll-margin-top: 80px; }
.plans-compare .table { min-width: 620px; }
.plans-compare thead th { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--cg-text); }
.plans-compare .plan-price { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 500; color: var(--cg-muted); }
.plans-compare td { font-weight: 600; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .toast-card, .v-float { animation: none; }
}
