:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --text: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --brand: #2563EB;
  --brand-dark: #1D4ED8;
  --whatsapp: #22C55E;
  --success: #10B981;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-medium: 0 20px 45px rgba(15, 23, 42, 0.08);
  --shadow-large: 0 30px 80px rgba(15, 23, 42, 0.12);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(37, 99, 235, 0.14);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 82px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 14px;
  font-size: 0.85rem;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.16);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button svg,
.header-cta svg,
.trust-row svg,
.feature-grid svg,
.dashboard-sidebar svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24);
}

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

.secondary,
.plan-button {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}

.secondary:hover,
.plan-button:hover {
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--shadow-soft);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 96px 6vw 84px;
  overflow: hidden;
}

.hero-content {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 28px 0 24px;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 42px 0 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.product-preview {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-large);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.85);
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #CBD5E1;
}

.browser-bar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 560px;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 18px;
  background: linear-gradient(180deg, #0F172A 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.72);
}

.mini-brand {
  width: 52px;
  height: 10px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #2563EB 0%, #60A5FA 100%);
  border-radius: 999px;
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 180ms ease;
}

.dashboard-sidebar .active,
.dashboard-sidebar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-main {
  padding: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-top span,
.metrics span,
.appointment span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-top strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
}

.dashboard-top button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

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

.metrics article,
.appointment {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.metrics article {
  padding: 22px;
}

.metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 1.35rem;
}

.appointments {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.appointment {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.appointment em {
  color: var(--success);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 750;
}

.section {
  padding: 110px 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: end;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 3.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro p,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.feature-grid,
.pricing-grid,
.testimonial-grid,
.steps {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article,
.steps article,
.testimonial-grid figure,
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.feature-grid article:hover,
.steps article:hover,
.testimonial-grid figure:hover,
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.feature-grid article {
  padding: 34px;
}

.feature-grid svg {
  width: 28px;
  height: 28px;
  color: var(--brand);
  margin-bottom: 24px;
}

.feature-grid h3,
.steps h3,
.plan h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.feature-grid p,
.steps p,
.plan p,
.testimonial-grid blockquote {
  color: var(--muted);
  line-height: 1.8;
}

.process {
  background: linear-gradient(180deg, #0F172A 0%, #111827 100%);
  color: #fff;
}

.process .section-kicker {
  color: #BFDBFE;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.18);
}

.process .section-heading h2 {
  color: #fff;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps article {
  padding: 34px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #93C5FD;
  font-weight: 800;
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
}

.pricing {
  background: #fff;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
}

.plan strong {
  display: block;
  margin: 18px 0 24px;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.plan strong span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.plan ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 0.94rem;
}

.plan li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--brand);
  font-weight: 800;
}

.plan .button {
  margin-top: auto;
}

.pricing-grid .plan:nth-child(1) {
  border-top: 4px solid #38BDF8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.10) 0%, #FFFFFF 35%);
}

.pricing-grid .plan:nth-child(2) {
  border-top: 4px solid #8B5CF6;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.10) 0%, #FFFFFF 35%);
}

.pricing-grid .plan:nth-child(3) {
  border-top: 4px solid #2563EB;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.10) 0%, #FFFFFF 35%);
}

.pricing-grid .plan:nth-child(4) {
  border-top: 4px solid #14B8A6;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.10) 0%, #FFFFFF 35%);
}



.pricing-grid .plan:nth-child(1):hover {
  border-color: rgba(56, 189, 248, 0.22);
}

.pricing-grid .plan:nth-child(2):hover {
  border-color: rgba(139, 92, 246, 0.22);
}

.pricing-grid .plan:nth-child(3):hover {
  border-color: rgba(37, 99, 235, 0.22);
}

.pricing-grid .plan:nth-child(4):hover {
  border-color: rgba(20, 184, 166, 0.22);
}

.featured-plan {
  border: 2px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.14);
  transform: translateY(-12px);
}

.badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.testimonials {
  background: var(--surface-soft);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid figure {
  margin: 0;
  padding: 34px;
}

.testimonial-grid blockquote {
  margin: 0 0 22px;
  font-size: 1.02rem;
}

.testimonial-grid figcaption {
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: center;
  padding: 110px 6vw;
  color: #fff;
  background: linear-gradient(135deg, #0F172A 0%, #111827 100%);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  color: var(--text);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-large);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 42px 6vw;
  background: #0B1220;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 1120px) {
  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-preview {
    max-width: 860px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-plan {
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 10px 0 18px;
  }

  .site-nav.is-open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: 60px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-sidebar {
    display: none;
  }

  .metrics,
  .feature-grid,
  .steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .appointment {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .section,
  .contact,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-main,
  .feature-grid article,
  .steps article,
  .testimonial-grid figure,
  .plan,
  .contact-form {
    padding: 24px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FLOATING DEMO BUTTON
========================================= */

.floating-demo-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 16px 22px;

  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #2563EB 0%,
    #1D4ED8 100%
  );

  color: white;
  text-decoration: none;

  font-weight: 700;
  font-size: .95rem;

  box-shadow:
    0 20px 40px rgba(37, 99, 235, .28),
    0 8px 20px rgba(37, 99, 235, .18);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    opacity .25s ease;
}

.floating-demo-button:hover {
  transform: translateY(-4px) scale(1.02);

  box-shadow:
    0 28px 50px rgba(37, 99, 235, .34),
    0 12px 24px rgba(37, 99, 235, .24);
}

.floating-demo-button svg {
  width: 18px;
  height: 18px;
}

/* MOBILE */

@media (max-width: 768px) {

  .floating-demo-button {
    left: 16px;
    right: 16px;
    bottom: 16px;

    justify-content: center;

    width: calc(100% - 32px);

    padding: 18px 20px;

    border-radius: 18px;

    font-size: 1rem;
  }

}
