:root {
  --primary: #696cff;
  --primary-dark: #5e61e6;
  --bg: #f5f5f9;
  --surface: #ffffff;
  --surface-soft: #f9f9fc;
  --text: #22303e;
  --muted: #6d7882;
  --border: #dfe3e7;
  --shadow: 0 10px 30px rgba(34, 48, 62, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", Arial, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 5%, rgba(105, 108, 255, 0.12), transparent 32%),
    radial-gradient(circle at 5% 35%, rgba(105, 108, 255, 0.08), transparent 30%),
    var(--bg);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 0 !important;
  object-fit: contain;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
}

/* Utilidades */
.shadow-soft {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-card {
  background: var(--surface);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(105, 108, 255, 0.14);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--primary);
  font-size: 20px;
}

.feature-icon-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.metric-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.metric-badge:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(105, 108, 255, 0.14);
  transform: translateY(-4px);
}

.metric-row {
  justify-content: center;
}

.metric-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.14);
  color: var(--primary);
  font-size: 16px;
}

.metric-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}

.metric-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .metric-value {
    font-size: 20px;
  }
  
  .metric-label {
    font-size: 10px;
  }
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 28px auto;
  max-width: 90%;
}

@media (min-width: 992px) {
  .section-divider {
    margin: 34px auto;
  }
}

.full-screen-section {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.full-screen-section > .container {
  width: min(1140px, 92%);
}

.content-section {
  padding-top: clamp(2.2rem, 5vh, 4.25rem) !important;
  padding-bottom: clamp(2.2rem, 5vh, 4.25rem) !important;
}

#servicios .row {
  max-width: 1020px;
  margin-inline: auto;
}

#servicios .feature-card {
  min-height: 235px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.cta-block {
  background: linear-gradient(180deg, #ffffff, #fafafe);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* Bootstrap Overrides - Brand Colors */
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.navbar .btn-link {
  color: var(--primary) !important;
  font-weight: 600;
}

.navbar .btn-link:hover {
  color: var(--primary-dark) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary-subtle {
  background-color: rgba(105, 108, 255, 0.1) !important;
}

.text-primary-emphasis {
  color: var(--primary) !important;
}

/* Focus states */
.btn:focus,
.btn-primary:focus,
.btn-outline-primary:focus,
button:focus,
a:focus {
  outline: 2px solid var(--primary) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(105, 108, 255, 0.2) !important;
}

/* Link colors */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

/* Form controls */
input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(105, 108, 255, 0.15) !important;
  outline: none !important;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section-space {
  margin-block: 36px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 227, 231, 0.7);
  background: rgba(245, 245, 249, 0.92);
  backdrop-filter: blur(6px);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.brand-name {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.brand-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  padding: 24px 0 8px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 28px;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 16px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 640px;
}

.cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 20px;
  min-width: 152px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .22s ease;
}

.btn-sm {
  min-width: auto;
  padding: 9px 16px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7a6dff);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(105, 108, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.trust-inline {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.panel-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: flex-start;
}

.panel-list h3 {
  margin: 0;
  font-size: 16px;
}

.panel-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(34, 48, 62, 0.05);
}

.stat-card h3 {
  margin: 0;
  font-size: 28px;
  color: var(--primary);
}

.stat-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(34, 48, 62, 0.06);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  margin-bottom: 12px;
  font-size: 21px;
}

.card h3 {
  margin: 0;
  font-size: 24px;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.cta-card {
  background: linear-gradient(180deg, #ffffff, #fafafe);
}

.center {
  text-align: center;
}

.contact {
  margin-top: 10px;
}

/* Canvas de constelaciones */
.constellation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f9f9fc 50%, #f5f5f9 100%);
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
  transition: background-image 0.8s ease-in-out;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 245, 249, 0.76), rgba(245, 245, 249, 0.94));
  z-index: 0;
}

.hero-card {
  max-width: 100%;
}

.hero-floating-group {
  padding: 4px 8px;
  animation: heroFloat 4.6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-card .card-body {
  padding: 1.5rem !important;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .hero-card .card-body {
    padding: 2rem !important;
  }
}

.z-1 {
  position: relative;
  z-index: 1;
}

/* Tarjetas de precios */
.pricing-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(105, 108, 255, 0.15);
  transform: scale(1.02);
}

.pricing-recommended {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 0;
  z-index: 10;
}

.pricing-header {
  padding: 24px 24px 0;
}

.pricing-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount .currency {
  font-size: 18px;
  font-weight: 700;
}

.pricing-amount .amount {
  font-size: 42px;
}

.pricing-desc {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-footer {
  padding: 16px 24px 24px;
  margin-top: auto;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 16px 48px rgba(105, 108, 255, 0.2);
}

/* Tarjetas de comunidad */
.community-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.community-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}

.community-card h3 {
  margin-bottom: 4px;
  color: var(--text);
}

.community-perks {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.community-perks li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.community-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(105, 108, 255, 0.1);
  transform: translateY(-2px);
}

/* Secciones alternas */
.bg-light {
  background: var(--bg);
}

/* Comunidad - Sección interactiva */
.community-section {
  margin-bottom: 48px;
}

.community-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.community-featured-icon {
  font-size: 36px;
  color: white;
}

.community-featured h3 {
  margin-bottom: 0;
  color: white;
}

.community-featured p {
  color: rgba(255, 255, 255, 0.8);
}

.community-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-list-item {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.community-list-item i {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.community-list-item h4 {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.community-list-item p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.community-list-item:hover,
.community-list-item.active {
  border-color: var(--primary);
  background: rgba(105, 108, 255, 0.08);
  box-shadow: 0 10px 20px rgba(105, 108, 255, 0.12);
  transform: translateY(-3px);
}

.community-list-item:hover i,
.community-list-item.active i {
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 4px 10px rgba(105, 108, 255, 0.25));
}

.community-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.community-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  transition: transform 0.24s ease, background 0.24s ease;
}

.step:hover {
  transform: translateX(8px);
  background: rgba(105, 108, 255, 0.06);
}

.step-number {
  min-width: 28px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.step-number i {
  transition: transform 0.24s ease;
}

.step:hover .step-number i {
  transform: scale(1.15);
}

.step-content h5 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.step-content p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.community-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.community-phone img {
  max-width: 100%;
  height: auto;
}

.phone-mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.phone-mockup-container img {
  max-width: 100%;
  max-height: 390px;
  height: auto;
  object-fit: contain;
}

.community-frame {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 20px;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.community-pane {
  min-height: 520px;
  width: 100%;
}

.community-inner {
  min-height: 500px;
  align-content: center;
}

.pane-enter {
  animation: paneEnter 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes paneEnter {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Benefit boxes */
.benefit-box {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: all 0.3s ease;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-box:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(105, 108, 255, 0.1);
  transform: translateY(-2px);
}

.benefit-box i {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.benefit-box h5 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

.benefit-box p {
  margin: 0;
}

.community-pane .text-center .btn {
  min-width: 230px;
}

/* Rules list */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: all 0.3s ease;
}

.rule-item:hover {
  border-color: #20c997;
  background: rgba(32, 201, 151, 0.05);
}

.rule-item i {
  font-size: 20px;
  flex-shrink: 0;
}

.rule-item h5 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.rule-item p {
  margin: 0;
}
[data-animate] {
  opacity: 0;
  animation: none;
}

[data-animate].animate-in {
  animation: animateIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

[data-animate="up"].animate-in {
  animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

[data-animate="left"].animate-in {
  animation: slideLeft 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

[data-animate="right"].animate-in {
  animation: slideRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

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

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Transición del carrusel */
.fade-slide-enter-active,
.fade-slide-leave-active {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-slide-enter-from {
  opacity: 0;
  transform: translateX(20px);
}

.fade-slide-leave-to {
  opacity: 0;
  transform: translateX(-20px);
}

/* Testimonials */
.testimonial-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 52px;
}

.testimonial-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(34, 48, 62, 0.08);
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  font-style: italic;
}

.testimonial-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin-top: 20px;
  border-radius: 2px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  flex-shrink: 0;
}

.testimonial-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 6px 16px;
  font-weight: 600;
}

/* Controles del carrusel */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0;
  padding: 0;
}

.dot-btn.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

.carousel-btn {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  animation: arrowFloat 2.8s ease-in-out infinite;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-58%) scale(1.08);
}

@keyframes arrowFloat {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-58%);
  }
}

.carousel-prev {
  left: -34px;
}

.carousel-next {
  right: -34px;
}

.testimonial-card {
  position: relative;
}

.site-footer {
  background: #0d1116;
  color: #e5eaf0;
  padding: 64px 0 26px;
}

.footer-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.footer-text {
  color: #b8c0cb;
  margin-bottom: 18px;
  max-width: 520px;
}

.footer-subtitle {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #c3ccd8;
  font-size: 14px;
}

.footer-list a {
  color: #c3ccd8;
}

.footer-list a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #313844;
  color: #d4dbe5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(105, 108, 255, 0.15);
}

.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid #272d38;
  padding-top: 18px;
  text-align: center;
  color: #9ea7b4;
  font-size: 13px;
}

.floating-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.typing-bubble {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(34, 48, 62, 0.12);
  animation: bubblePulse 2.4s ease-in-out infinite;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
}

.typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: dotBlink 1s infinite ease-in-out;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.floating-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(34, 48, 62, 0.2);
  transition: transform 0.25s ease;
}

.floating-btn.telegram {
  background: linear-gradient(135deg, #696cff, #5e61e6);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #696cff, #5e61e6);
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.06);
  color: #fff;
}

@keyframes dotBlink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1.1); }
}

@keyframes bubblePulse {
  0%, 65%, 100% { opacity: 0; transform: translateY(8px); }
  10%, 55% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1030px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .card h3 {
    font-size: 21px;
  }

  .card p {
    font-size: 18px;
  }

  .phone-mockup-container {
    padding: 10px;
  }

  .phone-mockup-container img {
    max-height: 330px;
  }

  .testimonial-wrap {
    padding: 0 40px;
  }

  .community-frame {
    min-height: auto;
    display: block;
  }

  .community-pane {
    min-height: auto;
  }

  .community-inner {
    min-height: auto;
  }

  .full-screen-section {
    min-height: auto;
  }

  .carousel-prev {
    left: -14px;
  }

  .carousel-next {
    right: -14px;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    min-height: 66px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .btn {
    width: 100%;
  }

  .cta {
    width: 100%;
  }

  .trust-inline {
    font-size: 13px;
    gap: 8px;
  }

  .community-featured {
    min-height: 100px;
    padding: 12px !important;
  }

  .community-featured-icon {
    font-size: 28px;
  }

  .community-featured h3 {
    font-size: 14px;
  }

  .community-phone {
    min-height: 300px;
    margin-top: 20px;
  }

  .community-section {
    margin-bottom: 30px;
  }

  .floating-chat {
    right: 12px;
    bottom: 12px;
  }

  .typing-bubble {
    font-size: 11px;
    padding: 6px 10px;
  }
}
