:root {
  --primary: #0b1f3a;
  --secondary: #153c78;
  --accent: #ffc107;
  --success: #22c55e;
  --bg: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --line: rgba(148, 163, 184, .28);
  --glass: rgba(255, 255, 255, .1);
  --shadow: 0 24px 70px rgba(15, 23, 42, .14);
  --radius: 8px;
  --font-heading: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: 104px 0; }
.section-tint { background: #eef5ff; }
.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 193, 7, .18), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(34, 197, 94, .13), transparent 28%),
    linear-gradient(135deg, #07172d 0%, var(--primary) 50%, #102f61 100%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--accent);
  color: #111827;
  border-radius: var(--radius);
}

.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.2rem;
}

.nav-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, .84);
  font-size: .95rem;
  font-weight: 600;
}

.nav-menu a:not(.btn):hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: transparent;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-accent {
  color: #1a2433;
  background: linear-gradient(135deg, #ffe082, var(--accent));
  box-shadow: 0 14px 34px rgba(255, 193, 7, .28);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}
.btn-outline {
  color: var(--secondary);
  border-color: rgba(21, 60, 120, .22);
  background: var(--white);
}
.btn-small { min-height: 42px; padding-inline: 16px; }
.btn-full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .8rem;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  max-width: 780px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.trust-badges span { color: var(--success); font-weight: 900; }

.hero-visual {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
}

.trust-bar {
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}

.trust-grid div {
  padding: 25px 16px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.trust-grid div:first-child { border-left: 0; }
.trust-grid strong { display: block; color: var(--primary); font-size: 1.05rem; }
.trust-grid span { display: block; color: var(--muted); font-size: .86rem; }

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

.section-heading p:not(.eyebrow),
.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-copy p:not(.eyebrow),
.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255,255,255,.76);
}

.two-column,
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
}

.compare-card,
.metric-panel,
.lead-form,
.pricing-card,
.feature-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.compare-card {
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.compare-row:first-child { border-top: 0; }
.compare-row strong { color: var(--success); }
.compare-row.muted {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
}

.included-item .check-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .14);
  color: var(--success);
  font-weight: 900;
  font-size: .85rem;
}

.feature-card {
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 193, 7, .6);
  box-shadow: 0 26px 70px rgba(21, 60, 120, .16);
}

.feature-card .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-weight: 900;
}

.feature-card p,
.pricing-card li,
.review-card p {
  color: var(--muted);
}

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

.pricing-card {
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 193, 7, .2), transparent 30%),
    linear-gradient(145deg, var(--primary), var(--secondary));
  transform: translateY(-12px);
}

.pricing-card.featured li,
.pricing-card.featured .plan-for { color: rgba(255,255,255,.78); }

.ribbon {
  width: max-content;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #1a2433;
  background: var(--accent);
  font-weight: 800;
  font-size: .78rem;
}

.plan-for { min-height: 48px; margin: 0 0 18px; }
.price {
  margin: 8px 0 24px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}
.price span { font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
.featured .price span { color: rgba(255,255,255,.7); }

.pricing-card ul {
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.pricing-card li {
  padding: 10px 0 10px 26px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.pricing-card .btn { margin-top: auto; }

.metric-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.metric-panel div {
  padding: 34px;
  background: var(--white);
}

.metric-panel strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 2rem;
}

.metric-panel span { color: var(--muted); }

.migration .two-column { grid-template-columns: .9fr 1fr; }
.steps {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}

.steps strong { font-size: 1.1rem; }
.steps span { color: rgba(255,255,255,.72); }

.benefit-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, var(--primary), var(--secondary));
}

.benefit strong,
.benefit span { display: block; }
.benefit span { margin-top: 8px; color: rgba(255,255,255,.76); }

.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.review-card { padding: 28px; }
.review-card strong { color: #f59e0b; }
.review-card span { color: var(--secondary); font-weight: 800; }

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  position: relative;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  background: var(--secondary);
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.faq-item.is-open button span::after { transform: rotate(0); }

.faq-item > div {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.lead-section {
  background:
    linear-gradient(120deg, rgba(21, 60, 120, .08), rgba(255, 193, 7, .12)),
    var(--bg);
}

.lead-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--primary);
  font-weight: 700;
}

.lead-form label:nth-last-of-type(1),
.lead-form label:nth-last-of-type(2),
.lead-form .btn,
.form-note {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid rgba(100, 116, 139, .28);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus,
.faq-item button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(255, 193, 7, .55);
  outline-offset: 3px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.final-cta { padding: 80px 0; }
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.final-cta h2 { max-width: 560px; }
.final-cta p { color: rgba(255,255,255,.74); max-width: 430px; }

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h3 {
  color: #0f172a;
  font-size: 1rem;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #475569;
}

.footer-grid a:hover { color: var(--secondary); }
.footer-brand { margin-bottom: 16px; }
.footer-logo { display: block; width: auto; height: 60px; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }

.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a,
.socials span {
  width: 36px;
  height: 36px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(21, 60, 120, .18);
  border-radius: var(--radius);
}

.copyright {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(21, 60, 120, .14);
  font-size: .9rem;
}

.floating-whatsapp,
.sticky-cta {
  position: fixed;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
}

.floating-whatsapp {
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: var(--success);
  font-weight: 900;
  font-size: 1.35rem;
}

.sticky-cta {
  left: 50%;
  bottom: 22px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: #1a2433;
  background: var(--accent);
  font-weight: 800;
  transform: translate(-50%, 110px);
  transition: transform .24s ease;
}

.sticky-cta.is-visible { transform: translate(-50%, 0); }

/* Conversion navigation */
.site-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  background: #f8fafc;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .1);
  backdrop-filter: blur(16px);
}
.top-info-bar { height: 35px; color: #475569; border-bottom: 1px solid rgba(15, 23, 42, .08); background: #f8fafc; font-size: .76rem; font-weight: 600; }
.top-info-inner, .top-benefits, .top-whatsapp, .header-actions, .trust-badges-nav { display: flex; align-items: center; }
.top-info-inner { height: 100%; justify-content: space-between; gap: 18px; }
.top-benefits { gap: 20px; }
.top-benefits span, .top-whatsapp { white-space: nowrap; }
.top-whatsapp { gap: 7px; color: #475569; }
.top-whatsapp strong { color: var(--secondary); }
.site-header .nav { min-height: 80px; gap: 20px; }
.site-header .brand { flex: 0 0 auto; gap: 0; color: var(--text); }
.site-header .nav-logo { height: 60px; width: auto; }
.site-header .nav-menu { justify-content: flex-end; gap: 20px; color: #334155; font-size: .88rem; }
.site-header .nav-menu > a { position: relative; white-space: nowrap; }
.site-header .nav-menu > a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .3s ease; }
.site-header .nav-menu > a:hover { color: var(--primary); }
.site-header .nav-menu > a:hover::after { transform: scaleX(1); }
.header-actions { gap: 10px; margin-left: 4px; }
.header-order, .header-whatsapp { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; font-size: .86rem; font-weight: 700; line-height: 1; transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease; }
.header-order { padding: 16px 30px; color: #111827; background: #ffc107; box-shadow: 0 8px 18px rgba(255, 193, 7, .2); }
.header-order:hover { color: #111827; box-shadow: 0 12px 24px rgba(255, 193, 7, .32); transform: translateY(-2px); }
.header-whatsapp { gap: 7px; padding: 0 15px; color: #15803d; border: 1px solid #22c55e; background: transparent; }
.header-whatsapp:hover { color: var(--white); background: #22c55e; transform: translateY(-2px); }
.site-header .nav-toggle { border-color: rgba(21, 60, 120, .2); }
.site-header .nav-toggle span:not(.sr-only) { background: var(--primary); }
.header-trust-strip { border-top: 1px solid rgba(15, 23, 42, .07); background: #f8fafc; }
.trust-badges-nav { min-height: 40px; justify-content: space-between; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.trust-badges-nav::-webkit-scrollbar { display: none; }
.trust-badges-nav span { flex: 0 0 auto; padding: 5px 10px; color: #475569; border: 1px solid rgba(21, 60, 120, .1); border-radius: 999px; background: var(--white); font-size: .69rem; font-weight: 700; line-height: 1; }

/* Main navigation logo alignment */
.site-header .nav-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: 80px;
  min-height: 80px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header .nav-brand .nav-logo {
  display: block;
  width: auto;
  height: 60px;
  max-width: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

@media (min-width: 861px) {
  .site-header .nav {
    width: min(1280px, calc(100% - 64px));
  }
}
