:root {
  --accent: #0055FF;
  --accent-light: color-mix(in srgb, var(--accent) 8%, #fff);
  --text: #111827;
  --muted: #586780;
  --line: rgba(0, 0, 0, 0.07);
  --line2: rgba(0, 0, 0, 0.13);
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--text);
}

.btn-demo {
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.btn-demo:hover {
  opacity: 0.85;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 7rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f8faff 0%, #ffffff 60%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0, 80, 255, 0.03) 39px, rgba(0, 80, 255, 0.03) 40px),
              repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0, 80, 255, 0.03) 39px, rgba(0, 80, 255, 0.03) 40px);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge span {
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0A1628;
  margin: 0 0 1.4rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin: 0 0 2.5rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-hero:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: #0A1628;
}

.stat-val span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Dashboard Mockup */
.mockup-browser {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 50, 200, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mockup-header {
  background: #F0F2F8;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.mockup-address {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 12px;
  border-radius: 4px;
  flex: 1;
}

.mockup-body {
  padding: 1.25rem;
  background: #F8FAFF;
}

.mockup-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mockup-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0A1628;
  letter-spacing: 0.04em;
}

.mockup-time {
  font-size: 0.68rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.mockup-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.mockup-stat-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
}
.mockup-stat-num.green { color: #00A870; }
.mockup-stat-num.dark { color: #0A1628; }
.mockup-stat-num.orange { color: #D97706; }

.mockup-stat-desc {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 1px;
}

.mockup-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mockup-table-row {
  display: grid;
  grid-template-columns: 1fr 70px 65px 60px;
  gap: 8px;
  padding: 8px 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.mockup-table-row.header {
  background: #F5F7FC;
}

.mockup-table-row:last-child {
  border-bottom: none;
}

.mockup-col-hdr {
  font-size: 0.63rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mockup-cell-text {
  font-size: 0.72rem;
  color: #1A2236;
}

.mockup-cell-mono {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.68rem;
}

.badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
}
.badge-success { background: rgba(0, 168, 112, 0.1); color: #00A870; }
.badge-danger { background: rgba(220, 38, 38, 0.1); color: #DC2626; }

.mockup-alert-card {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line2);
  border-left: 3px solid #DC2626;
  border-radius: 8px;
  padding: 11px 13px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.mockup-alert-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.mockup-alert-content {
  flex: 1;
  min-width: 0;
}

.mockup-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.mockup-alert-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0A1628;
}

.mockup-alert-time {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  flex-shrink: 0;
}

.mockup-alert-body {
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

.mockup-alert-footer {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}

/* Solutions Section */
.soluciones-section {
  padding: 5rem 3rem;
  background: #F5F7FC;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #0A1628;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin: 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3rem;
}

.solution-card {
  background: #fff;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-content {
  margin-bottom: 1.5rem;
}

.solution-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.solution-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0A1628;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.solution-item {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.solution-arrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.badge-accent {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
  vertical-align: middle;
  white-space: nowrap;
}

.solution-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.solution-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid var(--line2);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  background: #fafafa;
}

.solution-link-btn:hover {
  color: var(--accent);
  background: var(--accent-light);
  border-color: var(--accent);
}

.icon-store {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Prices Section */
.precios-section {
  padding: 5rem 3rem;
  background: #fff;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.price-card {
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card:hover {
  border-color: rgba(0, 85, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 85, 255, 0.08);
}

.price-card.featured {
  border: 1px solid var(--accent);
  background: #F5F8FF;
}

.price-content {
  margin-bottom: 2rem;
}

.price-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0A1628;
  margin-bottom: 0.25rem;
}

.price-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.price-amt {
  margin-bottom: 1.5rem;
}

.price-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0A1628;
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 0.8rem;
  color: var(--muted);
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-check {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-price-outline {
  display: block;
  text-align: center;
  width: 100%;
  padding: 0.7rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line2);
  color: var(--text);
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-price-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-price-primary {
  display: block;
  text-align: center;
  width: 100%;
  padding: 0.7rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.btn-price-primary:hover {
  opacity: 0.85;
}

.price-notes {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2rem;
  font-style: italic;
}

.price-notes-extra {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Contact Section */
.contacto-section {
  background: #F5F7FC;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 480px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit-form {
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-form:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-submit-form:active {
  transform: translateY(0);
}

.form-status {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  display: none;
}

.form-status.success {
  display: block;
  background: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.form-status.error {
  display: block;
  background: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

.form-status.loading {
  display: block;
  background: #EBF5FF;
  color: #1E429F;
  border: 1px solid #E1EFFE;
}

.or-whatsapp-text {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.5rem;
  display: block;
}

.or-whatsapp-link {
  color: #00A870;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.or-whatsapp-link:hover {
  opacity: 0.85;
}

.whatsapp-card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.wa-card-header {
  background: #F0F7F4;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  background: #00A870;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.wa-info-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0A1628;
}

.wa-status {
  font-size: 0.7rem;
  color: #00A870;
}

.wa-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ECE5DD;
}

.wa-msg-in {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 10px 14px;
  max-width: 88%;
  font-size: 0.8rem;
  color: #111827;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.wa-msg-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.wa-msg-opt-btn {
  background: #F0F7FF;
  border: 1px solid rgba(0, 85, 255, 0.15);
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 0.75rem;
  color: var(--accent);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.wa-msg-opt-btn:hover {
  background: #E0EFFF;
}

.wa-msg-out {
  background: #DCF8C6;
  border-radius: 10px 0 10px 10px;
  align-self: flex-end;
  padding: 10px 14px;
  max-width: 88%;
  font-size: 0.8rem;
  color: #111827;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Footer Section */
.footer {
  background: #0A1628;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand-suffix {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .navbar {
    padding: 0 1.5rem;
  }
  .navbar-logo-img {
    height: 42px;
  }
  .navbar-links {
    display: none;
  }
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 1.5rem 3rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .precios-section {
    padding: 4rem 1.5rem;
  }
  .prices-grid {
    grid-template-columns: 1fr;
  }
  .contacto-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }
  .footer {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar-logo-img {
    height: 36px;
  }
  .btn-demo {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  .mockup-body {
    padding: 0.75rem;
  }
  .mockup-stats-grid {
    gap: 6px;
  }
  .mockup-stat-card {
    padding: 8px 6px;
  }
  .mockup-stat-num {
    font-size: 1.1rem;
  }
  .mockup-stat-desc {
    font-size: 0.58rem;
    white-space: nowrap;
  }
  .mockup-table-row {
    grid-template-columns: 1fr 45px 50px 50px;
    gap: 4px;
    padding: 8px 6px;
  }
  .mockup-col-hdr {
    font-size: 0.55rem;
  }
  .mockup-cell-text {
    font-size: 0.65rem;
    line-height: 1.3;
  }
  .mockup-cell-mono {
    font-size: 0.6rem;
  }
  .badge {
    font-size: 0.55rem;
    padding: 1px 5px;
  }
}
