:root {
  --primary: #4f46e5; /* indigo mais suave e profissional */
  --primary-light: #6366f1;
  --primary-subtle: rgba(79, 70, 229, 0.08);
  --accent: #0ea5e9; /* azul complementar */
  --accent-subtle: rgba(14, 165, 233, 0.10);
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-elevated: #fafbfc;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: rgba(15, 23, 42, 0.04);
  --shadow-medium: rgba(15, 23, 42, 0.08);
  --shadow-strong: rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.shadow-soft { box-shadow: 0 4px 20px var(--shadow), 0 1px 3px var(--shadow-medium); }
.section { padding: 80px 0; min-height: auto; display: grid; align-items: center; }
.section__title { 
  font-size: clamp(22px, 5.5vw, 32px); 
  font-weight: 700; 
  margin: 0 0 20px; 
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.section__text { 
  color: var(--text-secondary); 
  font-size: clamp(14px, 4.2vw, 18px); 
  line-height: 1.7;
  font-weight: 400;
}

.header { position: sticky; top: 0; backdrop-filter: blur(12px); background: rgba(255,255,255,0.72); border-bottom: 1px solid var(--border); z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { 
  width: 40px; 
  height: 40px; 
  border-radius: 12px; 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); 
  color: #ffffff; 
  display: grid; 
  place-items: center; 
  font-weight: 800; 
  box-shadow: 0 2px 8px var(--primary-subtle);
}
.brand__logo--footer { 
  background: var(--surface-elevated); 
  color: var(--primary); 
  box-shadow: none;
}
.brand__name { font-weight: 700; letter-spacing: 0.3px; color: var(--text); }

.nav { display: none; gap: 24px; }
.nav__link { 
  color: var(--text-secondary); 
  text-decoration: none; 
  font-weight: 500; 
  padding: 8px 0;
  transition: color 0.2s ease;
  position: relative;
}
.nav__link:hover { 
  color: var(--primary); 
}
.nav__link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
@media (min-width: 900px) { .nav { display: flex; } }

.controls { display: flex; align-items: center; gap: 12px; }
.select { 
  background: var(--surface-elevated); 
  color: var(--text); 
  border: 1px solid var(--border); 
  padding: 10px 14px; 
  border-radius: 10px; 
  font-weight: 500;
  transition: border-color 0.2s ease;
}
.select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 12px 20px; 
  border-radius: 10px; 
  text-decoration: none; 
  font-weight: 600; 
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: clamp(13px, 3.8vw, 16px);
  white-space: nowrap;
}
.btn--primary { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); 
  color: #ffffff; 
  box-shadow: 0 2px 8px var(--primary-subtle);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--primary-subtle);
}
.btn--ghost { 
  border: 1px solid var(--border); 
  color: var(--text); 
  background: var(--surface); 
}
.btn--ghost:hover {
  background: var(--surface-elevated);
  border-color: var(--primary);
  color: var(--primary);
}
.btn--login {
  padding: 10px 16px;
  font-size: 14px;
}
.btn--lg { 
  padding: 16px 28px; 
  font-size: 16px; 
  border-radius: 12px;
}

.grid { display: grid; gap: 24px; }
.grid--split { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid--split { grid-template-columns: 1.2fr 1fr; align-items: center; } }

.hero { position: relative; }
.hero__title { 
  font-size: clamp(28px, 7.2vw, 48px); 
  line-height: 1.1; 
  margin: 0 0 16px; 
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle { 
  color: var(--text-secondary); 
  font-size: clamp(16px, 4.8vw, 20px); 
  margin-bottom: 32px; 
  line-height: 1.6;
  font-weight: 400;
}
.hero__actions { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap;
}

.mockup { 
  border-radius: 16px; 
  background: var(--surface); 
  border: 1px solid var(--border-light); 
  overflow: hidden; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mockup:hover {
  transform: translateY(-2px);
}
.mockup__header { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  padding: 12px 16px; 
  background: var(--surface-elevated); 
  border-bottom: 1px solid var(--border-light); 
}
.dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--border); 
}
.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #28ca42; }
.mockup__body { display: grid; grid-template-columns: 200px 1fr; }
.mockup__body { grid-template-columns: 200px minmax(0,1fr); }
.mockup__sidebar { border-right: 1px solid var(--border-light); padding: 16px; background: var(--surface-elevated); }
.sidebar__item { 
  padding: 10px 12px; 
  border-radius: 8px; 
  color: var(--text-secondary); 
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.sidebar__item.active { 
  background: var(--primary-subtle); 
  color: var(--primary); 
}
.sidebar__item:hover:not(.active) {
  background: var(--border-light);
  color: var(--text);
}
.mockup__main { padding: 16px; }
.chart { height: 90px; margin-bottom: 16px; }
.sparkline { width: 100%; height: 90px; display: block; }
.sparkline polyline { filter: drop-shadow(0 2px 8px var(--primary-subtle)); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.card { 
  background: var(--surface-elevated); 
  border: 1px solid var(--border-light); 
  border-radius: 10px; 
  text-align: center; 
  padding: 12px; 
  color: var(--text-secondary); 
  font-size: 13px;
  font-weight: 600;
}

.mockup--chat .chat__body { padding: 16px; display: grid; gap: 12px; }
.mockup--chat .mockup__header { gap: 12px; }
.avatar { 
  width: 32px; 
  height: 32px; 
  border-radius: 50%; 
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); 
  display: grid; 
  place-items: center; 
  font-size: 16px;
}
.title { color: var(--text); font-weight: 600; }
.bubble { 
  max-width: 75%; 
  padding: 12px 16px; 
  border-radius: 16px; 
  font-size: 14px;
  line-height: 1.4;
}
.bubble--left { 
  background: var(--surface-elevated); 
  border: 1px solid var(--border-light); 
  color: var(--text);
}
.bubble--right { 
  background: var(--primary-subtle); 
  border: 1px solid rgba(79, 70, 229, 0.15); 
  margin-left: auto; 
  color: var(--primary);
}
.bubble.small { font-size: 12px; padding: 8px 12px; }

.mockup--split { display: grid; grid-template-columns: 1fr 1fr; }
.split__left, .split__right { padding: 16px; }
.metric { 
  background: var(--accent-subtle); 
  border: 1px solid rgba(14, 165, 233, 0.25); 
  border-left: 3px solid var(--accent);
  border-radius: 10px; 
  padding: 12px; 
  margin-bottom: 8px; 
  color: var(--text); 
  font-size: 13px;
  font-weight: 600;
}

/* Productivity Section */
.section--productivity {
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border-radius: 24px;
  margin: 0 24px;
}

.productivity__header {
  text-align: center;
  margin-bottom: 48px;
}

.grid--productivity {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .grid--productivity {
    grid-template-columns: 1fr 1fr;
  }
}

.productivity__chart {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px var(--shadow);
}

.chart__growth {
  height: 200px;
  margin-bottom: 32px;
  position: relative;
}

.growth-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.growth-chart path {
  transition: all 0.3s ease;
}

.growth-chart circle {
  transition: all 0.2s ease;
}

.growth-chart circle:hover {
  r: 6;
  opacity: 1;
}

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

.metric__item {
  text-align: center;
  padding: 16px;
  background: var(--surface-elevated);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.metric__value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.metric__label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.productivity__benefits {
  display: grid;
  gap: 24px;
}

.benefit {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
  border-color: var(--primary);
}

.benefit__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--primary);
  transition: all 0.2s ease;
}

.benefit:hover .benefit__icon {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.benefit__content {
  flex: 1;
}

.benefit__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
}

.benefit__text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Features */
.features__header {
  text-align: center;
  margin-bottom: 48px;
}

.grid--features-enhanced { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
}
@media (min-width: 768px) { 
  .grid--features-enhanced { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}
@media (min-width: 1200px) { 
  .grid--features-enhanced { 
    grid-template-columns: repeat(4, 1fr); 
  } 
}

.feature--enhanced { 
  display: flex;
  flex-direction: column;
  background: var(--surface); 
  border: 1px solid var(--border-light); 
  border-radius: 20px; 
  padding: 28px; 
  text-align: left; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature--enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature--enhanced:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-strong);
  border-color: var(--primary);
}

.feature__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.2s ease;
}

.feature--enhanced:hover .feature__icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.feature__badge {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature__badge--ai {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.feature__badge--analytics {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature__badge--integration {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.feature--enhanced .feature__title {
  font-size: clamp(16px, 4.6vw, 18px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.feature__text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.feature__metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-elevated);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-top: auto;
}

.feature__metric .metric__number {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.feature__metric .metric__text {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Applications */
.applications__header {
  text-align: center;
  margin-bottom: 48px;
}

.grid--applications { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
}
@media (min-width: 768px) { 
  .grid--applications { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}
@media (min-width: 1200px) { 
  .grid--applications { 
    grid-template-columns: repeat(4, 1fr); 
  } 
}

.application { 
  background: var(--surface); 
  border: 1px solid var(--border-light); 
  border-radius: 20px; 
  padding: 28px; 
  text-align: center; 
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.application::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.application:hover::before {
  transform: scaleX(1);
}

.application:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-strong);
  border-color: var(--accent);
}

.application__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 20px;
  transition: all 0.2s ease;
}

.application:hover .application__icon {
  transform: scale(1.1) rotate(5deg);
}

.application__title {
  font-size: clamp(16px, 4.6vw, 18px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.application__text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .feature--enhanced .feature__title,
  .application__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
  }
  .feature__text,
  .application__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
  }
}

.application__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
  background: var(--surface-elevated);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-top: auto;
}

.application__metric .metric__value {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

/* Pricing Section */
.section--pricing {
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border-radius: 24px;
  margin: 0 24px;
}

.pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing__toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.toggle__label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
}

.toggle__switch {
  position: relative;
}

.toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  background: var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle__slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle__input:checked + .toggle__slider {
  background: var(--primary);
}

.toggle__input:checked + .toggle__slider::before {
  transform: translateX(24px);
}

.toggle__discount {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.grid--pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .grid--pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing__card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.pricing__card--featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px var(--primary-subtle);
  transform: scale(1.05);
}

.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.pricing__header-card {
  text-align: center;
  margin-bottom: 24px;
}

.pricing__plan {
  font-size: clamp(18px, 5.6vw, 24px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
}

.pricing__description {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.pricing__price {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price__currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price__amount {
  font-size: clamp(32px, 10vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price__period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.price__annual-note {
  display: none;
  width: 100%;
  margin-top: 2px;
  font-size: 8px;
  line-height: 1.2;
  color: var(--text-secondary);
}

.price__annual-note.is-visible {
  display: block;
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.pricing__features .feature {
  padding: 8px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.pricing__footer {
  text-align: center;
}

.pricing__note {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.grid--stats { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .grid--stats { grid-template-columns: repeat(3,1fr); } }
.stat { 
  background: var(--surface); 
  border: 1px solid var(--border-light); 
  border-radius: 16px; 
  padding: 32px 24px; 
  text-align: center; 
  transition: all 0.2s ease;
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}
.stat__number { 
  font-size: clamp(22px, 7.8vw, 36px); 
  font-weight: 800; 
  color: var(--primary); 
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat__label { 
  color: var(--text-secondary); 
  font-weight: 500;
  font-size: 14px;
}

.grid--testimonials { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .grid--testimonials { grid-template-columns: repeat(3,1fr); } }
.testimonial { 
  background: var(--surface); 
  border: 1px solid var(--border-light); 
  border-radius: 16px; 
  padding: 24px; 
  transition: all 0.2s ease;
}
.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}
.testimonial__avatar { 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  object-fit: cover; 
  margin-bottom: 16px; 
}
.testimonial__text { 
  color: var(--text); 
  margin-bottom: 12px;
  font-style: italic;
  line-height: 1.6;
}
.testimonial__author { 
  color: var(--text-secondary); 
  font-size: 14px; 
  font-weight: 500;
}

.grid--clients { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (min-width: 900px) { .grid--clients { grid-template-columns: repeat(6,1fr); } }
.client { 
  background: var(--surface); 
  border: 1px solid var(--border-light); 
  border-radius: 12px; 
  padding: 20px; 
  text-align: center; 
  color: var(--text-secondary); 
  font-weight: 600;
  transition: all 0.2s ease;
}
.client:hover { 
  background: var(--surface-elevated);
  color: var(--text);
  transform: translateY(-1px);
}

.cta { 
  text-align: center; 
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%); 
  border-radius: 24px;
  margin: 0 24px;
}
.cta__title { 
  font-size: clamp(24px, 6.2vw, 32px); 
  margin-bottom: 24px; 
  font-weight: 700;
  color: var(--text);
}

.footer { 
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
  border-top: 1px solid #334155; 
  color: #cbd5e1;
  padding: 64px 0 24px;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .footer__content {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.footer__brand {
  max-width: 400px;
}

.footer__description {
  color: #94a3b8;
  line-height: 1.6;
  margin: 16px 0 24px;
}

.footer__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.footer__stat .stat__number {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.footer__stat .stat__label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 8px 0;
}

.footer__column a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #334155;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  color: #64748b;
  font-size: 14px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #94a3b8;
}

.legal-page {
  min-height: calc(100vh - 220px);
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--bg) 100%);
}

.legal-page__hero {
  padding: 52px 0 16px;
}

.legal-page__container {
  max-width: 1040px;
  margin: 0 auto;
}

.legal-page__hero-panel,
.legal-page__hero-inner {
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(99, 102, 241, 0.14), transparent 38%),
    radial-gradient(circle at 88% 88%, rgba(14, 165, 233, 0.12), transparent 45%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.legal-page__hero-panel::after,
.legal-page__hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.16) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at 72% 42%, black 10%, transparent 68%);
  pointer-events: none;
}

.legal-page__hero-panel {
  padding: 32px;
}

.legal-page__hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

@media (min-width: 960px) {
  .legal-page__hero-inner {
    grid-template-columns: minmax(280px, 420px) minmax(420px, 1fr);
    gap: 46px;
  }

  .legal-page__hero-text {
    order: 2;
  }

  .legal-page__mascot-wrap {
    order: 1;
  }
}

.legal-page__eyebrow {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.legal-page__title {
  margin-bottom: 12px;
}

.legal-page__subtitle {
  max-width: 640px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.legal-page__content {
  padding-top: 8px;
}

.legal-page__content .legal-page__container {
  display: grid;
  gap: 18px;
}

.legal-page__mascot-wrap {
  border: 1px solid rgba(79, 70, 229, 0.2);
  background: radial-gradient(circle at top, rgba(99, 102, 241, 0.2), rgba(14, 165, 233, 0.1) 48%, #ffffff 92%);
  border-radius: 20px;
  padding: 14px;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.legal-page__mascot {
  width: 82%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(79, 70, 229, 0.22));
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 0;
}

@media (max-width: 959px) {
  .legal-page__hero {
    padding: 40px 0 8px;
  }

  .legal-page__hero-panel,
  .legal-page__hero-inner {
    padding: 22px;
    border-radius: 20px;
  }

  .legal-page__mascot-wrap {
    min-height: 250px;
  }
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 3.2vw, 24px);
  color: var(--text);
  line-height: 1.25;
}

.legal-card p {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.terms-page {
  background:
    linear-gradient(180deg, #f4f7fc 0%, #f8fafc 42%, #ffffff 100%);
}

.terms-page .legal-page__hero {
  padding: 18px 0 14px;
}

.terms-page__shell {
  width: 100%;
}

.terms-page__topline {
  padding: 24px 0 0;
}

.terms-page__topline-text {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.terms-page__hero-grid {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.12), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(79, 70, 229, 0.1), transparent 42%),
    linear-gradient(160deg, #ffffff 0%, #f7f9ff 55%, #eef4ff 100%);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 34px;
}

.terms-page__hero-copy {
  max-width: 620px;
}

.terms-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.terms-page__status {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: #334155;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.terms-page__meta-sep {
  color: #94a3b8;
  font-weight: 700;
}

.terms-page__hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.terms-page__mascot-wrap {
  border: 1px solid rgba(79, 70, 229, 0.24);
  background:
    radial-gradient(circle at 16% 16%, rgba(99, 102, 241, 0.24), transparent 46%),
    radial-gradient(circle at 84% 84%, rgba(14, 165, 233, 0.2), transparent 44%),
    linear-gradient(150deg, #ffffff 0%, #eef5ff 100%);
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
}

.terms-page__mascot-media {
  border: none;
  border-radius: 0;
  background: transparent;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
}

.terms-page__mascot-media .legal-page__mascot {
  width: 100%;
  max-width: 320px;
}

.terms-page__hero-copy {
  max-width: 580px;
}

.terms-page__hero-copy .legal-page__eyebrow {
  margin-bottom: 12px;
}

.terms-page__hero-copy .legal-page__subtitle {
  max-width: 560px;
  font-size: clamp(17px, 1.8vw, 20px);
}

.terms-page__highlights {
  padding: 10px 0 8px;
}

.terms-page__highlights-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.terms-page__highlight {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 20px;
}

.terms-page__highlight h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f172a;
}

.terms-page__highlight p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.terms-page__content {
  padding: 12px 0 58px;
}

.terms-page__content-grid {
  display: grid;
  gap: 18px;
}

.terms-page__toc {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #ffffff;
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 88px;
}

.terms-page__toc h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #0f172a;
}

.terms-page__toc a {
  display: block;
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  padding: 8px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.terms-page__toc a:hover {
  color: var(--primary);
}

.terms-page__toc a:first-of-type {
  border-top: none;
}

.terms-page__articles {
  display: grid;
  gap: 14px;
}

.terms-page__article {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 24px;
}

.terms-page__article h2 {
  color: #0f172a;
  margin-bottom: 12px;
}

.terms-page__article p {
  color: #475569;
  line-height: 1.62;
  text-align: justify;
}

.terms-page__article li {
  color: #475569;
  line-height: 1.62;
  text-align: justify;
}

.term-highlight--multichat {
  color: var(--primary);
  font-weight: 700;
}

.term-highlight--cliente {
  color: var(--text);
  font-weight: 700;
}

.clause-prefix {
  display: inline-block;
  margin-right: 0.28em;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .terms-page__highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .terms-page__content-grid {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 959px) {
  .terms-page .legal-page__hero {
    padding-top: 34px;
  }

  .terms-page__topline {
    padding-top: 16px;
  }

  .terms-page__hero-grid {
    padding: 24px;
    border-radius: 22px;
  }

  .terms-page__toc {
    display: none;
  }

  .terms-page__mascot-wrap {
    grid-template-columns: 1fr;
    min-height: 260px;
    gap: 18px;
    padding: 18px;
  }

  .terms-page__mascot-media {
    min-height: 0;
  }

  .terms-page__hero-copy {
    max-width: none;
  }
}

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
/* Responsive fixes */
body { overflow-x: hidden; }
svg, img, video, canvas { max-width: 100%; height: auto; }
.mockup { width: 100%; max-width: 100%; }
.mockup__main { min-width: 0; }
.mockup__sidebar { min-width: 0; }
.hero__visual { min-width: 0; }
.benefit__content { min-width: 0; }
.feature--enhanced, .application, .benefit { max-width: 100%; overflow: hidden; }
.pricing__card { overflow: visible; }
.section { overflow-x: clip; }
.grid > * { min-width: 0; }
/* Ensure grid items can shrink */
.grid--features-enhanced > *, 
.grid--applications > *,
.grid--pricing > *,
.grid--stats > *,
.grid--testimonials > *,
.grid--clients > * { min-width: 0; }

/* Stack dashboard mockup sidebar on very small screens */
@media (max-width: 768px) {
  .mockup__body { grid-template-columns: 1fr; }
  .mockup__sidebar { border-right: 0; border-bottom: 1px solid var(--border-light); }
}
/* Make split mockup (overview) single column on small screens */
@media (max-width: 768px) {
  .mockup--split { grid-template-columns: 1fr; }
}
/* Reduce dashboard small cards columns on narrow screens */
@media (max-width: 480px) {
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 360px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pricing__card--featured { transform: none; }
}
@media (max-width: 420px) {
  .header__inner { height: auto; padding: 8px 0; align-items: flex-start; }
  .controls { flex-wrap: wrap; justify-content: flex-end; }
}
/* Header compaction for narrow mobile (e.g., 402x874) */
@media (max-width: 480px) {
  .brand__name { display: none; }
  .brand__logo { width: 36px; height: 36px; }
  .header__inner { height: 64px; }
  .controls { gap: 8px; flex-wrap: nowrap; }
  .header .select { padding: 8px 10px; font-size: 13px; }
  .header .btn { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .feature--enhanced { padding: 20px; }
  .application { padding: 20px; }
  .pricing__card { padding: 24px; }
  .productivity__chart { padding: 24px; }
  .stat { padding: 24px; }
  .controls { gap: 8px; }
  .hero__actions { gap: 10px; }
  .cta { margin: 0 16px; }
}
