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

:root {
  --cyan: #00BFFF;
  --cyan-dark: #0099cc;
  --blue: #3b82f6;
  --bg: #f0f7ff;
  --bg2: #e8f4fd;
  --white: #ffffff;
  --text: #0f172a;
  --text2: #334155;
  --muted: #64748b;
  --border: #cbd5e1;
  --border-light: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

body { font-family: 'Inter', -apple-system, sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img { height: 36px; }
.nav-logo-text { display: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switcher { font-size: 0.85rem; color: var(--muted); }
.lang-switcher a { color: var(--cyan-dark); font-weight: 600; }
.btn-nav { background: var(--cyan); color: #fff; font-weight: 700; padding: 0.5rem 1.3rem; border-radius: 8px; font-size: 0.85rem; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,191,255,0.3); }
.btn-nav:hover { background: var(--cyan-dark); box-shadow: 0 4px 16px rgba(0,191,255,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); padding: 1.5rem 5%; border-bottom: 1px solid var(--border-light); z-index: 99; box-shadow: var(--shadow-md); }
.mobile-menu a { display: block; padding: 0.75rem 0; color: var(--text2); border-bottom: 1px solid var(--border-light); font-size: 1rem; }
.mobile-menu.open { display: block; }

/* HERO */
.hero {
  padding: 140px 5% 100px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 40%, #dff0ff 100%);
  position: relative; overflow: hidden; text-align: center;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,191,255,0.12); border: 1px solid rgba(0,191,255,0.25);
  color: var(--cyan-dark); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -2px;
  max-width: 800px; margin: 0 auto 1.5rem;
  color: var(--text);
}
.hero h1 span { color: var(--cyan); }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--cyan); color: #fff; font-weight: 700; padding: 0.9rem 2.2rem; border-radius: 10px; font-size: 1rem; transition: all 0.2s; box-shadow: 0 4px 20px rgba(0,191,255,0.35); }
.btn-primary:hover { background: var(--cyan-dark); box-shadow: 0 6px 28px rgba(0,191,255,0.45); transform: translateY(-1px); }
.btn-secondary { border: 2px solid var(--border); color: var(--text2); padding: 0.9rem 2.2rem; border-radius: 10px; font-size: 1rem; font-weight: 600; transition: all 0.2s; background: var(--white); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan-dark); background: rgba(0,191,255,0.05); }

/* HERO SCREENSHOT */
.hero-screenshot {
  margin: 3.5rem auto 0; max-width: 900px;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.14);
  border: 1px solid var(--border-light);
  overflow: hidden; position: relative; z-index: 1;
}
.hero-screenshot img { width: 100%; display: block; }
.browser-bar {
  background: #f8fafc; padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 0.5rem;
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }
.browser-url {
  flex: 1; background: var(--white); border: 1px solid var(--border-light);
  border-radius: 6px; padding: 0.25rem 0.75rem;
  font-size: 0.78rem; color: var(--muted); margin: 0 0.5rem;
}

/* SECTIONS */
section { padding: 80px 5%; }
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem; color: var(--text); }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 3.5rem; }
.centered { text-align: center; }
.centered .section-sub { margin: 0 auto; }

/* BG ALTERNATING */
.bg-light { background: var(--bg); }
.bg-white { background: var(--white); }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 1.8rem;
  transition: all 0.2s; box-shadow: var(--shadow);
}
.feature-card:hover { border-color: var(--cyan); box-shadow: 0 4px 20px rgba(0,191,255,0.12); transform: translateY(-2px); }
.feature-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

/* PRODUCT SHOWCASE (2-col with screenshot) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-text .section-label { margin-bottom: 0.5rem; }
.showcase-text h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem; color: var(--text); }
.showcase-text p { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }
.showcase-features { list-style: none; margin-bottom: 2rem; }
.showcase-features li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text2); font-size: 0.92rem; margin-bottom: 0.6rem; }
.showcase-features li::before { content: '✓'; color: var(--cyan-dark); font-weight: 800; font-size: 0.9rem; margin-top: 0.05rem; flex-shrink: 0; }
.showcase-img {
  background: var(--white); border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  border: 1px solid var(--border-light); overflow: hidden;
}

/* CRM MOCKUP SVG CONTAINER */
.crm-mockup { width: 100%; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1120px; margin: 0 auto; }
.price-card {
  background: var(--white); border: 2px solid var(--border-light);
  border-radius: 16px; padding: 2rem; box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--cyan); background: linear-gradient(135deg, #f0faff 0%, #ffffff 100%);
  box-shadow: 0 8px 32px rgba(0,191,255,0.16); position: relative;
}
.price-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%); background: var(--cyan); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 1rem; border-radius: 20px;
}
html[lang="es"] .price-card.featured::before { content: 'Más popular'; }
.price-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 0.4rem; }
.price-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; color: var(--text); }
.price-amount { font-size: 3rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text); margin-bottom: 0.25rem; }
.price-amount span { font-size: 1.1rem; font-weight: 400; color: var(--muted); }
.price-period { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li { padding: 0.5rem 0; color: var(--text2); font-size: 0.9rem; border-bottom: 1px solid var(--border-light); display: flex; gap: 0.5rem; }
.price-features li::before { content: '✓'; color: var(--cyan-dark); font-weight: 800; flex-shrink: 0; }
.btn-demo { display: block; text-align: center; background: var(--cyan); color: #fff; font-weight: 700; padding: 0.9rem; border-radius: 10px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,191,255,0.3); }
.btn-demo:hover { background: var(--cyan-dark); box-shadow: 0 6px 24px rgba(0,191,255,0.4); }
.btn-demo-outline { display: block; text-align: center; border: 2px solid var(--border); color: var(--text2); padding: 0.9rem; border-radius: 10px; font-weight: 600; transition: all 0.2s; }
.btn-demo-outline:hover { border-color: var(--cyan); color: var(--cyan-dark); }

/* PRODUCTS STRIP */
.products-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 1.8rem; transition: all 0.2s; box-shadow: var(--shadow);
}
.product-card:hover { border-color: var(--cyan); box-shadow: 0 4px 20px rgba(0,191,255,0.12); transform: translateY(-2px); }
.product-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--cyan-dark); }
.product-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.product-link { font-size: 0.85rem; color: var(--cyan-dark); font-weight: 700; }

/* CTA STRIP */
.cta-strip {
  background: linear-gradient(135deg, #00BFFF 0%, #0099cc 100%);
  color: #fff; text-align: center; padding: 80px 5%;
}
.cta-strip h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem; }
.cta-strip p { font-size: 1.1rem; opacity: 0.9; max-width: 500px; margin: 0 auto 2rem; }
.btn-white { background: #fff; color: var(--cyan-dark); font-weight: 800; padding: 0.9rem 2.2rem; border-radius: 10px; font-size: 1rem; transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

/* FOOTER */
footer { background: #0f172a; color: #e2e8f0; padding: 3rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { color: #94a3b8; font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; }
.footer-col a { display: block; color: #94a3b8; font-size: 0.9rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: #e2e8f0; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: #64748b; font-size: 0.85rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #64748b; font-size: 0.85rem; transition: color 0.2s; }
.footer-legal a:hover { color: #94a3b8; }
.footer-logo-img { height: 32px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; }

/* INNER PAGES */
.page-hero { padding: 130px 5% 60px; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; color: var(--text); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 600px; }

/* LEGAL */
.legal-content { max-width: 800px; padding: 60px 5%; }
.legal-content h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text); }
.legal-content p, .legal-content li { color: var(--text2); font-size: 0.95rem; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content a { color: var(--cyan-dark); }

/* WHATSAPP BADGE */
.wa-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: #dcfce7; color: #166534; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 0.8rem; }

/* SHOWCASE REVERSE */
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }

/* CHECK LIST */
.check-list { list-style: none; margin-bottom: 1.5rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text2); font-size: 0.95rem; margin-bottom: 0.6rem; padding-left: 0.2rem; }
.check-list li::before { content: '✓'; color: var(--cyan-dark); font-weight: 800; font-size: 0.9rem; margin-top: 0.05rem; flex-shrink: 0; }

/* FEATURES SECTION */
.features-section { padding: 80px 5%; }
.features-section .features-grid { max-width: 1100px; margin: 0 auto; }

/* SHOWCASE VISUAL */
.showcase-visual { background: var(--white); border-radius: 16px; box-shadow: 0 12px 48px rgba(0,0,0,0.1); border: 1px solid var(--border-light); overflow: hidden; }

/* PRICING CARD (single) */
.pricing-card { background: var(--white); border: 2px solid var(--cyan); border-radius: 16px; padding: 2.5rem; box-shadow: 0 8px 32px rgba(0,191,255,0.16); }
.pricing-card .price { font-size: 3rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text); }
.pricing-card .price-period { font-size: 1.2rem; font-weight: 400; color: var(--muted); }
.pricing-card .price-features { list-style: none; margin-bottom: 1.5rem; text-align: left; }
.pricing-card .price-features li { padding: 0.5rem 0; color: var(--text2); font-size: 0.95rem; border-bottom: 1px solid var(--border-light); }

/* SECTION PADDING */
section.bg-white, section.bg-light { padding: 80px 5%; max-width: 100%; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 2rem; }
  .showcase.reverse { direction: ltr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right .btn-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  nav { padding: 0 4%; }
  .hero { padding: 110px 4% 70px; }
  section { padding: 60px 4%; }
}
