:root {
  --bg: #F5F5F5;
  --card: #FFFFFF;
  --ink: #001661;
  --muted: #4e6399;
  --brand: #0092FF;
  --brand-dark: #1D39FF;
  --accent: #43C6F6;
  --line: #dbe2ef;
  --gradient-brand: linear-gradient(135deg, #43C6F6 0%, #1D39FF 100%);
  --shadow: 0 20px 40px rgba(0, 22, 97, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Ubuntu, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 72px) 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 227, 242, 0.8);
}
.brand img { width: 132px; margin-bottom: -14px; transition: width 0.3s ease; }
.hamburger { display: none; background: transparent; border: none; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; margin-left: auto; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--brand); border-radius: 3px; transition: all 0.3s ease; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--brand); }
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 84px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 146, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 146, 255, 0.35); }
.btn-secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; font-weight: 700; }
.btn-small { min-height: 40px; padding: 0 16px; }

.hero { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; padding-top: 32px; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.45rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -0.06em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--muted); max-width: 760px; }
.proof-line { color: var(--ink); font-weight: 800; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; text-align: center; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 22, 97, 0.08); border-color: var(--brand); }
.prop-icon { color: var(--brand); margin-bottom: 16px; width: 32px; height: 32px; }
.prop-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--ink); }
.prop-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.hero-card { position: relative; padding: 18px; background: linear-gradient(135deg, #fff, #f0f8ff); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.hero-card img { border-radius: 18px; }
.floating-card { position: absolute; right: -8px; bottom: 28px; width: min(280px, 78%); padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); font-weight: 900; }
.floating-card small { color: var(--muted); font-weight: 600; }

.pain, .closing { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.pain p:last-child, .closing p { font-size: 1.25rem; color: var(--muted); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); }

.calculator, .solution, .trust, .pricing, .faq, .how { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 46px; margin-top: 28px; box-shadow: var(--shadow); }
.calc-form { display: grid; gap: 32px; }
.form-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.form-section-title { grid-column: 1 / -1; font-size: 1.2rem; margin-bottom: 8px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.form-submit { display: flex; justify-content: flex-end; }
.btn-full { width: auto; padding: 0 32px; }
label { display: grid; gap: 7px; font-weight: 800; color: var(--ink); }
input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; }
input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 146, 255, 0.1); }
.helper-text { font-size: 0.85rem; color: var(--muted); font-weight: 400; margin-top: 2px; }

.feature-grid, .trust-grid, .faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; }
.feature-grid article, .trust-grid article, .price-grid article, details { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: #fff; }
.feature-grid p, .trust-grid p, .price-grid p, details p { color: var(--muted); margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-weight: 800; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: #fff; }
.price { font-size: 1.5rem; color: var(--ink) !important; font-weight: 900; margin-bottom: 4px; }
.price-grid article { text-align: center; display: flex; flex-direction: column; }
.price-grid hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.price-grid small { display: block; color: var(--muted); font-size: 0.85rem; }
.freemium-banner { background: var(--gradient-brand); color: #fff; text-align: center; padding: 18px; border-radius: 20px; font-weight: 500; margin-bottom: 24px; box-shadow: var(--shadow); }
.highlight { outline: 3px solid rgba(0, 146, 255, .3); transform: translateY(-6px); background: #f0f8ff !important; border-color: var(--brand) !important; }
.highlight .price { color: var(--brand) !important; }
summary { cursor: pointer; font-weight: 900; }

/* Modal Styles */
.modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }
.modal-container {
  background: #fff; width: min(500px, 90%);
  border-radius: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  position: relative; overflow: hidden;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-backdrop.active .modal-container { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 28px; line-height: 1;
  color: var(--muted); cursor: pointer; transition: color 0.3s;
}
.modal-close:hover { color: var(--ink); }
.modal-content { padding: 32px; }
.modal-title { font-size: 1.5rem; margin-bottom: 4px; }
.modal-subtitle { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.loss-breakdown { display: grid; gap: 16px; }
.loss-item { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.loss-item.highlight { background: #f0f8ff; border-color: var(--brand); }
.loss-label { font-weight: 700; color: var(--muted); }
.loss-item.highlight .loss-label { color: var(--brand); }
.loss-value { font-size: 1.25rem; color: var(--ink); }
.loss-item.highlight .loss-value { color: var(--brand); font-size: 1.5rem; }
.modal-footer-msg {
  background: #0f172a;
  color: #f8fafc;
  padding: 24px 32px; font-size: 0.95rem; line-height: 1.5;
}

.faq-grid { grid-template-columns: repeat(2, 1fr); }
.closing { text-align: left; }
.footer { padding: 34px 20px; text-align: center; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 16px; }
  .brand { justify-self: start; }
  .brand img { width: 70px; }
  .hamburger { display: flex; justify-self: end; order: 3; margin: 0; }
  .nav .btn-small { justify-self: center; order: 2; margin: 0; }
  .nav-links { 
    display: none; 
    order: 4; 
    grid-column: 1 / -1;
    width: 100%; 
    flex-direction: column; 
    padding: 20px 0; 
    text-align: center; 
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--line);
    margin-top: 14px;
  }
  .nav-links.active { display: flex; }
  .hero { padding-top: 16px; }
  .hero, .pain, .closing { grid-template-columns: 1fr; }
  .feature-grid, .trust-grid, .steps, .faq-grid, .props-grid, .form-section { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .form-submit { justify-content: stretch; }
  .btn-full { width: 100%; }
  .calculator, .solution, .trust, .pricing, .faq, .how { padding: 28px; border-radius: 24px; }
  .section { width: min(100% - 28px, 1180px); padding: 56px 0; }
  h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .floating-card { position: static; width: 100%; margin-top: 14px; }
}

/* Tailwind Custom Utilities */
.w-full { width: 100%; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-6 { padding: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.pb-2 { padding-bottom: 0.5rem; }
.border-b { border-bottom: 1px solid var(--line); border-bottom-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:text-base { font-size: 1rem; }
}

@media (min-width: 768px) {
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:w-auto { width: auto; }
}


.logo-destacado { width: 85px !important; height: auto !important; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); margin-bottom: 0 !important; padding: 4px; background: white; }
