* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2563eb;
    --blue-dark: #1e40af;
    --green: #10b981;
    --green-dark: #059669;
    --gray-light: #f3f4f6;
    --gray: #6b7280;
    --gray-dark: #374151;
    --white: #ffffff;
    --black: #000000;
    --orange: #f97316;
    --red: #ef4444;
    --yellow: #eab308;
    --pink: #ec4899;
    --purple: #a855f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--blue);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--blue);
}

.btn-simulador {
    background: var(--blue-dark);
    color: var(--white);
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-simulador:hover {
    background: var(--blue);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
}

.text-blue {
    color: var(--blue);
}

.text-green {
    color: var(--green);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
}

.btn-green {
    background: var(--green);
    color: var(--white);
}

.hero-right {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.kpi-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.kpi-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.25rem;
}

.kpi-subtitle {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Lean Section */
.lean-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 2rem;
}

.origin-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.origin-label {
    font-size: 0.875rem;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.origin-bubble {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    text-align: center;
}

.origin-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
}

.origin-text {
    font-size: 0.75rem;
    color: var(--blue);
    text-transform: uppercase;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 800px;
}

.highlight-blue {
    color: var(--blue);
    font-weight: 600;
}

.downtime-banner {
    background: var(--blue);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.banner-icons {
    display: flex;
    gap: 0.5rem;
}

.banner-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.downtime-description {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.waste-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.waste-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.waste-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--blue);
}

.waste-card:hover .waste-hover-text {
    opacity: 0;
}

.waste-card:hover .waste-detail {
    opacity: 1;
    transform: translateY(0);
}

.waste-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.waste-icon.defectos {
    background: var(--red);
    color: var(--white);
}

.waste-icon.sobreproduccion {
    background: var(--orange);
    color: var(--white);
}

.waste-icon.espera {
    background: var(--yellow);
    color: var(--white);
}

.waste-icon.talento {
    background: var(--pink);
    color: var(--white);
}

.waste-icon.transporte {
    background: var(--purple);
    color: var(--white);
}

.waste-icon.inventario {
    background: var(--blue);
    color: var(--white);
}

.waste-icon.movimiento {
    background: var(--purple);
    color: var(--white);
}

.waste-icon.extra-proceso {
    background: var(--green);
    color: var(--white);
}

.waste-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.waste-hover-text {
    font-size: 0.875rem;
    color: var(--gray);
    transition: opacity 0.3s;
}

.waste-detail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    border-radius: 0.75rem;
}

.waste-detail p {
    font-size: 0.875rem;
    color: var(--gray-dark);
    text-align: center;
}

/* Agile Section */
.agile-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.agile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.agile-label {
    display: inline-block;
    color: #14b8a6;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.agile-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--black);
}

.agile-description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.agile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.agile-diagram {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agile-cycle-image {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
}

.manifesto-principles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.principle-card {
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.principle-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.principle-subtitle {
    font-size: 0.875rem;
    color: var(--gray);
    font-style: italic;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #065f46 100%);
    color: var(--white);
}

.comparison-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.comparison-subtitle {
    font-size: 1.125rem;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.blue-icon {
    background: rgba(37, 99, 235, 0.3);
}

.green-icon {
    background: rgba(16, 185, 129, 0.3);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.card-goal {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-list {
    list-style: none;
}

.card-item {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.synergy-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.synergy-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.synergy-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.synergy-formula {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.synergy-power {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Simulator Section */
.simulator-section {
    padding: 4rem 0;
    background: var(--white);
}

.simulator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activity-badge {
    display: inline-block;
    background: var(--gray-light);
    color: var(--gray-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.simulator-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--black);
}

.simulator-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.simulator-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.feature-icon {
    font-size: 1.25rem;
}

.simulator-game {
    max-width: 800px;
    margin: 0 auto;
    background: var(--gray-light);
    border-radius: 1rem;
    padding: 2rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
}

.game-scenario {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.scenario-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.6;
}

.game-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.option-btn {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.option-btn.correct {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.option-btn.incorrect {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.game-feedback {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    min-height: 30px;
}

/* Footer */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    color: var(--white);
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-right {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.footer-column {
    margin-bottom: 0;
    flex: 1;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-list li:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .header {
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .btn-simulador {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        width: 100%;
        text-align: center;
    }

    /* Hero Mobile */
    .hero-section {
        padding: 2rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .hero-image-container {
        height: 300px;
    }

    .kpi-card {
        top: 10px;
        right: 10px;
        padding: 1rem;
        min-width: 150px;
    }

    .kpi-value {
        font-size: 1.5rem;
    }

    /* Lean Section Mobile */
    .lean-section {
        padding: 2rem 0;
    }

    .origin-badge {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .downtime-banner {
        padding: 1rem;
    }

    .banner-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .banner-text {
        font-size: 1.25rem;
    }

    .waste-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .waste-card {
        padding: 1rem;
    }

    .waste-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .waste-title {
        font-size: 1rem;
    }

    /* Agile Section Mobile */
    .agile-section {
        padding: 2rem 0;
    }

    .agile-title {
        font-size: 2rem;
    }

    .agile-description {
        font-size: 1rem;
    }

    .agile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .agile-cycle-image {
        max-width: 100%;
    }

    .manifesto-principles {
        gap: 1rem;
    }

    .principle-card {
        padding: 1rem;
    }

    .principle-title {
        font-size: 1.125rem;
    }

    /* Comparison Section Mobile */
    .comparison-section {
        padding: 2rem 0;
    }

    .comparison-title {
        font-size: 2rem;
    }

    .comparison-subtitle {
        font-size: 1rem;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .comparison-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .synergy-section {
        padding: 2rem 1.5rem;
    }

    .synergy-title {
        font-size: 2rem;
    }

    .synergy-quote {
        font-size: 1.125rem;
    }

    .synergy-formula {
        font-size: 3rem;
    }

    .synergy-power {
        font-size: 1.25rem;
    }

    /* Simulator Mobile */
    .simulator-section {
        padding: 2rem 0;
    }

    .simulator-title {
        font-size: 2rem;
    }

    .simulator-subtitle {
        font-size: 1rem;
    }

    .simulator-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .simulator-game {
        padding: 1.5rem;
    }

    .game-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .game-scenario {
        padding: 1.5rem;
    }

    .scenario-text {
        font-size: 1.125rem;
    }

    .game-options {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .option-btn {
        padding: 0.875rem;
        font-size: 0.875rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-right {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .agile-title {
        font-size: 1.75rem;
    }

    .comparison-title {
        font-size: 1.75rem;
    }

    .simulator-title {
        font-size: 1.75rem;
    }

    .waste-grid {
        grid-template-columns: 1fr;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem;
    }

    .banner-text {
        font-size: 1rem;
    }

    .kpi-card {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
        width: 100%;
    }
}
