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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #ffffff;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #4b5563;
}

.section-title {
  font-size: 2.25rem;
  margin: 0 0 1rem;
}

.section-title.center,
.section-subtitle.center {
  text-align: center;
}

.section-subtitle {
  color: #4b5563;
  margin-bottom: 2.5rem;
}

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background-color: #059669;           /* NAVBAR VERDE */
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-scrolled {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
}

.nav-links a:hover {
  color: #111827;
}

.nav-cta {
  display: none;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #047857;
  border-color: #047857;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: #059669;
  color: #059669;
}

.btn-outline:hover {
  background-color: #ecfdf5;
}

.btn-light {
  background-color: #ffffff;
  color: #047857;
  border-color: #ffffff;
}

.btn-light:hover {
  background-color: #f9fafb;
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

/* Hero */

.hero {
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 7rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.hero-text h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-text h1 {
    font-size: 3.25rem;
  }
}

.highlight {
  color: #059669;
}

.lead {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-metric {
  margin-top: 2rem;
  display: flex;
  gap: 2.5rem;
  font-size: 0.9rem;
}

.metric-big {
  font-size: 2rem;
  font-weight: 700;
  color: #059669;
  margin: 0;
}

.metric-label {
  color: #4b5563;
}

.hero-phone {
  display: none;
}

@media (min-width: 1024px) {
  .hero-phone {
    display: flex;
    justify-content: center;
  }
}

.phone-frame {
  position: relative;
  width: 260px;
  height: 520px;
  border-radius: 3rem;
  background-color: #111827;
  border: 8px solid #030712;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 20px;
  border-radius: 0 0 999px 999px;
  background-color: #030712;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 12px;
  border-radius: 2.4rem;
  overflow: hidden;
  background-color: #ffffff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.75rem;
}

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

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

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

/* Cards */

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

/* Solution */

.solution-grid {
  margin-bottom: 2.5rem;
}

.solution-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #374151;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #059669;
  font-weight: 700;
}

/* Flow */

.flow-box {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #bbf7d0;
  background: linear-gradient(135deg, #ecfdf5, #fefce8);
}

.flow-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.flow-step {
  text-align: center;
}

.flow-badge {
  width: 44px;
  height: 44px;
  border-radius: 0.9rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  font-weight: 700;
  margin: 0 auto 0.35rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.flow-step p {
  margin: 0;
  font-size: 0.78rem;
  color: #4b5563;
}

.flow-arrow {
  font-size: 1.3rem;
  color: #9ca3af;
}

/* Steps */

.steps-grid {
  margin-top: 2rem;
}

.step-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem 1.75rem 1.75rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
}

.step-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

/* Gamification */

.gamification-grid {
  margin-top: 1.5rem;
  gap: 2.5rem;
}

.level-card {
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  border: 2px solid #e5e7eb;
  margin-bottom: 0.75rem;
}

.level-bronze {
  background: linear-gradient(90deg, #fffbeb, #fef3c7);
}

.level-silver {
  background: linear-gradient(90deg, #f9fafb, #e5e7eb);
}

.level-gold {
  background: linear-gradient(90deg, #fef9c3, #fef3c7);
}

.level-title {
  margin: 0 0 0.1rem;
  font-weight: 600;
}

.level-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.points-box {
  background-color: #ecfdf5;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
}

.points-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid #bbf7d0;
}

.points-row:last-child {
  border-bottom: none;
}

.points-value {
  color: #047857;
  font-weight: 600;
  font-size: 0.95rem;
}

.points-desc {
  color: #4b5563;
  font-size: 0.9rem;
}

/* Profile banner */

.profile-banner {
  margin-top: 2.5rem;
  border-radius: 1.5rem;
  padding: 2rem;
  background: linear-gradient(90deg, #047857, #059669);
  color: #ffffff;
}

.profile-banner h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.profile-card {
  background-color: rgba(15, 23, 42, 0.18);
  border-radius: 0.9rem;
  padding: 0.9rem;
  text-align: center;
}

.profile-label {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.profile-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Screens */

.screens-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.screen-card {
  background-color: #ffffff;
  border-radius: 1.1rem;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.screen-card img {
  width: 100%;
  display: block;
}

.screen-card p {
  margin: 0;
  padding: 0.65rem 0.8rem 0.8rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.screen-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

/* Plans */

.plans-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem 1.6rem;
  border: 1px solid #e5e7eb;
}

.plan-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.plan-desc {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.plan-price {
  margin: 1.5rem 0 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.plan-price-period {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 400;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #374151;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.plan-card-highlight {
  background: linear-gradient(135deg, #047857, #059669);
  color: #ffffff;
  border-color: #047857;
  box-shadow: 0 16px 40px rgba(4, 120, 87, 0.35);
}

.plan-card-highlight .plan-desc,
.plan-card-highlight .plan-list li {
  color: #e5e7eb;
}

/* CTA final */

.cta-final {
  background: linear-gradient(90deg, #047857, #059669);
  color: #ffffff;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 0.75rem;
  font-size: 2.1rem;
}

.cta-inner p {
  margin: 0 0 1.75rem;
  color: #d1fae5;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #bbf7d0;
}

/* Footer */

.footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer h4 {
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.footer li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid #1f2933;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Utility */

.center {
  text-align: center;
}

@media (min-width: 768px) {
  .gamification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
