:root {
    --navy-blue: #0A192F;
    --orange: #FF8C00;
    --slate: #8892b0;
    --light-slate: #ccd6f6;
    --white: #E6F1FF;
    --background: #0A192F; 
    --font-sans: 'Poppins', sans-serif;
}

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

/* Particle.js container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body {
    background-color: var(--background);
    color: var(--slate);
    font-family: var(--font-sans);
    line-height: 1.6;
}

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

/* Header y Navegación */
header {
    background-color: rgba(10, 25, 47, 0.85);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

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

.logo {
    color: var(--orange);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

/* NUEVO: Soporte para imagen de logo */
.logo img {
    height: 28px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light-slate);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--orange);
}

.cta-button {
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--orange);
    color: var(--navy-blue);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-main-button {
    background-color: var(--orange);
    color: var(--navy-blue);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

/* Features Section */
.social-proof {
    padding: 2rem 0;
    background-color: #112240; /* Un poco más claro que el fondo */
    text-align: center;
}

.social-proof p {
    color: var(--light-slate);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Carrusel de logos */
.logos-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: transparent;
}

.logos-track {
    display: flex;
    align-items: center;
    animation: scroll 25s linear infinite;
    width: calc(200% + 40px); /* Ancho suficiente para todos los logos duplicados */
    gap: 60px; /* Espacio uniforme entre logos */
}

.logos-track img {
    height: 60px; /* Tamaño fijo para todos */
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0; /* Evita que se compriman */
    /* Filtros para convertir a blanco */
    filter: brightness(0) invert(1) opacity(0.7);
    transition: all 0.3s ease;
}

.logos-track img:hover {
    filter: brightness(0) invert(1) opacity(0.9);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Se mueve exactamente la mitad */
    }
}

/* Pausa la animación al hacer hover para mejor UX */
.logos-carousel:hover .logos-track {
    animation-play-state: paused;
}

.features, .about-us, .contact, .benefits {
    padding: 6rem 0;
    text-align: center;
}

.features h2, .about-us h2, .contact h2, .benefits h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: #112240; /* Un poco más claro que el fondo */
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--orange);
}

.feature-card {
    background-color: #112240; /* Un poco más claro que el fondo */
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, border-bottom 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    border-bottom: 3px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Us & Contact */
.about-us p, .contact p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--slate);
}

footer a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--light-slate);
}

/* Privacy Notice Page */
.privacy-notice {
    padding: 8rem 0 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-notice h1 {
    color: var(--white);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.company-info {
    background-color: #112240;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
    border-left: 4px solid var(--orange);
}

.company-info h2 {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    color: var(--light-slate);
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h3 {
    color: var(--orange);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 0.5rem;
}

.privacy-section h4 {
    color: var(--light-slate);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--slate);
}

.privacy-section ul, .privacy-section ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--slate);
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.data-category {
    margin: 1.5rem 0;
}

.back-link {
    text-align: center;
    margin-top: 4rem;
}

/* NUEVO: Estilos de calculadora de precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #ffffff0d;
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.08);
}

.pricing-card-result {
    text-align: center;
}

.pricing-title {
    color: var(--light-slate);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: var(--slate);
    margin-bottom: 1.25rem;
}

.pricing-input {
    width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(204, 214, 246, 0.4);
    background-color: #e6f1ff0d;
    color: var(--light-slate);
    outline: none;
}

.pricing-input-lg {
    padding: 1.25rem 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.pricing-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.result-box {
    background-color: #e6f1ff0d;
    border: 2px solid rgba(204, 214, 246, 0.4);
    border-radius: 16px;
    padding: 1.5rem;
}

.result-amount {
    color: #4c64b3;
    font-size: 2rem;
    font-weight: 800;
}

.result-iva {
    color: var(--orange);
    font-weight: 700;
    margin-top: 0.5rem;
}

.pricing-btn {
    display: inline-block;
    margin-top: 1.25rem;
    background-color: #2a3b6b;
    color: #e6f1ff;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.25);
}
