/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0077b6;
    --secondary-blue: #00b4d8;
    --light-blue: #caf0f8;
    --dark-bg: #0a1929;
    --light-bg: #f0f7ff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a365d 100%);
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    color: var(--text-light);
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Dashboard Preview */
.dashboard-preview {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    text-align: center;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.preview-card i {
    font-size: 3rem;
    display: block;
}

.preview-card .btn-metabase i { color: #509EE3; }
.preview-card .btn-leantime i { color: #4CAF50; }
.preview-card .btn-mattermost i { color: #0058CC; }

.preview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.preview-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    min-height: 60px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-metabase {
    background: linear-gradient(135deg, #509EE3 0%, #2E7BBF 100%);
}

.btn-leantime {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.btn-mattermost {
    background: linear-gradient(135deg, #0058CC 0%, #003D99 100%);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sección de Flujo de Trabajo */
.workflow {
    padding: 80px 0;
    background: var(--light-bg);
}

.workflow h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.1);
    flex: 1;
    min-width: 250px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary-blue);
    padding: 0 15px;
}

/* Access Section */
.access {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.access h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.access-subtitle {
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.access-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.access-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.access-btn i {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.access-btn span {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.access-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: normal;
}

.access-btn.metabase {
    background: linear-gradient(135deg, #509EE3 0%, #2E7BBF 100%);
}

.access-btn.leantime {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.access-btn.mattermost {
    background: linear-gradient(135deg, #0058CC 0%, #003D99 100%);
}

.access-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .dashboard-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: 15px 0;
    }
    
    .step {
        width: 100%;
        max-width: 400px;
    }
    
    .access-buttons {
        gap: 20px;
    }
    
    .access-btn {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
        padding: 10px 20px;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .access-btn {
        width: 130px;
        height: 130px;
    }
    
    .access-btn i {
        font-size: 2.5rem;
    }
}
