:root {
  --bg-primary: #090a0d;
  --bg-secondary: #101217;
  --bg-card: #151821;
  --bg-card-hover: #1b1f2b;
  --bg-glass: rgba(21, 24, 33, 0.82);

  --crimson-dark: #7a0c14;
  --crimson-main: #a8131e;
  --crimson-bright: #dc2626;
  --crimson-glow: rgba(220, 38, 38, 0.35);

  --silver-bright: #f3f4f6;
  --silver-main: #d1d5db;
  --silver-muted: #9ca3af;
  --silver-dark: #6b7280;

  --gold-accent: #f59e0b;
  --green-pos: #15803d;
  --green-bright: #22c55e;
  --blue-pos: #1d4ed8;
  --whatsapp: #25d366;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-crimson: rgba(220, 38, 38, 0.45);

  --font-heading: 'Outfit', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--silver-bright);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}

body {
  background-image:
    radial-gradient(circle at 15% 10%, rgba(168, 19, 30, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(168, 19, 30, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(168, 19, 30, 0.12) 0%, transparent 50%);
  line-height: 1.6;
  position: relative;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* Prevent any grid or flex child from overflowing screen width */
.hero-grid > *,
.showcase-grid > *,
.checkout-layout > *,
.modules-grid > *,
.pricing-grid > *,
.form-grid > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #262a36;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--crimson-main);
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Metallic & Brand Typography */
.text-metallic {
  background: linear-gradient(180deg, #ffffff 0%, #d1d5db 55%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-crimson {
  background: linear-gradient(135deg, #ff3b47 0%, #c81926 55%, #8f0d17 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(168, 19, 30, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: 100%;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.section-subtitle {
  color: var(--silver-muted);
  font-size: 1.05rem;
  overflow-wrap: break-word;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 10, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(9, 10, 13, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 12px;
}

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

.brand-logo img.logotype {
  height: 36px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(220, 38, 38, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--silver-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--silver-bright);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson-bright) 0%, var(--crimson-main) 60%, var(--crimson-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver-bright);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.48);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--silver-muted);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.highlight-label {
  font-size: 0.82rem;
  color: var(--silver-muted);
}

/* Phone Mockup (Inspired directly by BarberOS real POS UI) */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.glow-backdrop {
  position: absolute;
  width: 100%;
  max-width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.35) 0%, transparent 70%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 370px;
  background: #141619;
  border-radius: 40px;
  padding: 12px;
  border: 3px solid #2d3139;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 18px rgba(0, 0, 0, 0.8);
}

.phone-notch {
  width: 110px;
  height: 20px;
  background: #090a0c;
  border-radius: 999px;
  margin: 4px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.phone-notch .speaker {
  width: 38px;
  height: 5px;
  background: #232730;
  border-radius: 4px;
}

.phone-notch .camera {
  width: 8px;
  height: 8px;
  background: #1e293b;
  border-radius: 50%;
}

.phone-screen {
  background: #181a1f;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pos-topbar {
  background: #20232a;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pos-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.pos-rate-badge {
  background: #14161b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 0.72rem;
  color: var(--silver-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pos-rate-badge strong {
  color: var(--gold-accent);
  font-size: 0.84rem;
}

.pos-body {
  padding: 14px;
}

.pos-card {
  background: #1f2229;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.pos-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--silver-muted);
  margin-bottom: 5px;
}

.pos-label.crimson {
  color: #ef4444;
  margin-top: 10px;
}

.pos-input-row {
  display: flex;
  gap: 6px;
}

.pos-input {
  flex: 1;
  min-width: 0;
  background: #121418;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pos-btn-x {
  background: #181b20;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  width: 30px;
  border-radius: 8px;
  font-weight: 700;
  flex-shrink: 0;
}

.pos-btn-user {
  background: #2563eb;
  border: none;
  color: white;
  width: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pos-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 0.68rem;
  font-weight: 700;
}

.pos-check-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d1d5db;
}

.pos-check-redes {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #c4b5fd;
  padding: 4px 8px;
  border-radius: 6px;
}

.pos-cart-items {
  background: #14161b;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pos-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: #e5e7eb;
}

.pos-cart-line span.sub {
  color: #9ca3af;
  font-size: 0.68rem;
}

.pos-totals {
  margin: 10px 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pos-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--silver-muted);
}

.pos-total-usd {
  font-size: 1rem;
  color: #ffffff;
}

.pos-total-bs {
  font-size: 0.94rem;
  color: var(--gold-accent);
}

.pos-btn-charge {
  width: 100%;
  background: var(--green-pos);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  cursor: pointer;
}

.pos-btn-save {
  width: 100%;
  background: #1e3a8a;
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 9px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.74rem;
}

.floating-stat-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  z-index: 3;
  background: rgba(16, 18, 24, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-crimson);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
}

.floating-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Brand Banner Bar */
.brand-ribbon {
  background: linear-gradient(90deg, rgba(168, 19, 30, 0.12) 0%, rgba(21, 24, 33, 0.9) 50%, rgba(168, 19, 30, 0.12) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.ribbon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 16px 24px;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-main);
  font-weight: 600;
  font-size: 0.92rem;
}

.ribbon-item i {
  color: var(--crimson-bright);
  font-size: 1.15rem;
}

/* Modules Grid Section */
.modules-section {
  padding: 90px 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.module-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-crimson);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

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

.module-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(122, 12, 20, 0.1));
  border: 1px solid rgba(220, 38, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  font-size: 1.4rem;
}

.module-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--silver-main);
}

.module-card h3 {
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 800;
  color: #ffffff;
}

.module-card p {
  color: var(--silver-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.module-bullets {
  list-style: none;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--silver-main);
}

.module-bullets li i {
  color: var(--crimson-bright);
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Deep Dive: Financial & Reports Showcase */
.reports-showcase {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.4) 0%, rgba(16, 18, 23, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.dashboard-preview {
  background: #12151d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
  width: 100%;
  overflow: hidden;
}

.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dash-kpi {
  background: #191d28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
}

.dash-kpi span {
  font-size: 0.72rem;
  color: var(--silver-muted);
  display: block;
  margin-bottom: 4px;
}

.dash-kpi strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: block;
}

.dash-kpi.profit {
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.22), rgba(25, 29, 40, 0.9));
  border-color: rgba(34, 197, 94, 0.35);
}

.dash-kpi.profit strong {
  color: #4ade80;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.dash-table th {
  text-align: left;
  padding: 9px 10px;
  color: var(--silver-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  white-space: nowrap;
}

.dash-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--silver-bright);
  white-space: nowrap;
}

.badge-percent {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Pricing / Licencias Section */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.plan-card.popular {
  background: linear-gradient(180deg, rgba(168, 19, 30, 0.22) 0%, var(--bg-card) 45%);
  border: 2px solid var(--crimson-bright);
  box-shadow: 0 20px 45px rgba(185, 28, 28, 0.25);
}

.plan-card.lifetime {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, var(--bg-card) 50%);
  border: 2px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.15);
}

.plan-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-main));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
}

.plan-ribbon.gold {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-price-wrap {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver-muted);
}

.plan-saving {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.installment-callout {
  background: rgba(245, 158, 11, 0.14);
  border: 1px dashed rgba(245, 158, 11, 0.55);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: #fde68a;
  line-height: 1.45;
}

.installment-callout strong {
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
  font-size: 0.86rem;
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--silver-main);
  font-weight: 600;
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--silver-muted);
}

.plan-features li i {
  color: var(--crimson-bright);
  margin-top: 4px;
  flex-shrink: 0;
}

.lifetime-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(21, 24, 33, 0.96) 65%, rgba(168, 19, 30, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.demo-banner {
  margin-top: 22px;
  background: linear-gradient(135deg, rgba(21, 24, 33, 0.95) 0%, rgba(168, 19, 30, 0.2) 100%);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Automatic Subscription & Pago Movil Section */
.checkout-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 0%, rgba(168, 19, 30, 0.16) 0%, transparent 65%);
  border-top: 1px solid var(--border-subtle);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 32px;
  align-items: start;
}

.payment-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 96px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.Selected-plan-summary {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(21, 24, 33, 0.95));
  border: 1px solid rgba(220, 38, 38, 0.45);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.summary-plan-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fca5a5;
  font-weight: 700;
}

.summary-plan-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.summary-plan-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
}

.pagomovil-box {
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
}

.pagomovil-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.pagomovil-header h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: #171a23;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pm-label {
  font-size: 0.75rem;
  color: var(--silver-muted);
  display: block;
}

.pm-value {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.btn-copy {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--crimson-bright);
  color: #ffffff;
}

.activation-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.activation-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--silver-muted);
  overflow-wrap: anywhere;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--crimson-main);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Checkout Form Card */
.checkout-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--silver-main);
}

.form-group label span.req {
  color: var(--crimson-bright);
}

.form-control {
  width: 100%;
  background: #0e1016;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--crimson-bright);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

/* Plan Pills inside Form */
.plan-selector-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.plan-pill-label {
  cursor: pointer;
  min-width: 0;
}

.plan-pill-label input {
  display: none;
}

.plan-pill-box {
  background: #0e1016;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.plan-pill-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
}

.plan-pill-box span {
  font-size: 0.74rem;
  color: var(--silver-muted);
  display: block;
}

.plan-pill-label input:checked + .plan-pill-box {
  background: rgba(220, 38, 38, 0.18);
  border-color: var(--crimson-bright);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.28);
}

/* File Dropzone */
.file-upload-zone {
  border: 2px dashed rgba(220, 38, 38, 0.45);
  background: rgba(14, 16, 22, 0.7);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--crimson-bright);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 1.9rem;
  color: var(--crimson-bright);
  margin-bottom: 8px;
}

.receipt-preview {
  display: none;
  margin-top: 14px;
  background: #141720;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.receipt-preview.active {
  display: flex;
}

.receipt-preview img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-crimson);
  flex-shrink: 0;
}

.form-status-msg {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.form-status-msg.success {
  display: block;
  background: rgba(21, 128, 61, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
}

.form-status-msg.error {
  display: block;
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

/* Footer */
.footer {
  background: #060709;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #ffffff;
}

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

.footer-links a {
  color: var(--silver-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--crimson-bright);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--silver-dark);
  font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-tooltip {
  background: rgba(15, 17, 23, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.whatsapp-tooltip span.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
}

.whatsapp-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  position: relative;
  transition: transform 0.25s ease;
}

.whatsapp-circle::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover .whatsapp-circle {
  transform: scale(1.08);
}

@keyframes pulse-wa {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .showcase-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .payment-info-card {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    height: 68px;
  }

  .brand-logo img.logotype {
    height: 28px;
    max-width: 155px;
  }

  /* Hide desktop navbar buttons so topbar never overflows on phones */
  .nav-actions .btn-desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(12, 14, 19, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border-crimson);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 8px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
  }

  .hero {
    padding: 98px 0 56px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .highlight-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
  }

  .phone-mockup {
    max-width: 100%;
    border-radius: 32px;
    padding: 10px;
  }

  .floating-stat-card {
    position: static;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

  .ribbon-grid {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .ribbon-item {
    font-size: 0.85rem;
  }

  .modules-section,
  .reports-showcase,
  .pricing-section,
  .checkout-section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .modules-grid,
  .pricing-grid,
  .form-grid,
  .dash-kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .plan-selector-pills {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-preview,
  .payment-info-card,
  .checkout-form-card,
  .lifetime-banner,
  .demo-banner {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .Selected-plan-summary {
    padding: 14px;
  }

  .summary-plan-price {
    font-size: 1.65rem;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-circle {
    width: 54px;
    height: 54px;
    font-size: 1.65rem;
  }
}
