:root {
  --neon-blue: #00F0FF;
  --neon-purple: #8A2BE2;
  --neon-pink: #FF00FF;
  --bg-dark: #0A0A0F;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.1);
  --text-main: #FFFFFF;
  --text-muted: #A0A0B0;
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Background Effects */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: 50px 50px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  z-index: -2;
  pointer-events: none;
}

.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--neon-purple), transparent 70%);
}

.orb-2 {
  top: 40%;
  right: -20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--neon-blue), transparent 70%);
  animation-delay: -5s;
}

.orb-3 {
  bottom: -10%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--neon-pink), transparent 70%);
  opacity: 0.3;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(5%, 10%) scale(1.1);
  }

  100% {
    transform: translate(-5%, -5%) scale(0.9);
  }
}

/* Typography & Layout Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* UI Elements */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  filter: brightness(1.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.full-width {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--neon-blue);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-right: auto;
  margin-left: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

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

.hero-cta {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.integrations {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.integrations span {
  font-size: 1rem;
  color: var(--text-muted);
}

.integration-logos {
  display: flex;
  gap: 1rem;
}

.logo-item {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.logo-item:hover {
  transform: translateY(-5px);
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.hero-visual {
  position: relative;
  height: 600px;
}

.floating-mockup {
  position: absolute;
  padding: 1.5rem;
  animation: float-slow 6s ease-in-out infinite alternate;
}

.chat-mockup {
  width: 320px;
  top: 10%;
  left: 0;
  z-index: 2;
  border-top-width: 2px;
  border-top-color: var(--neon-purple);
}

.calendar-mockup {
  width: 280px;
  bottom: 10%;
  right: 0;
  animation-delay: -3s;
  border-top-width: 2px;
  border-top-color: var(--neon-blue);
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  margin-right: 4px;
}

.dots span:nth-child(1) {
  background: #FF5F56;
}

.dots span:nth-child(2) {
  background: #FFBD2E;
}

.dots span:nth-child(3) {
  background: #27C93F;
}

.title {
  font-weight: 600;
  font-size: 0.9rem;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 85%;
}

.msg.inbound {
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg.outbound {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(138, 43, 226, 0.2));
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin: 0 2px;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.cal-event {
  background: rgba(138, 43, 226, 0.2);
  border-left: 3px solid var(--neon-blue);
  padding: 0.8rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.cal-event .time {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--neon-blue);
}

.cal-event .desc {
  font-size: 0.9rem;
}

/* Sections General */
section {
  padding: 8rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

/* Features / Flow Steps */
.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 2rem;
}

.step-card {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.step-card h3 {
  margin-bottom: 1rem;
}

.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  position: relative;
  opacity: 0.5;
}

/* About / Nosotros */
.flex-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ai-brain {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 2rem;
  animation: pulse-glow 4s infinite alternate;
}

.ai-brain svg {
  width: 100%;
  height: 100%;
  animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.3);
  }
}

.check-list {
  list-style: none;
  margin-top: 2rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 240, 255, 0.2);
  color: var(--neon-blue);
  border-radius: 50%;
  font-size: 0.8rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: end;
}

.pricing-card {
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.4);
}

.pricing-card.popular {
  border-color: var(--neon-purple);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  min-height: 45px;
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.plan-features li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--neon-blue);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stars {
  color: #FFBD2E;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: #fff;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info strong {
  display: block;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer CTA */
.footer {
  padding: 6rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.footer-bottom {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {

  .hero-container,
  .flex-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    height: 400px;
  }

  .chat-mockup {
    left: 10%;
  }

  .calendar-mockup {
    right: 10%;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  h1 {
    font-size: 2.5rem;
  }

  .title-lg {
    font-size: 2rem;
  }

  .flow-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .step-connector {
    width: 2px;
    height: 30px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-visual {
    display: none;
  }
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 2rem;
}

.lang-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  color: #fff;
  border-color: var(--neon-blue);
  background: rgba(0, 240, 255, 0.1);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
  max-width: 400px;
  width: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.contact-card h3 {
  font-size: 2rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.mt-3 {
  margin-top: 1rem;
}

/* WhatsApp Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-bubble {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* FAQ Flashcards */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.flashcard-container {
  perspective: 1000px;
  height: 220px;
}

.flashcard {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  cursor: pointer;
}

.flashcard-container:hover .flashcard {
  transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flashcard-front {
  background: var(--bg-card);
  border-color: rgba(0, 240, 255, 0.3);
}

.flashcard-front h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.flip-icon {
  font-size: 2rem;
  color: var(--neon-purple);
  margin-top: auto;
  font-weight: bold;
}

.flashcard-back {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 240, 255, 0.15));
  border-color: var(--neon-purple);
  transform: rotateY(180deg);
}

.flashcard-back p {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.5;
}