/* Scroll suave en toda la página */
html {
    scroll-behavior: smooth;
}

/* FUENTE GENERAL */
body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f5f5; /* Color base del fondo */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* MEDIA LUNA SUPERIOR (DEGRADADO) */
.background-moon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: linear-gradient(to bottom, #3b82f6, white);
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    z-index: -1;
}

/* HEADER */
.header {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: white;
    padding: 15px;
    margin: 20px auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: blue;
}

.logo img {
    width: 35px;
    margin-right: 8px;
}
/* index.css al final del archivo */
.ext-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  opacity: 0.9;
  transition: opacity .2s;
}
.ext-icon img {
  width: 20px;
  height: auto;
}

.header .ext-icon:hover {
  opacity: 1;
}
/* Empuja el nav a la derecha */
.nav-menu {
  margin-left: auto;
}
/* Menú de navegación */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu a,
.dropdown-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: blue;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
}

.nav-menu a img {
    width: 18px;
    margin-right: 5px;
}

.nav-menu a:hover,
.dropdown-toggle:hover {
    transform: scale(1.1);
    color: #ff6600;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: blue;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

.dropdown-toggle img {
    width: 18px;
    margin-right: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: blue;
    transition: background 0.3s;
}

.dropdown-menu a img {
    width: 18px;
    margin-right: 5px;
}

.dropdown-menu a:hover {
    background: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* SECCIÓN DE BIENVENIDA (Hero) */
.hero-section {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 80px;
    padding: 40px 20px;
}

.hero-section h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.hero-section p {
    font-size: 18px;
    color: #444;
    max-width: 700px;
    margin: 10px auto;
}

.hero-buttons {
    margin-top: 20px;
}

.hero-buttons .btn {
    font-size: 16px;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    transition: all 0.3s;
}

.hero-buttons .btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
}

.hero-buttons .btn-outline-primary:hover {
    background: #007bff;
    color: white;
}

.hero-buttons .btn-primary {
    background: #007bff;
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: #0056b3;
}

/* SECCIÓN DE CARACTERÍSTICAS (features-section) */
.features-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box img {
    width: 40px;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* SECCIÓN HERRAMIENTAS */
.tools-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.tool-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 300px;
}

.tool-box img {
    width: 40px;
    margin-bottom: 10px;
}

.tool-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tool-box .cta-link {
    color: blue;
    font-weight: bold;
    text-decoration: none;
}

.tool-box .cta-link:hover {
    text-decoration: underline;
}

/* SECCIÓN DE PLANES */
.plans-section {
    margin-top: 50px;
    text-align: center;
}

.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.big-container-rounded {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    margin: 0 auto 40px auto;
    padding: 30px;
    max-width: 800px;
}

/* SECCIÓN: ¿POR QUÉ DEBERÍAS ELEGIR SAFE PASS? */
.why-section {
    margin-top: 50px;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
}

.dropdown-why {
    display: inline-block;
    margin-top: 20px;
}

/* SECCIÓN TESTIMONIOS */
.testimonials-section {
    margin-top: 50px;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-container blockquote {
    font-style: italic;
    margin: 20px 0;
    padding: 0 20px;
    line-height: 1.6;
}

.testimonials-container blockquote p {
    font-size: 16px;
    color: #555;
}

.testimonials-container blockquote cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* BOTÓN FLOTANTE DE SCROLL */
.floating-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    animation: floatAnimation 3s ease-in-out infinite;
}

.floating-icon img {
    width: 50px;
    cursor: pointer;
}

@keyframes floatAnimation {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ELEMENTO FLOTANTE DE FEEDBACK */
.feedback-float {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #fff;
    color: #007bff;
    padding: 10px 15px;
    border-radius: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 100;
    animation: pulse 2s infinite;
}

.feedback-float .feedback-icon {
    width: 30px;
}

/* Animación para el feedback */
@keyframes pulse {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.05); }
  100% { transform: translateY(-50%) scale(1); }
}

/* MODAL de FEEDBACK */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

.modal-content h3 {
    margin-top: 0;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

/* Contenedor de mensaje de éxito en el modal */
#feedbackSuccess {
    text-align: center;
}

#feedbackSuccess .thankyou-icon {
    width: 50px;
    margin-bottom: 10px;
}

/* FOOTER */
.footer {
    position: relative;
    margin-top: 80px;
    min-height: 180px;
    overflow: hidden;
    text-align: center;
    background: transparent;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    color: #333;
}

.footer-content p {
    margin: 10px auto;
    line-height: 1.5;
}

.footer-content a {
    text-decoration: none;
    color: #0066cc;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* MEDIA LUNA INFERIOR (INVERTIDA, MENOS ALTA) */
.background-moon-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(to top, #3b82f6, #f5f5f5);
    border-top-left-radius: 50% 10%;
    border-top-right-radius: 50% 10%;
    z-index: -1;
}

.info-links a {
    margin: 0 10px;
    font-size: 1.1rem;
    text-decoration: none;
    color: #007bff;
}

.info-links a:hover {
    text-decoration: underline;
}

/* NUEVA SECCIÓN: Banner para límite de credenciales */
#limitBanner {
    margin-bottom: 20px;
}
#limitBanner .alert {
    margin: 0;
    padding: 10px;
    font-size: 16px;
}
