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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #f5f8ff 0%, #e6ecfb 100%);
  color: #22223b;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: #283593;
  color: white;
  box-shadow: 0 2px 8px rgba(40,49,147,0.07);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.bot-emoji {
  font-size: 2rem;
}

.brand {
  letter-spacing: 1px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #ffd54f;
}

/* Hero Section */
.hero {
  background: linear-gradient(100deg, #e3f2fd 50%, #bbdefb 100%);
  padding: 4rem 0 2rem 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1 1 320px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 0.7rem;
  color: #283593;
}
.hero .highlight {
  color: #00bfae;
  font-weight: 700;
}
.subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  color: #22223b;
}
.cta-button {
  display: inline-block;
  padding: 0.9em 2em;
  background: linear-gradient(90deg,#00bfae 0%, #283593 100%);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(0,191,174,0.10);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
}
.cta-button.disabled {
  opacity: 0.7;
  pointer-events: none;
  background: #b0bec5;
  background: linear-gradient(90deg,#b0bec5 0%, #90a4ae 100%);
}
.cta-button.disabled::after {
  content: " (Disponible aquí)";
  font-size: 0.95em;
  color: #283593;
}
.hero-illustration img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(40,49,147,0.12));
}

/* Sectores */
.sectores {
  background: #f7faff;
  padding: 3.5rem 0;
}
.sectores h2 {
  text-align: center;
  color: #283593;
  margin-bottom: 2.5rem;
  font-size: 2rem;
}
.sector-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.sector-card {
  background: white;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(40,49,147,0.06);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
}
.sector-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 26px rgba(0,191,174,0.10);
}
.sector-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.sector-card h3 {
  margin-bottom: 0.6rem;
  color: #00bfae;
}

/* Features */
.features {
  padding: 3.5rem 0;
}
.features h2 {
  color: #283593;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
}
.features-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding-left: 0;
  color: #333;
  font-size: 1.15rem;
}
.features-list li {
  padding: 0.8em 0 0.8em 2.2em;
  position: relative;
  margin-bottom: 1rem;
  border-left: 3px solid #00bfae;
  background: #f9fafe;
  border-radius: 0 1em 1em 0;
}
.features-list li::before {
  content: "✔️";
  position: absolute;
  left: 0.6em;
  top: 0.9em;
  font-size: 1.1em;
}
.features .highlight {
  color: #00bfae;
  font-weight: bold;
}

/* Demo */
.demo {
  background: #e3f2fd;
  padding: 3.5rem 0;
  text-align: center;
}
.demo h2 {
  color: #283593;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.demo p {
  margin-bottom: 1.5rem;
  color: #333;
}
.demo .chat-widget {
  margin: 2.5rem auto 0 auto;
  max-width: 360px;
  min-height: 80px;
}

/* Footer */
footer {
  background: #283593;
  color: #fff;
  text-align: center;
  padding: 1.3rem 0;
  margin-top: 3rem;
  font-size: 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Responsive */
@media (max-width: 950px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-illustration img {
    margin: 0 auto 2rem auto;
  }
  nav a { margin-left: 1.2rem; }
}

@media (max-width: 600px) {
  header .container, .container {
    padding: 1rem;
  }
  .hero h1 { font-size: 2rem; }
  .features-list { font-size: 1rem; }
  .sector-card { padding: 1.2rem 0.6rem; }
}