/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lexend Deca", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 200;
  color: #333;
  line-height: 1.6;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===================================
   Container & Layout
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   Header
   =================================== */

.header {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  max-width: 150px;
  height: auto;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid #37a65b;
  color: #37a65b;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #37a65b;
  color: #fff;
  box-shadow: 0 6px 16px rgba(55, 166, 91, 0.2);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  background-color: #f5f5f5;
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: #37a65b;
}

.circle-1 {
  width: 350px;
  height: 350px;
  opacity: 0.1;
  top: 10%;
  left: 5%;
}

.circle-2 {
  width: 450px;
  height: 450px;
  opacity: 0.08;
  bottom: 5%;
  right: 5%;
}

.circle-3 {
  width: 250px;
  height: 250px;
  opacity: 0.06;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

.hero::before,
.hero::after {
  display: none;
}

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

.hero-title {
  font-size: 3.6rem;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 30px;
  line-height: 1.3;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  margin: 40px 0;
  position: relative;
}

.hero-image .illustration {
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #37a65b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(55, 166, 91, 0.3);
  margin: 20px 0;
}

.btn-primary:hover {
  background-color: #2d8a4a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(55, 166, 91, 0.4);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 200;
  color: #555;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Features Section
   =================================== */

.features {
  background-color: #fff;
  padding: 60px 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
  color: #2c2c2c;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 3rem;
  color: #37a65b;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #2c2c2c;
}

.feature-description {
  font-size: 0.95rem;
  font-weight: 200;
  color: #666;
  line-height: 1.6;
}

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
  background-color: #f5f5f5;
  padding: 60px 20px;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: #37a65b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.step-icon i {
  font-size: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: #37a65b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.step-title .step-number {
  display: inline;
  width: auto;
  height: auto;
  background-color: transparent;
  color: #2c2c2c;
  border-radius: 0;
  font-size: inherit;
  font-weight: 500;
}

.step-description {
  font-size: 1rem;
  font-weight: 200;
  color: #666;
  line-height: 1.6;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
  background: linear-gradient(135deg, #37a65b 0%, #2d8a4a 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.1rem;
  font-weight: 200;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-input {
  flex: 1;
  min-width: 250px;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 1rem;
  font-family: "Lexend Deca", sans-serif;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-form .btn-primary {
  background-color: #fff;
  color: #37a65b;
}

.cta-form .btn-primary:hover {
  background-color: #f5f5f5;
  color: #2d8a4a;
}

.form-note {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 200;
  opacity: 0.85;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: #2c2c2c;
  color: #fff;
  padding: 60px 20px 100px;
}

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

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 0.95rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #37a65b;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Bottom Navigation (Mobile)
   =================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  color: #999;
  transition: color 0.3s ease;
}

.nav-item.active {
  color: #37a65b;
}

.nav-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon i {
  font-size: 1.2rem;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 200;
}

/* ===================================
   Responsive Design
   =================================== */

/* Mobile First - ajustes para mobile */
@media (max-width: 767px) {
  .header .container {
    flex-direction: column;
    gap: 12px;
  }

  .btn-login {
    display: none;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-image .illustration {
    max-width: 100%;
  }

  .image-placeholder {
    padding: 40px 15px;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-image .illustration {
    max-width: 500px;
  }

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

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

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

  .bottom-nav {
    display: none;
  }

  .footer {
    padding-bottom: 60px;
  }
}

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

  .cta-form {
    flex-wrap: nowrap;
  }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===================================
   Utilities
   =================================== */

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

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}
