/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #020617;
  background-color: #f5f7fb;
  line-height: 1.5;
}

/* CONTENEDOR GENERAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* PALETA WiSe (ajusta estos HEX según tu logo exacto) */
:root {
  --wise-primary: #00c853;        /* Verde brillante WiSe */
  --wise-primary-dark: #009624;   /* Verde más oscuro */
  --wise-secondary: #0f172a;      /* Azul/negro profundo para textos */
  --wise-accent: #00e5ff;         /* Cian/acento */
  --wise-bg-dark: #020617;        /* Fondo muy oscuro */
}

/* HEADER */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--wise-primary-dark);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--wise-primary);
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

/* BOTONES GENERALES */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: var(--wise-primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 200, 83, 0.25);
}

.btn-primary:hover {
  background: var(--wise-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 200, 83, 0.35);
}

.btn-secondary {
  background: #e0f2f1;
  color: var(--wise-secondary);
}

.btn-secondary:hover {
  background: #b2dfdb;
}

.btn-outline {
  border: 1px solid var(--wise-secondary);
  color: var(--wise-secondary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--wise-secondary);
  color: #ffffff;
}

/* HERO */
.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, #bbf7d0 0%, #00c853 35%, #020617 100%);
  color: #ecfdf5;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  max-width: 540px;
}

.hero-actions {
  margin: 1.5rem 0 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.hero-highlights span {
  background: rgba(15, 23, 42, 0.6);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 250, 229, 0.4);
}

/* HERO MOCKUP */
.hero-image {
  display: flex;
  justify-content: center;
}

.mockup-card {
  background: #ffffff;
  color: #020617;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
  max-width: 320px;
  border-top: 4px solid var(--wise-accent);
}

.mockup-card h3 {
  margin-bottom: 0.5rem;
  color: var(--wise-secondary);
}

.mockup-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #475569;
}

.mockup-card ul {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #475569;
}

/* SECCIONES GENERALES */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--wise-secondary);
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #64748b;
}

/* GRID FUNCIONALIDADES / SERVICIOS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  border-top: 4px solid #bbf7d0;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--wise-secondary);
}

.card p {
  font-size: 0.95rem;
  color: #475569;
}

/* NUEVA SECCIÓN: PANTALLAS APP */
.section-screens {
  background: #f1f5f9;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.screen-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 10px 20px rgba(234, 235, 236, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.screen-image {
  background: white;
  border-radius: 0.8rem;
  padding: 0.6rem;
  overflow: hidden;
}

.screen-image img {
  width: 100%;
  display: block;
  border-radius: 0.6rem;
}

.screen-card h3 {
  font-size: 1rem;
  color: var(--wise-secondary);
}

.screen-card p {
  font-size: 0.9rem;
  color: #475569;
}

/* BENEFICIOS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.benefit-item {
  background: #ecfdf5;
  border-radius: 0.9rem;
  padding: 1.25rem;
  border: 1px solid #bbf7d0;
}

.benefit-item h3 {
  margin-bottom: 0.4rem;
  color: var(--wise-primary-dark);
}

.benefit-item p {
  font-size: 0.9rem;
  color: #475569;
}

/* PARA QUIÉN ES (PASOS) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--wise-primary);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.step h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.4rem;
  color: var(--wise-secondary);
}

.step p {
  font-size: 0.9rem;
  color: #475569;
}

/* SECCIÓN LOGIN / SIGNUP */
.auth-section {
  text-align: center;
  max-width: 650px;
}

.auth-section p {
  margin: 0.25rem 0 1.5rem;
  color: #64748b;
}

/* CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info {
  list-style: none;
  margin-top: 1rem;
  color: #475569;
}

.contact-info li + li {
  margin-top: 0.4rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #64748b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wise-primary);
  box-shadow: 0 0 0 1px rgba(0, 200, 83, 0.25);
}

/* FOOTER */
.main-footer {
  background: var(--wise-bg-dark);
  color: #e2e8f0;
  padding: 1.5rem 0;
  margin-top: 1rem;
}

.footer-content {
  text-align: center;
  font-size: 0.85rem;
}

.footer-small {
  margin-top: 0.25rem;
  color: #a7f3d0;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.4);
  z-index: 100;
}

.whatsapp-float:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

@media (max-width: 720px) {
  .header-content {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .main-nav {
    display: none; /* Luego podemos montar aquí un menú hamburguesa */
  }

  .card-grid,
  .benefits-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
/* === ESTILOS PARA LOGIN / SIGNUP === */

.auth-body {
  background: #f0fdf4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 1rem;
}

.auth-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--wise-primary);
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo img {
  width: 70px;
  margin-bottom: 0.5rem;
}

.auth-form .form-group {
  margin-bottom: 1rem;
}

.auth-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.auth-text a {
  color: var(--wise-primary-dark);
  font-weight: bold;
  text-decoration: none;
}

.auth-text a:hover {
  text-decoration: underline;
}
