/* =============================================
   Zenta Solutions — Landing Page
   ============================================= */

:root {
  /* Paleta alineada a Zenta Academy + Zentafact */
  --zenta-primary: #2563eb;
  --zenta-primary-dark: #1d4ed8;
  --zenta-blue: #3b82f6;
  --zenta-teal: #0891b2;
  --zenta-teal-light: #67e8f9;
  --zenta-teal-dark: #0e7490;
  --zenta-dark: #0f172a;
  --zenta-dark-2: #1e293b;
  --zenta-dark-3: #334155;
  --zenta-green: #34d399;
  --zenta-navy: #1e293b;
  --zenta-navy-dark: #0f172a;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.16);
  --radius: 1rem;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.text-teal {
  color: var(--zenta-teal) !important;
}

.text-gradient {
  background: linear-gradient(90deg, #60a5fa, var(--zenta-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Navbar ---- */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark) !important;
}

.navbar.scrolled .brand-text {
  color: var(--zenta-dark-2);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--zenta-primary), var(--zenta-teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--zenta-teal) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--zenta-primary), var(--zenta-primary-dark));
  border: none;
  font-weight: 600;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, var(--zenta-blue), var(--zenta-primary-dark));
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--zenta-dark) 0%, var(--zenta-dark-2) 60%, #1a2744 100%);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(8, 145, 178, 0.12), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(37, 99, 235, 0.1), transparent);
  pointer-events: none;
}

.hero-badge {
  background: rgba(8, 145, 178, 0.15);
  color: var(--zenta-teal-light);
  border: 1px solid rgba(8, 145, 178, 0.35);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 520px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hero-bullets li i {
  color: var(--zenta-teal);
  font-size: 0.85rem;
}

.btn-outline-light {
  border-radius: 50px;
  font-weight: 600;
  border-width: 2px;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.hero-stats {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--zenta-teal);
}

.hero-stats span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  position: relative;
}

.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* Placeholder when image missing */
.hero-img:not([src]),
.hero-img[src=""],
img:not([src]),
img[src=""] {
  min-height: 280px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,194,203,0.12));
  border: 2px dashed rgba(255,255,255,0.2);
}

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
}

.section-academy {
  background: var(--bg-light);
}

.section-fact {
  background: linear-gradient(150deg, var(--zenta-dark) 0%, var(--zenta-dark-2) 60%, #1a2744 100%);
}

.section-benefits {
  background: #fff;
}

.section-screenshots {
  background: var(--bg-light);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.academy-label {
  background: rgba(37, 99, 235, 0.1);
  color: var(--zenta-blue);
}

.fact-label {
  background: rgba(0, 194, 203, 0.15);
  color: var(--zenta-teal);
}

.section-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--zenta-blue);
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Features ---- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.academy-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--zenta-blue);
}

.fact-icon {
  background: rgba(0, 194, 203, 0.15);
  color: var(--zenta-teal);
}

.feature-list strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-list-dark strong {
  color: #fff;
}

.feature-list-dark p {
  color: rgba(255, 255, 255, 0.55);
}

.btn-academy {
  background: var(--zenta-blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: none;
  transition: var(--transition);
}

.btn-academy:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-outline-academy {
  background: transparent;
  color: var(--zenta-blue);
  border: 2px solid var(--zenta-blue);
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: var(--transition);
}

.btn-outline-academy:hover {
  background: var(--zenta-blue);
  color: #fff;
}

.btn-fact {
  background: var(--zenta-teal);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border: none;
  transition: var(--transition);
}

.btn-fact:hover {
  background: var(--zenta-teal-light);
  color: var(--zenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
}

.btn-outline-fact {
  background: transparent;
  color: var(--zenta-teal);
  border: 2px solid var(--zenta-teal);
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: var(--transition);
}

.btn-outline-fact:hover {
  background: var(--zenta-teal);
  color: #fff;
}

.product-screenshot img {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---- Visual combo (landing + dashboard) ---- */
.visual-combo {
  position: relative;
  padding: 0 0 1.5rem 0.5rem;
}

.visual-combo__top {
  display: block;
  width: 92%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.visual-combo__bottom {
  display: block;
  width: 94%;
  margin: -2.5rem 0 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.section-academy .visual-combo__top,
.section-academy .visual-combo__bottom {
  border-color: #fff;
}

@media (max-width: 575.98px) {
  .visual-combo__bottom {
    margin-top: -1.5rem;
    width: 98%;
  }

  .visual-combo__top {
    width: 96%;
  }
}

/* ---- Benefits ---- */
.benefit-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--zenta-primary), var(--zenta-teal));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ---- Screenshots ---- */
.screenshot-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #e2e8f0;
}

.screenshot-caption {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--zenta-dark-2);
  border-top: 1px solid #e2e8f0;
}

/* ---- CTA ---- */
.section-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--zenta-teal), var(--zenta-primary));
}

.cta-box {
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}

.cta-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-box p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--zenta-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--zenta-teal-light);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20b859;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.45);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 1050;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow);
  }

  .navbar-collapse .nav-link {
    color: var(--text-dark) !important;
  }

  .navbar.scrolled .navbar-collapse,
  .navbar:not(.scrolled) .navbar-collapse.show {
    background: #fff;
  }

  .hero {
    padding-top: 5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.75rem;
    bottom: 16px;
    right: 16px;
  }

  .hero-stats {
    gap: 1.5rem !important;
  }
}
