:root {
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --navy: #12192c;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-xl: 1rem;
  --radius-2xl: 1.35rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(a:any-link, button, summary):focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: 4.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--emerald);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  cursor: pointer;
}

.mobile-menu[popover] {
  position: fixed;
  inset: 4.75rem 1rem auto 1rem;
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: 0 20px 40px rgb(15 23 42 / 0.14);
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.mobile-menu-list a:not(.btn) {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 600;
}

.mobile-menu-sep {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-200);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 2.75rem;
  padding: 0.6rem 1.15rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-lg {
  min-block-size: 3.15rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--emerald-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-100);
}

.btn-ghost-nav {
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
}

.btn-ghost-nav:hover {
  background: #d1fae5;
}

.btn-whatsapp {
  background: #25d366;
  color: #062815;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.35);
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.1);
}

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 85% 15%, rgb(5 150 105 / 0.11), transparent 46%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.02fr 1.15fr;
    gap: 3rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
}

.eyebrow-light {
  color: #6ee7b7;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.3vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.hero-subtitle {
  margin: 1.2rem 0 0;
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.15rem);
  color: var(--slate-600);
  max-width: 56ch;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-pills {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-pills li {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Device Mockup Frames */
.hero-visual {
  position: relative;
  padding-bottom: 1.75rem;
}

.device-browser {
  margin: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgb(15 23 42 / 0.16);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-bar {
  margin-left: 0.5rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-600);
  font-size: 0.72rem;
  font-weight: 600;
}

.device-phone {
  margin: 0;
  width: min(44%, 215px);
  border-radius: 1.5rem;
  border: 6px solid var(--navy);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 22px 44px -10px rgb(15 23 42 / 0.32);
}

.hero-phone {
  position: absolute;
  right: -0.25rem;
  bottom: 0;
}

@media (max-width: 600px) {
  .hero-phone {
    width: 38%;
    border-width: 4px;
    border-radius: 1.05rem;
  }
}

/* Proof Strip */
.proof-strip {
  border-block: 1px solid var(--slate-200);
  background: var(--white);
  padding-block: 1.75rem;
}

.proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.proof-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
}

.proof-logos {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 2rem;
}

.proof-logos li {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--slate-700);
}

/* Generic Sections */
.section {
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

.section-muted {
  background: var(--white);
  border-block: 1px solid var(--slate-200);
}

.section-head {
  text-align: center;
  max-width: 66ch;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 1.3rem + 1.25vw, 2.35rem);
  line-height: 1.2;
  color: var(--navy);
}

.section-lead {
  margin: 0.85rem 0 0;
  color: var(--slate-600);
  font-size: 1.03rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
}

.card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--slate-600);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.85rem;
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

/* Steps */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 1.65rem;
}

.step-num {
  display: inline-block;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--emerald);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.step-card h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.step-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.94rem;
}

/* Feature Showcases */
.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.feature-row {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 920px) {
  .feature-row {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }

  .feature-row-reverse .feature-media {
    order: -1;
  }
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
}

.feature-text h3 {
  margin: 0.75rem 0 0.75rem;
  font-size: clamp(1.35rem, 1.15rem + 0.75vw, 1.85rem);
  line-height: 1.22;
  color: var(--navy);
}

.feature-text p {
  margin: 0 0 1rem;
  color: var(--slate-600);
}

.feature-list {
  margin: 0 0 1.4rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.94rem;
}

.combo-media {
  position: relative;
  padding-bottom: 1.5rem;
}

.combo-phone {
  position: absolute;
  left: -0.5rem;
  bottom: 0;
  width: min(36%, 185px);
}

.duo-mobile {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 600px) {
  .duo-mobile {
    grid-template-columns: 0.48fr 1fr;
  }

  .duo-mobile .device-phone {
    width: 100%;
  }
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  margin: 0;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 0.96rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
}

.testimonial-card strong {
  color: var(--navy);
}

.testimonial-card span {
  font-size: 0.82rem;
  color: var(--slate-600);
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--slate-200);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0.95rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--emerald);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  margin: 0.75rem 0 0.15rem;
  color: var(--slate-600);
  font-size: 0.94rem;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0b3a2e 100%);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.2rem);
  max-width: 24ch;
}

.cta-band p {
  margin: 0.65rem 0 0;
  color: #cbd5e1;
  max-width: 52ch;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding-block: 3rem 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-brand p {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  max-width: 34ch;
}

.footer-title {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}
