:root {
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #1e293b;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --accent-blue: #0c4a6e;
    --accent-light-blue: #0ea5e9;
    --accent-gold: #b45309;
    --gradient-blue: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

body {
    background-color: var(--white);
    color: var(--text-medium);
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    color: var(--text-dark);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 0.7rem 5%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Asegura que el texto esté centrado incluso cuando la ventana es pequeña */
.login-btn, .btn.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* iguala a los otros elementos */
  padding: 0 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #0ea5e9 100%);
  color: white;
  border-radius: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
  text-decoration: none;
  text-align: center;
  min-width: 100px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.login-btn-short {
  padding: 0 1rem;
  height: 34px;
  font-size: 0.8rem;
  min-width: 70px;
  border-radius: 8px;
}

.login-btn:before, .btn.login-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #1e40af 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.login-btn:hover, .btn.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
  color: white;
}

.login-btn:hover:before, .btn.login-btn:hover:before {
  opacity: 1;
}

.login-btn:active, .btn.login-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 8px rgba(6, 182, 212, 0.3);
}

/* Asegura que el texto esté centrado incluso cuando la ventana es pequeña */
@media (max-width: 768px) {
  .login-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-width: 6rem;
  }
}

.carousel-dot {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background: #666;
  display: inline-block;
  cursor: pointer;
}
.carousel-dot.active {
  background: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-blue);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem; /* o lo que uses */
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
    position: relative;
}

.nav-menu li a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: var(--transition-normal);
}

.nav-menu li a:hover {
    color: var(--accent-blue);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.language-selector {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    position: relative;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.current-language:hover {
    background-color: var(--light-gray);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    min-width: 150px;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: var(--transition-normal);
    border: 1px solid var(--medium-gray);
}

.language-options.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.language-option {
    padding: 0.7rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-normal);
}

.language-option:hover {
    background-color: var(--light-gray);
}

.language-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, #92400e 0%, #d97706 100%);
}

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.85)),
              url('img/fondo-hero.jpg') center/cover no-repeat; /* Usa local para asegurar carga */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10% 4rem; /* deja espacio debajo del header fijo */
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  z-index: 10;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-family: 'Libre Baskerville', Georgia, serif;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-medium);
}

.hero-graphic {
  width: 40%;
  max-width: 600px;
  z-index: 5;
  position: relative;
}

.floating-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 120px 5% 3rem;
  }

  .hero-graphic {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.accent-text {
    position: relative;
    color: var(--accent-blue);
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-light-blue), transparent);
    z-index: -1;
    opacity: 0.4;
}

.hero-stats {
    display: flex;
    margin-top: 2.5rem;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    left: -1.2rem;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-blue);
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Section Common Styles */
.section-decoration {
  height: 4px;
  width: 60px;
  background: var(--gradient-blue);
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

/* Espaciado lateral común para todas las secciones */
section {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  section {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

/* Subrayado estilo gradiente debajo del título */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30%;
  height: 3px;
  background: var(--gradient-blue);
  border-radius: 10px;
}

/* Subtítulo más fino y alineado */
.section-subtitle {
  text-align: left;
  font-size: 1.1rem;
  margin-top: 2rem; /* espaciado claro */
  margin-bottom: 3rem;
  max-width: 700px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: 0;         /* 🔥 NO auto */
  margin-right: 0;        /* 🔥 NO auto */
}

/* Features Section */
.features {
    background-color: var(--white);
    overflow: hidden;
}

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

.feature-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    border: 1px solid var(--medium-gray);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-blue);
    opacity: 0.05;
    z-index: -1;
    transition: var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light-blue);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-blue);
    transition: var(--transition-normal);
}

.feature-card:hover h3::after {
    width: 100%;
}

/* Justify  */
.text-left {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Security Section */
.security {
  position: relative; /* 👈 OBLIGATORIO */
  overflow: hidden;
}
.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background-image: url('img/global_ma_world.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.security-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
  background-image: url('img/global_ma_world.png');
  background-size: cover;
  background-position: center;
}

@keyframes floatXY {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(2px, -3px); }
  50%  { transform: translate(0, 2px); }
  75%  { transform: translate(-2px, -1px); }
  100% { transform: translate(0, 0); }
}

.particle-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 10;
  animation: floatXY 6s ease-in-out infinite;
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0c4a6e;
  box-shadow: 0 0 10px rgba(12, 74, 110, 0.8);
}

.security-content {
    position: relative;
    z-index: 10; /* estaba en 1, ahora lo elevamos sobre partículas */
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
    margin-top: 2rem;
}

.security-text {
    flex: 1;
    max-width: 500px;
}

.security-text p {
    margin-bottom: 1.5rem;
}

.security-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.security-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.security-image:hover img {
    transform: scale(1.05);
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-dark);
    gap: 0.8rem;
    border: 1px solid var(--medium-gray);
    transition: var(--transition-normal);
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light-blue);
}

.badge i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.how-it-works-content {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-light-blue));
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-blue);
    font-weight: bold;
    font-family: 'Libre Baskerville', Georgia, serif;
    position: relative;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.step:hover .step-number {
    transform: scale(1.1);
    border-color: var(--accent-light-blue);
    box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.2);
}

.step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
    overflow: hidden;
}

.testimonial-slider {
    margin-top: 3rem;
    position: relative;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-md);
    flex: 0 0 calc(50% - 1rem);
    margin-right: 2rem;
    border: 1px solid var(--medium-gray);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light-blue);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    opacity: 0.1;
    color: var(--accent-blue);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-gold);
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.author-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-dark);
    font-size: 1rem;
}

.slider-btn:hover {
    background: var(--gradient-blue);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(30, 41, 59, 0.95), rgba(30, 41, 59, 0.95)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 10%;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-blue), transparent);
    opacity: 0.2;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5rem 10% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.8;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-light-blue);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--accent-light-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: a1rem;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    color: var(--accent-light-blue);
    transform: translateY(-3px);
}

/* Language Selector - Display Control */
.lang-es, .lang-en, .lang-de {
    display: none;
}

[lang="es"] .lang-es {
    display: block;
}

[lang="en"] .lang-en {
    display: block;
}

[lang="de"] .lang-de {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .process-steps::before {
        left: 40px;
        right: 40px;
    }
}

@media (max-width: 992px) {
    .hero-graphic {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .security-content {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .security-image {
        max-width: 100%;
    }

    .security-text {
        max-width: 100%;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 2rem);
    }
}

/* Estilos base */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

/* Estilos para móvil */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: #0a0a0a; /* oscuro para contrastar */
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    padding: 1rem;
    border-radius: 12px;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu a {
    color: white !important;
    text-decoration: none;
    font-size: 1rem;
  }

  .nav-menu a:hover {
    color: #00bfff;
  }

  .mobile-menu-btn i {
    font-size: 24px;
    color: #111; /* puedes poner blanco si el fondo es oscuro */
  }

    .language-selector {
        margin-left: 0;
        margin-right: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 4rem 5%;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Carousel Section */
.carousel-section {
    padding: 6rem 10%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, transparent 100%);
    opacity: 0.6;
    z-index: 0;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 3rem auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    cursor: grab;
    z-index: 1;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.9) translateX(100%);
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 3;
}

.carousel-slide.prev {
    opacity: 0.7;
    transform: scale(0.9) translateX(-100%);
    z-index: 2;
}

.carousel-slide.next {
    opacity: 0.7;
    transform: scale(0.9) translateX(100%);
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    text-align: center;
}

.carousel-caption h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.1);
}

/* Info Cards */
.carousel-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.info-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--medium-gray);
}

.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    color: var(--white);
    font-size: 1.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Animation classes for scroll effects */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeIn {
    opacity: 1;
}

.fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

.fadeInUp {
    transform: translateY(30px);
}

.fadeInLeft {
    opacity: 1;
    transform: translateX(0);
}

.fadeInLeft {
    transform: translateX(-30px);
}

.fadeInRight {
    opacity: 1;
    transform: translateX(0);
}

.fadeInRight {
    transform: translateX(30px);
}

/* Parallax background sections */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 999;
  }

  .mobile-menu-btn i {
    font-size: 28px;
    color: #0f172a; /* azul oscuro o blanco según fondo */
  }

  nav .nav-menu {
    display: none;
  }

  nav .nav-menu.active {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  nav .nav-menu a {
    color: #0f172a;
    padding: 0.5rem 0;
  }
}

@media screen and (max-width: 480px) {
  .btn.login-btn {
    padding: 0 1rem;
    height: 36px;
    font-size: 0.85rem;
    min-width: 80px;
    border-radius: 8px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-carousel {
        height: 350px;
    }

    .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .image-carousel {
        height: 250px;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .carousel-caption h3 {
        font-size: 1.1rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* Awards Section */
.awards-section {
    background-color: var(--light-gray);
    padding: 2rem 10%;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.awards-container {
    max-width: 1200px;
    margin: 0 auto;
}

.awards-title {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.awards-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.award-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.award-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.award-org {
    font-size: 0.8rem;
    color: var(--text-medium);
}

/* Dashboard Section */
@media (max-width: 768px) {
  .dashboard-section {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

.dashboard-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 10% 8rem;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1461988625982-7e46a099bf4f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.dashboard-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.dashboard-frame {
    width: 100%;
    height: 600px;
    position: relative;
}

.dashboard-header {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.dashboard-date, .dashboard-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-content {
    display: flex;
    height: calc(100% - 58px);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 100vh;
  padding: 1rem;
}

.dashboard-panel {
  display: none;
}

.dashboard-panel.active {
  display: block;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: white;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

/* Para evitar que el primer pro-item se pegue arriba */
.sidebar-item.pro-feature:first-of-type {
  margin-top: 1rem;
}

.sidebar-item.active {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    border-left: 3px solid var(--accent-blue);
}

.sidebar-item:hover:not(.active) {
    background-color: rgba(226, 232, 240, 0.5);
}

.dashboard-main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: var(--white);
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.widget {
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    overflow: hidden;
}

.widget-lg {
    grid-column: span 4;
}

.widget-md {
    grid-column: span 2;
}

.widget-sm {
    grid-column: span 1;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.widget-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.widget-actions {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.widget-period {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.widget-chart {
    height: 200px;
    position: relative;
}

.activity-chart {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 1rem;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-light-blue));
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    filter: brightness(1.1);
}

.chart-bar.chart-highlight {
    background: linear-gradient(to top, var(--accent-gold), #f59e0b);
}

.chart-bar .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.chart-bar .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-gray) transparent transparent transparent;
}

.chart-bar:hover .tooltip {
    opacity: 1;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 1rem;
}

.chart-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    width: 40px;
    text-align: center;
}

.widget-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.metric-change {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.metric-change.positive {
    color: #10b981;
}

.metric-change.negative {
    color: #ef4444;
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.list-item:hover {
    background-color: rgba(226, 232, 240, 0.5);
}

.list-item-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.list-item-metric {
    font-size: 0.8rem;
    color: var(--text-medium);
}

/* Case Studies / Solutions Section */
.case-studies-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 10%;
}

.solutions-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-medium);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-blue);
    transition: var(--transition-normal);
}

.tab-btn.active {
    color: var(--accent-blue);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.panel-image {
    flex: 1;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.panel-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.panel-image:hover img {
    transform: scale(1.05);
}

.panel-info {
    flex: 1;
    max-width: 500px;
}

.panel-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.panel-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
}

.panel-info p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature-list li i {
    color: var(--accent-blue);
    margin-top: 0.3rem;
}

.panel-cta {
    margin-top: 2rem;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--light-gray);
    padding: 6rem 10% 8rem;
    position: relative;
    overflow: hidden;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-option {
    font-size: 1rem;
    color: var(--text-medium);
    cursor: pointer;
}

.toggle-option.active {
    color: var(--text-dark);
    font-weight: 500;
}

.discount-badge {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--medium-gray);
    transition: var(--transition-normal);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: var(--transition-normal);
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--gradient-blue);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
    padding: 2.5rem;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light-blue);
}

.pricing-card.featured {
    border: 2px solid var(--accent-blue);
    transform: scale(1.05);
    z-index: 10;
}

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

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: -3rem;
    background: var(--gradient-blue);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-weight: 600;
    z-index: 20;
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--medium-gray);
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.pricing-amount {
    font-family: 'Libre Baskerville', Georgia, serif;
    margin-bottom: 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency {
    font-size: 2rem;
    margin-right: 0.3rem;
    color: var(--text-dark);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.amount {
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-blue);
    font-weight: 700;
}

.amount.annual {
    display: none;
}

body[data-pricing="annual"] .amount.monthly {
    display: none;
}

body[data-pricing="annual"] .amount.annual {
    display: inline;
}

.period {
    color: var(--text-medium);
    font-size: 1rem;
    align-self: flex-end;
    margin-bottom: 0.8rem;
}

.custom-price {
    font-size: 2.5rem;
    color: var(--accent-blue);
    font-weight: 700;
}

.pricing-description {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    font-size: 0.8rem;
}

.pricing-features li.disabled {
    color: var(--text-medium);
    opacity: 0.6;
}

.pricing-features li i.fa-check {
    color: #10b981;
}

.pricing-features li i.fa-times {
    color: #ef4444;
}

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

.pricing-footnote {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.pricing-footnote a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

/* Trusted By Section */
.trusted-by-section {
    background-color: var(--white);
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
    opacity: 0.7;
}

.logo-item {
    transition: var(--transition-normal);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
    padding: 6rem 10%;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background-color: rgba(226, 232, 240, 0.5);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    padding-right: 2rem;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

/* CTA Section Enhancements */
.cta {
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 10%;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-blue), transparent);
    opacity: 0.3;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background-color: var(--white);
    color: var(--accent-blue);
}

/* Footer Enhancements */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5rem 10% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.8;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-light-blue);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--accent-light-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.language-switcher select {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
}

.language-switcher select:focus {
    outline: none;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.contact-btn-es {
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-normal);
}

.contact-btn-es:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-btn-es i {
    font-size: 1.2rem;
}

.contact-btn-es span {
    font-weight: 500;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .panel-content {
        flex-direction: column;
        gap: 2rem;
    }

    .panel-image, .panel-info {
        max-width: 100%;
    }

    .pricing-card {
        min-width: 280px;
    }

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

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

@media (max-width: 768px) {
  .dashboard-section {
    display: none;
  }
}

@media (max-width: 768px) {
    .dashboard-frame {
        height: auto;
    }
}

/* Animation Helper Classes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 74, 110, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(12, 74, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(12, 74, 110, 0);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.demo-btn-container-es {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.btn.lang-es {
  padding: 12px 24px;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn.lang-es:hover {
  background-color: #0052a3;
}

.section-decoration {
    margin-top: 15px;  /* Añadir este margen superior */
    height: 4px;
    width: 60px;
    background: var(--gradient-blue);
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.demo-btn-container-es {
    display: inline-block;
    margin: 20px 0;
}

.demo-btn-container-es {
    background: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.demo-btn-container-es:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* PRO Badge y Features */
.pro-badge {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #333;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: bold;
    vertical-align: super;
    font-family: 'Poppins', sans-serif;
    cursor: help;
}

.pro-feature {
    position: relative;
}

.pro-badge:hover::after {
    content: 'Nexus Pro IA - Contacta con Nosotros';
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    white-space: nowrap;
    font-size: 0.9rem;
    z-index: 100;
}

/* Due Diligence Booster Panel */
.pro-feature-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    margin: 2rem;
}

.pro-feature-message i {
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.pro-feature-message h3 {
    margin-bottom: 1rem;
}

.pro-feature-message p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

/* Deal Risk Flags */
.risk-flags-list {
    padding: 1rem;
}

.risk-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.risk-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.high-risk {
    background-color: #dc3545;
}

.medium-risk {
    background-color: #ffc107;
    color: #333;
}

.low-risk {
    background-color: #28a745;
}

/* Deal Calendar */
.calendar-wrapper {
    padding: 1rem;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--accent-blue);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.calendar-nav-btn:hover {
    background-color: var(--light-gray);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.calendar-month-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    transition: all 0.3s;
    background-color: transparent;
}

.calendar-day.has-event {
    background-color: var(--light-gray);
    border: 1px solid var(--accent-blue);
    position: relative;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.day-number {
    font-weight: bold;
    font-size: 1.1rem;
}

.day-event {
    font-size: 0.7rem;
    text-align: center;
    color: var(--accent-blue);
    margin-top: 0.3rem;
}

.event-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.calendar-day.has-event:hover .event-actions {
    display: flex;
    gap: 0.5rem;
}

.event-action {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.event-action:hover {
    background-color: var(--light-gray);
}

.document-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  gap: 1rem;
}

.document-icon i {
  font-size: 2rem;
  color: #e74c3c; /* rojo tipo Adobe PDF */
}

.document-icon[data-type="pdf"] i {
  color: #d32f2f;
}

.document-icon[data-type="doc"] i {
  color: #2b579a;
}

.document-icon[data-type="xls"] i {
  color: #217346;
}

.dashboard-sidebar {
  align-items: flex-start;
  text-align: left;
}

/* === Section Color Highlight on Scroll === */
section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.3s ease;
}

body[data-highlight="hero"] section.hero::before {
  border-color: #00ff00;
}

body[data-highlight="features"] section.features::before {
  border-color: #ffea00;
}

body[data-highlight="howItWorks"] section.howItWorks::before {
  border-color: #00f9ff;
}

body[data-highlight="faq"] section.faq::before {
  border-color: #f24cff;
}

body[data-highlight="cta"] section.cta::before {
  border-color: #75caff;
}

.hero ::selection {
  background: #ccff00;
  color: #0f172a;
}

.features ::selection {
  background: #00ffe1;
  color: #0f172a;
}

.howItWorks ::selection {
  background: #ff00c8;
  color: white;
}

.faq ::selection {
  background: #00aaff;
  color: white;
}

.cta ::selection {
  background: #ff6f00;
  color: white;
}

.security ::selection {
  background: #c800ff;
  color: white;
}

.dashboard-section ::selection {
  background: #ccff00;
  color: black;
}

.carousel-section ::selection {
  background: #00faff;
  color: #0f172a;
}

h1::selection,
h2::selection {
  background: #ffd700;
  color: #0f172a;
}

/* Estilo base solo dentro de FAQ */
.faq .faq-item::selection,
.faq .faq-item *::selection {
  background: transparent;
  color: inherit;
}

/* Estilo de marcador flotante por ítem FAQ */
.faq .faq-item:nth-child(1)::after {
  background: #ccff00; /* verde lima */
}
.faq .faq-item:nth-child(2)::after {
  background: #00faff; /* turquesa claro */
}
.faq .faq-item:nth-child(3)::after {
  background: #ff00c8; /* magenta neón */
}
.faq .faq-item:nth-child(4)::after {
  background: #ff6f00; /* naranja ácido */
}
.faq .faq-item:nth-child(5)::after {
  background: #00ff8c; /* menta neón */
}

/* Comportamiento cuando el usuario hace click en el texto */
.faq .faq-item.highlighted {
  position: relative;
}

.faq .faq-item.highlighted::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 100%;
  height: 90%;
  border-radius: 4px;
  z-index: 0;
  opacity: 0.6;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

/* Asegura que el texto esté encima */
.faq .faq-item.highlighted * {
  position: relative;
  z-index: 1;
}

.faq .faq-item {
  touch-action: manipulation;
}

.faq .faq-item.highlighted::after {
  animation: neonFade 0.4s ease-out;
}

@keyframes neonFade {
  from { opacity: 0; transform: scaleX(0.6); }
  to { opacity: 0.6; transform: scaleX(1); }
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-item::after {
  content: '';
  display: block;
  height: 4px;
  width: 0%;
  transition: width 0.4s ease;
  margin-top: 0.5rem;
}

.faq-item.open:nth-child(1)::after {
  width: 100%;
  background: #ff00ff; /* magenta neon */
}
.faq-item.open:nth-child(2)::after {
  width: 100%;
  background: #00ffff; /* cyan neon */
}
.faq-item.open:nth-child(3)::after {
  width: 100%;
  background: #ccff00; /* verde lima */
}
.faq-item.open:nth-child(4)::after {
  width: 100%;
  background: #ff6f00; /* naranja neon */
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 1rem 1.5rem;
  max-height: 1000px;
  overflow: visible;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-item:nth-child(1) p::selection {
  background: #ccff00;
  color: black;
}
.faq-item:nth-child(2) p::selection {
  background: #00faff;
  color: black;
}
.faq-item:nth-child(3) p::selection {
  background: #00ff8c;
  color: black;
}
.faq-item:nth-child(4) p::selection {
  background: #22ffb6;
  color: black;
}
.faq-item:nth-child(5) p::selection {
  background: #77f9ff;
  color: black;
}

.document-icon {
  background-image: none !important;
  background-color: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-icon::before,
.document-icon i::before {
  content: none !important;
  background: none !important;
  background-image: none !important;
  display: inline-block;
}

.document-icon[data-type="pdf"] i {
  color: #d32f2f;
}

.document-icon[data-type="doc"] i {
  color: #2b579a;
}

.document-icon[data-type="xls"] i {
  color: #217346;
}
