/* ================= VARIABLES ================= */

:root {
  --bg-dark: #020617;
  --bg-section: #020617;
  --bg-light: #0f172a;
  --primary: #3b82f6;
  --primary-soft: rgba(59,130,246,0.15);
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --border-soft: rgba(255,255,255,0.08);
}

/* ================= RESET ================= */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

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

/* ================= LAYOUT ================= */

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.section {
  padding: 5rem 0;
}

.section.dark {
  background: var(--bg-light);
}

.section-text {
  max-width: 640px;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  text-align: center;
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
  
  margin-left: 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.nav-links a.btn {
  color: white;
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}


.nav-links a:hover {
  color: white;
}

.nav-links a.btn:hover {
  background: #2563eb;
}


/* ================= HERO ================= */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3.75rem;
  line-height: 1.05;
  font-weight: 800;
}

.hero h1 span {
  display: block;
}

.hero-title-main {
  color: #ffffff;
}

.hero-title-accent {
  color: #60a5fa;
}

.hero p {
  margin-top: 1.75rem;
  max-width: 560px;
  color: #e5e7eb;
  font-size: 1.125rem;
  line-height: 1.6;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(59,130,246,0.15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(34,211,238,0.1), transparent 45%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding-top: 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: #bfdbfe;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
}


.hero p {
  margin: 1.5rem auto 2.5rem;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.15rem;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-large {
  padding: 0.9rem 2rem;
}

.btn-outline {
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: white;
}

.btn-outline:hover {
  border-color: var(--primary);
}

.btn-primary {
  background: #3b82f6;
  color: white;
  box-shadow: 0 10px 30px rgba(59,130,246,0.35);
}

.btn-primary:hover {
  background: #2563eb;
}


/* ================= HERO ACTIONS ================= */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================= STEPS ================= */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}


.step {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 3rem 2.25rem 3.25rem;
  overflow: hidden;
}


.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
}


.step h3 {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.step p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

#como-funciona {
  text-align: center;
}

#como-funciona h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  #como-funciona h2 {
    font-size: 2.8rem;
  }
}


.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem; /* icono grande */
  margin-bottom: 1.5rem;
  color: white;
}





/* ================= FEATURES ================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  text-align: center;
  font-weight: 600;
}

/* ================= FEATURES (NEW) ================= */

#caracteristicas {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  text-align: left;
}

.feature-card h3 {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
}

/* Color variants */
.feature-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
}

.feature-icon.cyan {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.feature-icon.purple {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.feature-icon.green {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}

.feature-icon.yellow {
  background: linear-gradient(135deg, #f59e0b, #facc15);
}

.feature-icon.red {
  background: linear-gradient(135deg, #ef4444, #f87171);
}


/* ================= USE CASES ================= */

.use-cases {
  text-align: center;
}

.use-cases .section-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.use-case {
  max-width: 320px;
  margin: 0 auto;
}

.use-case-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-icon i {
  font-size: 1.6rem;
  color: white;
}

.use-case h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.use-case p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================= SEGURIDAD ================= */

.security-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,0.15), transparent 40%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security-text .section-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #60a5fa;
  text-transform: uppercase;
  font-weight: 600;
}

.security-text h2 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.security-description {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1.05rem;
}

.security-link {
  display: inline-block;
  margin-top: 1.75rem;
  color: #60a5fa;
  font-weight: 600;
}

.security-link:hover {
  text-decoration: underline;
}

/* CARDS */

.security-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.security-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1.75rem;
}

.security-card i {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.75rem;
}

.security-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.security-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= CONTACT ================= */

/* ================= CONTACT SECTION ================= */

.contact-section {
  padding: 7rem 0 6rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-section p {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.contact-section .btn {
  font-size: 1rem;
  padding: 1rem 2.4rem;
  box-shadow: 0 12px 30px rgba(59,130,246,0.35);
}

/* Responsive fine-tuning */
@media (max-width: 768px) {
  .contact-section {
    padding: 5rem 0 4.5rem;
  }

  .contact-section h2 {
    font-size: 2.1rem;
  }
}


/* ================= FOOTER ================= */

/* ================= FOOTER ================= */

.footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: white;
}

.footer-links a {
  margin-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsive */

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links a {
    margin: 0 0.75rem;
  }
}


/* ================= RESPONSIVE ================= */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .nav-links {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.1rem;
  }
}


/* ================= LANGUAGE SWITCH ================= */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 1.25rem; /* separación con el menú */
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}


.lang-switch button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.7;
}

.lang-switch button.active {
  opacity: 1;
  color: white;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}


/* ================= CHAT MOCKUP ================= */

.chat-mockup {
  position: absolute;
  right: -360px;
  top: 50%;
  transform: translateY(-45%);
  display: none;
}

@media (min-width: 1024px) {
  .chat-mockup {
    display: block;
  }
}

.chat-card {
  width: 320px;
  background: linear-gradient(180deg, #020617, #020617);
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  padding: 1rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.chat-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.chat-status {
  display: block;
  font-size: 0.7rem;
  color: #22c55e;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-bubble.user {
  align-self: flex-end;
  background: #1e293b;
  color: white;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
}

.chat-bubble.success i {
  color: #22c55e;
  margin-right: 6px;
}

.chat-bubble.info i {
  color: #60a5fa;
  margin-right: 6px;
}

/* Audio bubble */

.chat-bubble.audio {
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-bar {
  width: 90px;
  height: 6px;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  border-radius: 999px;
}

.audio-time {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Tags */

.chat-tag {
  position: absolute;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
}

.chat-tag.calendar {
  top: -12px;
  right: 12px;
  background: #3b82f6;
}

.chat-tag.tasks {
  bottom: -12px;
  left: 12px;
  background: #a855f7;
}
