:root {
    --color-black: #000000;
    --color-lila: #8A2BE2;
    --color-lila-light: #a45bf4;
    --color-lila-dark: #6a1cb9;
    --color-white: #FFFFFF;
    --color-gray-light: #f8f9fa;
    --gradient-bg: linear-gradient(135deg, var(--color-lila) 0%, var(--color-black) 80%);
    --gradient-lila: linear-gradient(135deg, var(--color-lila-light) 0%, var(--color-lila-dark) 100%);
    --gradient-text: linear-gradient(135deg, var(--color-lila-light), var(--color-white));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--gradient-bg);
    color: var(--color-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Efecto de partículas sutiles de fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.1) 0px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.1) 0px, transparent 2px),
        radial-gradient(circle at 40% 90%, rgba(138, 43, 226, 0.1) 0px, transparent 2px);
    background-size: 500px 500px;
    z-index: -1;
    animation: backgroundShift 20s infinite linear;
}

@keyframes backgroundShift {
    from { background-position: 0 0; }
    to { background-position: 500px 500px; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header minimalista */
header {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.logo span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-lila);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::before {
    width: 80%;
}

nav ul li a:hover {
    color: var(--color-lila-light);
}

/* Hero section con efectos minimalistas */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: var(--gradient-lila);
    border-radius: 5px;
}

.hero-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo-svg {
    width: 220px;
    height: 220px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: 
        drop-shadow(0 5px 15px rgba(138, 43, 226, 0.3))
        brightness(1.05);
    opacity: 0.95;
}

.logo-svg:hover {
    transform: scale(1.08) rotate(2deg);
    filter: 
        drop-shadow(0 8px 25px rgba(138, 43, 226, 0.5))
        brightness(1.1);
    opacity: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    line-height: 1.7;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: var(--gradient-lila);
    color: var(--color-white);
    padding: 18px 38px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

/* Secciones con efecto de aparición */
section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    color: var(--color-white);
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-lila);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Concept cards con hover effects */
.concept {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.concept:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(138, 43, 226, 0.3);
}

.concept-text {
    flex: 1;
    min-width: 300px;
    padding: 25px;
}

.concept-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-white);
    font-weight: 600;
}

.concept-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.concept-image {
    flex: 1;
    min-width: 300px;
    padding: 25px;
}

.concept-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

.concept-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.3);
}

/* Value cards con efectos minimalistas */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-lila);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(138, 43, 226, 0.2);
}

.value-card i {
    font-size: 50px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.value-card:hover i {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--color-white);
    font-weight: 600;
}

.value-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer minimalista */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Chatbot Section Styles */
.chatbot-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 100px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-container {
    max-width: 500px;
    margin: 0 auto;
}

.chatbot-window {
    width: 100%;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.chatbot-header {
    background: var(--gradient-lila);
    color: var(--color-white);
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--color-gray-light);
}

.message {
    margin-bottom: 20px;
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 20px;
    line-height: 1.5;
}

.bot-message .message-content {
    background-color: var(--color-white);
    color: #333;
    border-bottom-left-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
    background: var(--gradient-lila);
    color: var(--color-white);
    border-bottom-right-radius: 5px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.2);
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background-color: var(--color-white);
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
}

.chatbot-input button {
    margin-left: 10px;
    background: var(--gradient-lila);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.input-hidden {
    display: none;
}

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    nav ul {
        display: none;
    }
    
    .chatbot-window {
        height: 450px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .logo-svg {
        width: 180px;
        height: 180px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .concept, .value-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-svg {
        width: 150px;
        height: 150px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 15px 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Animación de aparición para elementos */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de scroll suave */
html {
    scroll-behavior: smooth;
}