/* Gardina landing — modern product/SaaS system.
   White + green, Inter, tight headings, crisp borders, precise shadows.
   Class names and DOM structure are unchanged on purpose: the inline i18n
   dictionary and the Motion reveal animations in landing.html query these
   exact selectors. */

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  /* Ink */
  --ink: #0a0f0d;
  --ink-2: #1c2421;
  --muted: #5c6b64;
  --muted-2: #8a9791;

  /* Lines */
  --line: rgba(10, 15, 13, 0.08);
  --line-2: rgba(10, 15, 13, 0.14);

  /* Surfaces */
  --surface: #ffffff;
  --canvas: #f6f8f7;
  --canvas-2: #edf2ef;

  /* Green */
  --accent: #15805a;
  --accent-strong: #0f5f43;
  --accent-bright: #24c186;
  --accent-soft: rgba(21, 128, 90, 0.08);
  --accent-line: rgba(21, 128, 90, 0.22);

  --danger: #c2410c;
  --warn: #b45309;

  /* Dark surface tokens (app-flow, CTA, footer) */
  --dark: #080c0a;
  --dark-2: #0e1512;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: rgba(255, 255, 255, 0.66);

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(10, 15, 13, 0.06);
  --shadow-sm: 0 1px 3px rgba(10, 15, 13, 0.07), 0 1px 2px rgba(10, 15, 13, 0.04);
  --shadow-md: 0 6px 20px -6px rgba(10, 15, 13, 0.12), 0 2px 6px -2px rgba(10, 15, 13, 0.06);
  --shadow-lg: 0 24px 60px -24px rgba(10, 15, 13, 0.3), 0 6px 18px -8px rgba(10, 15, 13, 0.12);
  --shadow-accent: 0 8px 24px -8px rgba(21, 128, 90, 0.45);

  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
}

::selection {
  background: var(--accent);
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

/* ============ HEADER / NAVBAR ============ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 3px rgba(10, 15, 13, 0.04);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wordmark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  transition: opacity 0.2s ease;
}

.logo:hover .logo-wordmark-wrap {
  opacity: 0.72;
}

.logo img.logo-wordmark {
  width: 118px;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Plain text nav — no pill container, product-app style */
nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
  margin-left: 20px;
  padding: 0;
  border: 0;
  background: none;
}

nav a {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.006em;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

nav a::after {
  display: none;
}

nav a:hover {
  color: var(--ink);
  background: var(--canvas-2);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-cta .btn,
.header-cta .phone-link {
  height: 34px;
}

.header-cta .btn {
  padding: 0 14px;
  font-size: 0.8125rem;
  border-radius: var(--r-sm);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn .material-symbols-outlined {
  font-size: 18px;
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-strong);
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(21, 128, 90, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--muted-2);
  background: var(--canvas);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  background: var(--canvas-2);
  color: var(--ink);
}

.btn-whatsapp {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.phone-link:hover {
  background: var(--canvas-2);
  color: var(--ink);
}

.phone-link .material-symbols-outlined {
  font-size: 17px;
  color: var(--accent);
}

/* Segmented language control */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--canvas-2);
  flex-shrink: 0;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 76px) 0 0;
  overflow: hidden;
  background: var(--surface);
}

/* soft green bloom + fine grid, tech-product backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 38% at 50% 0%, rgba(36, 193, 134, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(246, 248, 247, 0.9) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 15, 13, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 15, 13, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 12%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 12%, #000 10%, transparent 72%);
  pointer-events: none;
}

/* Centered hero: headline stack, then a wide product shot underneath */
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  margin-bottom: 26px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-xs);
}

.hero-badge .material-symbols-outlined {
  font-size: 16px;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.042em;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero h1 span {
  display: inline-block;
  color: var(--accent);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-description {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 30px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Stat chips in a single hairline-separated row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  min-width: 0;
  text-align: left;
}

.stat-value {
  position: relative;
  padding-left: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.stat-value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(36, 193, 134, 0.16);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-2);
  margin-top: 2px;
  padding-left: 14px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-buttons .btn {
  padding: 12px 22px;
  font-size: 0.9375rem;
  border-radius: var(--r-md);
}

/* Product screenshot frame, wide and centered under the copy */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 60px;
  padding-bottom: 90px;
  min-height: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  width: 78%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(21, 128, 90, 0.2), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow:
    0 40px 90px -30px rgba(10, 15, 13, 0.28),
    0 12px 28px -12px rgba(10, 15, 13, 0.12);
}

.hero-mock-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-mock-dots {
  display: flex;
  gap: 6px;
}

.hero-mock-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}

.hero-mock-dots span:nth-child(1),
.hero-mock-dots span:nth-child(2),
.hero-mock-dots span:nth-child(3) {
  background: rgba(10, 15, 13, 0.13);
}

.hero-mock-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 28px;
}

.hero-mock-row {
  height: 14px;
  border-radius: var(--r-xs);
  background: linear-gradient(90deg, var(--canvas-2) 0%, var(--canvas) 100%);
}

.hero-mock-row.short {
  width: 52%;
}

.hero-mock-row.accent {
  height: auto;
  min-height: 48px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-md);
  box-shadow: none;
}

/* ============ SHARED SECTION HEADERS ============ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  margin-bottom: 18px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-full);
}

.section-badge .material-symbols-outlined {
  font-size: 15px !important;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: -0.008em;
}

/* ============ APP FLOW (dark contrast band) ============ */
.app-flow {
  padding: 104px 0;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.app-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 15% 0%, rgba(36, 193, 134, 0.16), transparent 65%),
    radial-gradient(ellipse 45% 45% at 90% 100%, rgba(21, 128, 90, 0.14), transparent 65%);
  pointer-events: none;
}

.app-flow .container {
  position: relative;
  z-index: 1;
}

.app-flow .section-title {
  color: #fff;
}

.app-flow .section-subtitle {
  color: var(--dark-text);
}

.app-flow .section-badge {
  background: rgba(36, 193, 134, 0.1);
  color: var(--accent-bright);
  border-color: rgba(36, 193, 134, 0.28);
}

.app-flow-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.app-phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050a07;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 9px;
}

.app-phone-notch {
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin: 5px auto 9px;
}

.app-phone-screen {
  border-radius: 28px;
  background: linear-gradient(180deg, #0f1714 0%, #0a110e 100%);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  padding: 14px;
}

/* App tab bar — fills the bottom of the screen so the mock reads as a real
   app instead of a half-empty panel. Purely decorative. */
.app-phone-screen::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 44px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.035);
  background-image:
    radial-gradient(circle 4px at 12.5% 46%, rgba(255, 255, 255, 0.28) 99%, transparent),
    radial-gradient(circle 5px at 37.5% 46%, var(--accent-bright) 99%, transparent),
    radial-gradient(circle 4px at 62.5% 46%, rgba(255, 255, 255, 0.28) 99%, transparent),
    radial-gradient(circle 4px at 87.5% 46%, rgba(255, 255, 255, 0.28) 99%, transparent),
    linear-gradient(rgba(255, 255, 255, 0.16) 0 0),
    linear-gradient(rgba(36, 193, 134, 0.75) 0 0),
    linear-gradient(rgba(255, 255, 255, 0.16) 0 0),
    linear-gradient(rgba(255, 255, 255, 0.16) 0 0);
  background-repeat: no-repeat;
  background-size: auto, auto, auto, auto, 16px 3px, 16px 3px, 16px 3px, 16px 3px;
  background-position:
    0 0, 0 0, 0 0, 0 0,
    12.5% 72%, 37.5% 72%, 62.5% 72%, 87.5% 72%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.app-screen {
  position: absolute;
  inset: 14px 14px 68px 14px;
  opacity: 0;
  transform: translateX(22px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.app-screen.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.push-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.push-stack {
  display: grid;
  gap: 9px;
}

.push-card {
  border-radius: var(--r-md);
  padding: 12px;
  background: rgba(36, 193, 134, 0.1);
  border: 1px solid rgba(36, 193, 134, 0.26);
  box-shadow: none;
}

.push-card.muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.push-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.push-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 4px;
}

.push-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

/* Steps read as a vertical timeline tied to what the phone is showing */
.app-flow-steps {
  display: grid;
  gap: 8px;
  position: relative;
}

.app-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 3px;
  align-items: start;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

/* active marker rail on the left edge */
.app-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-bright);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.app-step.is-active {
  border-color: rgba(36, 193, 134, 0.34);
  background: rgba(36, 193, 134, 0.06);
  transform: none;
}

.app-step.is-active::before {
  transform: scaleY(1);
}

.app-step-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.app-step.is-active .app-step-num {
  background: rgba(36, 193, 134, 0.16);
  border-color: rgba(36, 193, 134, 0.45);
  color: var(--accent-bright);
}

.app-step h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.app-step.is-active h3 {
  color: #fff;
}

.app-step p {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.875rem;
  color: var(--dark-text);
  line-height: 1.5;
}

/* ============ PAIN → SOLUTION (light) ============ */
.pain-solve {
  padding: 104px 0;
  background: var(--canvas);
  color: var(--ink);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.pain-solve::before {
  display: none;
}

.pain-solve .container {
  position: relative;
  z-index: 1;
}

.pain-solve .section-title {
  color: var(--ink);
}

.pain-solve .section-subtitle {
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

.pain-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: none;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pain-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}

.pain-card-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--danger);
  background: rgba(194, 65, 12, 0.07);
  border: 1px solid rgba(194, 65, 12, 0.16);
  border-radius: var(--r-full);
  padding: 3px 9px;
  margin-bottom: 12px;
}

.pain-card-label.good {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
  align-self: flex-start;
  margin-top: 20px;
  margin-bottom: 10px;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--ink);
}

.pain-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0;
}

/* the "solution" copy carries a green rail so it reads as the answer */
.pain-card-fix {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 0;
  padding: 1px 0 1px 13px;
  margin-bottom: 20px;
  border-top: none;
  border-left: 2px solid var(--accent-line);
}

/* mini product widgets — pinned to the bottom so every card in the row ends
   on the same line instead of leaving ragged whitespace */
.pain-ui {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--canvas);
}


.pain-ui-top {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.pain-ui-line {
  height: 8px;
  width: 100%;
  border-radius: var(--r-full);
  background: var(--canvas-2);
  border: 1px solid var(--line);
  transform-origin: left center;
}

.pain-ui-line.short {
  width: 62%;
  margin-top: 8px;
}

.pain-ui-status {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-full);
  padding: 5px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.pain-ui-status.ok {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}

.pain-ui-status.warn {
  background: rgba(180, 83, 9, 0.08);
  color: var(--warn);
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.pain-ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.pain-ui-row:first-of-type {
  border-top: none;
}

.pain-ui-row strong {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.pain-ui-row .motion-pain-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-full);
  padding: 3px 8px;
}

.pain-ui-progress {
  width: 100%;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--canvas-2);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 10px;
}

.pain-ui-progress span {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}

/* ============ FEATURES ============ */
.features {
  padding: 112px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.feature-card {
  position: relative;
  text-align: left;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: none;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* accent edge that wipes in on hover */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(21, 128, 90, 0.13);
  border-color: rgba(21, 128, 90, 0.32);
}

.feature-icon .material-symbols-outlined {
  font-size: 23px;
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============ MODULES ============ */
.app-modules {
  padding: 112px 0;
  background: var(--canvas);
  position: relative;
  border-bottom: 1px solid var(--line);
}

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

/* Modules use a horizontal icon+title layout so this section doesn't read as
   a second copy of the features grid directly above it. */
.module-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  align-content: start; /* short cards keep their icon row level with neighbours */
  padding: 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.module-card .material-symbols-outlined {
  grid-column: 1;
  grid-row: 1;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

.module-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 0;
  color: var(--ink);
}

.module-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============ PRICING ============ */
.pricing {
  padding: 112px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  padding: 3px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--canvas-2);
  margin: 0 auto 32px;
}

.billing-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.billing-btn:hover {
  color: var(--ink);
}

.billing-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.billing-gift {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-full);
  padding: 4px 9px;
  margin-left: 4px;
}

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

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: none;
}

.price-card.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--accent-bright), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.price-tag {
  position: absolute;
  top: -11px;
  right: 20px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 10px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-accent);
}

.price-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.price-card-head p {
  font-size: 0.8125rem;
  color: var(--muted);
}

.price-value {
  margin: 20px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  border-top: none;
  padding-top: 0;
}

.price-value .amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.price-value .period {
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.price-features {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

.price-features li {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315805a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
  padding: 11px 18px;
}

.pricing-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

/* ============ PROCESS ============ */
.process {
  padding: 112px 0;
  background: var(--canvas);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.process .section-badge {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}

.process .section-title {
  color: var(--ink);
}

.process .section-subtitle {
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 24px 20px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.step-number {
  width: 34px;
  height: 34px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-accent);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
  color: var(--ink);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  opacity: 1;
}

/* ============ CTA ============ */
.cta {
  padding: 104px 0;
  background: var(--surface);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 48px);
  background: var(--dark);
  color: #fff;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(36, 193, 134, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(21, 128, 90, 0.16), transparent 70%);
  pointer-events: none;
}

.cta-inner > * {
  position: relative;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1.0625rem;
  color: var(--dark-text);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn {
  padding: 12px 24px;
  border-radius: var(--r-md);
}

/* ============ FOOTER ============ */
.footer-logo-img {
  width: 40px;
  height: 40px;
  max-width: none;
  display: block;
  margin-bottom: 18px;
  opacity: 0.95;
  border-radius: var(--r-sm);
}

footer {
  background: var(--dark);
  color: #fff;
  padding: 76px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.social-links a svg {
  width: 17px;
  height: 17px;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(36, 193, 134, 0.14);
  border-color: rgba(36, 193, 134, 0.35);
  color: #fff;
}

.footer-links h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.34);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.34);
}

.footer-bottom a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 500;
}

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

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55);
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s ease;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.65);
}

.whatsapp-float .material-symbols-outlined {
  font-size: 26px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  nav {
    display: none;
  }

  .header-content {
    gap: 10px;
  }

  .phone-link {
    font-size: 0;
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .phone-link .material-symbols-outlined {
    font-size: 17px;
  }

  .hero-visual {
    margin-top: 48px;
    padding-bottom: 70px;
  }

  .features-grid,
  .modules-grid,
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .app-flow-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .logo img.logo-wordmark {
    width: 104px;
  }

  .header-cta {
    gap: 6px;
  }

  .header-cta .btn {
    height: 32px;
    padding: 0 11px;
    font-size: 0.75rem;
  }

  .header-cta .btn-whatsapp {
    display: none;
  }

  .billing-toggle {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .billing-gift {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 2px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 44px);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-visual {
    order: 0;
    margin-top: 40px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -0.038em;
  }

  .hero-description {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .hero-stats {
    gap: 8px;
    margin-bottom: 24px;
  }

  .stat {
    flex: 1 1 calc(50% - 8px);
    padding: 9px 12px;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 12px 18px;
    justify-content: center;
  }

  .hero-mock-rows {
    padding: 18px 16px 20px;
    gap: 11px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  .pain-grid,
  .features-grid,
  .modules-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pain-solve,
  .app-flow,
  .features,
  .app-modules,
  .pricing,
  .process,
  .cta {
    padding: 76px 0;
  }

  .pain-card,
  .feature-card,
  .module-card,
  .process-step {
    padding: 20px 18px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .cta-inner {
    border-radius: var(--r-xl);
    padding: 34px 20px;
  }

  .cta-inner p {
    margin-bottom: 24px;
    font-size: 0.9375rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta .btn {
    width: 100%;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float .material-symbols-outlined {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 14px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 10px 5px 7px;
    margin-bottom: 20px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat {
    width: 100%;
    flex: 1 1 auto;
  }

  .hero-mock {
    border-radius: var(--r-lg);
  }

  .hero-mock-top {
    padding: 10px 14px;
    font-size: 0.75rem;
  }

  .hero-mock-row {
    height: 12px;
  }

  .hero-mock-row.accent {
    min-height: 42px;
    font-size: 0.8125rem;
    padding: 12px 14px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .app-step {
    padding: 16px;
  }

  .price-card {
    padding: 22px 18px;
  }

  .pain-ui-status {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }

  .logo img.logo-wordmark {
    width: 94px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .pain-card h3,
  .feature-card h3,
  .module-card h3 {
    font-size: 1rem;
  }

  .pain-card p,
  .feature-card p,
  .module-card p {
    font-size: 0.84rem;
  }
}
