/* ==========================================================================
   CLIENTES WA - LANDING PAGE STYLES (MODERN SAAS AESTHETIC)
   ========================================================================== */

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --wa-green: #25d366;
  --wa-teal: #128c7e;
  --bg-dark: #090e17;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(16, 185, 129, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-gold: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-text span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #ffffff;
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* HERO SECTION */
.hero {
  padding: 160px 0 90px;
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 65%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: 30px;
  color: var(--primary-light);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 950px;
  margin: 0 auto 20px;
}

.hero-title span {
  background: linear-gradient(90deg, #34d399, #10b981, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-banner-wrap {
  margin-top: 50px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border);
}

.hero-banner-img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* STATS STRIP */
.stats-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary-light);
  letter-spacing: -1px;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* SECTION TITLES */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
}

/* COMPARISON: OLD VS NEW */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comp-card {
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.comp-card.bad {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.03);
}

.comp-card.good {
  border-color: var(--border-glow);
  background: rgba(16, 185, 129, 0.04);
}

.comp-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #e2e8f0;
}

/* FEATURES SHOWCASE */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-text h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
}

.feature-highlights li span {
  color: var(--primary-light);
}

.feature-img-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.feature-img-card:hover {
  transform: translateY(-4px);
}

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

/* USE CASES */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.uc-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
}

.use-case-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.use-case-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 100%);
  box-shadow: 0 15px 45px -10px rgba(16, 185, 129, 0.3);
}

.featured-pill {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-tier {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-name {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 14px;
}

.price-val {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
}

.price-val span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 14.5px;
  color: #e2e8f0;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FAQ ACCORDION */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  padding: 20px 24px;
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open {
  border-color: var(--border-glow);
}

/* FINAL CTA */
.final-cta {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 1px solid var(--border-glow);
  padding: 60px 40px;
  border-radius: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: #060910;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-title { font-size: 42px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .comparison-grid, .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid, .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .stats-grid, .use-cases-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
