/* =============================================
   Leukasoft - Estilos principales
   ============================================= */

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-primary-dark: #0f2342;
    --color-accent: #3182ce;
    --color-accent-light: #4299e1;
    --color-text: #1a202c;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-dark: #edf2f7;
    --color-border: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Particles.js Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
    color: var(--color-text-light);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-light);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background: transparent;
    text-align: center;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--color-text-light);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--color-text-muted);
}

/* Productos */
.productos {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.producto-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
}

.producto-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.producto-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.producto-card h3 {
    margin-bottom: 16px;
    color: var(--color-primary);
}

.producto-descripcion {
    margin-bottom: 24px;
    font-size: 1rem;
}

.producto-features {
    list-style: none;
    margin-bottom: 32px;
}

.producto-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.producto-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Servicios */
.servicios {
    background-color: rgba(247, 250, 252, 0.9);
    backdrop-filter: blur(5px);
}

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

.servicio-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: white;
}

.servicio-destacado > h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.servicio-destacado > p {
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: left;
}

.servicio-item {
    background: var(--color-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.servicio-item h4 {
    margin-bottom: 12px;
    color: var(--color-primary);
}

.servicio-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* Contacto */
.contacto {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
}

.contacto-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contacto-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.contacto-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.contacto-item a {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 16px;
    color: var(--color-primary);
}

.legal-content .last-update {
    color: var(--color-text-muted);
    margin-bottom: 48px;
    font-size: 0.95rem;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 968px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.625rem; }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .section {
        padding: 60px 0;
    }

    .producto-card {
        padding: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
